Xiaomi’s β€œThis device is locked”: reasons, unlocking and what to do if your phone is locked

You turned on a Xiaomi smartphone, and instead of the usual desktop, a message appeared on the screen saying β€œThis device is locked” (or its Chinese counterpart)? This means that the device is locked at the firmware level β€” and without the right actions you will not be able to use it. In 90% of cases, the problem is related to Mi Account, but sometimes custom firmware, setting resets or even errors on Xiaomi servers are to blame.

In this article, we will look at all possible causes of blocking, from official security mechanisms to bugs after firmware, and give step-by-step instructions for unlocking – both legal (via account) and alternative (for power users).

Why is this device locked on Xiaomi?

The message β€œThis device is locked” is part of Xiaomi’s system to protect against theft and unauthorized access.

  • πŸ”’ Blocking Mi Account – the device is tied to the account, and after resetting (Hard Reset) requires entering the username / password of the original owner.
  • πŸ“± Factory Protection Activation – Find Device automatically locks your phone when you change handsets SIM-dump.
  • πŸ”§ Incorrect firmware – install custom software (for example, LineageOS) without unlocking the bootloader or with errors.
  • ⚠️ Server failures are rare, but it happens that Xiaomi servers temporarily block devices due to suspicious activity (for example, after frequent changes). IP).

The most common reason is Mi Account Lock, which works if:

  • πŸ“² You bought a used phone and the previous owner didn’t untie your account.
  • πŸ”„ You reset your settings via Recovery or Fastboot, but you forgot your Mi Account details.
  • πŸ› οΈ You have been flashing your device through the Mi Flash Tool without detachment of your account.

Unlike Google. FRP (Android reset protection, Xiaomi locks even without an internet connection β€” it’s done at the firmware level β€” making it one of the most reliable (and difficult to bypass) security systems among Android devices.

πŸ“Š How you got blocked by Xiaomi?
I bought a used one and didn’t check my account.
I reset my settings and forgot my password.
I was stitching my phone and getting a lock.
Another option

Official ways to unlock (without risks)

If you have access to the original Mi Account, it will take 5-10 minutes to unlock. Here are 3 legal methods:

1 Unlocking through Mi Account data entry

The easiest way is to enter the login and password from the account to which the phone is linked:

  1. On the lock screen, select Unlock with Mi Account (or similar Chinese).
  2. Enter your email/phone and password from your Mi Account.
  3. Confirm unlocking via SMS or email (if two-factor authentication is enabled).

If you have forgotten your password, restore it to account.xiaomi.com (you will need access to the associated password). email/phone).

2 Unlocking through i.mi.com (for lost devices)

If the phone is stolen or lost, the original owner can unlock it remotely.

  1. Go to i.mi.com and log in.
  2. Select the locked device in the list.
  3. Click Find Device β†’ Unlock.
  4. Confirm the action via SMS or email.

⚠️ Note: This method only works if the phone is enabled Find Device and has access to the Internet (via Wi-Fi or mobile network).

3. Appeal in support of Xiaomi

