Forgot the password from the smartphone Xiaomi, Redmi or POCO And now you can't access your data, and this is a familiar situation, because statistics show that one in five users has at least once blocked themselves because of a loss. PIN-Fortunately, unlocking Android on Xiaomi is possible even without completely resetting the settings, if you do the right thing.
In this article, weβll break down all the current unlocking methods (from official to technical workarounds) that work on devices with MIUI 12-14 and Android 10-14. Importantly, some methods require prior preparation (for example, linking a Mi Account account), so if you read this in advance, save the article in case of emergency. For those who are already blocked, weβll start with the fastest and safest solutions.
1 Unblocking through Mi Account (official method)
The most reliable and recommended method Xiaomi uses is a tied Mi Account, which works if:
- π± Device 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:
- On the lock screen, tap Forgot Password? (or Forgot Password?).
- Select Sign in via Mi Account and enter the details.
- Confirm unlocking via SMS or email (if two-factor authentication is enabled).
- Set a new password or pattern lock.
β οΈ Note: If the device is not connected to the network, this method will not work. SMS to the attached number - make sure that SIM-card.
π‘
If you do not remember the password from Mi Account, restore it through account.xiaomi.com. Use the backup email or phone number provided during registration.
2. Password reset via Fastboot (for advanced users)
If the Mi Account is not tied or the device is not connected to the network, you can try resetting the password through Fastboot mode. ADB/Fastboot, It does not erase user data (unlike Hard Reset).
What you need:
- π» Computer with Windows/Linux/macOS.
- π Cable USB (preferably original).
- π οΈ Utilities. ADB Fastboot (download from the official Android website).
Step-by-step:
- Turn off the phone. Press the Power button + Volume down to enter the Fastboot.
- Connect the device to your PC and open the command prompt (cmd in Windows or Terminal in macOS/Linux).
- Check the connection command: fastboot devices must display the serial number of the device.
- Enter the command to unlock: fastboot oem unlock On some Xiaomi models (for example, Redmi Note 10 Pro), this command may not work β an additional command of fastboot flashing unlock will be required.
- Reboot the phone: fastboot reboot
β οΈ Note: On new devices (Xiaomi) 13/14, Redmi Note 12) This method may not work due to increased protection. MIUI. Also, after unlocking, you may need to re-authorize in the Mi Account.
Install ADB/Fastboot PC-only|Download drivers for Xiaomi (e.g. MiFlash)|Disable the antivirus (it can block commands)|Charge your phone at least to 50%|Prepare a backup cable USB-->
3.Use of Recovery (Hard Reset) mode
If previous methods failed, it is hard to reset through Recovery Mode, which deletes all data (photos, messages, apps), but is guaranteed to unlock the device, suitable for Xiaomi, where Mi Account is not tied or Fastboot is not available.
How to make a Hard Reset:
- Turn off the phone.
- Press the Power button + Volume up to enter Recovery.
- Use volume buttons for navigation and power button for selection.
- Select Wipe Data β Wipe All Data (on some Factory Reset models).
- Confirm the action and wait for the reboot.
β οΈ Attention: On devices with MIUI 13+ After a reset, you may need to enter data from a Mi Account that was previously tied (even if you don't remember it) that is protection against theft - you can't get around it without proof of ownership.
What to do if you ask for an old Mi Account after a reset?
4 Unlocking through Xiaomi Service Centers
If you fail to do so, contact the official Xiaomi Service Center, which is the only legal way to unlock your device without losing data if:
- π You have a check or a guarantee card.
- π You can confirm possession (for example, show a box with a box of IMEI).
- π The device is not stolen (checked against the database) IMEI).
Cost of service:
| Type of unlock | Timeline | Cost (β½) |
|---|---|---|
| Resetting password with data retention | 1-3 days | 1 500β3 000 |
| Password reset with data loss | 1 day | 800β1 500 |
| Unlocking Mi Account (according to documents) | 3-7 days | 2 000β5 000 |
β οΈ Note: Unofficial services often use βgrayβ unlocking methods (for example, firmware through the Internet). EDL), which may result in loss IMEI or network lockdown. Only contact authorized centers.
Official reset via Mi Account|Fastboot/ADB|Hard Reset|I went to the service center.|Another way.-->
5. Bypassing the lock via ADB (if debugging is enabled)
If the device has previously been enabled debugging USB (USB Debugging, you can try to delete the file with the password through ADB. This method only works when connected to a PC and requires pre-configuration.
Instructions:
- Connect your phone to your computer (it should be determined in ADB).
- Open the command line and type in: adb shell 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 the device: adb reboot
After the reset, the password should be reset, and if not, repeat the steps or try an alternative command:
adb shell am start -n com.android.settings/.ChooseLockGenericβ οΈ Attention: MIUI 14 this method may not work due to the changed structure of the system files. Also, after the keys are deleted, some functions (e.g., fingerprint) may need to be reconfigured again (e.g., after the keys are deleted).
6 Unlocking through Google Find My Device (for older versions of MIUI)
On Android 7-9 and MIUI 10-11 devices, you can try resetting your password through Google Find My Device, which works if:
- π The device is linked to a Google account.
- πΆ Internet access (Wi-Fi or mobile network).
- π The "Find the Device" function is activated in the settings.
How to do this:
- Go to Google Find My Device.
- Select the locked device from the list.
- Click to Lock the Device (Secure Device).
- Enter a new temporary password and confirm.
- Enter this password on your phone and it will replace the old one.
β οΈ Attention: On new versions MIUI (12+) This method does not work β Xiaomi has blocked the ability to reset passwords through Google for security reasons.
7. Alternative methods (for experienced users)
If standard methods donβt help, you can try informal solutions, but they require technical skills and can result in loss of warranty or data.
Possible options:
- π§ Firmware through EDL: Suitable for bricks (not included devices), but requires special cable and firmware. IMEI.
- π οΈ Use of exploits: For example, the DirtyCOW vulnerability for older versions of Android. MIUI 8β9.
- π Flip-through TWRP: If you have custom recaps installed, you can manually delete your password files.
β οΈ Note: Unofficial methods may lead to:
- π« Locking the boot loader (Bootloader Lock).
- π΅ Loss of network functions (IMEI, modem).
- π Permanently linked to Mi Account (on new devices).
π‘
If the phone is guaranteed, it is better to contact the service center - self-manipulation cancels the warranty obligations.