How to remove the password on Xiaomi Mi: official and alternative methods of unlocking

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.

  1. Enter the email or phone number associated with your Xiaomi account.
  2. Confirm your identity via SMS or email.
  3. 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").

πŸ“Š What Unlocking Method Have You Tried Before?
Through the Mi Account.
Reset to factory settings
Fastboot/ADB
I've been to the service.
Never blocked.

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:

  1. Turn off the phone.
  2. Press the Power + Volume buttons up for 10-15 seconds at the same time until the Mi logo appears.
  3. In the Recovery menu, select Wipe Data β†’ Wipe All Data (control – volume buttons, confirmation – power button).
  4. 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:

  1. Turn off the phone and put it in Fastboot mode (clip Power + Volume down).
  2. Connect to your PC and check for device detection by command: fastboot devices
  3. Flush the stock firmware (replace filename with filename): fastboot flash all filename.tgz
  4. 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?
Make sure the debugging mode is on USB (Settings β†’ The phone. β†’ Version. MIUI β€” 7 times press to activate the developer mode, then Settings β†’ Additionally. β†’ For developers β†’ Debugging by USB). Install Android drivers SDK Platform-Tools. Try another one. USB-port (preferably) USB 2.0).

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:

  1. Connect the phone to the computer (it should be in lock mode, but with debugging enabled).
  2. 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
  3. 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.

ModelAverage cost of unlockingDuration (working days)
Xiaomi Mi 11/11T1500–2000 β‚½1–3
Xiaomi Mi 10/10 Pro1000–1500 β‚½1–2
Xiaomi Mi 9/9 SE500–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).

How to enter EDL-regime?
Turn off the phone. β†’ Hold the Loud up. + Loudness down + Connect. USB-plug-in β†’ Hold 10-15 seconds. The device will be identified as Qualcomm. HS-USB QDLoader 9008.

FAQ: Frequent questions about unlocking Xiaomi Mi

Can I remove my password without losing data?
Yes, but only if: You remember the username/password from Mi Account. You have USB debugging enabled and your phone was connected to this PC earlier (for the ADB method). In all other cases, the data will be erased.
What to do if you ask for an old Mi Account after a reset?
This means that the phone has activated the account binding (Mi Cloud Lock). Solutions: Enter data from the old account. Contact the service center with proof of purchase. On some models, the firmware through Fastboot helps with disabling account verification (requires an unlocked bootloader).
Does Find Device Unlock Work on All Models?
No. The feature is only available if: The phone is connected to the Internet, the Find Device option is enabled in the settings, the device is not in Lost Mode mode, and on MIUI for the CN region (China), this method may not work.
How to unlock Xiaomi Mi if you forget both your password and Mi Account?
In this case, only radical measures remain: Hard Reset (loss of data), contacting the service center with documents on the phone, firmware via Fastboot/EDL (risk of "brick"), Data recovery after reset can only be enabled synchronization with Mi Cloud or Google Account.
Can I bypass the lock through engineering codes?
No. Codes like ##3646633## (Engineering Mode) don't allow you to reset your lock password. They're designed to test hardware components.