Recovery of the β€œbrick” Xiaomi Mi A2: a complete guide to firmware

Xiaomi Mi A2

Android One

Brick firmware requires precision and understanding. There is no universal magic button here, each case is unique: a standard Fastboot will help somewhere, and an Emergency Download Mode (EDL) mode will be required somewhere. In this article, we will break down both methods, focus on choosing the right firmware, and explain how to avoid typical errors that can ultimately kill the device.

Important: If you've never worked with ADB, Fastboot or custom firmware before, you'd better trust the recovery to a specialist. Wrong actions can lead to permanent damage to the eMMC memory, after which the smartphone will become unusable even for the service center.

The reasons why the Mi A2 is turning into a brick

Smartphone Xiaomi Mi A2 (codename jasmine_sprout) Most often, he dies after the next manipulation:

  • πŸ”„ Interrupted update through OTA Recovery (for example, the battery is drained or the user has forced the device to turn off).
  • πŸ“± Incompatible firmware: an attempt to install MIUI on an Android One device or vice versa.
  • πŸ”“ Improperly unlocking the bootloader without official permission from Xiaomi.
  • ⚑ Power problems during firmware (voltage surges, disconnection) USB-cable).
  • πŸ› οΈ Errors in modifying system partitions (e.g., deleting critical files through the system partition) TWRP).

Especially dangerous is when the smartphone does not respond to any combination of buttons, which may indicate a hardware brick (damage to the bootloader at the chip level), which requires soldering of the memory chip, but in most cases the problem is software-based and solvable at home.

If your Mi A2 is stuck on the Xiaomi or Android One logo, but somehow reacts to the power button, the chances of recovery are close to 100%.

πŸ“Š What caused the β€œbrick” of your Mi A2?
Failed OTA update
Installation of custom firmware
Error when unlocking the loader
Other
I don't know.

Diagnosis of the state of the β€œbrick”: how to determine the chances of recovery

Before you start firmware, you need to understand exactly what state your Mi A2 is in, and the choice of recovery method depends on this.

Try to perform the following actions in turn:

  • πŸ”‹ Charging: connect your smartphone to the charger for 30 to 60 minutes. Sometimes the brick is caused simply by a discharged battery.
  • πŸ”„ Hard Reset: Clutch the power supply + The volume up for 10 to 15 seconds. If the device vibrates, that's a good sign.
  • πŸ“± Fastboot mode: pinch the power + Loudness down. If you have a fastboot mode on the screen, you can stitch it through fastboot.
  • πŸ”Œ Regime. EDL: If the screen is black, the computer makes the connection sound. USB-Devices when holding up Volume + Loudness down + The power, therefore, the smartphone is determined in EDL.

If none of the methods worked and the device shows no signs of life (it doesn't warm, it doesn't vibrate, it doesn't detect the PC), it's probably a hardware problem, and only a service center with JTAG or memory soldering equipment will help.

What if the Mi A2 doesn’t respond to the buttons?
If the smartphone is completely dead (it doesn’t warm, it doesn’t vibrate), try plugging it into a charge for 2-3 hours, then repeat the button combinations. If you don’t get it, it’s a sign of hardware damage (most often the power controller or the eMMC memory chip itself fails).

Preparation for firmware: what will be needed

To restore the Xiaomi Mi A2, you will need:

  • πŸ’» Computer running Windows 7/10/11 (for EDL better 64-bit-system).
  • πŸ”Œ Original. USB-cable (preferably from the kit) cheap cables may not provide stable connection.
  • πŸ”‹ 2–3 A charger (to maintain charge level during firmware).
  • πŸ“¦ Firmware for your model (for how to choose, read below).
  • πŸ› οΈ Tools: Mi Flash Tool (for the first time) EDL) Platform Tools (for Fastboot) Qualcomm Drivers (for device recognition in the Fastboot) EDL)

Pay special attention to firmware choices. There are two types of official firmware for the Mi A2: Stock ROM (pure Android One) and MIUI (if you’ve previously been questioned), and installing the wrong version can lead to re-bricking.

Download the firmware only from official sources:

  • 🌐 Official Xiaomi website (for the first time) MIUI)
  • 🌐 Google Android One Images (for Android One)

β˜‘οΈ Preparation of the workplace

Done: 0 / 5

Method 1: Fastboot firmware (if the device is determined)

If your Mi A2 enters the Fastboot mode, you can restore it via the official fastboot, which is the safest method, since it does not require deep access to the device’s memory.

Step-by-step:

  1. Unpack the archive with the firmware in the folder platform-tools (where fastboot.exe and adb.exe are located).
  2. Connect your smartphone to your PC in Fastboot mode.
  3. Open the command line in the firmware folder and execute: fastboot devices Make sure the device is identified (serial number should appear).
  4. To run all partitions, type: fastboot flash all or alternately swipe through each section (safer): fastboot flash boot.img fastboot flash system.img fastboot flash vendor.img fastboot dtbo dtbo.img flash
  5. After completion, execute: fastboot reboot

If the process is interrupted with a FAILED error (remote: 'Partition not found'), then the firmware is missing files for your model. Download another archive or check the integrity of the files.

πŸ’‘

