Xiaomi Smartphone Firmware with Mi Flash Tool V2 (or Mi Tool. V2) β The only way to bring the brick back to life after a failed update, reset or experiment with custom firmware, which works even when the device is not turning on, does not respond to buttons or is stuck in Fastboot mode. Unlike the standard update via Recovery, firmware through EDL-The Emergency Download Mode bypasses all software locks, but requires an unlocked bootloader and a properly selected firmware.
In this article, the guideline for 2026 is relevant to the latest changes in Xiaomi policy (including the mandatory binding of the Mi Account to the device).
- π§ How to prepare a smartphone and PC for firmware through Mi Tool V2 (drivers, programs, firmware).
- π How to unlock the bootloader officially and unofficially (including bypassing restrictions for new models).
- β‘ Step-by-step firmware process in mode EDL explaining.
- β Invalid image, Flash not done, Anti-rollback and how to fix them.
Important: the method is suitable for most Xiaomi, Redmi and other devices POCO (including models from 2023 to 2026, but does not work for MediaTek processors SP Before you start, check the compatibility of your model!
1 What is the Mi Flash Tool? V2 and when you need it
Mi Flash Tool V2 (Previously MiFlash) β the official utility from Xiaomi for firmware devices in mode EDL (This mode is activated when the smartphone is activated:
- π Not turned on at all (black screen, no reaction to charging).
- π Fixed with the Mi logo or download animation.
- π« Blocked after a failed firmware (Anti-rollback error).
- π Requires unlocking the bootloader, but does not go to Fastboot.
Difference from other methods of firmware:
| Method | Requires unlocking of the loader | It's working on the brick. | Saves the data. | Suitable for new models |
|---|---|---|---|---|
| Recovery (via the recovery menu) | β No. | β No. | β Yes (unless formatted) | β Yes. |
| Fastboot (via MiFlash) | β Yes. | β No (needs a Fastboot workman) | β No (full reset) | β Yes. |
| EDL (via Mi Tool V2) | β Yes, but we can get around) | β Yes. | β No. | β Yes (including 2026) |
Mi Tool V2 β The only way to flash a device that doesn't respond to buttons and isn't determined by a computer in Fastboot mode, but there are downsides to this method: It erases all data (including internal memory), requires Xiaomi account authorization for new models, and can lead to hard-brick if the wrong firmware is selected.
β οΈ Attention: Firmware through EDL on devices with a locked bootloader (without unlocking) will lead to an error SLA Auth Error. for models of 2022 and later requires an authorized Xiaomi account with a device binding.
2. Preparation: drivers, firmware and unlocking of the bootloader
Before the firmware, you need to:
- Install Qualcomm 9008 drivers (for mode) EDL).
- Download the right firmware for your model.
- Unlock the boot loader (if it is blocked).
- Prepare the cable. USB Type-C (preferably original).
Installation of Qualcomm 9008 drivers
Without these drivers, the computer will not see the smartphone in mode EDL. Download them at the link (version for Windows) 10/11) and set it up manually:
- Connect the switched off smartphone to the PC.
- Hold the volume.+ and Loudnessβ At the same time, then insert the cable (the device must be determined as a cable). QHUSB_BULK).
- In Device Manager, find other devices. β QHUSB_BULK, click on PCM β Update the driver β Select the driver manually.
- Point the way to unpacked Qualcomm drivers.
π‘
If the driver is not installed, disable the driver digital signature check in Windows. To do this, restart the PC with the Shift key clamped. β Diagnostics β Additional parameters β Loading parameters β Reboot. β Select Item 7 (Deactivate the Verification).
Selection of firmware: official or custom
For firmware through Mi Tool V2 fit:
- π¦ Official firmware from Xiaomi (.tgz or.zip format for Fastboot). Download from the official website or Xiaomi Firmware Updater.
- π οΈ Custom firmware (e.g. Pixel Experience, LineageOS), but only if the bootloader is unlocked.
Critical moments when choosing a firmware:
- π The firmware should be exactly for your model (e.g. Redmi Note 11 Pro).+ 5G β Redmi Note 11 Pro 5G).
- π Version. MIUI The risk of an anti-rollback error must be at least the current one).
- π For global firmware, look for versions marked Global (e.g., Global, veux_global_images...).
How to check the current version MIUI non-functional?
Unlocking of the bootloader: official and informal methods
Since 2022, Xiaomi has tightened the rules for unlocking. Now for new models (Redmi Note 12, Xiaomi 13, POCO F5 newer) required:
- Link your Mi Account to your device (in Mi Account settings) β Mi Cloud β Find the device).
- Wait 7-15 days after the binding (the period varies).
- Use the official Mi Unlock Tool.
For older models (until 2021), you can bypass the expectation:
- π Use the patched version of the Mi Unlock Tool (risk of blocking your account).
- π§ Squeeze through EDL Authorized account (needs an auth file).
β οΈ Attention: Unlock the bootloader on devices with MediaTek (e.g., Redmi) 10C, POCO M4 Pro) requires additional manipulation with SP Flash Tool and file DA. For these Mi Tool models V2 wrong!
3. Step-by-step instruction: firmware through Mi Tool V2
When you're done, follow the instructions with your feet, and a mistake at any stage can turn your smartphone into a brick.
βοΈ Preparation for firmware through EDL
Step 1: Put the device into mode EDL
There are two ways:
- Hardware method (for non-functioning devices): Turn off your smartphone (if it doesn't respond, keep Power for 20 seconds).+ and Loudnessβ You can connect the cable at the same time. USB PC (the device must be defined as Qualcomm) HS-USB QDLoader 9008).
- Software method (if Fastboot works): fastboot oem edl After this command, the smartphone will restart in the EDL.
Step 2: Launch the Mi Flash Tool V2 and firmware selection
Download the latest version of the Mi Flash Tool from the official website (or a modified version to circumvent restrictions).
- Unpack the archive with firmware in a folder without Cyrillic (for example, C:\MIUI\veux_global_images...).
- Run MiFlash.exe on behalf of the administrator.
- Click Select and point the way to the firmware folder.
- In the drop-down menu, select Clean all (full cleaning) or Clean all and lock (if you need to lock the bootloader after firmware).
Step 3: Firmware and possible errors
Press Refresh β your smartphone should appear in the list of devices (for example, COM4). Then click Flash. It takes 5-15 minutes. Don't turn off the cable!
Typical errors and decisions:
| Mistake. | Reason. | Decision |
|---|---|---|
| SLA Auth Error | The bootloader is blocked, there is no account authorization. | Unlock the bootloader or use the auth file. |
| Invalid image | The firmware is not suitable for the model or damaged. | Download another version of the firmware, check the model. |
| Flash not done | Problems with drivers or cable. | Reinstall the driver, try another cable/port. |
| Anti-rollback | Trying to flash the old version of MIUI. | Find firmware with a newer version of Anti-rollback. |
π‘
If the firmware is successful but the smartphone is not turning on, wait 10-15 minutes (the first run after the firmware can be long). If the screen remains black for more than 30 minutes, repeat the process with another firmware.
4. Unlocking the bootloader after firmware
If you have flashed a device with a locked bootloader (the Clean all and lock option), you will need to unlock it again to install custom firmware or root rights.
- Turn on your smartphone and perform the initial setup.
- Log in to the Mi Account that was linked to the device.
- Activate debugging on USB (Settings β The phone. β Version. MIUI β 7 times tap the version β Return to the Additional Settings β For developers β Debugging by USB).
- Connect to your PC and start the Mi Unlock Tool.
For models 2023-2026 may require:
- π± Confirmation of unlocking through SMS number-bound.
- π Linking the device to the account 7-15 days before unlocking.
- π Use of official Xiaomi cable (some models are checked) UID cable).
β οΈ Note: On devices with HyperOS (new firmware from Xiaomi, replacing the new one) MIUI) Unlocking the bootloader may result in blocking some functions (e.g, NFC Widevine L1 for Netflix HD).
5. Data recovery after firmware
Firmware through Mi Tool V2 It erases all internal memory, including photos, contacts and applications:
- π From the backup of Mi Cloud (if synchronization was enabled).
- πΎ With the help of recovery programs (DiskDigger, EaseUS MobiSaver), but the chances are small - after firmware, the data is overwritten.
- π± If the smartphone was determined in Fastboot before firmware, you could make a backup through ADB: adb backup -apk -obb -shared -all -f backup.ab
To avoid future data loss:
- βοΈ Enable automatic synchronization with Mi Cloud (Settings) β Xiaomi account β Mi Cloud β Synchronization).
- π₯οΈ Regularly copy photos to your PC or Google Photos.
- π Use backup apps SMS and calls, for example, SMS Backup & Restore).
Frequent problems and their solutions
Even with the correct following of the instructions, there can be problems.
6.1 The device is not defined in the Mi Flash Tool
Causes and solutions:
- π The problem with the cable/port: Try another one USB-cable (preferably original) and port USB 2.0 (on the back of the PC).
- π₯οΈ Drivers not installed: Check Device Manager β the device should appear as Qualcomm HS-USB QDLoader 9008.
- π Insufficient charge: Charge your smartphone by at least 30% (even if it doesnβt turn on).
- π οΈ Incorrect mode: Make sure the device is in EDL (The screen should be black, without lighting).
The βAnti-rollback check failβ error
This error occurs when you try to run a version. MIUI older than the one that was established earlier:
- π Find firmware with a newer version of Anti-rollback (check in the file name or on the Xiaomi Firmware Updater website).
- π₯ Download the full firmware (not an incremental update).
- π§ If nothing helps, run the Fastboot firmware through Mi Flash with the option Save user data (if the device is at least somehow turned on).
6.3 After firmware, the smartphone does not turn on
Possible causes:
- π Battery is dead: Connect to charging for 30 minutes, then try turning on.
- π± Incorrect firmware: Sweat again, making sure the model is compatible.
- π bootloader locked: Unlock it through Mi Unlock Tool.
- π§ Damaged section. EFS: I need to re-examine. EFS (Need a backup or help from a service center).
How to check if the smartphone is alive after a failed firmware?
7. Alternative firmware methods
If you're a Mi Tool V2 It didn't help, try other ways:
7.1 Firmware through Fastboot
Suitable if the smartphone enters Fastboot mode (screen with a rabbit and the inscription Fastboot).
- Download Fastboot firmware for your model.
- Unpack it in a folder with the Mi Flash Tool.
- Start MiFlash, select Clean all and click Flash.
7.2 Firmware through Recovery
If the device comes into Recovery (menu with Android and exclamation point), you can flash through ADB Sideload:
- Download the firmware in.zip format for Recovery.
- From the Recovery menu, select Apply update β Apply from ADB.
- On PC, execute the command: adb sideload firmware.zip
7.3. Firmware through SP Flash Tool (for MediaTek)
For devices on MediaTek processors (Redmi) 10C, POCO M4 Pro et al.) needed SP Flash Tool and file DA. The process is more complex and requires:
- π§ The Right Scatter File for Your Model.
- π Unlocked loader (for new models).
- π₯ Auth file (for Secure Boot devices).