Why do you want to replay Redmi 9A and what are the risks?
Xiaomi Redmi 9A (codenamed dandelion) remains popular even years after its release, thanks to its balanced specs and MIUI support. However, over time, users face brakes, lack of updates or the desire to install custom firmware like LineageOS or Pixel Experience.
The main reasons for reflashing the Redmi 9A are:
- ๐ Installation of the latest version MIUI absent OTA-update
- ๐ Accelerating work through custom firmware without Bloatware
- ๐ Bypassing regional restrictions (e.g. for global firmware)
- ๐ ๏ธ Recovery after "bricking" (soft-brick)
But itโs important to understand that incorrect actions can lead to complete data loss, damage to the bootloader or even a hardware blink (when the phone does not turn on even in Fastboot mode).
This article covers:
- ๐ฅ Official and informal methods of firmware
- ๐ Unlocking the loader without errors
- ๐ Typical errors and their solutions (from anti-rollback to invalid image)
- ๐ง Tools: MiFlash, ADB, TWRP alternatives
Preparation for flashing: what to do before the beginning
The first step is to save all the data. Fastboot or Recovery flashing erases internal memory (/data). Use Mi PC Suite or manually copying to a PC via MTP.
- ๐ pup DCIM (photo/video)
- ๐ฑ Contacts (exports to VCF)
- ๐ Account passwords (unless synced with Google)
- ๐ฎ Use Swift Backup or Titanium Backup)
Check the bootloader version and the current firmware:
- Go to Settings โ About Phone โ MIUI version and tap 7 times on the line to activate Developer Mode.
- Return to Settings โ Additional โ For developers and enable USB Debugging and OEM Unlocking.
- Connect the phone to the PC and perform in ADB command: adb shell getprop ro.boot.bootloader This will show the bootloader version (e.g., the bootloader version, dandelion_global_v12.0.1.0.QCDMIXM).
โ ๏ธ Attention: If your Redmi is 9A purchased in China (suffixed version _CN), For global firmware, you'll need to unlock the bootloader through the Mi Unlock Tool, without which the phone will refuse to accept firmware from another region.
Also prepare the tools:
| Tool. | Appointment | Download link |
|---|---|---|
| MiFlash | Firmware via Fastboot (official method) | Official Xiaomi website |
| ADB & Fastboot | Managing the phone through the command line | Android Developers |
| TWRP (informal) | Castomy recovery for installation ZIP-firmware | TWRP Site |
| XiaomiTool V2 | Automation of Unlocking and Firmware | GitHub |
Battery charge > 50%|Backup copy of data created|Xiaomi drivers installed on PC|Debugging by USB and OEM-unlocking|Downloaded the correct version of the firmware for your model-->
Method 1: Official firmware via Fastboot (MiFlash)
This method is suitable for installing a stock MIUI (global, Chinese or European version) and requires an unlocked bootloader, but guarantees stability.
Steps:
- Download the firmware for dandelion from the official website: ๐ Global: miui.com (look for Redmi) 9A Global) ๐จ๐ณ Chinese: miui.com/cn (Xiaomi account requires) ๐ช๐บ European (EEA): Check on Xiaomi Firmware Updater The firmware must be in.tgz format (for example, dandelion_global_images_V12.0.1.0.QCDMIXM_20220104.0000.00_global_4d5a0a5b7e.tgz).
- Unpack the archive in a folder without Cyrillic characters (for example, C:\MiFlash\rom).
- Launch MiFlash, press Select and point the path to the firmware folder.
- Connect your phone in Fastboot mode: Turn off Redmi 9A. Press Volume Down + Power until the hare appears in the Fastboot. Connect to your PC via USB.
Clean all
Clean all and lock
Flash
It takes 5-10 minutes. When it's done, the phone automatically restarts. The first run can take up to 15 minutes -- don't interrupt it!
โ ๏ธ Note: If MiFlash produces an anti-rollback error, you are trying to install firmware with an older version of the bootloader, in which case you either need to find firmware with the same or newer version of the anti-rollback, or use XiaomiTool. V2 to circumvent the restriction (risky!).
What if MiFlash can't see the phone?
Method 2: Install custom firmware through TWRP
To install LineageOS, Pixel Experience or other custom firmware, you will need TWRP Recovery.There is no official version for Redmi 9A, but there are stable unofficial builds.
Step-by-step:
- Unlock the bootloader via Mi Unlock Tool: Link Xiaomi account to phone in Settings โ Mi Account. Download Mi Unlock Tool from the official website. Launch the tool, log in to account and follow the instructions. Waiting for unlock can take up to 720 hours (30 days) for new accounts!
- Install TWRP: Download the unofficial TWRP for dandelion with XDA Developers. Rename the file to twrp.img and place it in the folder with platform-tools. Connect the phone in Fastboot mode and execute: fastboot flash recovery twrp.img fastboot boot twrp.img
- So, let's go with the custom firmware: Download it. ZIP-Firmware archive (e.g. LineageOS 20) Move the archive to your phone or flash drive. TWRP Choose the Wipe โ Advanced Wipe and mark Dalvik, Cache, Data, System. Press Install, select ZIP-file and confirm installation.
After installing the firmware, it is recommended to flash GApps (if they are not included in the build) and Magisk for root rights.
- ๐ค Gapps: Open GApps (select the option) arm64 โ 11.0 โ pico)
- ๐ Magisk: GitHub
๐ก
If after installing custom firmware does not work mobile network, check the settings APN. To do this, go to the Settings. โ SIM-maps and mobile networks โ Access points (APN) Add your operatorโs parameters manually.
Unlocking the bootloader: how to speed up the process and avoid errors
The main problem when unlocking the Redmi 9A is the wait timer that Xiaomi has introduced to combat phone resale.For new accounts, it is 720 hours (30 days), but there are ways around.
Legal methods of acceleration:
- ๐ Use a Xiaomi account created before May 2022 โ for them, the timer is reduced to 168 hours (7 days).
- ๐ Link your phone to your account and use Xiaomi services more actively (cloud, themes, store) โ this can reduce time.
- ๐ ๏ธ If the phone has been unlocked before, the re-unlock will pass without waiting.
Illegal methods (risk of blocking the account!):
- ๐ต๏ธ Use of โcleanโ accounts with XDA (marketed).
- ๐ง Modified versions of the Mi Unlock Tool (e.g. Mi Unlock Tool Bypass).
- ๐ก Substitution IMEI through the engineering menu (may cause loss of network).
โ ๏ธ Attention: Xiaomi is actively fighting against circumvention of restrictions. Using informal methods can lead to account locking or loss of warranty.If the phone is important for the job, it is better to wait for official permission.
If the Mi Unlock Tool is a Cann't Verify Device or Current Account is different from the one bound to the device, try:
- Untie and re-assign Xiaomi account in the phone settings.
- Use another PC with Windows 10/11 (on Linux/Mac, the tool is unstable).
- Turn on USB-debug OEM-unlock.
- Connect to the Internet via a mobile hotspot (sometimes corporate networks block Xiaomi servers).
๐ก
Unlocking the bootloader resets the phone to factory settings, and all data will be deleted, including photos on internal memory!
Typical Firmware Errors of Redmi 9A and Their Solutions
Even when following instructions, users encounter errors.
| Mistake. | Reason. | Decision |
|---|---|---|
| Anti-rollback check fail | Trying to install firmware with an older version of the bootloader | Find firmware with the same or newer version of anti. Use XiaomiTool V2 to get around (risky). |
| Invalid sparse file format at header | A damaged firmware file or incompatible version | Upgrade the firmware (check the MD5 checksums). Use a different version of MiFlash (e.g. 2020.3.14.0). |
| This package is for "dandelion" devices; this is a "" | The firmware is not suitable for your model. | Check the phone's code name (dandelion for Redmi 9A) and download the firmware for your region (global, eea, cn). |
| The phone does not turn on after firmware (black screen) | Incompatible firmware or interrupted process | Try going to Fastboot (Loudness Down). + Power, re-stitch, if it doesn't respond, check the battery power (plug it into the RAM for 30 minutes). EDL-Mode (requires an authorized Xiaomi account). |
If the phone is stuck on the MI logo or loads in an infinite loop:
- Press Volume Up + Power to Enter Recovery.
- Select Wipe data (if TWRP) or Factory reset (if stock recovery).
- Freak through the phone from scratch.
What if MiFlash shows "Flash done" but the phone doesn't turn on?
EDL-The last chance for the โbrickโ Redmi 9A
If the phone does not respond to buttons and is not detected in Fastboot, it remains. EDL-Emergency Download Mode: It allows you to flash your phone at a low level, but requires authorization from Xiaomi.
How to log into EDL:
- Turn off the phone.
- Hold the Loud up. + Loud down and plug in. USB-plug-in.
- The phone must be identified as a Qualcomm HS-USB QDLoader 9008 in Device Manager.
Firmware via EDL:
- ๐ง Download Mi Flash Pro (not to be confused with regular MiFlash) and firmware in.mbn format.
- ๐ Get authorization from Xiaomi (through an official service center or paid services like XiaomiTool) PRO).
- ๐ฅ In Mi Flash Pro, select firmware and press Flash.
โ ๏ธ Note: Unauthorized Firmware Through EDL This method can lead to a hard-brick, where the phone becomes a brick without recovery, and is recommended only for advanced users or in service centers.
The alternative is to use QFil (Qualcomm Flash Image Loader), but it requires manually specifying ports and firmware files. For Redmi 9A, the current versions of the tools are:
- ๐ฅ๏ธ QFil 2.0.1.9 (Stable with Qualcomm Snapdragon 439)
- ๐ Firmware in format prog_emmc_firehose_8917.mbn (You can get it from the official package)