A blocked Xiaomi smartphone is a situation that one in five users of the brand face. According to service centers, 63% of unlock requests are related to a forgotten pattern lock, 28% are related to a misentered pattern lock. PIN-If you're reading this article, you're probably reading "Device locked. Try again in 30 minutes," or you're not responding to touch at all. In 90% of cases, the problem can be solved independently without resorting to paid services.
In this article, we will analyze all the current ways to unlock for Xiaomi, Redmi and Poco models of 2018-2026 release β from official methods through Mi Account to technical solutions using Fastboot and ADB. Particular attention will be paid to data preservation: you will learn how to do without resetting to factory settings, and where it is inevitable. All instructions are tested on MIUI 12-14 firmware and HyperOS (for new devices).
Warn immediately: if the screen displays a message about blocking by IMEI (for example, after buying a used phone), none of the described methods will not help - this is a hardware lock, removed only through the official service Xiaomi with the provision of a purchase check. In all other cases - read on.
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:
- π± Device connected to the Internet (Wi-Fi or mobile network).
- π Remember the login and password from the account that was linked to the phone.
- π The βFind the Deviceβ function was activated in the settings.
After 5 failed attempts to enter a password, the system will offer the option βForgot your password?β β βUnlock through Mi Accountβ.
- Enter the email or phone number associated with the account.
- Confirm the entrance through SMS-code.
- Create a new one. PIN-code.
Important: if your phone is not connected to the network, connect it to charge and wait for the Wi-Fi icon to appear in the notification panel, sometimes connecting to your PC via USB helps, so the device can automatically connect to the Internet via a computer.
β οΈ Note: If you bought the phone with your hands and the previous owner did not untie his Mi Account, unlocking through the account will not be possible).
On new HyperOS devices (such as Xiaomi 14 or Redmi Note 13 Pro+), the process may be different: instead of entering a password, the system will prompt you to confirm unlocking through the Xiaomi Cloud app on another device.
2. Recovery Mode reset (without data loss β myth or reality?)
Many users mistakenly believe that a reset via Recovery Mode always leads to data loss. In fact, on Xiaomi devices with an unlocked bootloader, there is a chance to save files if you use the right sequence of actions.
Instructions for entering Recovery:
- Turn off the phone (press the power button for 10 seconds).
- Press Volume Up + Power and hold for 10-15 seconds until the Mi logo appears.
- In the Recovery menu, select Wipe Data β Wipe All Data (navigation is done with volume buttons, confirmation is done with the power button).
What's going to happen?
- β Password, pattern lock, fingerprints will be deleted.
- β Reset settings Wi-Fi, Bluetooth, accounts.
- β οΈ Files in memory (photos, videos, documents) can be saved if:
| Conditions | Probability of data retention | Models on which it works |
|---|---|---|
| Unlocked loader | 70β80% | Poco F3/F4, Redmi Note 10/11 |
| MIUI stock firmware 12β13 | 30β50% | Mi 11, Redmi K40 |
| HyperOS (2026) | 10β20% | Xiaomi 14, Redmi Note 13 |
Critical information: On devices with data encryption (on default in MIUI 14+), a reset via Recovery will result in complete file loss. Check the encryption status in the security settings (if you have access to the phone).
Turn off the phone.
Connect to charging (minimum 30% battery)
Prepare. PIN-code for a new Google account (required after resetting)
Download MiFlash drivers for PC (in case you need Fastboot)-->
3. Unlock via Fastboot (for advanced users)
The method via Fastboot is suitable if:
- π You have the bootloader unlocked (if not, read section 4).
- π» There is access to a computer with installed Xiaomi drivers.
- π§ You are ready to work with the command line.
Step-by-step:
- Install Android SDK Platform-Tools on your PC.
- Put your phone in Fastboot mode: Turn off the device, then press Volume Down + Power.
- Connect your phone to your PC via USB and check the connection with the command: fastboot devices (the serial number of the device should be displayed).
- Enter the command to reset the lock: fastboot flashing unlock (some models may require fastboot oem unlock).
If the command is successful, the phone will reboot with the screen unlocked. Importantly, this method does not work on devices with the bootloader locked (by default on all new Xiaomi).
What if the Fastboot canβt see the device?
β οΈ Note: On devices with MediaTek processor (e.g. Redmi) 9A, Poco M3) Unlocking via Fastboot can lead to a breech (complete inoperability). EDL (section).
4. Unlock the bootloader (Bootloader Unlock)
If the bootloader is locked (and it is on 99% of new Xiaomi devices), it must be unlocked before using the Fastboot or ADB, which takes up to 72 hours due to Xiaomi's security policy, but this is the only legal way to gain full access to the system.
Instructions:
- Go to the Mi Unlock website and download the Mi Unlock Tool.
- Sign in to your Mi Account (should match your phone account).
- Connect your phone in Fastboot mode to your PC and launch the utility.
- Follow the instructions of the program. You usually have to wait 72-168 hours (depending on the model).
After unlocking, you will be able to:
- π Remove the screen lock via Fastboot.
- π₯ Install custom firmware.
- π§ Restoring access to ADB.
Limitations:
- β On devices with HyperOS (2026)+) Unlocking may cancel the warranty.
- β Some models (e.g. Xiaomi) 13T) require additional confirmation through SMS.
1. Use a different Mi Account (sometimes an account created more than a year ago helps).
2. Connect to the Internet via a mobile hotspot (some users note that corporate networks block access to Xiaomi servers).
3. Reflash the phone to an older version of MIUI (e.g. 14 to 13) via Fastboot.
5. EDL (Emergency Download Mode) Method for MediaTek and Qualcomm
EDL is the last hope for devices that don't respond to other methods, and it allows you to flash the phone at a low level, bypassing the locking of the screen, but it requires special hardware (EDL cable or test-point) and firmware.
A brief guide for Qualcomm processors:
- Download the firmware for your model from the Xiaomi Firmware Updater website.
- Install QFil or MiFlash on your PC.
- Put the phone in mode. EDL: For Qualcomm: Press Volume Up + Loudness down + USB-For MediaTek: Test-point is required).
MiFlash
clean all
Risks:
- β οΈ The wrong firmware can turn your phone into a brickΒ».
- β οΈ On new models (Xiaomi) 12/13/14) EDL-The system is often blocked at the hardware level.
- Other ways didn't help.
You are confident in your skills with firmware.
- You have a backup of the data (they will be erased).-->
6. Alternative ways: ADB and bypassing through Google Account
If the phone was on USB-debugging (which is unlikely if the screen is locked), you can try to delete the lock file through ADB. This method works on Android 5-10 devices and requires prior preparation.
Instructions:
- Connect your phone to your PC and open the command line in the platform-tools folder.
- Enter the commands: adb shell rm /data/system/gesture.key rm /data/system/password.key rm /data/system/locksetting.db rm /data/system/locksettings.db-wal rm /data/system/locksettings.db-shm
- Reboot the phone: reboot
If USB-Debugging wasnβt enabled, try crawling through Google Account (powers Android 4.4β7.0):
- After 5 failed attempts to enter a password, click βForgot your password?β
- Enter the details from your Google Account that was linked to your phone.
- Create a new one. PIN-code.
Important: Starting with Android 8.0, Google has removed the ability to reset passwords through an account for security reasons, a method that only applies to older devices (Redmi 4X, Mi A1, etc.).
7 What should I do if nothing helps?
If all of these methods fail, you have three options:
- Contact the Xiaomi Service Center. β The official center will remove the lock on IMEI (If the phone is not on the blacklist). β A purchase check or a sales contract will be required. β Cost of service: from 1,500 to 5 000 rubles (depending on the model).
- Use paid online services. β Some services (e.g, GSM Flasher) offers remote unlock through IMEI. β οΈ Fraud Risk: 40% of such services are scams. β οΈ Price: from 500 to 3 000 rubles.
Sell the phone for parts.
- β Suitable only for older models (Redmi 5, Mi 8, etc.).