Forgot the pattern lock or PIN-The situation is familiar to many: the phone is locked after several failed attempts to enter, and access to data becomes impossible. Fortunately, there are several ways to remove a password, from official solutions through Mi Account to technical methods using Fastboot or Fastboot. ADB.
In this article, we will discuss all the current ways to unlock Xiaomi Mi, including the Mi 11, Mi 10T, Mi 9 and others. Importantly, some methods lead to a complete data reset, so before you start, try to remember your associated Xiaomi account or backups. If you are not sure about your actions, contact the service center.
β οΈ Warning: Fastboot and custom firmware methods can cause a loss of warranty or device brik. On models with a locked bootloader, some methods will not work.
1 Unlocking through Mi Account (official method)
The safest method is to use a Xiaomi account, which works if:
- π± The phone is connected to the Internet (Wi-Fi or mobile network).
- π Remember the username and password from Mi Account.
- π Find Device has been activated in the settings.
If the conditions are met, after 5 failed attempts to enter the password, the button "Forgot the password?" will appear.
- Enter the email or phone number associated with your Xiaomi account.
- Confirm your identity via SMS or email.
- Create a new unlock password.
β οΈ Note: On some firmware (for example, MIUI Global over 12.5) button may not be available, in which case try unlocking your device via i.mi.com web (Section "Find your device").
2. reset to factory settings (Hard Reset)
If you don't remember the Mi Account data, the radical method is hard reset, which will delete all the data on your phone, including photos, contacts and apps, and only use it as a last resort!
Instructions for most Xiaomi Mi models:
- Turn off the phone.
- Press the Power + Volume buttons up for 10-15 seconds at the same time until the Mi logo appears.
- In the Recovery menu, select Wipe Data β Wipe All Data (control β volume buttons, confirmation β power button).
- Confirm the action and wait for the process to be completed.
After the reboot, the phone will be like new. On models with a locked bootloader (for example, the Mi 11 Ultra) after the reset, you may need to log in to the Mi Account to activate.
Turn off your Google Account (if you remember your password)
Take it down. SIM-memory-card
Charge your phone at least 50%
Prepare a backup copy. IMEI (If you have access to the Engineering Mode)-->
3. Unlock via Fastboot (for advanced users)
This method is suitable if you have a bootloader unlocked, otherwise you will need to officially unlock through the Xiaomi Unlock Tool, which takes up to 720 hours of waiting (on new models).
To unlock, you will need:
- π₯οΈ Computer with drivers installed ADB/Fastboot.
- π Cable USB (preferably original).
- π₯ Fastboot firmware ROM For your model (download from the official website).
Step-by-step:
- Turn off the phone and put it in Fastboot mode (clip Power + Volume down).
- Connect to your PC and check for device detection by command: fastboot devices
- Flush the stock firmware (replace filename with filename): fastboot flash all filename.tgz
- Upon completion, type in fastboot reboot
β οΈ Note: On models with anti-Rollback (e.g. Mi 9) SE) The old version of the firmware can lock the device permanently!
What if Fastboot doesnβt see the device?
4.Use of ADB (if USB debugging is enabled)
If you activated USB debugging before blocking, you can delete the password file via ADB. This method saves data, but only works when you connect to a previously authorized PC.
Instructions:
- Connect the phone to the computer (it should be in lock mode, but with debugging enabled).
- Open the command line in the folder with ADB and type in: adb shell rm /data/system/gesture.key or PIN-code: adb shell rm /data/system/password.key
- Reboot the device: adb reboot
Once you reboot, the lock screen will disappear. If there is a "no devices/emulators found" error, check whether the PC is connected or authorized in the phone settings.
π‘
If ADB does not recognize the device, try the adb kill-server command, then adb start-server and reconnect.
5 Unlocking through Xiaomi Service Centers
If the independent methods did not help, contact the official service center. Xiaomi has a support program to unlock devices when you show proof of ownership (check, box, IMEI).
What will be required:
- π Document confirming the purchase (check, warranty card).
- π Passport of the owner.
- π± The device itself (even when switched off).
The cost of the service varies from 500 to 2000 rubles, depending on the model and region, in some cases, unlocking takes up to 3-5 working days.
| Model | Average cost of unlocking | Duration (working days) |
|---|---|---|
| Xiaomi Mi 11/11T | 1500β2000 β½ | 1β3 |
| Xiaomi Mi 10/10 Pro | 1000β1500 β½ | 1β2 |
| Xiaomi Mi 9/9 SE | 500β1000 β½ | 1 |
| Xiaomi Mi A3 (Android One) | 800β1200 β½ | 2β3 |
β οΈ Warning: Unofficial services may offer βunlocking through exploitsβ for a lower price, but this often results in a loss of the service. IMEI or blocking the Mi Account.
π‘
Officially unlocking the service center is the only legal way to bypass Mi Account protection without losing data.
6. Alternative methods (for experienced users)
If the standard methods do not work, you can try:
- π§ Custom Recovery firmware (TWRP): Allows you to reset your password without losing data, but requires an unlocked bootloader.
- π Use of exploits: For example, Mi Account Bypass Tool (not available on all models and versions) MIUI).
- π± Flip-through EDL: Emergency Download Mode, available only with authorized Xiaomi accounts.
These methods are risky and can lead to:
- Lose the warranty.
- IMEI lockdown.
- "Break" of the device (complete inoperability).