If after firmware through Fastboot smartphone got stuck on the screensaver, try to reset the settings through Recovery: pinch the Power + Volume up, select Wipe data/factory reset.

Method 2: Firmware through EDL (if Fastboot doesn't work)

EDL (Emergency Download Mode) is the β€œlast hope” for recovering the Mi A2 when other methods fail. It allows you to flash the device at a low level without bypassing the bootloader. However, it requires an unlocked bootloader or an authorized Xiaomi account.

⚠️

Note: Firmware through EDL without unlocking the bootloader can lead to hard-brick (irreversible damage).If you are not sure that the bootloader is unlocked, use this method only as a last resort.

Instructions for EDL:

  1. Install Qualcomm HS-USB QDLoader 9008 drivers (can be found in the archive with the Mi Flash Tool).
  2. Turn off your smartphone, press the volume up. + Volume down and connect to the PC. The device should be determined as QHUSB_BULK.
  3. Open the Mi Flash Tool, select the firmware folder and press Refresh.The device should appear in the list.
  4. At the bottom, choose Clean all (full cleaning) or Clean all and lock (if you want to lock the bootloader after you have firmware).
  5. Press Flash and wait until it is completed (the process can take 5-10 minutes).

If the Mi Flash Tool is a failed Sahara communication error, try:

  • πŸ”Œ Reconnect. USB-cable to another port (preferably) USB 2.0).
  • πŸ”„ Reinstall drivers manually through Device Manager.
  • πŸ“₯ Download another version of the Mi Flash Tool (e.g. 20180528 instead of the latest one).

πŸ’‘

Firmware via EDL erases all data without recovery. If your smartphone had important files, try Fastboot first.

Table: Comparison of firmware methods for Mi A2

ParameterFastbootEDL
Requires unlocking of the loader❌ No.βœ… Yes (or Xiaomi authorization)
Data retention⚠️ Partial (you can select sections)❌ Complete removal
Difficulty⭐⭐ (simple)⭐⭐⭐⭐ (skillful)
Firmware time3-5 minutes5-15 minutes
Suitable forSoft Brick (hangs on logo, bootloop)Hard Brick (black screen, no reaction)

Common Mistakes and How to Avoid Them

Even experienced users sometimes make mistakes that make recovery difficult, and the most common ones are:

  • πŸ”Œ Unstable. USB-Connection: Use the rear ports of the PC (they are powered directly from the motherboard) and the original cable. Cheap cables can cause waiting for device errors.
  • πŸ“₯ Wrong firmware: Never flash files from Mi A2 Lite (daisy) or other models. They have different partition configurations.
  • ⚑ Low battery power: If the battery is under 30%, the firmware process may be interrupted. Charge the device to at least 50%.
  • πŸ”“ Lock the bootloader after firmware: if you stitched custom firmware and then blocked the bootloader through Mi Flash, the smartphone will again become a β€œbrickΒ».

⚠️

Note: If your smartphone is not enabled or detected in Fastboot after firmware is installed via EDL, do not try to repeat the procedure repeatedly. This may damage the eMMC. Contact the diagnostic service center.

Another common problem is the anti-rollback error, which occurs when you try to flash the old firmware version on top of the new one, and only the clean-all firmware through EDL will help.

FAQ: Answers to Frequent Questions

My Mi A2 doesn't turn on or respond to buttons.
If the smartphone is not showing signs of life (it is not warming, it is not vibrating, it is not detected by the PC), it is likely a hardware problem. This can be: damage to the power controller (often after falls or moisture); failure of the eMMC memory chip (solved by soldering); breakage of the battery plume or its complete discharge; in this case, self-repair is impossible - contact the service center.
Can I flash the Mi A2 without unlocking the bootloader?
Yes, but only through Fastboot, if the device reacts somehow. EDL is required to unlock, otherwise the firmware will end in an error SLA Auth Error. If the bootloader is locked and the smartphone does not enter the Fastboot, only the official Xiaomi service remains (they can unlock the device by IMEI).
How do I know if the bootloader is unlocked on the Mi A2?
If your smartphone is turned on, go to Settings β†’ About phone and tap the Build Number several times to activate Developer Mode. Then go back to Settings β†’ System β†’ For Developers and find OEM Unlock Status: Unlocked – you can flash any firmware. Locked – Firmware through EDL is impossible without official permission. If the device does not turn on but enters Fastboot, the unlocked bootloader will be marked with UNLOCKED at the bottom of the screen.
Which firmware to choose: Android One or MIUI?
This depends on which firmware was originally installed: Android One – if the smartphone was bought with pure Android (usually for European and global markets). MIUI β€” if the device originally worked on a proprietary shell (most often for the Chinese market). MIUI Android One is possible, but the reverse process (c) MIUI Android One often causes problems with the camera module and sensors. jasmine_sprout.
After the firmware, the touchscreen or the camera doesn't work. What do you do?
This is a typical problem when installing incompatible firmware. Solutions: Scroll through the correct firmware version (check region and model). If the problem persists, run the vendor and persist sections separately through Fastboot: fastboot flash vendor.img fastboot flash persist.img The camera may require the module to firmware through Engineer Mode (codes: ##36446337#). If the touchscreen doesn't work even after the correct firmware, the plume or display controller may be damaged.