How to Remove Your Password on Xiaomi: All Ways to Unlock the Screen (including Mi Account)

Why Xiaomi is blocking the device and can it be bypassed?

Xiaomi smartphones use a multi-level protection system that includes not only standard PIN-If you have entered the wrong password more than 5 times, the system can lock the device for 30 seconds, 5 minutes or even require authorization through the account. This is done to protect against hacking, but what to do if the password is forgotten and access to the account is lost?

In this article, we’ll look at all the current ways to unlock, from official (via Find Device or Mi Unlock Tool) to alternative (using ADB or Fastboot mode). Importantly, some methods require prior preparation (for example, enabled debugging over USB), so their effectiveness depends on how much you have pre-configured your smartphone. If the device is completely locked, do not despair: even in this case, there are solutions.

Before you start, answer one question:

πŸ“Š What type of lock on your Xiaomi?
PIN-code
pattern lock
Password.
Fingerprint/face (but requires a password)
I don't know.

Method 1: Unlocking with Mi Account (official method)

If you have Mi Account sync on your smartphone, and you remember the username and password, it's the easiest way to get back access. Xiaomi provides a Find Device tool that lets you unlock the device remotely. Here's how it works:

  1. Go to i.mi.com and log in to your account.
  2. In the Devices section, select a locked smartphone.
  3. Click Unlock the device and confirm the action via SMS or email.
  4. Wait for notifications on the smartphone screen – usually unlocking takes 1-2 minutes.

⚠️ Note: If two-factor authentication is enabled on your device, you will need code from the Mi Security app or SMS. If you cannot get the code (for example, SIM-Card lost, use backup codes or restore account access through Xiaomi support.

Smartphone connected to the Internet (Wi-Fi or mobile network)

The device is synchronized with Mi Account (checked in Settings β†’ Xiaomi Account)

Remember the login/password from the account

Two-factor authentication disabled or backup codes available-->

This method works on all Xiaomi, Redmi and POCO models with MIUI 12 and later. If the device does not appear in the list on i.mi.com, check:

  • πŸ”„ Is the firmware updated (outdated versions) MIUI They may not support remote unlocking).
  • πŸ“Ά Is the mobile Internet enabled (if Wi-Fi is turned off, the smartphone will not be able to receive a command).
  • πŸ”’ Has your account password changed since the last synchronization.

Method 2: Recovery Mode (Data Loss)

If Mi Account is lost and no other options are available, it is hard to reset through Recovery Mode, which deletes all data on the device, including photos, contacts and apps, but is guaranteed to unlock the screen, and is suitable for all Xiaomi models released after 2018.

To enter Recovery Mode:

  1. Turn off your smartphone (press the power button for 10 seconds).
  2. Press Volume Up + Power at the same time and hold for 10-15 seconds until the Mi logo appears.
  3. In the recovery menu, select Wipe Data (use volume buttons for navigation, power for confirmation).
  4. Confirm the reset by selecting Wipe All Data.
  5. After the process is complete, select Reboot.

⚠️ Note: Some models (e.g. Xiaomi) 12T Or the Redmi Note 11 Pro.+) After the reset, you may need to enter data from the Mi Account that was linked to the device (FRP). If you do not remember the account data, the smartphone will remain blocked!

