Forgot the password from Xiaomi Mi? Phone locked after failed attempts to enter the pattern lock? Or does the system require confirmation of Mi Account, which you lost access? Situations vary, but there is always a way out. In this article, we will discuss all the working ways of unlocking β from simple (via Google account) to complex (firmware via Fastboot), and also tell you how to minimize data loss.
Itβs important to understand that the unlock method depends on the type of lock and the phone model. For example, on the Xiaomi Mi 11 with MIUI 14, the method that is suitable for the Redmi Note 8 on MIUI 12 may not work. So before you start, check the firmware version in the Settings β About Phone menu (if you have access). If the phone is completely locked, focus on the model β it can be seen on the box or under the battery (if removable).
Also note that some methods require proof of ownership (checks, IMEI box), this applies to unlocking through the Mi Unlock Tool, the official tool from Xiaomi. If the phone is bought with hands, the process may be delayed or even impossible without the help of the previous owner.
We warn you beforehand that not all methods guarantee data security. If there is important information on the phone, try the methods without reset first (sections 2 and 3).
1. Unlock through Google account (only for Android 9 and below)
This method works exclusively on older versions of MIUI (based on Android 9 Pie and below).If your Xiaomi Mi is updated to MIUI 12/13/14 based on Android 10+, skip this section - Google registration will not help here.
The instructions are simple:
- Enter any password/key 5 times until the message βForgot the password?β appears.
- Click on this caption β select βLogin via Googleβ.
- Enter the login and password from the account that was linked to the phone.
- Create a new password or pattern lock.
β οΈ Note: If the phone was reset to factory settings via Recovery, this method wonβt work β youβll need confirmation via Mi Account.
If the "Forgot your password?" button is not, it means:
- π± It's on the phone. MIUI 12+ (Google Unlocking is disabled).
- π The device is linked to Mi Account, not Google.
- π οΈ The manufacturer has disabled this feature in regional firmware (for example, for Russia).
π‘
If the phone was bought in China, it probably has global firmware without Google services, in which case it is impossible to unlock through Google - use methods with Mi Account or Fastboot.
2 Unlocking through Mi Account (official method)
This is the most reliable method, but it requires access to the Mi Account account that was linked to the phone. If you forget your username/password, first restore them to account.xiaomi.com.
How to unlock:
- On the locked screen, click "Forgot your password?" β "Unblock through Mi Account".
- Enter your email/phone and password from your account.
- Confirm unlocking via SMS or email (if two-factor authentication is enabled).
- Create a new password for your phone.
If the button "Unlock through Mi Account" is not:
- πΆ Check your internet connection (Wi-Fi or mobile network).
- π Restart your phone β sometimes the button appears after a restart.
- π οΈ On some firmware, you must first enter any password 10 times to activate the option.
β οΈ Note: If the phone was bought with hands and the previous owner did not untie his Mi Account, it is officially impossible to unlock it without his help).
What if Mi Account is linked to other peopleβs data?
3. Unlock through Recovery Mode (Reset to factory settings)
This method erases all data from your phone, but it works on any Xiaomi Mi models, including new ones, which is suitable if you do not remember the password and have not tied the Mi Account (or are ready to lose it).
Step-by-step:
- Turn off the phone.
- Press the buttons Power + Volume up at the same time (on some models - Power + Volume down).
- Wait for the Mi logo to appear and release the buttons β you will be taken to Recovery Mode.
- Use volume buttons for navigation and power button for selection.
- Select "Wipe Data" β "Wipe All Data (on some firmware - "Factory Reset").
- Confirm the reset and wait for the process to be completed.
- Reboot the phone ("Reboot").
After the reset, the phone will be like new β you will need to reconfigure MIUI and restore data from the backup (if it was).
β οΈ Note: On some models (Mi) 10T, Mi 11 and later) after reset via Recovery, you may need to enter data from the Mi Account that was previously tied. FRP-If you don't remember your account, you'll have to use Fastboot (section 5).
π Charge your phone at least 50%
π‘ Make sure that SIM-card retrieved (if the phone requests) PUK-code)
π Prepare a backup of important data (if you have access to the phone)
π± Check the phone model β on some (for example, POCO F3) The combination of buttons for entering Recovery is different-->
4. Unlock through ADB (for power users)
The method is suitable if the phone is debugging via USB (Settings β About Phone β MIUI Version β 7 times press to unlock the developer menu β Settings β Additional β For developers β USB debugging). If debugging is turned off, this method will not work.
What you need:
- π₯οΈ Computer with Windows/Linux/macOS.
- π USB-cable (original, undamaged).
- π¦ Installed drivers ADB Fastboot (you can download from the Android website).
Instructions:
- Connect the phone to the computer.
- Open the command line (Win + R β cmd) and type: adb devices If the phone is determined (the serial number will appear), continue. If not, check the drivers and cable.
- Enter the command to delete the password: adb shell rm /data/system/gesture.key or for the pattern lock: adb shell rm /data/system/locksettings.db
- Reboot your phone: adb reboot
After the reboot, the lock should disappear. If not, try repeating commands or using an alternative method.
π‘
ADB-Unlocking works only when the debugging is enabled USB. If it is not, this method is useless β go to Fastboot or reset via Recovery.
5. Unlock via Fastboot (for advanced users)
This is the most reliable way if other methods have not worked, and it is suitable for phones with a locked bootloader, but requires official permission from Xiaomi to unlock, without this step, you will not be able to flash the phone.
What needs to be done:
- Get permission to unlock the bootloader through the official Xiaomi website: π§ Mi Account Account Linked to Phone. π± The phone must be linked to the account for at least 7 days. π Check or box IMEI (If you bought a phone with your hands).
Mi Unlock Tool
Fastboot
- Turn off the phone.
- Press the Nutrition + Loudness down until the hare appears in the hat (Mi Bunny).
- Connect your phone to your PC and start the Mi Unlock Tool.
- Log in to your Mi Account and follow the program instructions.
β οΈ Note: Fastboot firmware completely erases data and can result in a 72-hour lock on your Mi Account if you often try to unlock different devices!
| Model phone | Does Fastboot support unlocking? | Does Xiaomiβs permission need to be approved? | Whether data are retained |
|---|---|---|---|
| Xiaomi Mi 11/Mi 11 Ultra | Yes. | Yes (7 days wait) | No. |
| Redmi Note 10/Pro | Yes. | Yes (3-7 days) | No. |
| POCO F3/GT | Yes. | Yes (for global firmware only) | No. |
| Xiaomi Mi 9/9T | Yes. | Yes (may require a check) | No. |
| Xiaomi Mi A2/A3 (Android One) | Yes. | No (standard Fastboot is used) | No. |
6. Alternative methods (if nothing helps)
If all of the above methods fail, the less standard options remain, and they are suitable for specific cases:
Method 1: Unlocking through Xiaomi Service Center
- π Find the nearest Xiaomi service center.
- π Bring a check, a box and a passport.
- π° The cost of unlocking - from 1000 to 3000 rubles (depending on the model).
Method 2: Use of third-party services (at your own risk)
There are paid services on the Internet that promise to unlock Xiaomi Mi remotely, and we don't recommend using them, because:
- π There is a risk of losing access to the phone forever.
- π³ You can get caught by fraudsters (payment without results).
- π΅ Xiaomi could be blocked IMEI device for unofficial unlocking.
Method 3: Flashing through EDL (Emergency Mode)
This is the extreme method that is used if the phone is not switched on or locked at the bootloader level (EDL-Without experience, it is better not to try, because there is a high risk of turning the phone into a brick".
If you do decide, you will need:
- π₯οΈ Mi Flash Pro or QFilm.
- π EDL-cable (or adapter for entering mode 9008).
- π¦ Firmware in.mbn format for your model.
π‘
Before using EDL, check if your model supports this mode. For example, on the Xiaomi Mi 10 and later, the EDL entry is often locked at the hardware level.
7.How to avoid blocking in the future
To avoid having a locked phone problem again, follow the simple rules:
1. Set up backups
- π± Regularly save data to Mi Cloud or Google Drive.
- πΎ Use local copying through Settings β System system β Backup.
2. Link several ways to unlock
- π Set up your fingerprint and face recognition.
- π§ Link Mi Account and Google Account.
- π Write your password to a secure location (for example, a password manager).