Usually we use Mi Flash tool to flash stock fastboot ROM on Xiaomi smartphones, but the current version of the tool gives errors when attempting to install the fastboot ROM (full ROM package) on Mi A2. The alternative method is using ADB commands, which is a bit complicated process, but works without errors. Why manual installation: In certain situations, you might want to install stock firmware on your phone manually. To unbrick a bricked device, unroot a rooted phone, etc. are few examples. The guide given below let you know how to install stock firmware on Xiaomi Mi A2 manually. Users should setup ADB and Fastboot driver setup on their computer. Refer this guide for referance. In addition, you need to enable USB Debugging in your phone. Backup all important data. Warning: The below method is very technical and should not be proceed unless you know what you are doing. Follow the instruction at your own risk. We will not be liable if any damage occurs to your device and/or its components. It is recommended for technically talented users only
How to Install Fastboot ROM on Xiaomi Mi A2
- Download Mi A2 full ROM package from here.
- Unzip the downloaded file (it will be in ‘.tgz’ compressed file). Copy and paste all the content inside the Platform Tools folder.
- Boot your phone into fastboot mode, and then connect it to your PC.
- Open a command prompt from Platforms Tools folder. In the command prompt, type the below command to see your device is listed: fastboot devices
- If device is listed, type the below commands one-by-one. fastboot flash bluetooth_a bluetooth.img fastboot flash bluetooth_b bluetooth.img fastboot flash devcfg_a devcfg.img fastboot flash devcfg_b devcfg.img fastboot flash dsp_a dsp.img fastboot flash dsp_b dsp.img fastboot flash modem_a modem.img fastboot flash modem_b modem.img fastboot flash xbl_a xbl.img fastboot flash xbl_b xbl.img fastboot flash pmic_a pmic.img fastboot flash pmic_b pmic.img fastboot flash rpm_a rpm.img fastboot flash rpm_b rpm.img fastboot flash tz_a tz.img fastboot flash tz_b tz.img fastboot flash hyp_a hyp.img fastboot flash hyp_b hyp.img fastboot flash keymaster_a keymaster.img fastboot flash keymaster_b keymaster.img fastboot flash cmnlib64_a cmnlib64.img fastboot flash cmnlib64_b cmnlib64.img fastboot flash cmnlib_a cmnlib.img fastboot flash cmnlib_b cmnlib.img fastboot flash abl_a abl.elf fastboot flash abl_b abl.elf fastboot flash boot_a boot.img fastboot flash boot_b boot.img fastboot flash system_a system.img fastboot flash system_b system.img fastboot flash vendor_a vendor.img fastboot flash vendor_b vendor.img fastboot flash mdtp_a mdtp.img fastboot flash mdtp_b mdtp.img fastboot flash userdata userdata.img fastboot flash splash splash.img fastboot flash mdtpsecapp_a mdtpsecapp.img fastboot flash mdtpsecapp_b mdtpsecapp.img fastboot flash storsec storsec.mbn fastboot reboot
- The last command will reboot your phone. Note: The commands are for both A and B partitions. Don’t use both. Use A or B commands as per your system partition. Set up your device and enjoy. If you have any question about this guide, leave it in the comment section below. Keep in mind that, if you bricked your device, you may need to re-install stock firmware on your Xiaomi Mi A2 by booting your phone into EDL mode and by using the Mi Flash tool.