What password to enter when resetting settings on Xiaomi: all ways to unlock

Resetting on Xiaomi smartphones is a standard procedure that helps to return the device to factory parameters. However, many users face an unexpected problem: after a hard reset, the system requires you to enter a password that no one has set, which arises from the peculiarities of MIUI protection, where even after a complete reset, you can still be associated with a Mi Account or encrypted data.

In this article, we’ll look at all the possible passwords Xiaomi can request after a reset, from standard combinations to ways to bypass locks, why the system requires an access code, what data can help restore it, and what to do if none of the options are suitable. We will pay special attention to models with MIUI 14/15 and the new Redmi Note series devices 12/13, where the algorithms of protection have become stricter.

We warn you that improper actions when unlocking can lead to complete loss of data or even β€œbricking” of the smartphone. Therefore, before starting procedures, be sure to read our recommendations and prepare backup copies of important files.

Why Xiaomi asks for a password after resetting settings

The checkpoint question is, did you actually perform a full reset (via Settings β†’ About Phone β†’ Settings Reset) rather than just a reset? If so, the password requirement is due to one of three reasons:

  • πŸ”’ Data Encryption: Starting with MIUI 12, All Xiaomi smartphones by default encrypt user data. After reset, the system requires a password to decrypt the partition. /data.
  • πŸ“± Mi Account binding: If Find Device is enabled on the device, the reset does not untie the account. The system is blocked before entering the username / password from Mi Account.
  • πŸ”‘ Factory PIN-code: on some models (e.g, POCO X5 Pro or Redmi K60) After reset, you may need to enter the standard code 123456 or 000000.

Fun fact: on Android 10 and later devices (such as Xiaomi 13T or Redmi Note 12 Pro+), a reset via Recovery Mode doesn’t always remove the account link.This is done to protect against theft – even after a reset, a thief will not be able to use the phone without the original owner’s data.

⚠️ Note: If you bought a smartphone with your hands and the previous owner did not untie the Mi Account, it is officially impossible to unlock the device.

πŸ“Š Your Xiaomi smartphone is tied to your Mi Account?
Yeah, and I remember the data.
Yeah, but I forgot my password.
No, not tied.
I don't know how to check.

Standard passwords for Xiaomi after reset

If the phone requires a password immediately after reset, try these combinations in order of priority:

Password typeCombinationWhat models are suitable forNotes
Factory PIN123456All models up to 2021 (Redmi 9, POCO X3)It works in 60% of cases on old firmware
Empty password(leave the field empty)MIUI 11 and below (Mi 9, Redmi Note 8)Sometimes it works on unencrypted devices.
Mi AccountLogin + Password from Xiaomi AccountAll models with MIUI 12+Internet connection required
Password from GoogleData from the last Google account connectedDevices with Android 9+ and FRP-blockingYou need to enter after connecting to Wi-Fi
Service codemillion or 1234Phones for the Chinese market (Mi 10 China)It can only work on unofficial firmware.

Critical information: On Xiaomi 12/13 and Redmi Note 12 models with MIUI 14/15, standard passwords are triggered in less than 10% of cases.

Try 123456 and 000000

Leave the field empty and press "Confirm"

Enter data from the last Google account

Try the username/password from Mi Account

Connect to Wi-Fi and try again-->

How to bypass password request after reset (official ways)

If standard combinations do not fit, use legitimate unlock methods that do not violate Xiaomi’s rules and do not lead to loss of warranty:

  1. Recovery via Mi Account: Go to account.xiaomi.com β†’ β€œForgot your password?” β†’ restore access by email or phone number.
  2. Unlocking via Fastboot (for advanced users): Connect your phone to your PC, launch the Mi Unlock Tool (download from the official website) and follow the instructions. You will need a tied Mi Account with unlock rights. fastboot oem unlock
  3. Contact the service center: If the phone is warranty, provide a check and passport - Xiaomi will unlock the device for free. For models older than 2 years, you may need to pay (from 1000 to 3000 rubles).

Important: the Fastboot method only works if USB debugging was enabled on the device earlier (Settings β†’ About Phone β†’ MIUI Version β†’ 7 times tap β†’ For developers β†’ USB debugging).

What if your Mi Account is linked to an old phone number?
If you do not have access to the number associated with the Mi Account, try: 1. Restore access via backup email (if any). 2. Contact Xiaomi with a photo of the purchase check and passport. 3. Use the "Other Login Ways" feature on the password recovery page. In the extreme case, you will have to create a new account and flash the phone through EDL-regime (risk of loss) IMEI).

Informal Unlocking Methods: Risks and Consequences

