A forgotten password on Xiaomi can become a serious problem, especially if the phone stores important data, photos or work correspondence. Unlike iPhones, where unlocking often requires contacting a service center, MIUI smartphones offer several solutions, from standard recovery features to technical bypass methods. However, not all of them are equally safe: some lead to complete data loss, others work only under certain conditions (for example, binding to Mi Account or enabled debugging over USB).
In this article, we will discuss 5 current ways to reset your password on Xiaomi (including the Redmi, POCO and Black Shark models), their pros and cons, and give recommendations on how to minimize risks. Importantly, the methods are different for devices with MIUI 12/13/14 and older versions of firmware. If your phone is locked after unsuccessful attempts to type in or shows the message βDevice is locked. Try laterβ, some methods may not work β we will also warn you about this in advance.
1 Unlocking through Mi Account (official method)
The most legal and recommended way for Xiaomi is to use a tied Mi Account.
- π± The phone is connected to the Internet (Wi-Fi or mobile network).
- π You remember the username and password from Mi Account that was tied to the device.
- π Find Device is activated in the settings.
If the conditions are met, follow the following steps:
- On the lock screen, tap the button Forgot password? (or Forgot password? on English firmware).
- Select the recovery option through Mi Account.
- Enter the email or phone number associated with the account, then the password.
- Confirm unlocking via SMS or email (depending on security settings).
β οΈ Note: If the phone is not connected to the network, this method will not work, and Xiaomi may request additional verification (for example, sending a photo of a document) if you suspect a hack.
π‘
If you donβt remember the password from Mi Account, try to restore it through account.xiaomi.com. Use the backup email or phone number provided when you register.
2. Password reset via Fastboot (for advanced users)
The method is suitable for devices with an unlocked bootloader and requires a computer. It allows you to reset the password without losing data, but only if:
- π₯οΈ Drivers are installed on the PC ADB/Fastboot and Mi Flash Tool.
- π The phone has debugging on. USB (Even if the device is locked, sometimes it works).
- π¦ There is a backup of the data (in case of failure).
Instructions:
- Turn off the phone and press Volume Down + Power to enter Fastboot mode.
- Connect the device to the PC via USB.
- Open the command line (Windows) or terminal (macOS/Linux) and execute the command: fastboot oem unlock If the bootloader is unlocked, this will delete the password.
- Reboot your phone with the command: fastboot reboot
β οΈ Note: On new models (Xiaomi) 13/14, Redmi Note 12) This method may not work because of the increased security, and some firmware after a Fastboot reset requires re-authorization in the Mi Account.
What if the Fastboot doesnβt recognize the device?
3. Hard Reset (full reset)
An extreme method that removes all data from the phone, including photos, contacts and apps, is suitable if other methods do not help or the device is not tied to the Mi Account. On Xiaomi, the reset is performed via Recovery mode:
Make sure your phone doesnβt have important data (or itβs synced to the cloud)
Charge the device at least 50%
Prepare. SIM-Re-activation card (if the phone is tied to the operator)
-->
Step-by-step:
- Turn off the phone.
- Press the combination Volume up + Nutrition (on some models β Volume up + Volume down + Nutrition).
- In the Recovery menu, select Wipe Data (use volume buttons for navigation, power button for confirmation).
- Confirm the reset by selecting Wipe All Data.
- After completion, select Reboot.
| Xiaomi model | Combination for Recovery | Notes |
|---|---|---|
| Redmi Note 10/11/12 | Volume up + Nutrition | Some firmware requires confirmation via Mi Account after reset. |
| Xiaomi 11/12/13 | Volume up + Nutrition | It is possible to lock after reset if the device has been stolen (Anti-Theft function). |
| POCO F3/4/5 | Volume up + Nutrition | On global firmware, a reset may require the entry of an old password. |
β οΈ Attention: On devices with MIUI 14 and later after Hard Reset, you may need to enter data from your previous Mi Account (even if the phone was not tied.
Mi Account|Fastboot|Hard Reset|I've been to the service.|Never blocked.-->
4 Password bypass through ADB (only for enabled debugging)
If the phone has previously been debugged USB (USB Debugging, you can try to reset your password through ADB (Android Debug Bridge: This method saves data, but requires preparation:
- π₯οΈ Computer with installed ADB-driver.
- π Original. USB-cable (not all cables support data transmission).
- π± The phone must be connected to the PC at least once before locking (to keep the computer on the list of trusted devices).
Instructions:
- Connect the phone to the PC.
- Open the command line and check the connection: Adb devices If the device is displayed, continue.
- Delete the file with the password: adb shell rm /data/system/gesture.key or PIN-code: adb shell rm /data/system/password.key
- Reboot your phone: adb reboot
β οΈ Attention: MIUI 13/14 This method often doesn't work because of changes in the structure of system files, and after a reboot, you may need to re-enter your password - in which case, try entering any character.
5. Contact the Xiaomi Service Center
If the self-unlocking attempts were unsuccessful, the official service remains. Xiaomi provides the unlock service on documents, but with a number of conditions:
- π Availability of a cheque or warranty card (proof of possession).
- π Passport of the holder (to confirm the identity).
- π° The cost of the service is from 1000 to 3000 rubles (depending on the model and region).
How the procedure goes:
- Find the nearest Xiaomi service center on the official website.
- Make an appointment (some centers accept only by appointment).
- Provide your phone and documents. Unlocking takes 1 to 3 days.
β οΈ Warning: Service centers do not guarantee the safety of data after unlocking, and they can refuse if the phone is listed in the database of stolen devices.
π‘
Officially unlocking via the service is the only legal way if the phone is tied to Mi Account and you don't remember the login details.
Frequent Mistakes and How to Avoid Them
When trying to reset a password, users often face typical problems, and here are the most common ones and ways to solve them:
Error 1: The phone is not included in Fastboot or Recovery.
- π Check the battery charge (minimum 30%).
- π Try another charger or cable.
- π Hold the buttons for at least 10-15 seconds.
Error 2: After resetting through Hard Reset, the phone requires an old password.
This means that the device is tied to the Mi Account.
- π§ Restoring your account through Xiaomiβs website.
- π Contact Xiaomi with proof of purchase.
Error 3: ADB cannot see the device.
- π₯οΈ Install the latest version of Android SDK Platform Tools.
- π Reinstall drivers manually through Device Manager.
- π Try another one. USB-port USB 2.0).