A forgotten password on a Xiaomi smartphone is a situation that one in five users encounter at least once in their lives. Especially unpleasant when the phone stores important data, such as photos, correspondence or work documents. Unlike the iPhone, where unlocking without an Apple ID is almost impossible, devices on MIUI offer several official and informal ways to bypass protection. But here lies the catch: improper actions can lead to complete loss of data or even βbrickingβ the phone (turning into a βbrickβ).
In this article, weβll break down all the current unlocking methods for Xiaomi, Redmi and POCO smartphones (including the 2023-2026 models on MIUI 14/15 and HyperOS). From simple reset via Mi Account to complex manipulations with Fastboot and EDL, youβll find a solution even for a phone with reset protection (FRP) enabled. Importantly, on devices with a Qualcomm processor (such as the Redmi Note 12 Pro+), the chances of successful unlock are higher than on models with MediaTek (POCO X5 Pro), where authorization is often required via EDL.
1 Unlocking through Mi Account (official method)
The most secure and recommended method for Xiaomi is to use a tied Mi Account, which works if:
- π± The phone is connected to the Internet (Wi-Fi or mobile network)
- π Remember the username and password from Mi Account
- π² The device is enabled synchronization with the account
If these conditions are met, follow the following steps:
- On the lock screen, tap Forgot password? (or Forgot password? on English firmware).
- Select Sign in via Mi Account and enter the authorization details.
- Confirm unlocking via SMS or email (if two-factor authentication is enabled).
- Create a new password or pattern lock.
β οΈ Note: Some models (e.g. Xiaomi) 13T or Redmi K60) After 5 failed login attempts, the system can block the possibility of authorization through Mi Account for 24 hours, in which case you will have to wait or use alternative methods.
2. Recovery Mode reset (data loss)
If Mi Account is not tied or you don't remember the login details, you have a hard reset through Recovery Mode, which removes all the data from your phone, including photos, apps and settings. Use it only as a last resort!
Instructions for all Xiaomi models (including Redmi Note 11, POCO F5, Xiaomi 12):
- Turn off the phone with a long press of the power button.
- Hold the combination: π Power button + Loudness up (for most models) π Power button + Loudness down (for older devices, such as Redmi) 4X)
Mi
Recovery
Wipe Data
Wipe All Data
Confirm
Reboot
βοΈ Preparing for resetting through Recovery
β οΈ Attention: On devices with MIUI 13+ and the protections on FRP (Factory Reset Protection, after reset, you need to enter the data from the Mi Account that was tied before locking, and if you don't remember it, the phone will remain locked!
3. Unlock via Fastboot (for advanced users)
The method via Fastboot is suitable if:
- π§ You have a computer with Xiaomi drivers installed and Mi Flash Tool program.
- π₯ You can download the official firmware for your model.
- π The phone has unlocked the bootloader (Bootloader).
If the bootloader is blocked, you will first have to unlock it through the Mi Unlock Tool (this takes up to 720 hours of waiting on new accounts).
How to unlock Bootloader on Xiaomi?
If the bootloader is already unlocked, act as follows:
- Download the official firmware for your model from MIUI Downloads (choose the Fastboot version).
- Unpack the archive with the firmware in a folder on the computer.
- Install Xiaomi drivers and the Mi Flash Tool.
- Transfer the phone to Fastboot mode (clip Power + Volume down).
- Connect your phone to your PC and in the Mi Flash Tool, select a folder with firmware.
- Press Refresh, then Flash and wait for the process to complete.
Once you flash it, it's like new, but it's erased. FRP-Blocking if the firmware is official.
π‘
Before you run your Fastboot firmware, check the phone model with the fastboot getvar product command in the terminal. Using firmware from another model will lead to "bricking"!
4. Bypassing locking via EDL (for Qualcomm processors)
EDL (Emergency Download Mode) is an emergency boot mode that allows you to flash a phone even with a locked bootloader. It only works on devices with a Qualcomm processor (for example, Xiaomi 11T Pro, Redmi Note 10 Pro, POCO F3). For MediaTek (for example, Redmi 10, POCO M4 Pro), this method is not suitable.
To unlock through EDL you will need:
- π» Computer with Windows and Qualcomm driver HS-USB QDLoader 9008.
- π Firmware in.mbn or.elf format for your model.
- π§ Mi Flash Tool or QFil.
- π USB-TypeC Cable (preferably original).
Step-by-step:
- Turn off the phone.
- Press Volume Up + Volume Down and connect the USB cable to your computer (without releasing the buttons!).The phone should be defined as a Qualcomm HS-USB QDLoader 9008.
- Install the driver manually if Windows does not recognize the device.
- Open the Mi Flash Tool, select the firmware and press Flash.
- Wait until the process is completed (10-15 minutes).
β οΈ Attention: Firmware through EDL Without official permission, Xiaomi may be blocked. IMEI (To avoid this, use authorized firmware or contact the service center.
5. Use of service codes (for older models)
Some older Xiaomi smartphones (e.g. Redmi 3S, Redmi 4A, Mi A1) can reset passwords through service codes, a method that doesnβt work on all devices and may not work on MIUI 12+.
Try the following codes:
- π ##7780## - Resetting settings (app data is stored).
- π *2767*3855# β Resetting everything (including internal memory).
- π ##3646633## - Entrance to the engineering menu (for experienced users).
If you reboot the phone after you enter the code and ask for the password again, it didn't work. In this case, try other ways.
6. Unlock via ADB (if USB debugging is enabled)
If the phone has previously been debugged USB (USB Debugging, you can reset your password through ADB This method is suitable for users who have previously connected the phone to a computer for development or modification.
Instructions:
- Connect your phone to your computer via USB.
- Open the command line (cmd) and type: 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.
β οΈ Attention: MIUI 14+ And HyperOS may not work because of the increased security, and it requires root rights to execute commands that are not available on all devices.
7. Contact the Xiaomi Service Center
If none of these methods work, you have to contact the official Xiaomi service center, which is the most reliable, but also the most expensive way, and the cost of unlocking varies from 1,500 to 5,000 rubles depending on the model and the complexity of the work.
What will be required for the application:
- π Document confirming the purchase (check, warranty card).
- π Mi Account data if the phone is linked to the account.
- π± The device itself (preferably with a charge of at least 30%).
The service centre may:
- π§ Reset password through special software (without data loss).
- π₯ Check the phone in mode EDL authorization.
- π Restore access to your Mi Account if you forget your password.
The average unlock time is 1-3 days, and in some cases (for example, when blocking IMEI), the process can take up to a week.
π‘
The official service is the only legal way to unlock if your phone is FRP protected and you donβt have access to your Mi Account.
Comparison of Xiaomi Unlocking Methods
| Method | Loss of data | Difficulty | PC required | It works at MIUI 14+. |
|---|---|---|---|---|
| Mi Account | β No. | βEasy | β No. | β Yes. |
| Recovery Mode | β Yes. | βEasy | β No. | β Yes. |
| Fastboot | β Yes. | ββMedium | β Yes. | β Yes. |
| EDL | β Yes. | βββHard | β Yes. | β Yes, Qualcomm only) |
| ADB | β No. | ββMedium | β Yes. | β No (requires root) |