Xiaomi phone locked: 7 proven ways to unlock

You picked up your Xiaomi, Redmi or POCO, but instead of the usual screen, you saw the words "Device locked"? This situation is familiar to thousands of users - a smartphone can lock after incorrectly entering a password, crashing firmware or activating Mi Account protection. In 80% of cases, you can solve the problem yourself without contacting the service center.

In this article, we will discuss all possible reasons for blocking (from the banal forgotten). PIN-code before hardware failures and give step-by-step instructions for each model - from Redmi Note 12 Xiaomi 14 We will pay special attention to bypassing the Mi Account lock without losing data - this method works even on the latest versions. MIUI 14/15. Important: Some methods require prior preparation (for example, included debugging on the USB), So read carefully!

Why Xiaomi is blocked: 5 main reasons

Before you start unlocking, you need to understand what caused the lock, which determines the choice of recovery method. Here is a full list of reasons with clarifications for Xiaomi:

  • πŸ” Password misentry/PIN/graphical key - after 5–10 Failed attempts to block the device 30 Seconds, Minutes, or Forever (depending on version) MIUI). Nana POCO F5 The new models are protected after 3 mistake.
  • πŸ“± Activation of Mi Account – if you reset your phone through Recovery without detachment of your account, you will need to enter the username / password of the previous owner when you turn on.
  • πŸ”„ Failure of firmware or update – if the phone is locked after the update MIUI or a failed firmware through Fastboot, the cause may be damage to the system partition or boot.
  • πŸ› οΈ Hardware malfunctions – damage to flash memory (especially on Redmi) 9A Redmi 10, eMMC chip dump or battery problems can simulate software lock.
  • 🚨 Remote lock – if the phone is stolen or lost, the previous owner could lock it through the Find Device service (similar to Find iPhoneΒ»).

The most dangerous locks associated with Mi Account and firmware damage are those that require special tools (for example, Mi Flash Tool or Firmware). EDL-If the phone simply asks for a password after rebooting, the chances of unlocking without losing data are 90%.

πŸ“Š Your Xiaomi has been blocked after
Password misentry
Resetting settings
MIUI updates
Purchases of used phones
Other causes

Method 1: Unblocking through Google account (for Android 9 and below)

This method only works on older models (Redmi 5/6, Mi A1/A2) with Android version up to 9.0. On new devices (MIUI 12+), Google has removed the ability to reset passwords through an account for security reasons.

Instructions:

  1. On the lock screen, enter any password 5 times until the message β€œForgot your password?” appears.
  2. Click on this caption and select β€œRestore via Google”.
  3. Enter the login and password from the account that was linked to the phone before blocking.
  4. Create a new one. PIN-code.

⚠️ Warning: If the phone asks for Mi Account instead of Google, that won't work. Go to method 3 or 4.

If you don't remember your Google account details, try to restore them through the recovery page. Please note that after resetting your password, you may need to confirm via SMS or backup email.

Method 2: Recovery Mode (Data Loss)

The most reliable, but radical method is a full reset via Recovery, which is suitable for all Xiaomi models, including the POCO X5 and Redmi Note 13, but has two disadvantages:

  • πŸ“‰ All data (photos, contacts, messages) are deleted).
  • πŸ”’ If you were tied Mi Account, after the reset will need to enter his data.

Step-by-step:

  1. Turn off the phone with a long press of the power button.
  2. Press Volume Up + Power and hold for 10-15 seconds until the Mi logo appears.
  3. From the Recovery menu, select the language and go to Wipe Data β†’ Wipe All Data.
  4. Confirm the reset and wait for the reset.

β˜‘οΈ Preparing for resetting through Recovery

Done: 0 / 4

If you need Mi Account after reset and you don’t remember the previous owner’s data, go to method 5 (bypassing EDL). On some models (Redmi 7/8), you can try to delete the account via ADB (mode 4).

Method 3: Unlocking through Find Device (official method)

If the phone has Find Device enabled, it can be unlocked remotely via Xiaomi’s website, which works even if the phone is not connected to the Internet (the team will go the first time it connects to the network).

