A forgotten password on a Xiaomi smartphone is a situation that one in five users encounter, especially when the phone stores important data such as photos, work correspondence or access to banking applications. Fortunately, the manufacturer has provided several official and informal unlock methods that work even without access to the Mi Account.
In this article, we will discuss all the current methods, from the simplest (via a Xiaomi account linked) to radical (full reset via Fastboot). Importantly, some methods require preliminary preparation (for example, enabled debugging over USB), so if you read this article in advance, pay attention to the section on blocking prevention. For owners of old models (Redmi 4X, Mi A1) and new flagships (Xiaomi 14 Ultra, POCO F6 Pro), the instructions are universal, but may differ in detail β we will specify them in the compatibility table.
We warn you right away that no method guarantees 100% data security. If the phone is encrypted (default activated when you set the password), unlocking without reset is almost impossible. But let's get this straight.
1 Unlocking through Mi Account (official method)
The most reliable and secure method is to use a Xiaomi account, which works if:
- π± The phone is connected to the Internet (Wi-Fi or mobile network).
- π You remember the username and password from Mi Account (or you can restore it through the email/SMS).
- π The device was not reset to factory settings after the last authorization.
Instructions:
- On the lock screen, tap Forgot password? (or Forgot password? on English firmware).
- Select Sign in via Mi Account.
- Enter your email/phone and account password. If you don't remember, click Forgot your password? and follow the recovery instructions.
- After successful authorization, the system will prompt you to create a new password or PIN-code.
β οΈ Note: If the phone was bought with hands and the previous owner did not untie his Mi 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 the phone). IMEI).
2. Reset password via Recovery Mode (without loss of data)
This method is suitable for devices with an unlocked bootloader or older models on MIUI 10-12. On new firmware (MIUI 14+), it does not always work, but it is worth trying.
Steps:
- Turn off the phone with a long press of the power button.
- Press the combination of Loudness up + Power and hold for 10-15 seconds until the Mi logo appears.
- In the Recovery menu, select the language (if there is one).
- Go to Wipe & Reset β Wipe Password (on some models, the path may be different: Advanced β Wipe Password).
- Confirm the action and restart the phone.
βοΈ Preparing for resetting through Recovery
β οΈ Note: On devices with encryption enabled (Settings) β Additionally. β Encryption: This method can result in the loss of all data, as the system will require the entry of an old password after restarting.
3. Unlock via Fastboot (for advanced users)
Fastboot Method Requires a Computer, USB-It's a cable and basic command line knowledge:
- π§ You have unlocked bootloader (if not, see section 5).
- π» Access to PCs with installed drivers ADB/Fastboot.
- π± The phone is determined by the computer in Fastboot mode.
Instructions:
- Turn off the phone and press Volume Down + Power to log into the Fastboot.
- Connect your phone to your PC and open the command line (Win + R β cmd).
- Check the connection command: fastboot devices If the device is displayed β continue.
- Password reset (for MIUI 11-14): fastboot erase userdata fastboot erase locksettings
- Reboot the phone: fastboot reboot
β οΈ Note: On some models (Redmi Note 11 Pro)+, Xiaomi 12T) After this procedure, you may need to re-authorize in Mi Account. If the account is not tied, the phone will be permanently blocked!
What to do if the team is not working?
4.Using ADB (if USB debugging was enabled)
This is the only way to unlock your phone without losing data, but it only works if you activated USB Debugging in the developer settings before locking it. If so, you're in luck!
Algorithm:
- Connect your phone to your PC via USB (use the original cable!).
- Open the command line and check the connection: Adb devices
- Delete the password file: adb shell rm /data/system/gesture.key adb shell rm /data/system/password.key adb shell rm /data/system/locksettings.db adb shell rm /data/system/locksettings.db-wal adb shell rm /data/system/locksettings.db-shm
- Reboot your phone: adb reboot
Once rebooted, the password will be reset, but all data (photos, messages, apps) will remain in place.This method works on MIUI 12-15, but may require root rights on new firmware.
π‘
If the phone still requires a password after completing the commands, try entering any arbitrary code (e.g., 1234).
5 Unlock bootloader (if other methods did not help)
If all previous methods did not work, the radical option remains β unlock the bootloader through the official Mi Unlock Tool, which will lead to a complete reset of the phone, but will allow you to install custom firmware or bypass the lock.
What will be required:
- π» Windows computer 7/10/11.
- π Original. USB-cable.
- π Xiaomi account tied to phone (required!).
- β³ 72-168 Waiting hours (unblocking time for new accounts).
Step-by-step:
- Download Mi Unlock Tool from the official website.
- Sign in to the program under the same account as on the phone.
- Turn off your phone and log in to Fastboot (Loudness Down + Power).
- Connect your phone to your PC and press Unlock in the program.
- Wait until the process is completed (it can take up to 10 minutes).
Once you unlock the bootloader, you can flash your phone through Fastboot or TWRP, bypassing the lock. Minus: all data will be erased, and the warranty (if any) is canceled.
π‘
Unlocking the bootloader is the only legal way to bypass FRP (Factory Reset Protection) lock on Xiaomi, without which the phone will require authorization in the old Mi Account after the reset.
6. Contact the Xiaomi Service Center
If independent attempts are unsuccessful, you can contact the official service center.
- π± Phones with the previous ownerβs Mi Account blocked.
- π Devices with Encryption enabled and lost password.
- π Models that are not subject to other methods (e.g. Xiaomi Mi) A2 pure Android).
What to bring with you:
- π Check or warranty card (proof of purchase).
- π¦ Original box with IMEI.
- π Passport (for proof of identity).
The cost of unlocking the service varies from 1,000 to 3,000 rubles, depending on the model and the reason for the lock, and in some cases (for example, if you are a thief), you may need a police certificate.
7.How to avoid blocking in the future
To avoid the problem of forgotten passwords again, follow the following simple rules:
- π Use a fingerprint or facial recognition as an additional way to unlock.
- π Write your password to a secure location (for example, in Google Keep or an encrypted notebook).
- π Regularly sync your data with Mi Cloud or Google Drive.
- π§ Turn on Debugging. USB (Settings β The phone. β Version. MIUI β Tap 7 times, then return to the additional β For developers).
We also recommend setting up Smart Lock in security settings: this will automatically unlock the phone in trusted places (home, work) or when connecting to trusted devices (smart watches, Bluetooth headphones).
Comparison of Unlocking Methods
| Method | Data security | PC required | Difficulty | Suitable for |
|---|---|---|---|---|
| Mi Account | β Yes. | β No. | β | All models. |
| Recovery Mode | β οΈ Partially. | β No. | ββ | MIUI 10-13 |
| Fastboot | β No. | β Yes. | βββ | Models with unlocked bootloader |
| ADB | β Yes. | β Yes. | βββ | Only if the debugging was on. |
| Service centre | β No. | β No. | ββ | Any model you want. |