Why Xiaomi is blocking access and what to do
A forgotten password, a pattern lock, or a fingerprint that is no longer recognized, is a problem that almost every Xiaomi smartphone owner has encountered. The screen lock in MIUI works at the system level, and it is impossible to get around it without knowing the correct code through standard methods. But that does not mean that the phone has turned into a brick. There are several official and informal ways to unlock, and their choice depends on whether your Mi Account is tied, whether debugging is enabled on USB and whether you are ready to lose data.
In this article, weβll look at all the current methods, from the simplest (sign in via Mi Account) to extreme measures like Fastboot reset or flashing. Itβs important to understand that some methods require technical skills, while others can lead to the loss of all data on the device, including photos and messages, so before you start, assess the risks and prepare backups if possible.
If you're reading this article on a locked phone through another gadget, don't panic. 80 percent of the time, the problem is solved without going to the service center, and the key is to follow the instructions and not skip the steps.
Method 1: Unlocking with Mi Account (official method)
This is the safest and most recommended way for Xiaomi to do this, but it only works if:
- π± The phone is linked to your Mi Account (you have previously logged in).
- π Internet access (via Wi-Fi or mobile network).
- π The device does not include the function "Factory Reset Protection).
If these conditions are met, follow the following steps:
- On the lock screen, click Forgot Password? (or Forgot Password? on English firmware).
- Enter the email or phone number associated with the Mi Account.
- Confirm the entrance via SMS or email (the code will come to the mail / phone).
- Create a new password or pattern lock.
π‘
If the βForgot Password?β button doesnβt appear, try entering any password 5 times in a row β the system can offer alternative ways to log in.
β οΈ Note: If after resetting the password, the phone requires you to enter the old one PIN-code SIM-This means that the Mi Account was not the primary way to lock the card, in which case move on to the next method.
Method 2: Use Fastboot Mode (for advanced users)
If the Mi Account is not tied or you donβt remember the login details, you can try unlocking the phone via Fastboot.This method is suitable for most Xiaomi, Redmi and POCO models, but requires a computer and drivers installed.
You'll need:
- π» Computer with Windows/Linux/macOS.
- π Cable USB (preferably original).
- π οΈ Mi Flash Tool or Fastboot from Android SDK.
- π₯ Firmware for your model (download from the official Xiaomi website).
Step-by-step:
- Turn off the phone. Press the Power button + Volume down to enter the Fastboot.
- Connect the device to the computer.
- Open the command line (Windows) or terminal (macOS/Linux) and type:
fastboot oem unlockIf the command is successful, the phone will unlock, but all data will be erased. If the FAILED error appears, then the device has flashing protection.
- Download the official firmware for your model from the Miui Download website.
- Unpack the archive and launch the Mi Flash Tool.
- Select Clean All mode and press Flash.
Install ADB/Fastboot drivers | Download firmware for your model | Connect your phone in Fastboot | Disable antivirus (can block utilities) | Backup important data (if possible)
-->
β οΈ Note: Fastboot flashing voids the warranty if the device was officially purchased, and this method does not work on phones with a locked bootloader unless you unlocked it in advance through the Mi Unlock Tool.
Method 3: Unlock via ADB (if USB debugging is enabled)
If your Xiaomi previously had USB debugging enabled (Settings β About Phone β MIUI Version β 7 times tap β Additional β For developers β USB debugging), you can try to remove the password through ADB without losing data.
Instructions:
- Connect your phone to your computer via USB.
- Open the command line and enter:
adb shell
su
rm /data/system/gesture.key
rm /data/system/password.key
rm /data/system/locksettings.db
rm /data/system/locksettings.db-wal
rm /data/system/locksettings.db-shm
rebootAfter the reset, the password should be reset. If the commands don't work, try:
adb shell am start -n com.android.settings/.ChooseLockGenericThis will open a password change menu where you can set a new one.
What if the ADB canβt see the device?
β οΈ Attention: On new versions MIUI 13/14 This method may not work because of the increased security, and it's not suitable for encryption devices. FBE (File-Based Encryption, where data is linked to a password.
Method 4: Reset to factory settings (Hard Reset)
If no other method has worked, the radical way is to completely reset the device through Recovery Mode, which will erase all the data on the phone, including photos, contacts and apps, but will return access to the device.
How to make a Hard Reset:
- Turn off the phone.
- Press the Power button + Volume up to enter Recovery Mode.
- Select the language (if there is such a clause).
- Go to Wipe Data β Wipe All Data.
- Confirm the reset (usually you need to enter Yes or press the power button).
- After the reboot, the phone will look like new.
| Xiaomi model | Combination of buttons for Recovery | Does it support unlocking through Mi Account? |
|---|---|---|
| Redmi Note 10/11/12 | Food + Volume up | Yes. |
| POCO X3/X4/X5 | Food + Volume up | Yes (if the account is tied) |
| Mi 11/12/13 | Food + Volume up | Yes, but you may need to confirm via SMS. |
| Redmi 9/9A/9C | Food + Volume up | Yes (on MIUI 12 and newer) |
β οΈ Note: Some models (e.g. Redmi Note) 8 pro POCO F1) After the reset, you may need to enter data from the Mi Account that was previously linked. email/Password, the phone will remain locked!
Mi Account|Fastboot|ADB|Hard Reset|Turned to the service.|I haven't tried it yet.
-->
Method 5: Contact Xiaomi Service Center
If all the self-unblocking attempts fail, you just have to go to the official service center, which is the most reliable, but also the longest way.
- π§ Guaranteed restoration of access.
- π Preservation of warranty (if the phone is guaranteed).
- π‘οΈ Without risk of damaging the device.
How to prepare for your visit:
- π Bring a check or a box from your phone (to confirm ownership).
- π§ If you remember, write down an email from Mi Account β this will speed up the process.
- π³ Check the cost of the service (on some models, unlocking is paid).
The average cost of unblocking in the service - from 1000 before 3000 depending on the model and complexity. on the new flagships (Xiaomi) 13/14, Redmi K60) price may be higher.
π‘
The official service is the only way to unlock a phone with Factory Reset Protection (FRP) enabled if you donβt remember the Mi Account data.
Frequent Mistakes and How to Avoid Them
When trying to unlock Xiaomi, users often face typical problems, including the most common ones and ways to solve them:
| Mistake. | Reason. | Decision |
|---|---|---|
| Device is locked in Fastboot | Locked loader | Unlock the Mi Unlock Tool (requires a wait of 7-15 days) |
| ADB does not see the device | No drivers or debugging not included | Install Mi PC Suite or enable debugging on another device |
| After reset, asks for an old password | FRP (Factory Reset Protection) is included. | Enter data from Mi Account or carry to the service |
| Invalid token when logging into Mi Account | The wrong account region | Change region to China or Global in your account settings |
Another common problem is that the phone doesn't turn on after a bad firmware.
- Try going to Fastboot and repeat the firmware.
- If the screen is black, plug it into charging for 30 minutes, possibly the battery has run out.
- For models with Qualcomm (e.g., POCO X3), you can try EDL Mode (emergency mode), but it requires special equipment.
FAQ: Answers to popular questions
Can I unlock Xiaomi without losing data?
What to do if you forget your Mi Account email?
Does SMS unlock work (like Samsung?)
Can you unlock Xiaomi with a fingerprint if it is not recognized?
How much does it cost to unblock in an unofficial service?
Conclusion: which way to choose?
The choice of the unlock method depends on your situation:
- π Access to Mi Account is available? β Use the official password reset.
- π» Debugging is on. USB? β Try unlocking through ADB.
- π Ready to lose data? β Do Hard Reset or Firmware through Fastboot.
- π οΈ Nothing helps? β Contact the service center.
Remember, on phones with MIUI 14 and later, some methods (such as deleting files via ADB) may not work due to enhanced security. If your model is released after 2022, the chances of unlocking without losing data are lower.
If you have successfully unlocked your phone, we recommend:
- Immediately back up important data.
- Write your password to a secure location (e.g. Google Password Manager).
- Enable Smart Lock (Settings β Screen Lock β Smart Lock) to automatically unlock in secure places (such as at home).