How to unlock:

  1. Go to i.mi.com and log in to the same Mi Account as you do on your phone.
  2. In the Devices section, select a locked smartphone.
  3. Click "Find the device" β†’ "Unlock".
  4. Confirm the action via SMS or email.

⚠️ Limitations of method:

  • πŸ”Ή It only works if your phone is tied to your Mi Account.
  • πŸ”Ή In some models (POCO F4, Xiaomi 12T) Confirmation is required through SMS on a locked device (which is not possible).
  • πŸ”Ή If the phone is turned off, the command will be executed only after it is turned on and connected to the Internet.

πŸ’‘

If you don’t have access to the linked phone number to confirm in Mi Account, try to restore access via backup email or contact Xiaomi with documents on the device.

Method 4: Delete password through ADB (for advanced users)

This method is suitable if the debugging mode on the phone is enabled USB (USB Debugging) and there's access to a computer. It allows you to delete a password file without completely resetting, saving data. MIUI 10–14.

What you need:

  • πŸ–₯️ Computer with installed ADB-driver.
  • πŸ”Œ USB-cable (original, without damage).
  • πŸ“± Included debugging by USB (If not included, the method will not work).

Instructions:

1. Connect the phone to the PC via USB.


2. Open the command line (Windows) or the terminal (Mac/Linux).




3. Enter the commands in order:




adb shell




su




rm /data/system/gesture.key # for pattern lock




rm /data/system/password.key # for PIN/password




reboot




4. Upon rebooting, the password will be reset.

⚠️ Note: On new models (Xiaomi) 13, POCO F5 Pro) password files can be stored in an encrypted partition. If the phone still asks for a password after completing the commands, try deleting the file. /data/system/locksettings.db (rm /data/system/locksettings.db).

If USB debugging wasn't enabled in advance, it won't work, so only hardware (EDL or flashing) is left.

What if the ADB can’t see the device?
1. Check if drivers are installed (download Mi) PC Suite from the official website. 2. Try another one. USB-cable (preferably original). 3. Switch the connection mode on your phone to File Transfer (if available). 4. Follow the command adb devices - if the device does not appear, debugging is not enabled.

Method 5: Bypassing Mi Accounts through EDL-mode (for technically savvy people)

If the phone requires a Mi Account after a reset, and you don't know the previous owner's data, the only way to work is through EDL (Emergency Download Mode), which removes the account's binding, but requires:

  • πŸ”§ Special cable (EDL-cable) or short circuit test points on the board.
  • πŸ’» Mi Flash Tool and Firmware for Your Model.
  • πŸ”‘ Authorized Xiaomi account to unlock the bootloader (on new models).

Step-by-step:

  1. Download Fastboot firmware for your model from Xiaomi Firmware.
  2. Install the Mi Flash Tool and Qualcomm drivers.
  3. Put the phone in mode. EDL: For the Redmi Note 8/9/10: Hold the volume up + Loud down and plug in. USB-For Xiaomi. 11/12/13: You will need to disassemble the phone and close the test points on the board.

Mi Flash Tool

Flash

Mi Account

Xiaomi modelEDL entry methodDo I need authorization?Difficulty
Redmi Note 7/8/9Button combinationNo.Easy.
POCO X3/F3Test pointsYeah (for new firmware)Medium
Xiaomi 11/12/13Test points + authorizationYes.Tall.
Redmi 9A/10AButton combinationNo.Easy.

⚠️ Note: On models with a MediaTek processor (Redmi) 10C, POCO M4) instead EDL mode BROM. He needs a program. SP Flash Tool and an authorized Xiaomi account.

If you are not sure about your skills, it is better to contact the service center. Wrong firmware through the EDL can permanently disable the phone (for example, damage the IMEI).

πŸ’‘

Firmware via EDL is the only way to bypass Mi Account on new Xiaomi models (2022 and later), but requires technical skills and special equipment.

Method 6: Contact Xiaomi Service Center

If all previous methods have failed, the official way is to contact Xiaomi Service Center, which is relevant in cases where:

  • πŸ”’ Phone locked via Find Device (remote lock).
  • πŸ› οΈ Requires hardware repair (e.g., flash memory replacement).
  • πŸ“„ You need to confirm the ownership (if the phone is used).

