How to reset your settings to Xiaomi if you forget your password: all ways 2026

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 official and informal password reset methods available, from standard Mi Account recovery to forced reset via Recovery or Fastboot engineering menus.

In this article, we will discuss all the current ways to unlock for Redmi, POCO and Mi models (including new devices from 2023-2026). Importantly, some methods lead to complete loss of data, so first try to restore access without reset. If the smartphone is critical (for example, it stores work files), contact the service center - self-manipulation can void the warranty.

Warn in advance: methods like β€œpassword by phone” or β€œAndroid exploits” 7" They have not been working on modern firmware for a long time. MIUI. We will focus only on proven solutions relevant to MIUI 14/15 Android 13/14.

πŸ“Š What kind of smartphone you Xiaomi?
Redmi Note 12/13
POCO X5/X6
Mi 11/12/13
Redmi 10/9
Other

1.Reset via Mi Account (official method)

The safest way to unlock is to use a linked Mi Account, which works if:

  • πŸ“± Smartphone connected to the Internet (Wi-Fi or mobile network).
  • πŸ”‘ You remember the username and password from Mi Account (or you can restore them).
  • πŸ”„ Find Device has been activated in the settings.

Instructions:

  1. On the lock screen, tap Forgot Password? (or Forgot Password?).
  2. Choose Restore through Mi Account.
  3. Enter your email/phone and password from your Xiaomi account.
  4. Confirm unlocking via SMS or email (if two-factor authentication is enabled).
  5. Create a new one. PIN-code.

⚠️ Note: If you have previously disabled the Find Device service or have not linked an account, this method will not work, and Xiaomi may request proof of identity (passport photo) if the device was purchased less than 30 days ago.

πŸ’‘

If you don’t remember the password from Mi Account, try to restore it through account.xiaomi.com. Use a backup email or a linked phone number.

2. Hard Reset via Recovery Mode (full reset)

If Mi Account is lost, a forced reset via Recovery Mode is left, which deletes all data, including photos, messages and apps, but is guaranteed to unlock the device.

Suitable for all Xiaomi models, including:

  • πŸ“± Redmi Note 10/11/12/13, POCO X3/X4/X5/X6
  • πŸ“± Mi 11/12/13, Mi Mix 4/5
  • πŸ“± Redmi 9/10/10A and older (only in the MIUI 12 newer).

Step-by-step:

  1. Turn off your smartphone (clip Power + Volume up for 10 seconds).
  2. Press Power + Volume up and hold for 10-15 seconds until the Mi logo appears.
  3. From the Recovery menu, select the language (usually English or Chinese).
  4. Go to Wipe Data β†’ Wipe All Data (or Wipe All Data) β†’ china-fix).
  5. Confirm the action with a swipe or a choice of Confirm.
  6. After reset, select Reboot β†’ Reboot to System.

β˜‘οΈ Preparation for Hard Reset

Done: 0 / 4

⚠️ Note: On some models (e.g, POCO F4/F5) After the reset, you may need to enter the Mi Account data tied to the device, and if you don't remember it, the phone will turn into a brick" (FRP-lockdown).

3. Unlock via Fastboot (for advanced users)

The method via Fastboot is suitable if:

  • πŸ”§ You know how to work with ADB/Fastboot command-line.
  • πŸ–₯️ You have a computer with Xiaomi drivers installed.
  • πŸ“¦ The bootloader is unlocked on the device (Bootloader).

Instructions:

  1. Install Platform Tools (or Mi Flash Tool)
  2. Turn off the phone and put it in Fastboot mode: pinch Power + Volume down.
  3. Connect your smartphone to your PC via USB.
  4. Open the command line in the adb folder and do:
fastboot oem unlock


fastboot flashing unlock




fastboot erase userdata




fastboot erase frp




fastboot reboot

After the reboot, the device will be unlocked, but all data will be deleted. If the bootloader is locked, first unlock it through the official Xiaomi tool (it will take 7-30 days to wait).

What if the Fastboot doesn’t recognize the device?
Make sure that Xiaomi drivers are installed USB Drivers. Try another one. USB-In Device Manager, check if the phone shows up as Android Bootloader Interface.

