Xiaomi Redmi 9 remains one of the most popular budget smartphones even years after its release, but its owners often face the need to reflash the device. The reasons are different: from βbrickingβ after a failed update to the desire to install custom firmware for advanced features. Firmware through Mi Flash Tool is the official method from Xiaomi, but it requires accurate follow the instructions and take into account nuances such as unlocking the bootloader or choosing the right version of the firmware.
In this article, youβll find a step-by-step guide to running Redmi 9 firmware (including 9A, 9C, 9T modifications) through FlashTool, as well as a breakdown of common errors β from ERROR: Flash is not done to driver problems. Weβll focus on the critical points that 90% of users miss: checking the bootloader version (EDL) and connecting correctly in Fastboot mode. If youβve never flashed a Xiaomi smartphone before, this guide will help avoid common errors.
1. Firmware Preparation: What to Do Before Starting
Firmware through the Mi Flash Tool is a process that requires pre-preparedness, and without it, the risk of turning a smartphone into a brick increases dramatically, starting with checking the current state of the device and downloading the necessary files.
First, identify the model of your Redmi 9. Xiaomi has several modifications:
- π± Redmi 9 (codenamed Lancelot) - basic version with a Helio processor G80;
- π± Redmi 9A (dandelion β a simplified model on Helio G25;
- π± Redmi 9C (Angelica β an option for the international market;
- π± Redmi 9T (Lime β version with increased battery.
The code name can be found in settings (Settings β About Phone β MIUI β Codename) or through the CPU-Z application.
Next, check the bootloader version. Since 2021, Xiaomi has implemented Anti-Rollback protection, which blocks the firmware of older versions of MIUI. You can find out the version through the ADB command:
fastboot getvar antiIf the anti value is 3 or higher, you can not flash old versions of MIUI!
β οΈ Note: Firmware unofficial or custom firmware on Redmi 9 with a blocked bootloader will lead to a complete loss of warranty and possible blocking of the Mi Account. Xiaomi can remotely lock the device if it detects modified software.
2 Unlocking the bootloader: a mandatory step before the firmware
Without bootloader unlocking, you canβt flash Redmi 9 through FlashTool. Xiaomi blocks the default bootloader to protect against unauthorized changes. The unlocking process takes 7 to 30 days (depending on Xiaomiβs policy) and requires a Mi Account to be linked.
Instructions for unlocking:
- Download the official Mi Unlock Tool from Xiaomi website.
- Log in to your Mi Account on your phone and utility (should be the same account!).
- Transfer the smartphone to Fastboot mode: turn off the device, then press Volume down + Power.
- Connect your phone to your PC and run the Mi Unlock Tool. The utility should identify the device.
- Press Unlock and wait until the process is complete (it may require a second attempt in a week).
Once you've successfully unlocked, the phone will have Unlocked in Fastboot mode, and you can start the firmware, and if the utility has a Couldn't unlock error, check:
- π Connection to USB (Try another cable or port);
- π Mi Unlock Tool (should be the last version);
- π Waiting time (Xiaomi may require waiting 168 hours after first attempt).
π‘
If the Mi Unlock Tool doesnβt see the device, try disabling the driver signature in Windows: press Win + X, select Device Manager, find Redmi 9 in the list, update the driver manually by specifying the folder with the Mi Flash Tool.
3. Selection of firmware: official vs custom
Not only does the firmware type determine the functionality of the smartphone, but the risk of errors as well. There are three options available for the Redmi 9:
| Type of firmware | Advantages | Deficiencies | Where to download |
|---|---|---|---|
| Official (Fastboot) | Stability, OTG support, guarantee preservation (with unlocked bootloader) | Limited settings, advertising in MIUI | Official Xiaomi website |
| Official (Recovery) | Easy way to update without losing data | Not suitable for recovery after failures | Same source as Fastboot |
| LineageOS (Pixel Experience) | Clean Android, no advertising, advanced settings | The risk of unstable operation, loss of warranty, possible bugs with the camera or network | XDA Developers |
For beginners, an official Fastboot firmware is recommended. It is suitable for:
- π Recovery after a soft breech (hangs on the logo, reboot cycles);
- π Updates to the new version MIUI wait OTA;
- π§ System Errors (e.g., persistent application failures).
If you choose custom firmware, make sure it is compatible with the codename of your Redmi 9. For example, lancelot firmware is not suitable for dandelion. Also check for instructions for installing TWRP (custom recovery), as most custom firmware requires its pre-installing.
What is Anti-Rollback and why is it important?
4. Installation of Mi Flash Tool and drivers
Mi Flash Tool β the official utility from Xiaomi for firmware devices in Fastboot or EDL. You can download it from the official resource (avoid third-party sources - they may contain viruses). macOS/Linux absent).
After downloading, follow the steps:
- Unpack the archive from the Mi Flash Tool into a folder without Cyrillic characters (e.g., C:\MiFlash).
- Install drivers: Connect the Redmi 9 turned off to your PC; Press Volume Down + Power to log in to Fastboot; In Device Manager, find Android Bootloader Interface and update the driver by specifying the folder with the Mi Flash Tool.
XiaoMiFlash.exe
If drivers are not automatically installed, download them manually:
- π₯οΈ Android SDK Platform Tools (for the purposes of ADB/Fastboot);
- π USB-Google drivers;
- π± Qualcomm Drivers (for mode) EDL).
β οΈ Note: If in Device Manager Redmi 9 map QHSUSB_BULK qualcomm HS-USB QDLoader 9008, This means that the phone is in mode. EDL. In this case, firmware is only possible through an authorized Xiaomi account (independent firmware will lead to blocking). IMEI).
βοΈ Preparation of Mi Flash Tool
5. Step-by-step instructions for firmware through FlashTool
Now, to the firmware process itself, follow the instructions carefully, and any missed step can lead to errors.
Step 1. Preparation of firmware
- Download Fastboot firmware for your model from the official website.
- Unpack the archive in a folder (for example, C:\MiFlash\rom). There's gotta be a file inside. flash_all.bat.
- Check the integrity of the files: if the archive is corrupted, the Mi Flash Tool will give an error in the Invalid image file.
Step 2: Set up the Mi Flash Tool
- Run the Mi Flash Tool on behalf of the administrator.
- Click Select and point the way to the folder with unpacked firmware.
- At the bottom, select firmware mode: clean all β complete cleaning (recommended in case of failures); clean all and lock β cleaning + locking the bootloader (only for official firmware); save user data β saving user data (risky when switching to another version of MIUI).
Step 3. Firmware
- Connect Redmi 9 in Fastboot mode (clip Volume Down + Power).
- In the Mi Flash Tool, press Refresh β the device must be determined.
- Press Flash and wait until it is completed (the process will take 5-10 minutes).
- After the success of Flash Done, the phone will restart automatically.
π‘
Always use clean all when running another version of MIUI (e.g. 12 to 13).Save user data can cause cyclical reboots due to setting conflict.
6. Common errors and their solution
Even with the correct following of the instructions, errors can occur, and let's look at the most common ones and how to fix them.
| Mistake. | Reason. | Decision |
|---|---|---|
| ERROR: Flash is not done | Incompatible firmware, corrupted files or driver problems | Check the code name of the firmware, download the archive again, reinstall the drivers. |
| Device not found | The phone is not detected in Fastboot mode. | Try another one. USB-port, check the cable, update the drivers manually |
| Anti-Rollback check fail | Trying to flash the old version of MIUI to the new | Use firmware with the same or newer version of Anti-Rollback |
| Invalid image file | A damaged firmware archive or incorrect folder | Pump the firmware, unpack again, check the path (without Cyrillic). |
If Redmi 9 is not included or stuck on the logo after the firmware:
- Try to re-sweeten in clean all mode.
- If it doesnβt work, check if Anti-Rollback is activated (you need firmware with the same or newer version).
- In extreme cases, use EDL mode, but this will require an authorized Xiaomi account (you can not do this on your own).
If the IMEI is missing or the network is not working:
- πΆ Restore. IMEI Enter #4636## and select Information β Repair IMEI);
- π§ Refuse the modem module separately via the Mi Flash Tool (select files manually) modem.img and nvram.img).
What if the Mi Flash Tool canβt see the device?
7. Firmware through EDL: an extreme case
EDL (Emergency Download Mode) is used when Redmi 9 is not even enabled in the Fastboot (for example, after a failed firmware or bootloader failure), in this mode, the firmware goes directly through the Qualcomm processor, but you need an authorized Xiaomi account.
How to log into EDL:
- Turn off the phone.
- Hold the Loud up. + Loud down and plug in. USB-plug-in.
- Device Manager should appear Qualcomm HS-USB QDLoader 9008.
For firmware in EDL:
- Download firmware in.mbn format (for example, with Xiaomi Firmware Updater).
- Use the Mi Flash Tool or QFil (for Qualcomm firmware).
- Select a file prog_emmc_firehose.mbn utility-setting.
- Press Download and wait until it is completed.
β οΈ Attention: Firmware in mode EDL Without an authorized Xiaomi account, it will be blocked. IMEI and the inability to use the network. IMEI After that, you can only use the service center with the help of special equipment.