The Xiaomi Mi A2 was launched in July 2018 with Android 8.1 Oreo out of the box. Recently, the phone received August security update (V9.6.9.0.ODIMIFE) with bug fixes, stability improvements and performance enhancements. Ok, the topic here is how to download and install full ROM package (Fastboot ROM) manually on Mi A2 without Mi Flash tool.

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.

xiaomi-mi-a2

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

1. Download Mi A2 full ROM package from here.

2. Unzip the downloaded file (it will be in ‘.tgz’ compressed file). Copy and paste all the content inside the Platform Tools folder.

3. Boot your phone into fastboot mode, and then connect it to your PC.

4. Open a command prompt from Platforms Tools folder. In the command prompt, type the below command to see your device is listed:

fastboot devices

5. 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

6. 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.

Previous articleHow to Install Official Android 8.1 Oreo on Galaxy J5 (2017) Manually
Next articleGoogle Camera Port Works on Xiaomi Poco F1, Mi 8, Mix 2S Without Bootloader Unlock & Root
Kannan
Kannan is a computer and Android enthusiast, a blogger by passion and a tech freak. His always ready-to-help attitude, knowledge and hard work is what drives him.

9 COMMENTS

  1. I get the following error:
    fastboot flash bluetooth_b bluetooth.img
    Sending ‘bluetooth_b’ (556 KB) OKAY [ 0.016s]
    Writing ‘bluetooth_b’ FAILED (remote: ‘Error flashing partition : Device Error’)
    fastboot: error: Command failed

    Tried switching to slot A and doing the same thing but i get the same error.

  2. Thank you techtrickz.com for your help. Really I very thank full to you. Before this, I tried many times to flash mi Mi A2 with MiFlash Tool, and every time I get an error – flash bluetooth_a error. But now everything is good. And please write this note “Note: The commands are for both A and B partitions. Don’t use both. Use A or B commands as per your system partition.” before flashing commands.

  3. You may need to unlock the critical partition by using the command “fastboot flashing unlock_critical”. We do not recommend the guide, if you don’t know what you are doing.

  4. Hi , I’m getting Flashing is not allowed for Critical Partitions when I put fastboot flash devcfg_a devcfg.img . Please Help me.

    Thank You

  5. The commands are for both A and B partitions. Don’t use both. Use A or B commands as per your system partition.

  6. I tried this method but the is nill my mi A2 not flashing by mi tool it’s show some errors..plz help me??

  7. Boss why is it a and b both partition?
    ie: fastboot flash bluetooth_a bluetooth.img
    fastboot flash bluetooth_b bluetooth.img

Comments are closed.