What will be required:

  • πŸ“„ Check or box IMEI (proof-of-purchase).
  • πŸ†” Passport of the owner.
  • πŸ’³ Payment for the service (from 1,500 to 5,000) β‚½ depending on the problem).

The service centre may:

  • πŸ”“ Reset your Mi Account through official tools (if you provide proof of purchase).
  • πŸ› οΈ Replace damaged components (e.g. flash memory on Redmi 8, prone to dumps).

⚠️ Important: If the phone is stolen, the service center is not allowed to unlock it, which is against the law, and in such cases, the device is returned to the previous owner or handed over to the police.

Method 7: Alternative methods (at your own risk)

There are dozens of β€œmagic” ways to unlock Xiaomi online, but most of them either don’t work or are dangerous.

  • πŸ”— Exploiting vulnerabilities MIUI β€” on certain firmware (for example, MIUI 12.0.3) can be bypassed through Emergency Call, but Xiaomi quickly closes the holes.
  • πŸ“± Custom Recovery firmware (TWRP) β€” It allows you to reset your password without losing data, but requires an unlocked bootloader. (Xiaomi 13, POCO F5) loader is blocked after reset.
  • πŸ’» Using unlockers (e.g. Mi Account Unlock Tool), most of which are viruses or frauds, with the exception of XiaomiTool. V2, But it only works with official firmware.

Risks of alternative methods:

  • 🚨 Loss of warranty (if you open the phone or stitch unofficial software).
  • πŸ”₯ Damage to the firmware (β€œbricking” of the phone).
  • πŸ•΅οΈ Data theft (using dubious programs).

⚠️ Attention: forums often advise to β€œroll back firmware to the old version” MIUIΒ», It's only working on Redmi in practice. 4X On newer models (Xiaomi 11 and newer), the rollback of the firmware leads to a permanent locking of the bootloader.

FAQ: Frequent questions about unlocking Xiaomi

πŸ”“ Can you unlock Xiaomi without losing data?
Yes, but only if: Debugging is included USB (method 4 s ADB). Phone is locked because of password/PIN, You use official tools (e.g. Find Device) if the phone requires Mi Account after reset, the data will be lost in the mail. 99% case.
πŸ“± Why After Recovery Reset, Your Phone Asks for an Old Mi Account?
This is theft protection introduced by Xiaomi in 2018, and even after a complete reset, the system checks if the phone is linked to an account. If so, it requires login/password. How to remove: Enter previous owner (if used) data. Swipe the phone through EDL (mode 5). Contact the service center with proof of purchase.
⚑ The phone is locked after the update MIUI. What do you do?
This is a typical problem when updating "over the air" (OTA). Reasons: Interrupted update (for example, battery died); conflict versions (for example, switching from MIUI 13 to 14 on unofficial firmware); damage to the system partition. Solution: Try to log into Recovery and repeat the update manually. If the phone does not turn on, run the full version of MIUI through Fastboot. On models with MediaTek (Redmi 10C), flashing through SP Flash Tool can help.
πŸ”§ Can you unlock Xiaomi with a damaged screen?
Options: If the screen responds to touch, plug the mouse in through the OTG-If the screen is completely black, but the phone is on, plug it into the PC and try unlocking it through the computer. ADB (method 4. Squeeze the phone into EDL-Mode 5: If the screen is unresponsive but the image is present, use it. HDMI-adapter (e.g, USB-C to HDMI) screen-screen. ⚠️ In the models with AMOLED-screens (Xiaomi 12, POCO F4) Often damaged not only glass, but also matrix – in this case, you will need to replace the screen.
πŸ’° How much does it cost to unlock Xiaomi in the service center?
Cost depends on the reason for the lock and model: Type of lock (β‚½) Timeline Password reset/PIN 500–1 500 30–60 Minutes bypass Mi Account (officially) 2 000–4 000 1–3 The day (requires documents) is the firmware through EDL 1 500–3 000 1–2 Hardware lock repair (flash memory) 3 000–8 000 2–5 days ⚠️ In informal services can offer unlocking cheaper (from the 800 β‚½), but there is a risk: Use of pirate firmware (loss of warranty) Damage IMEI Or a serial number. Spyware installations.