Thursday, 13 September 2018

How to Flash Stock ROM on Mi A1 | Using TWRP Recovery | Using Mi Flash Tool | 100% Working

Many users out there are facing problems flashing custom ROMs as Mi A1 is kind a different device. It comes with system A/B partition so the usual method used for flashing custom ROMs won’t work with this device.
So here the complete steps to install custom ROMs without facing any problem.
Disclaimer: I'll not be responsible for bricked devices, any damage you face, husband & wife fight, breakup, any heart attack too. Do at your own risk.

Advantages of Flashing ROM

  • Flash Stock To Unbrick your Xiaomi Mi A1
  • Flash Stock ROM to Fix the Bootloop problem
  • Upgrade and Downgrade Xiaomi Mi A1
  • Unroot or Fix Bugs on your phone
  • To fix the lag or stutter on Xiaomi Mi A1
  • By flashing Stock ROM, you can solve software problems.
  • Revert back to stock to gain your warranty.


  1. Download ADB & Fastboot drivers & Install them on your computer.
  2. Download TWRP Recovery for MI A1
  3. Download the Mi Flash Tool and install the same on your Windows PC.
  4. Download Latest Stock firmware for Mi A1. [Download] (Alternate Download)

Enable USB Debugging & OEM Unlocking on MI A1:

  • Go to Settings > About Phone > Click 7 times Continuously on Build Number. This will enable Developer Option.
  • Now, Get back to Settings. Go to Developer options, From the options Enable USB Debugging.
  • Again Go to Settings > Developer options > Enable OEM Unlock.

Unlock Bootloader of Mi A1

Mi A1 can be unlocked through a command line.
  1. First switch off your phone.
  2. Press the Volume-key and the power button at the same time to enter Fastboot Mode
  3. Now connect your phone to PC/Laptop via a USB Type-C cable.
  4. Now open the command prompt in windows by searching cmd
  5. Type this at a command prompt : fastboot OEM unlock
  6. Now your Xiaomi Mi A1 bootloader has been unlocked.

Method 1 : Flash Using TWRP Recovery

  1. TWRP is now available for this device. You can easily flash this custom recovery on your device using fastboot mode. With TWRP Recovery you can install Custom ROMs, Kernels & other flashable zip files.
  2. First Connect the phone to the PC using the USB cable and transfer the Rom.ZIP file to the phone’s internal storage.
  3. Disconnect the phone and power it off.
  4. Again boot your device into Fastboot mode using Power on + Volume down button.
  5. Connect your phone to the computer using USB Cable.
  6. Open the folder where you have placed the twrp recovery.
  7. We will boot into twrp recovery then will flash flashable twrp recovery which will install TWRP Recovery permanently on your device.
  8. Now Again Open Command Window on the computer for the last time. Quickly open Command Window by Pressing right click of the mouse along with holding the shift key.
  9. In Command Window, Type the following code fastboot boot twrp.img to boot into TWRP Recovery Interface.
  10. Within few seconds you will be in the TWRP Recovery interface now.
  11. Now Tap on the ‘Install’ button.
  12. Navigate the internal storage and select the Rom.ZIP file. Finally, swipe the button on the screen to install Xiaomi Mi A1 Latest Firmware
  13. When the flashing process is finished, hit ‘Reboot System’

Method 2 : Using Mi Flash Tool

Warning : Before following the tutorial do take the full backup of your phone. Make sure that your phone has at least 50-60% charged.
  1. Once the bootloader is unlocked. Switch off Your Phone. Press the Volume Down key and the Power button at the same time to enter Fastboot mode.
  2. Now your phone will boot into fastboot mode. And you will see the Fastboot screen on your phone.
  3. Now unzip the fastboot ROM folder and then copy its path on the computer. See the screenshot below.
  4. Now Install Mi Flash Tool and Open the Mi Flash tool on your Windows PC and Connect your phone to the PC with USB cable.
  5. Now in Mi Flash tool, paste the path of the ROM.
  6. Click on the refresh button to Refresh, and MiFlash should automatically recognize the device. Then click the Flash button to flash the ROM file to the device.
  7. And also enable the “Clean All” Option from the Flash tool bottom corner.
  8. Now the flashing process will start on your phone and this will take some time to complete.
  9. Once the Flashing process will complete you will see the success message on the Flash tool and your phone will automatically boot.

Hope you guys like this guide, if you are facing some problem with this method then leave the comments below and we will help you to fix it up.
Post a Comment