The forgotten password on Xiaomi is a situation that thousands of users face every day. The main problem is that a standard Recovery reset erases all data, which is not always acceptable. Fortunately, there are legal ways to unlock without losing photos, contacts and apps.
In this article, we will discuss 5 working methods for devices on the MIUI 12β14, including bypassing the pattern lock, PIN-Important: the effectiveness of methods depends on the firmware version, smartphone model (Redmi Note 12 Pro)+, POCO X5, Xiaomi 13T And there are some methods that require pre-preparation, like the one that's enabled. USB-Debugging or syncing with Google.
We warn you that attempts to crack passwords with third-party programs (such as Mi Account Unlock Tool) often lead to blocking IMEI or activating anti-Rollback protection.
1 Unblocking through Mi Account (if tied)
The most reliable way is to use a Xiaomi account that works even if you forget your pattern lock or PIN, but remember the username/password from Mi Account.
Algorithm of action:
- πΉ Enter the wrong password on the lock screen 5-10 times until the message βForgot the passwordβ appears?".
- πΉ Click on this inscription. β Select "Unblock with Mi Account".
- πΉ Enter the email or phone number associated with the account, then the password.
- πΉ Confirm the unlock through SMS or email (if two-factor authentication is enabled).
β οΈ Note: If the device was purchased by hand and the previous owner did not untie his account, this method will not work. In this case, you will need to contact Xiaomi support with proof of purchase (check, box with a box of cards). IMEI).
π‘
If you donβt have access to your linked phone number, try to restore your Mi Account through a backup email. Go to the password recovery page and select βForgot your password?β.
| Xiaomi model | Support for unlocking through Mi Account | Is the Internet required? |
|---|---|---|
| Redmi Note 11/12 | Yes. | Yes (Wi-Fi or mobile data) |
| POCO F4/F5 | Yes. | Yes. |
| Xiaomi 13/14 Series | Yeah, but with a SMS confirmation. | Yes. |
| Redmi 10A/10C | Yes, if MIUI 12+ | No (offline) |
2.Using Google Find My Device (for Android 8.0+)
If you have a Google account tied to your Xiaomi smartphone and location services enabled, you can reset your password remotely via Find My Device.
Instructions:
- Go to Find My Device from another device.
- Sign in with the same Google account as on a locked smartphone.
- Select your Xiaomi device from the list (if there are several).
- Click "Block Device" β enter a new temporary password.
- Confirm the action. After 1-2 minutes, a field will appear on the lock screen to enter a new password.
β οΈ Note: This method only works if:
- πΆ Device connected to the Internet (Wi-Fi or mobile network).
- π Sync with Google enabled (Settings) β Accounts. β Google).
- π± The device is not turned off or discharged (battery) > 10%).
3. Unlock through ADB (required USB-debugging)
The method for advanced users who have included in advance USB-If the debugging isn't activated, it won't work.
Step-by-step:
- Connect your smartphone to your PC through USB-cable (original!).
- Open the Command Prompt (Windows) or Terminal (macOS/Linux) in the folder with ADB.
- Enter the command to check the connection: Adb devices should display the name of your device.
- Delete the password file (for MIUI): adb shell rm /data/system/gesture.key or for newer versions: adb shell rm /data/system/locksettings.db
- Reboot the device: adb reboot
After the reboot, the lock screen should disappear. PIN-code SIM-cards are normal, enter them.
Install ADB and Fastboot on PC|Download drivers for Xiaomi (Mi) PC Suite)|Turn it on. USB-smartphone-debugging|Connect the original USB-cable
-->
What if the ADB canβt see the device?
4. Safe Mode bypass (for older versions of MIUI)
On devices with MIUI 10β11 (e.g., Redmi Note 8 Pro, Mi 9T), you can try removing the password through Safe Mode, which works if the lock is installed by a third-party application (e.g., AppLock) rather than the system.
How to turn on Safe Mode:
- Press the power button until the shutdown menu appears.
- Press and hold the "Switch off" option (or "Reboot" on some models).
- Confirm the transition to Safe Mode (the inscription "Safe Mode" will appear at the bottom of the screen).
In safe mode:
- π§ Go to Settings. β Annexes β All applications.
- π Find an app that locks the screen (like Screen Lock or Mi Security).
- ποΈ Click "Delete" or "Stop".
- π Restart the device in normal mode.
β οΈ Attention: MIUI 12+ Safe mode does not disable the system lock screen, and this method will not help if the password is set through the security settings of Android.
5.Official reset via Xiaomi Service Center
If none of the methods worked, you can contact an authorized service center. Xiaomi provides a service of unlocking data, but only if the conditions are met:
- π Availability of a check or warranty card (proof of purchase).
- π Identity document (passport).
- π± The device must not be blacklisted (stolen/lost).
- π The smartphone does not activate the function Find Device from the previous owner.
The cost of the service varies from 500 to 2000 rubles depending on the model, the average time is 1-3 working days. Importantly, service centers do not guarantee 100% data security, especially if the device was blocked through the Mi Cloud.
The official services can be found on Xiaomiβs website, and check by phone before you visit if they provide a non-reset unlock service.
π‘
Contacting the service center is the only legal way to unlock if you do not remember the data from Mi Account and are not enabled. USB-debugging.
Frequent Mistakes and How to Avoid Them
Many users make things worse by trying to unlock Xiaomi in the wrong ways.
| Mistake. | Effects of consequences | The right decision |
|---|---|---|
| Use of password cracking software (e.g. Mi Unlock Tool) | IMEI blocking, anti-Rollback activation | Contact the service center |
| Repeatedly entering the wrong password (more than 30 times) | Hardware lock for 24-72 hours | Wait or Reset by Find My Device |
| Trying to flash the device through Fastboot without unlocking the bootloader | Brick (turning into a brick) | Unlock the bootloader officially through Mi Unlock |
Another common problem is locking after resetting via Recovery, and if you reset your settings, but the device requires you to enter your old Mi Account, it means that Factory Reset Protection (FRP) has been activated, and only:
- π Data from your previous Mi Account.
- π§ Appeal in support of Xiaomi with proof of purchase.