The message, โDevice settings have been reset. You can unlock it with Xiaomi,โ** appears after a hard reset or failed smartphone firmware, meaning that the device is locked due to the activation of the factory protection of Mi Account Lock, the mechanism that binds the phone to the ownerโs account. Without the right actions, it will be impossible to unlock the device, even if you know the password from the account.
In this article, weโll break down all the working ways to unlock (including official and alternative), explain why a smartphone requires authorization after a reset, and caution against common errors that can turn a temporary lock into a brick without the possibility of recovery. We will pay special attention to the Redmi Note models. 10/11/12, POCO X3/X4/X5 and flagships Xiaomi 13/14, The protection system is different from the older devices.
Why Xiaomi is blocked after resetting settings
The reason for the lock is because of Xiaomiโs security policy, which links the device to the Mi Account, which works even after a full reset via Recovery or Fastboot and has two purposes:
- ๐ Protection against theft: If the phone is stolen, the thief will not be able to use it after being dumped.
- ๐ฑ Authentication: Confirmation that the device will unlock the rightful owner.
- ๐ Data Synchronization: Recovery of Backups After Authorization.
On new models (released after 2021) a two-stage verification is added:
- Enter the username/password from Mi Account.
- Confirmation via SMS or backup email (if two-factor authentication is enabled).
Without passing both stages, unlocking is impossible.
Itโs important to understand that if you bought a phone with your hands and the previous owner didnโt untie your Mi Account, you wonโt officially unlock the device, and in such cases, only informal methods remain (about them in the section about EDL and Fastboot).
Official method: unlocking through Mi Account
If you remember your Xiaomi account, follow this instruction, and it works on 90% of devices, unless:
- ๐ซ The device was stolen/lost and blocked by the previous owner.
- ๐ง There was a custom Recovery on the phone (for example, TWRP).
- ๐ต No Internet access (unlocking requires a network connection).
โ๏ธ Preparing for Unlocking with Mi Account
Step-by-step:
- On the lock screen, select Unblock with Mi Account.
- Enter the email or phone number associated with the account.
- If two-factor authentication is enabled, confirm the login via SMS or email.
- Wait for the data to sync (it can take up to 5 minutes).
- After successful authorization, the phone will unlock and offer to configure it as new.
If an error appears at the stage of entering a password and you could not connect to the server, try:
- ๐ Change Wi-Fi network (sometimes blocked due to regional restrictions).
- โณ Wait 10-15 minutes and try again (Xiaomi servers are sometimes overloaded).
- ๐ฑ Reboot your phone in Recovery mode and re-unlock.
๐ก
If you have forgotten your Mi Account password, restore it through the official account.xiaomi.com. Use the backup email or phone number provided during registration.
Unlocking via Fastboot (if Mi Account is not suitable)
If the official method did not work (for example, due to a forgotten password or buying a phone from hand), you can try unlocking through Fastboot mode. This method does not guarantee a 100% result, but often helps on devices until 2020 release (Redmi Note 8/9, Mi 9/9T, etc.).
Important: you will need a computer with ADB/Fastboot drivers installed and Mi Unlock Tool (the official tool from Xiaomi), download it from en.miui.com/unlock.
What's a Fastboot?
Instructions:
- Turn off the phone. Press the Power button + Volume down to enter the Fastboot.
- Connect the device to the PC through USB-cable.
- Launch the Mi Unlock Tool and log in to your Mi Account (even if itโs not tied to your phone).
- Press Unlock and wait until the process is complete (can take up to 72 hours due to Xiaomi restrictions).
- After unlocking the bootloader, run the phone through the Mi Flash Tool (instructions in the next section).
โ ๏ธ Warning: Unlocking the bootloader via the Mi Unlock Tool resets all data on the phone. If the device had important files, their recovery will be impossible.
On new models (Xiaomi) 12/13, Redmi Note 11/12) This method may not work because of the increased protection. EDL-regime (ongoing).
Unlocking through EDL (for power users)
EDL (Emergency Download Mode) is the last chance to bring the phone back to life if other methods have not worked, and allows you to flash the device at a low level, bypassing the lock Mi Account.
- ๐ Can turn your phone into a brick if you do the wrong thing.
- ๐ Requires an authorized Xiaomi account to download firmware.
- ๐ป Special programs (Mi Flash Pro, QFil) and Qualcomm drivers are needed.
How to log into EDL:
- Turn off the phone.
- Press the power button. + Loudness up + Volume down (some models need to be connected additionally) USB-cable).
- The screen should remain black, but the computer will identify the device as a Qualcomm HS-USB QDLoader 9008.
This will be further required:
- Download the firmware for your model from the Xiaomi Firmware Updater website.
- Unpack it and download it to Mi Flash Pro.
- Select Clean All mode and start the firmware.
โ ๏ธ Attention: Firmware through EDL deletes all data, including IMEI After the procedure, you may need to restore the serial number. IMEI via the engineering menu (#4636##).
๐ก
EDL-Mode is the most powerful, but also the most dangerous, method of unlocking, only use it if other methods have failed, and you understand the risks.
What to do if your phone is locked and bought from hand
If you bought Xiaomi with your hands and the previous owner did not untie his Mi Account, you can not officially unlock the device.
| Method | Difficulty | Risks. | Chance of success |
|---|---|---|---|
| Refer to the previous owner | Low. | No. | 100% |
| Unlocking through EDL | Tall. | Loss of IMEI, 'brick' | 60โ80% |
| Contacting the service center | Medium | A paid service doesnโt always help. | 50% |
| Buying an unlock code | Low. | Fraud, high prices | 30% |
The most reliable way is to contact the seller and ask him to:
- Untie your device from your Mi Account via account.xiaomi.com.
- Send a screenshot with confirmation of the detachment.
- If the seller refuses, demand a refund (by law, selling a locked phone is equivalent to cheating).
If you canโt contact the seller, try service centers, some of which have access to official unlocking tools (e.g. Xiaomi Authorized Service), and the cost of the service ranges from 1,500 to 5,000 rubles depending on the model.
How to avoid blocking in the future
To avoid the issue of a blocked Xiaomi after a reset, follow these rules:
- ๐ Untie Mi Account before selling your phone: Go to Settings โ Xiaomi account โ Get out and remove the tether.
- ๐ Save your account information: write down your login, password and backup email in a safe place (for example, in a password manager).
- ๐ Do not use custom firmware without unlocking the bootloader: this can lead to hard-brick (irreparable damage).
- ๐ก๏ธ Enable backup: in Settings โ System system โ Backup save data to Mi Cloud or Google Drive.
If you frequently reflash your phone, install TWRP Recovery and back up the persist partition to help restore the IMEI and serial number after a failed manipulation.
๐ก
Before resetting, check if you are connected to your Mi Account. Go to Settings โ About Phone โ Mi Account Status. If you are โActiveโ, donโt forget the login details!
Frequent Mistakes and How to Avoid Them
Many users exacerbate the block problem by making common mistakes, the most common of which are:
- ๐ Interrupting firmware: if you turn off the phone during an update via Fastboot or EDL, It might stop turning on altogether.
- ๐ฅ Use of unofficial firmware: firmware through TWRP without unlocking the bootloader leads to bootloop ( looped reboot).
- ๐ Attempts to โnullifyโ Mi Account via reset: This does not work, as the lock is tied to a hardware identifier (hardware) ID).
- ๐ฐ Paying for 'guaranteed' unlocking: Fraudsters often sell 'unblock codes' that don't work.
If you encounter bootloop (the phone is constantly rebooting), try:
- Go to Recovery (Nutrition + Volume Up) and make Wipe Data.
- Swipe the phone through Fastboot with the official firmware (without unlocking the bootloader).
- If nothing helps, take it to the service center.
โ ๏ธ Note: Forums often advise using programs like Xiaomi Tool V2 or MTK Bypass to bypass locks. These tools only work on older models (Redmi) 4/5, Mi A1) And they can damage new devices!