A forgotten password, a broken fingerprint sensor, or a childβs randomly installed pattern lock are situations where unlocking a Xiaomi phone becomes a critical task. The manufacturer has envisaged several official and informal methods for restoring access, but each has nuances, from data loss to the risk of βbrickingβ the device. In this article, we will examine all the current ways for models of 2018-2026, including Redmi, POCO and Xiaomiβs flagship series 13/14.
It's important to understand that since MIUI 14, Xiaomi has tightened security policies β now unlocking through Fastboot requires authorization of Mi Account even on an unlocked bootloader β which means that "universal" methods like Recovery reset don't work on all devices, and we've tested each method on real devices and identified which firmware and models it's suitable for.
1 Unlocking through Mi Account (official method)
The safest way is if you have a Xiaomi account attached and confirmed, suitable for all models, including the Redmi Note 12, POCO F5 and Xiaomi 13 Pro. The main condition is that the phone must be connected to the Internet (Wi-Fi or mobile network).
Algorithm of action:
- π On the lock screen, click βForgot Password?β (or βForgot Password?β on English firmware).
- π§ Enter the email or phone number associated with the Mi Account.
- π Confirm your identity through SMS-code.
- π± Create a new password or pattern lock.
If the βForgot Passwordβ button is not active:
- π Connect your phone to charge and wait for the notification of the connection to the network.
- π Switch to mobile internet if Wi-Fi is turned off.
- π Restart the device β sometimes this activates the restore button.
β οΈ Note: If Mi Account is not confirmed (no linked number)/email), This method won't work. In that case, move on to the method. β2 or β3.
π‘
If you donβt remember Mi Account details, try to restore access via account.xiaomi.com. Use backup email or answering check questions.
2. Recovery Mode reset (data loss)
It works on all models, but newer firmware (MIUI 14+) may require additional authorization.
Step-by-step:
- Turn off the phone with a long press of the power button.
- Press the combination of Loudness up + Power and hold for 10-15 seconds until the Mi logo appears.
- From the Recovery menu, select Wipe Data β Wipe All Data (use volume buttons for navigation, power for confirmation).
- Confirm the reset by Confirm selection.
- After restarting, set your phone as new.
| Xiaomi model | Combination for Recovery | Is a Mi Account Required After a Reset? |
|---|---|---|
| Redmi Note 10/11/12 | Volume up + Nutrition | Yes (on MIUI 14+) |
| POCO X3/X4/X5 | Volume up + Nutrition | No (on old firmware) |
| Xiaomi 12/13/14 | Volume up + Nutrition | Yes (required) |
| Redmi 9/9A/9C | Volume up + Nutrition | No. |
β οΈ Note: Devices with a locked bootloader may be asked to enter Mi Account data after resetting via Recovery. If the account is not tied or forgotten, the phone will turn into a brickΒ».
Turn off your Google Account (if you remember your password)
Backup important files (if you have access)
Charge your phone at least 50%
Prepare your Mi Account information (if required)-->
3. Unlock via Fastboot (for advanced)
This method requires a computer and knowledge of ADB/Fastboot commands. Suitable for devices with an unlocked bootloader or if you are ready to unlock it (data loss is guaranteed). Works on all models, but new firmware (MIUI 14+) may require authorization of Mi Account even in Fastboot.
Tools required:
- π₯οΈ Computer with Windows/Linux/macOS.
- π Cable USB (preferably original).
- π οΈ Utilities. ADB Fastboot (download from the official website).
- π Unlocked bootloader (if not, read the section) β4).
Instructions:
- Turn off the phone and turn to Fastboot mode: Press Volume down + Power.
- Connect your phone to your computer and check for device detection by command: fastboot devices
- Run the reset to factory settings: fastboot erase userdata fastboot erase cache fastboot reboot
If you have a Mi Account request after the reboot:
- π Try to log in through a linked account.
- π§ If your account is forgotten, go to the method. β5 (EDL).
What if the Fastboot canβt see the device?
4. Unlocking the bootloader (Bootloader)
If the bootloader is locked, most screen unlocking methods won't work. Xiaomi lets you officially unlock Bootloader, but the process takes up to 720 hours (30 days) of waiting on new accounts. For older accounts (created before 2022), the wait can be shorter.
Step-by-step:
- Link your phone to Mi Account in the settings: Settings β Xiaomi Account β Mi Cloud.
- Activate debugging via USB: Settings β About Phone β MIUI version (click 7 times), then Additional β For Developers β Debugging via USB.
- Connect your phone to your PC and log in to the Mi Unlock Tool (download from the official website).
- Follow the instructions of the program. Once you send the request, the countdown will begin.
Important nuances:
- β³ New accounts (created after 2022) have a waiting time of 720 hours.
- π After unlocking all data will be erased.
- π± On some models (such as Xiaomi 13 Ultra), unlocking can lead to a loss of warranty.
Up to 7 days |1-2 weeks |3-4 weeks |More than a month |Not ready to wait-->
5. EDL (Emergency Download Mode) - extreme method
EDL mode allows you to flash your phone directly without locking, which is the most reliable way, but requires special equipment (EDL cable or testpoint) and risks building the device if you make a mistake. It is suitable for all Xiaomi models, including the Redmi Note 12 Pro+ and POCO X5 Pro.
What you need:
- π₯οΈ Windows computer.
- π EDL cable or testpoint access (contacts on the motherboard).
- π οΈ Mi Flash Tool and firmware for your model (download at xiaomiflash.com).
- π§ Qualcomm Driver HS-USB QDLoader 9008.
Instructions:
- Put your phone in EDL mode: Using the EDL cable (close contacts when connecting to USB) or through testpoint (requires disassembly of the phone).
Qualcomm
Mi Flash Tool
Flash
Wait until the end (10-15 minutes).
β οΈ Attention: Incorrect firmware in mode EDL It can lead to total loss. IMEI or the communication module is inoperable. Use only official firmware for your model!
π‘
EDL mode is the only way to get around Mi Account locking on new firmware (MIUI 14+), but requires technical skills and risks building a brick on the device.
6. Bypassing the lock via ADB (if debugging is enabled)
If USB debugging is enabled on your phone and you have previously authorized your computer, you can delete the lock files via ADB. The method works without data loss, but is only suitable for prepared devices.
Instructions:
- Connect your phone to your PC and open the command line in the folder with ADB.
- Check the connection: Adb devices
- Delete the lock files: adb shell rm /data/system/gesture.key adb shell rm /data/system/password.key adb shell rm /data/system/locksettings.db adb shell rm /data/system/locksettings.db-wal adb shell rm /data/system/locksettings.db-shm
- Reboot your phone: adb reboot
In all other cases, the data will be deleted.