If the official methods didn't work, you can find "circumvent" methods on the Internet, from firmware through EDL to exploits in MIUI. However, these methods have serious disadvantages:

  • ⚠️ Loss of warranty: Any interference with firmware will void Xiaomi warranty obligations.
  • πŸ“± Risk of β€œbricking”: Incorrect firmware can make the phone inoperable (programmer required).
  • πŸ”’ Lockdown IMEI: New models (Redmi Note 12, POCO F5) After unofficial unlocking, the modem may burn down.
  • πŸ•΅οΈ Data Leak: Many 'Free' Unlocking Tools Have Malware.

The most common informal methods are:

MethodDifficultyRisks.Chance of success
Firmware via EDL (9008)High (requires an authorized account)Loss of IMEI, brick80%
Use of exploit (e.g. CVE-2020-14125)Medium (ADB skills required)Doesn't work on new firmware.30%
Delete gesture.key via TWRPLow.It only works on old MIUIs.50%

⚠️ Note: Forums often advise you to use the Mi Flash Tool with an option clean_all.lock. This method removes all data, but on models with MIUI 14+ After such firmware, the phone may require authorization in the Mi Account even with clean firmware.

adb pull /dev/block/bootdevice/by-name/persist persist.img

If something goes wrong, these files will help restore network functions.-->

Frequent errors when entering a password after resetting

Even if you know the right password, entering it incorrectly can make things worse.

  • πŸ”  Incorrect keyboard layout: Password is typed in English and you use Russian. For example, ghbdtn instead of hello.
  • πŸ”„ Extra spaces: A gap at the beginning or end of a password makes it incorrect, even if the characters match.
  • πŸ”‘ Letter Register: Password and password are different passwords. Xiaomi defaults on Caps Lock when you first enter.
  • πŸ“Ά Internet: To verify Mi Account, you need to connect to Wi-Fi or mobile network.
  • ⏳ Delay between attempts: After 5 failed attempts, the system blocks input for 30 minutes.

If you entered the password correctly, but the phone does not accept it, try:

  1. Reboot the device (press the Power + Volume Up for 10 seconds).
  2. Connect to another Wi-Fi (sometimes a DNS problem).
  3. Use the keyboard from Google (install via ADB sideload if you have TWRP).

πŸ’‘

If the system does not accept the password after 3 correct password inputs, the problem may be in the damaged /data partition, in which case only flashing through Fastboot will help.

How to Avoid Password Problems in Future Resets

To avoid being blocked after a reset, follow these rules before you need to:

  • πŸ” Untie Mi Account: Go to Settings β†’ Xiaomi account β†’ After that, the reset will not require account data.
  • πŸ“± Turn off device search: In Settings β†’ Google β†’ Security β†’ Find the device and settings β†’ Additionally. β†’ Security β†’ Find the device (Xiaomi).
  • πŸ”‘ Remember. PIN-code: If you install a pattern lock or PIN, Write it to a secure location (e.g., Google Keep with encryption).
  • πŸ–₯️ Create a backup: Use Settings β†’ Additionally. β†’ Backup and reset β†’ Local backup, it'll save the data even after the reset.

For Xiaomi owners on Android 12+ (for example, Xiaomi 13 Ultra or Redmi K60 Pro) there is an additional option:

How to Create a Backup Unlock Code in MIUI 14+
1. Go to Settings. β†’ Passwords and security β†’ Confidentiality β†’ Standby PIN-Set an 8-digit code (e.g. 19873456). 3. Write it down and store it separately from your phone. This code will help unlock the device even after you reset if you forget the primary password.

FAQ: Answers to Frequent Password Questions After Xiaomi Reset

Can I reset my password through a call to a blocked Xiaomi?
No, this method worked on Android 5-7, but in MIUI 12+, the vulnerability is closed.
The phone requires a password after resetting through Recovery.
If the reset was performed through Recovery Mode (Power clamping) + Volume Up, and the password doesn't fit, so the device has been encrypted. Try: Enter Mi Account data, connect to your PC and use the Mi Unlock Tool, flash your phone through Fastboot with the option clean_all (loss).
After reset, Xiaomi asks for a password from Google (FRP).
This is Factory Reset Protection (FRP). To unlock: Connect to Wi-Fi. Enter an email and password from the last Google account that was on your phone. If you don't remember, restore access via accounts.google.com. On MIUI 14, FRP bypassing is only possible via ADB or firmware.
I bought Xiaomi with my hands, and he wants a password after reset.
If the previous owner did not untie the Mi Account, it is impossible to officially unlock the phone. Options: Contact the seller and ask for account details. Return the phone under warranty (if you bought in an official store); Sweep through EDL (risk of losing IMEI, you need an authorized account); Beware of "masters" who promise to unlock for 500 rubles - often these are scammers.
After the reset, Xiaomi says, "This device is connected to the Mi Account." What about it?
This means that the Find Device feature was enabled on the phone. You need to: Enter the username and password from the Mi Account that was linked. If you don't remember the data, restore access to account.xiaomi.com. If the account is not yours, contact the previous owner. Starting with MIUI 13, even a Fastboot reset does not remove the account attachment.