What to do if you need a Mi Account after resetting?
If you encounter a Mi Account request after a reset, try: 1. Restore access to your account through [this form](https://account.xiaomi.com/) (you will need a linked email or phone number). 2. Contact the Xiaomi service center with proof of purchase (check, box). 3. Use specialized FRP unlock services (for example, Mi FRP Tool, but they are paid and require a PC).

Xiaomi modelDo you need a Mi Account after a reset?Alternative methods of unlocking
Redmi 9/9A/9CNo (on MIUI 12 and below)ADB, Fastboot
Xiaomi 11T/11 LiteYes (MIUI 13+)Mi Unlock Tool, service center
POCO X3/X4 ProYes (if FRP was turned on)EDL-Regime (requires an authorized account)
Xiaomi 13/14 seriesYes.Official Unblocking Through Support

Method 3: Unlock through ADB (if debugging is enabled)

If the smartphone was pre-enabled debugging by USB (Settings β†’ About Phone β†’ MIUI version β†’ 7 times tap to unlock the developer options), you can delete the file with the password through ADB. This method saves data, but requires a computer and cable.

Step-by-step:

  1. Connect your smartphone to your PC via USB (use the original cable!).
  2. Open the Command Prompt (Windows) or Terminal (macOS/Linux) in the folder with ADB.
  3. Enter the commands in order: adb devices (to display your device) adb shell su rm /data/system/gesture.key rm /data/system/password.key rm /data/system/locksettings.db rm /data/system/locksettings.db-wal rm /data/system/locksettings.db-shm reboot
  4. After resetting, the password will be reset.

⚠️ Attention: On new versions MIUI (14+) Xiaomi has tightened the security, and this method may not work. If the password is still after the reboot, try repeating commands or using an alternative method through Fastboot.

πŸ’‘

If ADB doesn’t see the device, install Mi USB Driver drivers from Xiaomi’s official website or use Google USB Driver (for Windows).

Method 4: Use Fastboot and Mi Unlock Tool

For bootloader devices, Xiaomi offers the official Mi Unlock Tool, which allows you to unlock the bootloader, then you can flash custom recovery (such as TWRP) and delete the password.

  • πŸ–₯️ Windows computer (7/10/11).
  • πŸ”Œ Original. USB-cable.
  • πŸ“± Switched on. OEM Unlock in the developer settings (unless the device is completely locked).

Instructions:

  1. Download the Mi Unlock Tool and install it.
  2. Start the program and log in to your Mi Account.
  3. Transfer the smartphone to Fastboot mode (turn off, then press Volume down + Power).
  4. Connect the device to the PC and press Unlock in the program.
  5. Wait until the process is completed (it can take up to 10 minutes).

Once you unlock the bootloader, you can flash TWRP and delete password files through it (similar to the ADB method), but this method voids the warranty and can lead to data loss.

πŸ’‘

Mi Unlock Tool only works with accounts that are tied to your device for at least 72 hours. If you recently reset or changed your account, the tool will block unlock for 1-3 weeks.

Method 5: Contact Xiaomi Service Center

If all of the above methods fail, the official service remains: Xiaomi provides proof of ownership unlocking service.

  • πŸ“„ Check or invoice for purchase (electronic option is suitable).
  • πŸ“¦ Box from the device (preferably with a serial number).
  • πŸ†” Passport or other identity document.

The cost of the service varies from 500 to 2000 rubles depending on the model and region, in some cases, unlocking takes up to 5 working days.

⚠️ Warning: Don't go to informal workshops promising "quick undocumented unlocking" services, often involving fraud (e.g., replacement) IMEI) or installing unlicensed software that results in loss of warranty.

Frequent Mistakes and How to Avoid Them

When trying to unlock, users often face typical problems, and here are the most common ones and ways to solve them:

Mistake.Reason.Decision
Couldn't unlock the Mi Unlock ToolAccount is not tied to 72+ hour deviceWait 3-7 days or use another method.
Smartphone is not defined in ADBNot installed drivers or debugging not includedInstall Mi USB Driver or check the cable
After resetting, you need an old Mi Account.FRP (Factory Reset Protection) is included.Restoring access to your account or contacting the service
Remote: Device is locked in Fastbootbootloader lockedUse the Mi Unlock Tool to unlock the device

Another common mistake is trying to unlock through Google Find My Device, which doesn’t work on Xiaomi because devices use their own Mi Account system rather than Google’s services, and it’s not recommended to use programs like Dr.Fone or iMyFone, which often require payment and don’t guarantee results.

Can I unlock Xiaomi without losing data?
Yes, but only if: USB debugging enabled (ADB method); Mi Account is available (Remote unlock via Find Device); the device was unlocked in advance (OEM Unlock enabled); otherwise, the data will be lost.
What to do if you forget your Mi Account password?
Restore access via the recovery page. Require: Linked email or phone number. Backup email (if specified). Code from SMS or Mi Security app (if two-factor authentication is enabled). If nothing helps, contact Xiaomi with a photo of the check or box.
Does unlocking work through EDL-regime?
EDL (Emergency Download Mode) is a mode for firmware through a special cable. It allows you to bypass locking, but: Requires an authorized Xiaomi account (for new models). Can lead to hard-brick (completely inoperable) if you make an error. Not supported by most service centers because of risks. Use this method only if you are an experienced user or under the guidance of a specialist.
How to protect Xiaomi from blocking in the future?
To avoid problems with unlocking: πŸ” Enable biometric authorization (fingerprint or face) as a backup login method. πŸ“ Write down your Mi Account password in a secure location (for example, in a password manager). πŸ”§ Activate Developer Options and enable Debugging by USB (case-by-case ADB). ☁️ Regularly back up through Settings β†’ System system β†’ Backup.
Can I unlock Xiaomi with a Google Account?
No. Xiaomi smartphones use its own Mi Account protection system, not Google FRP. Find My Device unlock methods or Google data entry do not work on devices with MIUI.