A forgotten password on a Xiaomi smartphone is a situation that even power users face. Unlike other brands, Redmi, POCO or Mi phones have unique security mechanisms associated with a Mi Account, which complicates the unlock process, but also opens up additional opportunities for access recovery.
In this article, we will discuss all the current ways to reset your password on Xiaomi, from official methods with confirmation via email to technical solutions through Fastboot and Recovery Mode. Particular attention will be paid to the nuances: what to do if you do not remember the associated account, how to bypass the lock without losing data and what errors users most often make. All instructions are checked on models 2020-2026 and correspond to the latest MIUI 14/15 updates.
1.Official method: reset password through Mi Account
Xiaomiβs most reliable and recommended method is to restore access through the tied Mi Account, which works on all models, including the Redmi Note 12, POCO X5 and Mi 13, if the device is connected to the Internet, the main condition is that you must remember the email or phone number used to register an account.
Algorithm of action:
- π± On the lock screen, tap Forgot your password? (or Forgot password? on English firmware).
- π§ Enter the email or phone number associated with Mi Account. Click Next.
- π Select the confirmation method: code from SMS Or an email. Enter the code you receive.
- π Create a new password and confirm it. The phone unlocks automatically.
If you donβt remember your account details, try to restore it through the official Mi Account website. Use the backup email or phone number provided during registration. At the very least, contact Xiaomi with proof of ownership of the device (check, box).
β οΈ Attention: After 5 failed attempts to enter a password, Xiaomi blocks the ability to unlock through Mi Account for 24 hours.
2 Unlocking through Recovery Mode (without data loss)
If Mi Account is lost and your smartphone is not connected to the Internet, you can try resetting your password via Recovery Mode, a method that is suitable for devices running MIUI 12-15, but requires pre-activation of debugging over USB (if it was previously enabled).
Step-by-step:
- Turn off the phone. Press Volume up + Power for 10-15 seconds until the Mi logo and Recovery menu appear.
- Use volume buttons for navigation. Select Wipe Data β Wipe All Data (some firmware may call it Format Data).
- Confirm the action by selecting Confirm. The process will take 1-3 minutes.
- After reset, select Reboot β Reboot to System.
Important: This method removes all data from internal memory, including photos, messages and applications, but if you previously enabled sync with Mi Cloud, some information (contacts, notes) will recover after you log in to your account.
Turn off the phone from charging
Make sure the battery is at least 30% charged
Prepare a backup copy (if you have access to the PC)
Remember your Mi Account data (if you plan to recover data from the cloud)-->
β οΈ Note: On some models (Redmi) 9A, POCO M3) After resetting through Recovery, you may need to enter your old Mi Account password to activate the device, which is a measure of protection against theft. If you don't remember the password, the phone will turn into a brickΒ».
3. Password reset via Fastboot (for advanced users)
The method via Fastboot is suitable if:
- π§ You have access to a PC with Xiaomi drivers installed.
- π± The phone is recognized by the computer in Fastboot mode (on the screen the image of a hare in a hat-eared hat is lit).
- π You are prepared for possible data loss (probability 70%).
Instructions:
- Install Android SDK Platform-Tools on your PC.
- Connect the phone to the PC, keeping Volume down + Power.
- Open the command line in the adb folder and execute: fastboot oem clean_all_and_lock For new models: fastboot flashing unlock_critical
- After the process is complete, restart the device with the command: fastboot reboot
This method bypasses password locking, but can lead to loss IMEI or network problems on some models (Redmi Note 10 Pro, Mi 11) Check compatibility with your model on the forums before using it 4PDA or Xiaomi.eu.
What if Fastboot doesnβt recognize your phone?
4. Password bypass with ADB (only for unlocked bootloader)
If your Xiaomi has previously unlocked a bootloader (Bootloader Unlocked), you can reset your password through ADB without losing data. This method works on MIUI 13/14 and requires debugging over USB enabled.
Algorithm:
- Connect your phone to your PC and open the command line in the adb folder.
- Enter the commands in order: adb shell su rm /data/system/gesture.key rm /data/system/locksettings.db rm /data/system/locksettings.db-wal rm /data/system/locksettings.db-shm reboot
- After rebooting, the password will be reset, but the fingerprints and pattern lock will have to be reconfigured.
If USB debugging wasnβt enabled in advance, it wonβt work, and itβs not suitable for devices with encrypted file systems (Xiaomi 12T, Redmi K50) that require a password to decrypt data.
π‘
Before using ADB, check the bootloader status with the command fastboot oem device-info. If the answer has the line Device unlocked: true, you can proceed to reset the password.
5. Alternative methods: third-party services and programs
If the official methods did not help, some users resort to third-party tools, which we do not recommend to use due to security risks, but for the sake of completeness of the picture, we list the popular options:
| Method | Description | Risks. | Cost |
|---|---|---|---|
| Mi Account Unlock Tool | Mi Account bypass programs (e.g. MiFlash Unlock) | Possible blocking of IMEI, viruses in the software | Free/paid (up to $10) |
| Unblocking services | Online services (e.g. UnlockJunky, DoctorSIM) | Fraud, data leak, device lock | 15β50$ |
| Firmware through EDL | Flashing through emergency mode (requires an authorized account) | Loss of warranty, risk of "bricking" | Free (skills provided) |
We warn you that using informal tools can lead to the blocking of Mi Account, loss of warranty or even physical failure of the device. For example, after flashing through the EDL on the Redmi Note 11, many users experience a Baseband unknown error.
β οΈ Note: Since 2023, Xiaomi has tightened protection against unofficial unlocks. Now, when using third-party tools, the device can be locked at the hardware level (hardware lock), and it can only be restored in an authorized service center.
6. What should I do if nothing helps?
If all of these methods are useless, there are two options:
- π§ Contact an authorized Xiaomi service center, provide a check or a box from the phone to confirm ownership. the cost of unlocking is from 1000 to 3000 rubles.
- π¦ If the phone is not valuable (e.g. Redmi) 4A or Mi A1), You can try to sell it for spare parts. On Avito or Yula, they buy these devices for 1000-2000 rubles.
Before visiting the service center:
- π Write it down. IMEI phone (on a box or under a battery).
- π Check if the warranty period has expired (usually 12 months).
- π³ Prepare a passport β it will be required to apply.
Xiaomi service centers use special software to reset passwords without losing data, but only if there is evidence of purchase. If the phone was bought with hands, the chances of successful unlocking are minimal.
π‘
The only legal way to unlock without losing data is to contact the official Xiaomi service with documents confirming ownership of the device.