The message βThis device is lockedβ on the screen of Xiaomi, Redmi or POCO is one of the most frightening mistakes for owners. It means that the device is locked at the bootloader level, and without the right actions you will not be able to use it. The reasons for this inscription can vary from accidental resetting to trying to install custom firmware. In this article, we will discuss all the official and informal ways of unlocking, and explain why this mechanism even exists and how to avoid it in the future.
It's important to understand that Xiaomi locks the bootloader on all devices by default, which is a security measure against theft and unauthorized access. However, sometimes the lock works for legitimate owners, for example, after a software update or hardware reset. If you see a black screen that says This device is locked and the Mi logo, do not panic - in 90% of cases, the problem can be solved without contacting the service center. The main thing is to follow the instructions and not try to "hack" the device with improvised means, which can lead to complete loss of data or a blink (inoperability) of the gadget.
Why Xiaomi is blocking the device: the main reasons
The bootloader lock mechanism in Xiaomi devices was introduced in 2016, and since then, the company has tightened its security policy, and now even after resetting to factory settings (Hard Reset), the device can require confirmation of the Mi Account account.
- π Resetting settings via Recovery Mode without detachment Mi Account.
- π± Buying a used device that was not properly βuntiedβ by the previous owner.
- π§ Failed firmware or interrupted software update.
- π Attempt to unlock the bootloader through unofficial tools (for example, Fastboot without permission from Xiaomi).
- π οΈ Hardware malfunctions resulting in system failure (e.g. damage to eMMC connector).
If your device is locked after buying from hand, there is a high risk that the previous owner did not delete his Mi Account. In this case, unlocking without his data is almost impossible - you will have to contact Xiaomi with proof of purchase (check, purchase agreement).
The official way to unlock through Mi Unlock Tool
The only legal method to unlock a bootloader on Xiaomi is to use the manufacturerβs Mi Unlock Tool utility, which is suitable for devices that have been locked after a reset or upgrade, but does not work if:
- π« The device was stolen or lost (confirmation of original owner required).
- π« Previous owner did not delete Mi Account (you need his login / password).
- π« The device is in Relocked status after a failed unlock.
To unlock through the Mi Unlock Tool, you will need:
- Computer with Windows (7/10/11, 64-bit).
- Original. USB-cable (preferably from the set).
- Mi Account linked to the device.
- Mi Unlock Tool (download from the official website)
Download and install Mi Unlock Tool| Log in Mi Account on your phone and PC| Enable debugging by USB in the developer settings | Connect your phone to your PC in Fastboot mode (clamp Power + Vol-)| Disable antivirus on your computer (can block the utility)
-->
Step-by-step:
- Turn on the developer mode on your phone: go to Settings β About Phone β MIUI version and press 7 times on the MIUI version.
- Activate debugging via USB: Settings β Additional β For developers β Debugging via USB.
- Attach Mi Account to your device: Settings β Xiaomi Account β Data Synchronization (should be enabled).
- Turn off the phone and put it in Fastboot mode: press the Power + Volume Down buttons for 10 seconds.
- Connect the device to your PC and start the Mi Unlock Tool. Log in to the same Mi Account as the phone.
- Press Unlock and wait until the process is completed (usually takes 1-5 minutes).
β οΈ Note: If the utility gives you a Couldn't unlock or Device not supported error, then your device does not support unlocking through this method. In this case, try alternative methods (see next section) or contact the service center.
Alternative Unlocking Methods (If Mi Unlock Tool is Not Working)
If the official utility didn't work, there are a few informal ways that might work, but they do require technical skills and can lead to a loss of warranty or a breakdown of the device. Use them at your own risk!
1. Unlock through EDL-regimen (Qualcomm)
The method is suitable for devices on Qualcomm processors (for example, Redmi Note 10 Pro, POCO X3 Pro).
- π₯οΈ Mi Flash Tool or QFil.
- π Cable EDL (Or a special adapter for entering the 9008 mode).
- π Firmware for your model (download from xiaomifirmwareupdater.com).
Instructions:
- Turn off the phone.
- Connect it to the PC by holding the Power + Volume Up buttons (it may require a short circuit of test points on the board to enter the EDL).
- In the Mi Flash Tool, select the firmware and press Flash.
What is it? EDL-regime?
2.Use of Custom Recovery (TWRP)
If the bootloader is unlocked on the device, but it is locked at the Mi Account level, you can try installing TWRP Recovery and manually delete your account files. It does not work on all models!
Algorithm of action:
- Install TWRP via Fastboot (instructions are available on XDA Developers).
- Download to TWRP and connect to your PC via ADB.
- Delete your account files: adb shell rm -rf /data/system/mi_account* rm -rf /data/data/com.xiaomi.account/
- Reset the device.
β οΈ Note: Deleting system files can lead to unstable operation of the device. After such unlocking, it is recommended to perform a full reset (Wipe Data) through the device. TWRP.
Frequent mistakes and their solutions
When you unlock Xiaomi, users often encounter common errors, and we have collected the most common ones and ways to fix them:
| Mistake. | Reason. | Decision |
|---|---|---|
| Couldnβt verify device | The device is not tied to Mi Account or the account is not confirmed. | Sign in to your account on your phone and PC, wait for synchronization (can take up to 72 hours). |
| Device not supported | The device model does not support unlocking through the Mi Unlock Tool. | Use EDL or contact the service. |
| Mi Account locked | Xiaomi account is blocked for suspicious activity. | Restoring access via account.xiaomi.com. |
| Fastboot not recognized | There are no ADB/Fastboot drivers installed. | Install Android SDK Platform-Tools. |
If none of the methods worked, it is possible that your device is blacklisted by Xiaomi (for example, if it was stolen or restored after warranty repairs), in which case unlocking is possible only through an official service with the provision of purchase documents.
π‘
Before buying a used Xiaomi, always check the status of the device through IMEI on imei.info. If the phone is listed as stolen or locked, it is better to refuse the transaction.
How to avoid blocking in the future
To avoid this device is locked again, follow these rules:
- π Always untie your Mi Account before selling or resetting your device: Settings β Xiaomi account β Delete the account.
- π§ Do not install custom firmware without unlocking the bootloader.
If youβre a frequent firmware experimenter, consider buying devices with an already unlocked bootloader (e.g., global versions of POCO or Redmi for the European market).
π‘
Even after successful unlocking, the bootloader may lock again when you update MIUI. To avoid this, disable automatic software updates in the settings.
Unblocking through the service center: when it is necessary
If all independent attempts to unlock failed, you can contact an authorized Xiaomi service center.
- π The device is locked by the previous owner and you canβt contact it.
- π οΈ The device is in the Hard Brick state (not turned on, not determined by the PC).
- π You have documents proving legal possession (check, contract of sale).
What you need to unlock in the service:
- The owner's passport.
- Documents for the device (guarantee card, check).
- IMEI of the device (can be found on the box or via the command *#06#).
The cost of unlocking the service varies from 1,500 to 5,000 rubles, depending on the model and the reason for the lock. In some cases (for example, when you steal), unlocking may not be possible even through the service.