How to reflash Xiaomi phone with a locked bootloader: official and unofficial methods

The blocked bootloader on Xiaomi smartphones is the standard security measure the manufacturer has implemented to protect users’ data from unauthorized access. However, such a lock creates serious obstacles if you want to install custom firmware, obtain root rights, or even simply upgrade your device via fastboot after a failure. Unlike unlocking through the official Mi Unlock Tool tool, which requires a wait of 7-168 hours, flashing with a blocked bootloader is possible only in limited ways – and each of them comes with risks.

In this article, we will discuss all the current methods of flashing Xiaomi with a locked bootloader: from official decisions (for example, through the Mi Flash Tool with authorized accounts) to workarounds using vulnerabilities in the firmware of older models. Particular attention will be paid to the Redmi Note 10/11/12, POCO X3/X4 and Mi 11/12, where the procedure is nuanced, and you will learn what actions will lead to a complete breeze of the device without the possibility of recovery, and how to avoid it.

Why Xiaomi is blocking the bootloader and can it be bypassed?

The manufacturer blocks the bootloader on all devices released after 2017 for three key reasons:

  • πŸ”’ Data theft protection: without unlocking, an attacker will not be able to erase the device or install custom software to bypass the password.
  • πŸ›‘οΈ Preventing Malware Installation: Custom firmware may contain backdoors or spyware modules.
  • πŸ“± Compliance with warranty conditions: unlocking the bootloader automatically voids the warranty in most regions.

It is theoretically possible to bypass the lock, but Xiaomi is constantly closing the vulnerabilities.

  • πŸ”§ Official unlocking via Mi Unlock Tool (requires account binding and waiting).
  • πŸ’» Exploits for old models (until 2019 release) EDL-regime.
  • πŸ“¦ Firmware through authorized accounts (for service centers).

⚠️ Warning: Trying to reflash a locked bootloader device through informal methods (such as fastboot flash) on the newer Redmi Note 8 Pro will result in an anti-rollback error and a possible blink (ARB) developer-setting!

πŸ“Š What is your Xiaomi model?
Redmi Note 10/11/12
POCO X3/X4/X5
Mi 11/12/13
Redmi 9/9A/9C
Another model
I don't know.

Official ways to flash without unlocking the bootloader

If you need to update or restore the firmware, but unlocking the bootloader is not available (for example, due to a 168-hour wait), you can use legitimate methods that do not require unlocking:

1. Firmware via Mi Flash Tool with an authorized account

This method only works for Xiaomi service centers or users who have access to an authorized account (for example, through friends in the SC).

  1. Download the official firmware for your model (choose the Fastboot version).
  2. Install the Mi Flash Tool and log in to your account with service center rights.
  3. Put your phone in fastboot mode (press the Power). + Volβˆ’ off-set).
  4. In the Mi Flash Tool, select the downloaded firmware file and press Refresh, then Flash.

If you do not have an authorized account, this method will not work – the program will give an error Couldn’t verify the device.

2. Update via Recovery (without loss of data)

If the phone is turned on but is not running smoothly, try upgrading through stock recovery:

  1. Download the firmware in.zip format (select the version of Recovery on the official website).
  2. Rename the file to update.zip and place it in the root of internal memory.
  3. Go to Recovery (press Power + Vol+ when the phone is off).
  4. Select Install update.zip to System and confirm installation.

⚠️ Note: If the firmware is not designed for your model or region (Global/China/EEA), After installation, the network may disappear (IMEI), camera or other features. Check compatibility in the table below!

ModelSupported firmware regionsRisk of losing IMEI
Redmi Note 10 ProGlobal, EEA, India, ChinaLow (with the same region)
POCO X3 ProGlobal, EEA, IndiaMedium (China-firmware incompatible)
Mi 11 LiteGlobal, EEA, ChinaHigh (when reflashing from China to Global)
Redmi 9AGlobal, India, ChinaLow.

πŸ’‘

Official flashing methods without unlocking the bootloader work only to restore stock software. Install custom firmware (LineageOS, Pixel Experience) is possible only after unlocking!

Informal methods: risks and instructions

If the official methods are not suitable, non-warranty methods remain, which can lead to a blink or loss of IMEI. These should only be used in extreme cases (for example, if the phone does not turn on or is stuck on the Mi logo).

1. Firmware through EDL-mode (for older models)

EDL (Emergency Download Mode) is an emergency mode that allows you to flash a device even with a locked bootloader. However, since 2020, Xiaomi has closed this vulnerability for most models.

  • πŸ“± Redmi Note 7/8/8T (beforehand MIUI 12.0.3).
  • πŸ“± POCO F1 (version).
  • πŸ“± Mi 8/9 (only on the firmware before 2020 year-end).

To run through EDL, you will need:

  • πŸ”Œ USB-TypeC cable with data support (not all cables are suitable!).
  • πŸ’» Mi Flash Pro or QFil (for Qualcomm devices).
  • πŸ“„ Firmware in.mbn or.elf format (download only from trusted sources, for example, Xiaomi Firmware Updater).

Algorithm:

  1. Turn off the phone and press Vol+++Volβˆ’, then connect to the PC – the device should be defined as Qualcomm HS-USB QDLoader 9008.
  2. In Mi Flash Pro, select the downloaded firmware and press Flash.
  3. Wait until the process is completed (the process will take 5-10 minutes).
What happens if you break the firmware in EDL-mode?
Interruption of the process in EDL-It almost guaranteed to lead to a hard brick, where the phone stops being defined by the PC and doesn't turn on (JTAG) at the service center, which is 3000-8000 β‚½.