If you bought a used phone and can’t contact the previous owner, try contacting:

  • πŸ“§ Write to support@xiaomi.com Theme: Unlock Mi AccountΒ».
  • πŸ“„ Attach a check or a contract of sale (proof of possession).
  • πŸ“± Indicate. IMEI Devices (can be viewed on the box or through the engineering menu *#06#).

The review period is 3 days to 2 weeks, depending on the region and availability of documents, and in Russia and CIS countries, the chances are lower due to the lack of an official Xiaomi service center.

β˜‘οΈ Preparation for appeal in support of Xiaomi

Done: 0 / 4

Unofficial Unlocking Methods (at Your Own Risk and Peril)

If the official methods have not worked, alternative methods remain, but they require technical skills and can lead to:

  • πŸ’€ Loss of all data on the device.
  • πŸ”§ Damage to the firmware ("brick" of the phone).
  • ⚠️ Mi Account Block Forever (If Xiaomi Servers Detect Hacking).

We describe these methods for educational purposes only, and their use may violate Xiaomi’s user agreement.

1.Traffic bypass EDL-The mode (for advanced users)

The method works on devices with Qualcomm processors (for example, Redmi Note 10 Pro, POCO X3). It will:

  • πŸ–₯️ Windows computer.
  • πŸ”Œ USB-TypeC cable (original).
  • πŸ› οΈ Programs: Mi Flash Tool, Qualcomm Drivers, firmware for your model.

Instructions:

  1. Download the official firmware for your model (choose the Fastboot version).
  2. Install Qualcomm drivers and run the Mi Flash Tool.
  3. Put the phone in mode. EDL: adb reboot edl If ADB does not work, use the hardware method (closing contacts on the board).
  4. In the Mi Flash Tool, select the downloaded firmware and press Flash.
  5. After the firmware, the phone will unlock, but all data will be erased.

⚠️ Attention: firmware through EDL This could lead to permanent Mi Account lock if Xiaomi servers detect unauthorized access, and the risk is particularly high on newer models (2022 and newer).

2.Use of vulnerabilities in old firmware

On some devices (e.g. Redmi) 4X, Redmi Note 5) There are exploits to bypass the lock:

  • πŸ“± Engineering Menu (Engineering Menu).
  • πŸ”§ ADB-Teams (if debugging is included) USB).
  • πŸ–₯️ Special utilities (for example, Xiaomi Tool) V2).

Example of circumvention ADB (It does not work on all models):

adb shell


su




rm /data/system/locksettings.db




rm /data/system/locksettings.db-wal




rm /data/system/locksettings.db-shm




reboot

Once rebooted, the lock may disappear, but this method doesn’t work on new devices (starting with the new ones). MIUI 12).

What happens if you interrupt the firmware through EDL?
Interrupting the firmware process in mode EDL In this case, the phone will no longer be included even in the Fastboot mode, and it can only be restored in the service center using a programmer (repair cost - from 5 000 rubles).

How to avoid blocking your Mi Account in the future?

To avoid β€œThis device is locked” again, follow these rules:

Action.The risk of blockingHow to avoid
Resetting (Hard Reset)❌ High-pitchedUnplug Mi Account in Settings β†’ Xiaomi account β†’ Get out.
Firmware through Fastboot❌ High-pitchedUnlock the bootloader officially via unlock.miui.com
Buying a used phone⚠️ Medium.Check if your account is untied (Settings) β†’ The phone. β†’ Mi Account Status)
Shift. SIM-map⚠️ Low (if Find Device is enabled)Turn off Find Device in security settings

If you frequently use the devices, you should:

  • πŸ”“ Unlock the bootloader before any firmware manipulation.
  • πŸ“‹ Keep your Mi Account data in a safe place (such as a password manager).
  • πŸ”„ Make backups regularly through Mi Cloud or TWRP.

πŸ’‘

Before selling your phone, perform a full reset via Settings β†’ Additionally. β†’ Reset settings, then check account status in Settings β†’ The phone. β†’ Mi Account status. If it says "Not tied," you can give the device away to a new owner.

Frequent Mistakes and How to Avoid Them

Many users compound the problem by trying to unlock the phone in the wrong ways.Here's the top-5 errors and their consequences:

  1. Using unofficial firmware without unlocking the bootloader β†’ The result: the phone turns into a β€œhard brick” (Hard Brick) and does not even include in the Fastboot.
  2. Trying to enter a password from another Mi Account β†’ Result: the device is locked for 24-72 hours (reset timer).
  3. Firmware via the inappropriate Mi Flash Tool β†’ Result: Anti Rollback error and inability to roll back on old firmware.
  4. Close of contacts for entry into EDL lacking β†’ Result: damage to the motherboard (repair from 3 000 rubles).
  5. Ignoring backups before resetting β†’ Result: irretrievable loss of photos, contacts and messages.

If you are not sure of your actions, it is better to contact the service center. The average cost of unlocking Mi Account in Russia is 1,500-3,000 rubles (depending on the model).

πŸ’‘

On devices with a MediaTek processor (e.g., Redmi) 9A, POCO C31) traversal EDL Unable – special boxes (such as UFi Box or EasyJTAG) are required, which are only available in service centers.

