A locked Xiaomi smartphone is a problem that users face after resetting, buying a used device or failing firmware. The system requires data input from a previous Mi Account, and without it, the phone becomes a brick, but even in this situation, there are ways to bring the device back to life.
In this article, we will discuss all the current methods of flashing blocked Xiaomi, Redmi and POCO, from official tools to bypassing protection through EDL and Fastboot. You will learn how to determine the type of lock, prepare a PC, choose the right firmware and avoid common errors that can finally βkillβ the device.
Why Xiaomi is blocked and what are the types of locks
Xiaomi smartphones are blocked for two main reasons:
- π Mi Account Lock - activation of protection after resetting (Factory Reset Protection). Requires a login / password from the previous owner.
- π± Bootloader Lock β a locked bootloader that does not allow you to stitch the device through Fastboot without official permission.
- π« Hard Brick β complete βbrickβ after a failed firmware (black screen, no reaction to buttons).
The first two types of locks can be bypassed by firmware through special modes, but Hard Brick often requires service center intervention or the use of EDL (Emergency Download Mode).
- π If the phone turns on but asks for Mi Account data, it's Mi Account Lock.
- π οΈ If you connect to a PC in Fastboot you can see the device, but the commands are not executed β the bootloader is blocked.
- β« If the screen is black and the PC doesnβt detect the device, itβs a Hard Brick.
β οΈ Note: On devices with Qualcomm processors (most of them) Xiaomi/Redmi/POCO) unlock EDL You need an authorized Xiaomi account or paid services like DC-Phoenix. 11T, POCO M4 Pro) the process is more complicated due to the lack of public tools for EDL.
Preparation for Flashing: What to Do Before Starting
Before you start unlocking, prepare everything you need:
- π» Computer on Windows 7/10/11 (for MiFlash and drivers. Mac/Linux part of the toolkit is not working.
- π Cable USB β Original or high quality (cheap cables can interrupt the connection).
- π± Charged device (minimum 50%) If the battery runs out during firmware, it will lead to a Hard Brick.
- π Firmware for your model (official or custom) download only from trusted sources: en.miui.com, xiaomifirmwareupdater.com or 4PDA.
Also install:
- Xiaomi drivers for Fastboot and EDL (official website).
Before the firmware, be sure to check the model of the device.
- Turn off the phone.
- Press Volume Down + Power to enter Fastboot.
- Connect to your PC and type in the command: fastboot getvar product The response will be a model code (e.g., toco for POCO X3 Pro).
βοΈ Firmware preparation
Method 1: Unlocking via Fastboot (official method)
If only the bootloader is locked on the device, but it is defined in Fastboot, you can try the official unlock method using the Mi Unlock Tool.
- π Mi Account tied to device at least 72 hours ago.
- π± Included debugging by USB and the allowed account binding in the settings.
- π Stable Internet connection (tool checks data on Xiaomi servers).
Instructions:
- Download Mi Unlock Tool from the official website.
- Sign in to Fastboot on your phone (Loudness down + Power).
- Connect the device to your PC and start Mi Unlock.
- Sign in with the same account as on your phone.
- Press Unlock and wait until it is completed (usually 10-15 minutes).
After unlocking the bootloader, you can flash the device through Fastboot or Recovery.
β οΈ Note: On new models (Xiaomi) 13/14, Redmi Note 12) Xiaomi tightened its unlock policy, now may need to 168 If you buy a used phone, this method won't work, you need access to the original Mi Account.
π‘
If the Mi Unlock Tool gives you a "Couldn't unlock" error, try using an older version of the program (e.g. 5.5.224.24).
Method 2: Fastboot Firmware (Mi Account bypass)
If the Mi Unlock Tool didnβt help or you donβt have access to the original account, you can try flashing the device through Fastboot with a full data reset, a method that works on most Xiaomi/Redmi/POCO models with Qualcomm processors.
You'll need:
- π οΈ MiFlash Tool (version 2020.3.14.0 or later).
- π§ Unlocked bootloader (if not, see Method 1).
Step-by-step:
- Unpack the firmware in a folder without Cyrillic characters (for example, C:\Xiaomi\firmware).
- Run MiFlash on behalf of the administrator.
- Connect your phone in Fastboot mode.
- In MiFlash, click Select and specify the path to the firmware folder.
- Select Clean All (complete reset) mode.
- Press Flash and wait until it is completed (5-10 minutes).
Once the firmware is in place, the device will boot as new, without being tied to the Mi Account. anti_rollback, So you're trying to flash an older version of the software than the one that was installed, and then you're going to download a newer version of the software.
What to do if MiFlash gives you a βflash not doneβ error
Method 3: Firmware via EDL (for Hard Brick and locked devices)
EDL (Emergency Download Mode) is an emergency mode that allows you to flash the device even when you lock it completely or Hard Brick. This method works on most Xiaomi with Qualcomm processors, but requires:
- π Authorized account for MiFlashPro or DC-Phoenix (paid, ~$10-30).
- π Firmware in.mbn format (special file for the EDL).
- π Testpoint (on some models you need to close contacts on the board to enter the EDL).
Instructions for Qualcomm devices:
- Download the firmware for EDL (look for 4PDA or XiaomiFirmwareUpdater).
- Install the Qualcomm HS-USB QDLoader 9008 driver (manually through Device Manager).
- Enter the device into EDL: For most models: Volume up + Loudness down + USB-For some (e.g. Redmi Note 9 Pro): you need to close the testpoint (contacts on the motherboard).
MiFlashPro
QFil
Download
It takes 5-15 minutes, and when it's done, it automatically restarts.
β οΈ Note: On devices with MediaTek (Redmi Note) 11T, POCO M4 Pro) firmware through EDL They require specialized boxes like UFi or EasyJTAG, which are based on the $At home, it is extremely difficult to unlock such models.
| Model | Processor type | Supports EDL? | Need a testpoint? |
|---|---|---|---|
| Redmi Note 10 Pro | Qualcomm Snapdragon 732G | β Yes. | β No. |
| POCO X3 Pro | Qualcomm Snapdragon 860 | β Yes. | β Yes (closing contacts) |
| Redmi Note 11T | MediaTek Dimensity 810 | β No. | β No. |
| Xiaomi Mi 11 | Qualcomm Snapdragon 888 | β Yes. | β Yes (authorization required) |
Method 4: Bypass Mi Account via TWRP (for unlocked bootloader)
If the bootloader is unlocked on the device, but it is blocked by Mi Account, you can remove the binding through the custom TWRP recavator. This method only works on devices with the unlocked bootloader!
Instructions:
- Download TWRP for your model from the official website.
- Please. TWRP Fastboot: Fastboot Flash Recovery twrp.img fastboot boot twrp.img
- In TWRP, go to Advanced β File Manager.
- Delete files: /data/system/locksettings.db /data/system/locksettings.db-wal /data/system/locksettings.db-shm
Mi Account
If the lock is still locked after deleting the files, try flashing Magisk to bypass the Mi Account check:
- Download Magisk and run through TWRP.
- Install Mi Account Unlocker (available on 4PDA)
- Reset the device.
π‘
Deleting locksettings.db files via TWRP is the most reliable way to bypass Mi Account, but it works ONLY on devices with unlocked bootloader. This method will not work on locked models!
Frequent Mistakes and How to Avoid Them
When you reflash Xiaomi, users often face typical problems, and here are the most common mistakes and solutions:
| Mistake. | Reason. | Decision |
|---|---|---|
| anti_rollback | Trying to run the old version of the software | Download a newer firmware |
| Flash not done in MiFlash | Inappropriate firmware or damaged archive | Check the model and download the firmware again |
| The device is not defined in Fastboot | Lack of drivers or faulty cable | Install drivers manually, try another cable |
| EDL mode not detected | Testpoint contacts are not closed | Check the circuit circuit scheme for your model |
A few more tips:
- π If after firmware the phone does not turn on, try to pinch the power supply. + Loudness up on 20-30 seconds (emergency discharge).
- π‘ If Wi-Fi or mobile network does not work after firmware, then flash the device again with the choice of the Global region.
- π If the battery is discharged during firmware, connect charging and repeat the process through 10-15 minute.