2. Bypassing locks through a vulnerability in fastboot (only for power users)

Some models (e.g. Redmi Note 9 Pro on MIUI 12.0.1) had a bug that allows you to flash boot.img even with the boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot boot.

  1. Download modified boot.img for your model.
  2. Transfer the phone to fastboot and connect to the PC.
  3. Run the command: fastboot flash boot.img fastboot reboot

This method does not unlock the bootloader, but allows you to temporarily get root access for the Magisk installation. However, after the reboot, the changes will be reset if the bootloader is not officially unlocked.

Make sure the phone model supports the method|Download the firmware from a verified source|Check the battery charge (minimum 50%)|Make a backup. IMEI (via #4636##)|Prepare a cable with data transmission support-->

How to avoid a breeze when reflashing?

The main reason for the breeze (complete failure) when flashing with a locked bootloader is the incompatibility of the firmware with Anti-Rollback Protection (ARB). ARB is a mechanism that prohibits rollback to an older version of MIUI. If you try to flash an older version, the phone will lock.

To avoid problems:

  1. Check the current version of ARB in the developer settings (Settings β†’ About Phone β†’ MIUI β†’ Additional).
  2. Download the firmware with ARB-version is no lower than you currently have.
  3. Do not use firmware from other regions (for example, do not flash Global on the China version of the phone).

If the blaze has already occurred, try to restore the device through EDL (if the model supports) or contact the service center. Self-recovery without experience can lead to the final loss of the device.

πŸ’‘

Before any firmware, write down your phone's IMEI! To do this, type ##4636### in the dialer, go to Phone Information, and copy the IMEI1 and IMEI2 values, which will help restore the networks if they disappear after the firmware.

Alternatives to reflashing: what to do if nothing helps?

If you can not unlock the bootloader, and firmware through official methods does not solve the problem, consider alternative options:

1.Use of ADB for recovery

If the phone turns on but doesn’t work properly, you can try resetting or installing an update via ADB:

  • πŸ”§ Reset to factory settings: adb reboot recovery (in recovery, select Wipe Data)
  • πŸ“¦ Update installation: adb sideload update.zip

2. Contact the Xiaomi Service Center

If the phone does not turn on or is stuck on the logo, and independent firmware does not help, it is better to contact an authorized service center. EDL or the replacement of the fee will cost 2000-6000 β‚½, But it's guaranteed to bring the device back to life.

Advantages of the service center:

  • πŸ”§ Work guarantee (usually) 3-6 months).
  • πŸ“„ Maintaining an official guarantee (if it is still valid).
  • πŸ”„ Ability to flash the device without unlocking the bootloader (they have authorized accounts).

3. Purchase of a new phone (if repair is not advisable)

If your Xiaomi is older than 3-4 years (like the Redmi Note 5 or Mi A2) and the repair cost is more than 50% of the price of a new smartphone, it makes sense to consider buying a new model. In 2026, a good alternative would be:

  • πŸ“± POCO X6 Pro (from 25,000) β‚½) β€” Powerful processor and 120Hz screen.
  • πŸ“± Redmi Note 13 Pro+ (30,000 β‚½) β€” best-camera.
  • πŸ“± Xiaomi 14 (from 60,000) β‚½) β€” flagship with support for updates for 4 years.

Frequent mistakes and their solutions

When flashing with a blocked bootloader, users often encounter errors. Let's consider the most common and ways to eliminate them:

Mistake.Reason.Decision
Couldn't verify device (in Mi Flash Tool)bootloader is blocked, there is no authorized accountUse the official Mi Unlock Tool to unlock
Anti-rollback check failTrying to flash firmware with a lower version of ARBDownload the firmware with ARB not lower than the current one
Device is locked (in fastboot)Try flashing boot.img or recovery with a locked bootloaderUnlock the bootloader or use EDL (if supported)
The phone does not turn on after the firmwareIncompatible firmware or interrupted processTry flashing through EDL or contact the SC

If you see an error that isn’t in the table, look for a solution on the 4PDA or XDA-Developers forums, specifying the exact phone model and error text.

FAQ: Answers to Frequent Questions

Can I unlock a Xiaomi bootloader without waiting 7/168 hours?
No, it is officially impossible to get around the wait. Xiaomi requires an account binding and time exposure to protect against theft. The only workaround is to use an authorized service center account (but this violates Xiaomi’s rules).
What if the network (IMEI) is lost after the firmware?
If IMEI Reset, it can be restored via the engineering menu (#3646633##) or using the utility SN Write Tool (requires unlocked bootloader). See detailed instructions for your model on the 4PDA.
What Xiaomi models can be flashed through EDL in 2026?
The list of supported models is constantly being reduced. Today, you can flash through EDL: Redmi Note 7/8/8T (only on old firmware); POCO F1 (all versions); Mi 8/9/9T (up to MIUI 12); New models (for example, Redmi Note 12 or POCO X5) do not support this method.
How to check if the bootloader is unlocked on my Xiaomi?
Turn off the phone, then press Power + Volβˆ’ to enter fastboot. If you see Unlocked at the bottom of the screen and a yellow unlock icon, the bootloader is unlocked. If there is no sign or there is a Locked, the bootloader is locked.
Can I install custom firmware (LineageOS, Pixel Experience) without unlocking the bootloader?
No, custom firmware installation is only possible after the bootloader is officially unlocked, and without this, any attempt to flash boot.img or recovery.img will end up with a Device is locked error.