Xiaomi models with the most stringent lock

Not all Xiaomi smartphones are equally protected. On some models, it is almost impossible to get around "This device is locked" without the original Mi Account.-5 Β«non-permeable devices (as of the date of the 2026 year):

ModelProcessorLevel of protectionPossibility of circumvention
Xiaomi 13 UltraSnapdragon 8 Gen 2⭐⭐⭐⭐⭐No (locking at bootloader level)
Redmi K60 ProSnapdragon 8+ Gen 1⭐⭐⭐⭐Partially (only through an official account)
POCO F5 ProSnapdragon 8+ Gen 1⭐⭐⭐⭐Only EDL (blink risk 80%)
Redmi Note 12 Pro+MediaTek Dimensity 1080⭐⭐⭐⭐⭐No (UFi boxing required)
Xiaomi Pad 6Snapdragon 870⭐⭐⭐Possible bypass via Fastboot (on old firmware)

On new devices (2023-2026), Xiaomi tightened protection: now the Mi Account lock is tied not only to the firmware, but also to the hardware identifier (for example, the device is not used for the first time, IMEI This makes it almost impossible to get around without the original owner.

What do you do if nothing helps?

If you have tried all the methods and your phone is still locked, there are 3 options left:

  • πŸ”§ Contact the service center - some workshops have access to paid Mi Account databases (cost: 2000-5 000 rubles).
  • πŸ“¦ Sell for spare parts – working display, battery and camera can be sold profitably (for example, on Avito or AliExpress).
  • πŸ”„ Used as a β€œdonor” – if the motherboard is working, it can be moved to another case.

⚠️ Note: If you bought a phone with a Mi Account lock on the ad, try to refund the money through the ad:

  • πŸ›’ Guarantee (if purchased in the official store).
  • πŸ“± Buyer protection on Avito, Yula or Ozon.
  • πŸ“œ Court (if the seller knowingly concealed the blocking).

In Russia and CIS countries, the chances of a successful return are higher if you have:

  • Screenshots of correspondence with the seller (where he assured that the phone was clean).
  • Check or receipt of payment.
  • Video of the lockdown demonstration.

πŸ’‘

Since 2023, Xiaomi has started blocking accounts that too often unlock devices (suspicion of fraud).If you're a professional repairman, register a separate Mi Account for work and don't use it for personal purposes.

FAQ: Frequent questions about Xiaomi blocking

Can I unlock Xiaomi without a password from Mi Account?
Theoretically yes, but only on older models (until 2020) through exploits or firmware in the future. EDL. On new devices (2021–2026), the only way around is with the risk of damaging your phone or getting a permanent lock.
How much does it cost to unlock in the service center?
Cost depends on the model: Budget smartphones (Redmi) 9A, POCO C31) β€” 1000-1 500 rubles. medium segment (Redmi Note 11, POCO X4) β€” 1,500-2,500 rubles Flagships (Xiaomi 12, Black Shark 5) - 3000-5 000 rubles. In some cases, the wizard may refuse if the device is too new or has a hardware lock.
What happens if the previous owner does not respond?
Try: Write to him through other social networks (for example, VKontakte or Telegram, if there is a nickname in the Mi Account profile); Contact Xiaomi with proof of purchase (check, contract); If nothing helps, sell the phone for spare parts.
Can Xiaomi block an account for frequent attempts to unlock?
If you're trying to use the wrong password several times in a row or you're trying to flash your phone through a phone. EDL, Xiaomi servers can: Lock Mi Account for 24-72 hours, permanently ban the bootloader for this account, add the device to the blacklist (then it will be impossible to unlock it even officially). We recommend not to enter a password at random and not to flash the phone without understanding the process.
Do Mi Account bypass programs (such as Xiaomi Tool) work?
Programs like Xiaomi Tool V2, Mi Account Unlock Tool or MTK Bypass only works: On older models (until 2019) on firmware with vulnerabilities (e.g., on firmware with vulnerabilities, MIUI 9-10 If you have an unlocked bootloader, on new devices (2020 and later), these tools either do not work, or lead to complete data loss or a blink.