How to unlock Xiaomi if you forget your password: official and alternative methods

A forgotten password on a Xiaomi smartphone is a situation that one in five users face. Unlike other brands, Redmi, POCO or Mi phones have an additional layer of protection β€” binding to a Mi Account, which makes it difficult to unlock. Without the right actions, you risk losing all data or completely locking the device forever.

In this article, we will look at 5 proven ways to reset your password, from official (via Xiaomi account recovery) to technical (using Fastboot and Recovery modes), focus on the nuances for different models (for example, the Redmi Note 10 vs POCO X3 Pro) and warn about typical errors that will turn your phone into a β€œbrick.” If you are looking for a way to get around the lock without losing data, we have a solution for this.

1 Unlocking through Mi Account (official method)

The safest and most recommended way for Xiaomi is to restore access through the linked Mi Account, which works if:

  • πŸ“§ You have access to an email or phone number linked to your account.
  • πŸ”— The device is connected to the Internet (via Wi-Fi or mobile network).
  • πŸ”’ Find Device is not activated on your phone (otherwise, additional verification will be required).

Instructions:

  1. On the locked screen, tap Forgot password? (or Forgot password? on English firmware).
  2. Choose the method of recovery: by SMS or by email.
  3. Enter the received confirmation code and create a new password.

πŸ’‘

If the button "Forgot your password?" does not appear, try to enter any password 5 times in a row - the system will offer a recovery option.

⚠️ Note: If you have previously enabled Two-Factor Authentication in Mi Account, you will need access to a backup email or authenticator application (e.g. Google Authenticator.

2. Reset password via Recovery Mode (Hard Reset)

Hard reset is a radical method that removes all data from a device, including photos, contacts and apps, and only use it if recovery through Mi Account is impossible.

  • πŸ”„ Stock Recovery (standard menu from Xiaomi).
  • πŸ› οΈ Custom Recovery (TWRP, OrangeFox – installed by the user).

Instructions for stock recovery:

  1. Turn off the phone.
  2. Press the Power button + Volume up for 10-15 seconds until the Mi logo appears.
  3. In the Recovery menu, select Wipe Data β†’ Wipe All Data (manage volume buttons, confirm – power button).
  4. After resetting, restart the device (Reboot).

Disable your Google Account (if you remember your password) to avoid FRP-lock-in|Take it down. SIM-memory-card|Charge your phone at least 50%|Prepare a backup copy. IMEI (for models from Mediatek)

-->

⚠️ Attention: On devices with Android 10+ After Hard Reset, it can work. FRP-Factory Reset Protection: To avoid this, unplug your Google account in your settings before resetting (Settings) β†’ Accounts. β†’ If the lock is already activated, you will need to enter a login / password from the last used Google account.

Xiaomi modelCombination of buttons for RecoveryFeatures
Redmi Note 8/9/10Food + Volume upSome firmware requires confirmation through Mi Account even after a reset.
POCO X3/F3Food + Volume upIn Recovery, Russian may not be available.
Mi 11/12Power + Volume up (hold 20+ seconds)On new MIUI 13+ firmware, the reset may require PC confirmation.
Redmi 4X/5AFood + Volume up + Volume downOlder models may not support FRP-blocking.

3. Unlock via Fastboot (for advanced users)

The method is suitable if:

  • πŸ”§ You have access to a computer with Xiaomi drivers installed.
  • πŸ“₯ You can download the official firmware for your model.
  • πŸ”“ The bootloader is unlocked on the device (Bootloader).

Step-by-step:

  1. Download the official firmware for your model (choose the Fastboot version).
  2. Unpack the archive in a folder on the C:\ disk (the path should not contain Cyrillic!).
  3. Transfer the phone to Fastboot mode: turn off the device, then press Power + Volume down.
  4. Connect your phone to your PC and launch the file flash_all.bat firmware.
fastboot oem unlock


fastboot flash all




fastboot reboot

⚠️ Note: If the bootloader is locked, you will need to unlock it before the firmware through the official Xiaomi tool. the process takes up to 72 hours (requires binding to Mi Account and waiting). SMS-On devices with permits. MIUI 12.5+ Unlocking the bootloader can lead to a data reset.

What if the Fastboot doesn’t recognize the device?
Install Xiaomi Flash Tool drivers β†’ Reboot PC β†’ Check USB 2.0 connection (not 3.0!) β†’ Try another cable. If the problem persists, disable the driver signature in Windows (bcdedit /set nointegritychecks on in the CMD command from the admin).

Password bypass through ADB (without loss of data)

The only way to reset a password without deleting data is to use Android Debug Bridge (ADB).

  • πŸ”Œ The phone's debugging on. USB (Settings β†’ The phone. β†’ Version. MIUI β†’ 7 times tap to unlock the developer menu).
  • πŸ–₯️ You have a PC with installed ADB-driver.
  • πŸ”“ The phone was connected to this PC earlier (confirmed) RSA-key).

