Forgot the password from Xiaomi smartphone and can not log in? This situation is familiar to many β especially if the device was long idle or password was rarely entered. Fortunately, the manufacturer has provided several formal and informal ways to reset the lock without resorting to the services of service centers. In this article, we will discuss all the current unlock methods for modern models of Redmi, POCO, Mi and Black Shark, including bypassing through Mi Account, Recovery mode, ADB and even hardware solutions for extreme cases.
It is important to understand that password resets always delete user data (photos, messages, apps) if backup encryption is not enabled. However, in some cases, such as when linking to a Xiaomi account, you can restore access without losing files. We will explain in detail which methods save data and which ones do not, so you can choose the best option.
This article is relevant for MIUI 12/13/14 firmware and Android 10-14 devices. If your model is older than 2018 (for example, Redmi Note 5 or Mi A1), some methods may not work, as we will also mention in the relevant sections.
1 Unlocking through Mi Account (official method)
The most reliable and recommended Xiaomi method is to use a tied Mi Account.
- π± The device was tied to Xiaomi account before being blocked.
- π Mobile Internet or Wi-Fi is enabled on the smartphone (to check account data).
- π You remember the login (email/phone) and password from Mi Account.
Instructions:
- On the lock screen, tap the button Forgot password? (or Forgot password? on English firmware).
- Select the option to Sign in via Mi Account.
- Enter your email/phone and account password. If two-factor authentication is enabled, confirm your login via SMS or email.
- Follow the systemβs prompts to create a new unlock password.
β Pros of the method: does not require data reset, works on all Xiaomi models (including: POCO F5, Redmi Note 12, Mi 13).
β Cons: If the account is not tied or you do not remember the login details, the method will not work.
π‘
If you donβt remember the password from Mi Account, try to restore it through the official account.xiaomi.com.Use the linked email or phone number.
2. Recovery Mode reset (hard reset)
If Mi Account is not tied or you donβt remember the login details, then you can still reset hardware through Recovery Mode, which removes all data from the device, including photos, messages and installed apps, but is guaranteed to unlock the phone.
Instructions for most Xiaomi models (2019-2026):
- Turn off the smartphone with a long press on the power button.
- Press the button combination: π§ For most models: Volume up + Nutrition. π§ For POCO X3/X4 And some Redmi Notes: Volume down + Nutrition.
Mi
Recovery
Wipe Data
Clear Data
Wipe All Data
Confirm
Reboot
Disable your Google Account (if you remember your password) to avoid FRP-lock-in
Charge your phone at least 50%
Prepare a backup (if you have access to the PC)
Make sure you have access to SIM-card (for recovery) SMS)
-->
β οΈ
Note: Some models (Redmi 9A, POCO M3) may have FRP-locking (Google reset protection) after a hard reset. To avoid this, unplug your Google account in the settings before reset (if you have access to your phone).
| Xiaomi model | Combination for Recovery | Does FRP support it? |
|---|---|---|
| Redmi Note 10/11/12 | Volume up + Nutrition | Yes. |
| POCO F3/F4/F5 | Loudness down + Nutrition | Yes. |
| Mi 11/12/13 | Volume up + Nutrition | Yes. |
| Redmi 9/9C/9A | Volume up + Nutrition | No (on MIUI 12 and below) |
3. Unlock through ADB (for advanced users)
If the phone is debugging on USB (USB Debugging, you can reset your password through your computer using a tool ADB (Android Debug Bridge β This method is suitable for devices that previously had a development menu activated.
What you need:
- π₯οΈ Computer with installed ADB Tools.
- π USB-cable (original or quality).
- βοΈ Included debugging by USB (If not, the way won't work).
Instructions:
- Connect your phone to your PC via USB.
- Open the command prompt (cmd) in the folder with adb.exe.
- 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
- After resetting, the password will be reset.
β οΈ
Note: The newer versions of MIUI 14 and Android 13/14 may not work due to enhanced security, and require root rights that are not available on most Xiaomi stock firmware.
Yes, successfully.|I tried it, but it didn't work.|Never tried.|I don't know what it is.-->
4 Password bypass via Fastboot (for tech-savvy)
If Recovery Mode is blocked (for example, on some POCOs with custom firmware), you can try resetting your password through Fastboot mode.This method requires an unlocked bootloader, otherwise it will not work.
Step-by-step:
- Turn off the phone.
- Press Volume Down + Power to log into Fastboot Mode.
- Connect the device to your PC and open the command line in the folder from fastboot.exe.
- Enter the command to reset: fastboot erase userdata fastboot erase cache fastboot reboot
β Pros: Works even if the Recovery is damaged.
β Cons: Requires an unlocked bootloader (on new Xiaomi models, unlocking takes up to 7 days via Mi Unlock Tool).
What is an unlocked bootloader?
5. Hardware methods (for extreme cases)
If the software methods didnβt work, hardware solutions remain, such as flashing through EDL Mode (Emergency Download Mode) or using specialized boxes (UFi Box, Medusa Pro), which require:
- π§ Skills with soldering iron (for some models).
- π» Access to PCs and programs like the Mi Flash Tool.
- π Original Firmware for Your Model.
β οΈ
Warning: Incorrect firmware through EDL can turn a phone into a brick, a method only recommended for advanced users or service centers.
A brief guide to EDL Mode:
- Download the firmware for your model from the MIUI Download website.
- Install the Qualcomm 9008 drivers.
- Connect your phone to your PC in EDL mode (usually you need to close the contacts on the board).
- Swipe the device through the Mi Flash Tool.
π‘
Hardware is the last chance to unlock your phone if all other methods fail, and the risk of damaging your device is very high, so you should contact a service center.
6.How to avoid blocking in the future
To avoid the problem of forgotten passwords again, follow these tips:
- π Link Mi Account to your phone and enable synchronization.
- π± Set up a fingerprint or facial recognition as a backup way to unlock.
- π Write down your password in a secure location (for example, in Bitwardenβs password manager or in a secure location). 1Password).
- π Regularly back up through Settings β Additionally. β Backup.
Itβs also useful to enable Smart Lock in your security settings, which automatically unlocks your phone in trusted places (such as at home or work) if youβre connected to a familiar Wi-Fi network.