A forgotten password on a Xiaomi smartphone is a situation that one in five users encounter, according to service center statistics. Unlike iPhones or Samsung, devices on MIUI offer unique recovery mechanisms, but they only work if key conditions are met. For example, if you previously linked a Mi Account account or enabled debugging over USB, the chances of regaining control of your phone without a data reset are much higher.
In this article, we will discuss all the current ways to unlock for Redmi models, POCO Xiaomi (including flagship series) 12/13/14). Particular attention will be paid to methods that allow you to bypass the lock without losing photos, contacts and messages - this is possible in the future. 60% You will also learn what errors lead to complete data loss even after successful unlocking (spoiler: this involves encrypting the storage in the storage system). MIUI 13+).
1 Unblocking through Mi Account (official method)
The most reliable way to get back access is to use a Xiaomi account (Mi Account), which works on all devices with MIUI 8 and newer, but there are some nuances:
- π The phone must be connected to the Internet (Wi-Fi or mobile network).
- π± The lock screen should display the option βForgot your password?β (if it is not β the method will not work).
- π You must have access to an email or phone number linked to your account.
If the conditions are met, follow the instructions:
- On the lock screen, tap the button Forgot password? (or Forgot password? on English firmware).
- Enter the username (email or phone) from Mi Account and confirm ownership via SMS or letter.
- Create a new one. PIN-code or pattern lock. The system will prompt you to confirm the action through re-entering.
Important: Once you unlock this way, all data (photos, messages, apps) will be saved, but if you do not remember the data from Mi Account, you can only restore it through the official account.xiaomi.com website - there are no other legal ways to restore it.
π‘
If the "Forgot Password" button is not on the screen, try connecting the phone to charge and restart it. Sometimes the option appears after re-entering the wrong password 5 times.
2.Use of Find Device mode (remote unlock)
Find Device (similar to Googleβs Find Phone) not only tracks Xiaomiβs location, but also removes your password remotely.
- π The device is connected to the Internet.
- π Find Device has been activated in settings (Settings) β Mi Account β Find Device).
- π± The phone is not off or discharged.
Instructions for remote unlocking:
- Go to i.mi.com and log in to your Mi Account.
- Select the locked device in the list (if there are several).
- Click Delete Data β Unlock the device.
- Confirm the action via SMS or email.
β οΈ Warning: This method erases all data from your phone, including gallery photos and instant messenger messages. Use it only if other methods have not worked.
What if the Device canβt see the phone?
3. Unlock via Fastboot (for advanced users)
If you have previously included the debugging of USB (Settings β The phone. β Version. MIUI β 7 times to tap β Additional settings β For developers β Debugging by USB), You can try unlocking your phone through Fastboot, USB-Cable and command line knowledge.
Step-by-step:
- Turn off the phone. Press the Power button + Volume down until the Fastboot logo appears.
- Connect the device to the PC and install the Mi Flash Tool drivers (download from the official website).
- Open the command line in the adb folder and type: fastboot oem unlock If the command doesnβt work, try: fastboot flashing unlock
- Follow the instructions on your phone screen (confirmation via Mi Account may be required).
Warning: Not all Xiaomi models support unlocking via Fastboot without data loss. On new devices (e.g. Xiaomi 13 Pro or Redmi Note 12), this method can result in a complete reset.
Install the Mi Flash Tool|Download ADB and Fastboot (platform-tools)|Enable debugging on USB pre-existingly|Prepare original USB-cable-->
4.Reset via Recovery Mode (full cleaning)
If other methods fail, you can still reset hard through Recovery Mode, which will delete all data, but will return access to the phone.
- Turn off the phone.
- Press the Power button + Volume up until the Recovery menu appears.
- Use volume buttons to navigate and select Wipe Data β Wipe All Data.
- Confirm the action by choosing Confirm.
- After reset, select Reboot to reboot.
New devices (MIUI 14) may need to re-authorize in Mi Account after reset, a measure of protection against theft. If you do not remember your account details, the phone will become a βbrickβ (cannot be used).
β οΈ Note: On models with encrypted storage (e.g. Xiaomi) 12T or POCO F5) Even after resetting via Recovery, the data may remain blocked, in which case only flashing through Fastboot will help.
Official reset via Mi Account|Find Device (remote unlock)|Fastboot or ADB|Recovery Mode (hard reset)|Never blocked-->
5. Alternative methods (without loss of data)
If you donβt want to lose data, try these methods before you hard reset:
5.1 Unlocking through ADB (if debugging was enabled)
If USB Debugging is activated, you can delete the password file via ADB:
adb shell
rm /data/system/gesture.key
rm /data/system/password.key
rebootOnce rebooted, the password will reset, but this method only works on older versions of MIUI (up to 12).
5.2. Bypassing the lock via Safe Mode
On some models (e.g. Redmi 9 or POCO X3), you can download to Safe Mode and delete the password:
- On the lock screen, hold the Power button until the Safe Mode option appears.
- Confirm the download in safe mode.
- Go to Settings β Lock the screen and change the password.
In MIUI 13/14, Safe Mode often blocks access to security settings.
5.3 Recovery through MIUI backup
If you have a backup in Mi Cloud, you can recover the data after the reset:
- Drop the phone through Recovery.
- When you first set up, select Restore from Mi Cloud.
- Sign in and select the latest copy (if it was created before blocking).
π‘
Alternative methods only work if conditions are met: debugging enabled, older versions of MIUI or backup, otherwise they are useless.
6. What should I do if nothing helps?
If all of these methods do not work, there are two options:
- Contact the Xiaomi service center with proof of purchase (check, box). They can unlock the phone through special software, but this is a paid service (from 1500 to 5000 rubles depending on the model).
- Flash your phone through Fastboot with a full cleanup, and you'll need the official firmware from Xiaomi's website and the Mi Flash Tool.
On models with a bootloader lock (for example, Xiaomi 13 Ultra), flashing is possible only after unlocking the bootloader through the Mi Unlock Tool, which requires binding to the Mi Account and waiting 72-168 hours.
β οΈ Warning: Self-flashing will void the warranty and may result in loss IMEI (If you're not sure about your abilities, you better consult a professional.
7.How to avoid blocking in the future?
To avoid the problem of forgotten passwords again, follow these tips:
- π Use biometric unlocking (fingerprint or facial recognition) as a backup method.
- π Write it down. PIN-code in a secure location (for example, in the Bitwarden or KeePass password manager).
- π Regularly back up your Settings β The phone. β Backup.
- π Link Mi Account and enable Find Device β this will save data when lost.
Also avoid:
- β Installation of complex graphic keys (they are easier to forget than to forget) PIN).
- β Internet shutdowns for a long time (without a network, Find Device will not work).
- β Use of unofficial firmware (they can block standard recovery methods).
| Unlocking method | Conditions required | Is the data preserved? | Difficulty |
|---|---|---|---|
| Through the Mi Account. | The Internet button βForgot your password?β | β Yes. | β |
| Find Device | Internet, Mi Account, function enabled | β No. | ββ |
| Fastboot (ADB) | Debugging by USB enabled, PC | β οΈ Depends on the model. | βββ |
| Recovery Mode | No condition. | β No. | β |
| Safe Mode | It works on old MIUIs. | β Yes. | ββ |