Instructions:

  1. Connect your phone to your PC and open the command line (Win + R β†’ cmd).
  2. Enter the commands in turn: 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

After the reset, the password will be reset. If the commands don't work, try an alternative method:

adb shell am start -n com.android.settings/.ChooseLockGeneric

πŸ’‘

ADB-The method only works on devices with root rights (root) or unlocked bootloader. New models (Xiaomi 13, Redmi Note 12) require additional confirmation via Mi Account even after resetting the password.

5 Unlocking through Xiaomi Service Center

If all of the above methods do not work, you need to contact an authorized service center.

  • πŸ” Devices with activated Anti-Theft Protection).
  • πŸ“± Phones that previously had Mi Account binding with two-factor authentication.
  • πŸ”§ Models with damaged firmware after a failed reset.

What will be required:

  • πŸ“„ Checks or warranty card (proof of possession).
  • πŸ†” Passport (for proof of identity).
  • πŸ“§ Access to email linked to Mi Account.

The cost of unlocking the service varies from 1,500 to 5,000 rubles depending on the model and the reason for the lock. On devices with MIUI 14 and later, additional verification may be required through a video message to a Xiaomi specialist.

Recovery via Mi Account|Hard Reset (Recovery reset)|Fastboot/firmware |ADB (without loss of data)|Talked to the service center |Never tried.

-->

6. Frequent mistakes and how to avoid them

Even experienced users make mistakes that lead to complete data loss or device lockdown.

⚠️ Warning: Never interrupt the firmware process through Fastboot! this can cause partition damage EFS, stored IMEI. Recovery IMEI Xiaomi with Snapdragon processor costs from 3,000 rubles, and Mediatek - up to 10,000 rubles.

Top.-5 mistake:

  1. Use of informal firmware: Forum firmware (e.g., 4PDA) may contain viruses or incompatible modules, leading to bootloop.
  2. Reset via Recovery without detachment of Google account. on Android 9+ It's guaranteed to activate. FRP-lockdown.
  3. Attempting to unlock through "miracle programs." Utilities like Mi Account Unlock Tool often contain Trojans or don't work on newer versions of MIUI.
  4. Ignoring IMEI backup. On models with Mediatek (like the Redmi 9A), a reset can nullify the IMEI, making the phone unsuitable for calls.
  5. Unlock the bootloader without waiting. SMS-Xiaomi permissions, account can be blocked for 30 days.

If you're not sure what you're doing, you might want to spend some time looking at the official documentation or talking to a specialist, like the Mi Community website, which has a section with verified instructions for each model.

FAQ: Answers to Frequent Questions

Can I unlock Xiaomi without losing data?
Yes, but only if: USB debugging enabled and the phone previously connected to this PC, Mi Account with administrator rights, device not locked through Find Device, otherwise the data will be deleted.
What if the phone needs an old password after resetting?
It's a manifestation. FRP-Solutions: Enter the data from the last Google account you used. If you don't remember, reset your Google account password on the recovery page. FRP You can use special utilities on Xiaomi (for example, Mi). FRP Tool, but they require an unlocked bootloader.
How to unlock Xiaomi if you forget your password and Mi Account?
In this case, only radical measures remain: πŸ”§ Firmware via Fastboot (will delete all data). πŸ› οΈ Contacting the service with proof of ownership (check, box). πŸ“± Replacement of the motherboard (extreme case, cost - from 8 000 Restoring access to Mi Account without email/It is impossible to use a phone, even Xiaomi specialists will not be able to help.
Does the unlocking work through the engineering menu (##...)?
No. Codes like ##7780## or *2767*3855# that were used on the old Samsungs don't work on Xiaomi. The only working code is ##4636## (test menu), but it's not unlock-related.
Can I unlock Xiaomi through Find Device?
Yes, but only if: Device is connected to the Internet. You logged in to Mi Cloud from the same account. Find Device was activated before locking. Instruction: Go to i.mi.com. Select a locked device. Press Unlock and confirm the action. ⚠️ After unlocking all data will be erased.