4. Password bypass through ADB (only for Android 11 and below)

This method only works on older versions. MIUI (Android 12) and requires enabled debugging USB (USB If you have previously activated this feature, try it:

  1. Connect your phone to your PC and open the command line in the adb folder.
  2. Follow the commands:
adb shell


su




rm /data/system/gesture.key




rm /data/system/password.key




reboot

If USB debugging is disabled, this method will not work. On new devices (Android 13/14) Xiaomi has closed this vulnerability.

5.Reset via Xiaomi Service Center

If you fail to do so, contact an authorized service center.

  • πŸ”§ Guaranteed data retention (in some cases).
  • πŸ“„ Official proof of unlocking (important for guarantee).
  • πŸ›‘οΈ Bypass FRP-blocking without risk of "bricking".

The cost of the service varies from 500 to 2000 rubles depending on the model.A list of official services can be found on the website support.xiaomi.com.

⚠️ Warning: Don’t trust β€œprivate masters” who offer unlocking for 300 rubles. Often such services involve the installation of unofficial firmware, which leads to loss of warranty and security vulnerabilities.

Comparison of Unlocking Methods

MethodMi Account requiredLoss of dataDifficultySuitable for new models
Recovery through Mi Accountβœ… Yes.❌ No.β­βœ… Yes.
Hard Reset (Recovery)❌ No (but may be required after resetting)βœ… Complete.β­β­βœ… Yes.
Fastboot❌ No.βœ… Complete.β­β­β­β­βœ… Yes (unlocked bootloader required)
ADB❌ No.❌ Not if it works)⭐⭐⭐❌ No, only Android 11 and below)
Service centre❌ No.❌ Partial/noβ­βœ… Yes.

Frequent Mistakes and How to Avoid Them

When trying to reset, users often face problems:

  • πŸ”„ "Recovery: Make sure you choose Wipe All Data over Wipe Cache.
  • πŸ”Œ Phone is not defined in Fastboot – install drivers or try another one USB-port (preferably) USB 2.0).
  • πŸ”’ After reset, the old password is required. FRP-Solution: Enter the Mi Account that was linked to the device.
  • πŸ“΅ Sensor is not working in Recovery – use volume buttons for navigation and power button for selection.

If the phone requests This device is locked after the reset (even with the correct Mi Account), then the device is tied to another region.Solution: contact Xiaomi with proof of purchase.

πŸ’‘

On devices with MIUI 14/15 and Android 13/14, it is virtually impossible to bypass passwords without losing data, and the only reliable way is to restore them via Mi Account or reset them with deleting all files.

FAQ: Answers to Frequent Questions

Can I reset my password to Xiaomi without losing data?
On new devices (MIUI 13/14/15) no. The only way to save data is to restore access through Mi Account (if it was tied) or contact a service center. Methods like ADB or deletion gesture.key only work on Android 11 and below.
What if you ask for an old password after reset?
This is FRP-blocking (Factory Reset Protection). Solutions: Enter the username and password from Mi Account, which was attached to the phone. If you do not remember the data, restore it to account.xiaomi.com. If the account is not yours (for example, the phone is bought by hand), contact the previous owner or service center with a check.
How to unlock Xiaomi if Mi Account is disabled?
In this case, only radical methods remain: πŸ”„ Hard Reset via Recovery (delete all data). πŸ”§ Unlocking via Fastboot (requires an unlocked bootloader). πŸ› οΈ Contacting a service center (the most reliable option) is impossible to bypass without resetting on new firmware - Xiaomi has closed all known vulnerabilities.
Can I reset my password through my computer without a Fastboot?
Yes, but only if the phone was debugging on. USB (USB Debugging. In this case, you can use ADB (If debugging is disabled, the computer will not be able to communicate with the locked device.
Why is the phone not turned on after resetting in Recovery?
Possible causes: πŸ”‹ Battery is dead (charge your phone at least 30% before resetting). πŸ”§ The firmware is damaged (try to reflash through Fastboot). πŸ› οΈ Hardware malfunction (requires diagnostics in the service) If after reset the phone vibrates, but does not load, hold power + Volume up 20 seconds for forced reboot.