A forgotten password or pattern lock on a Xiaomi smartphone can become a real headache β especially if the device stores important data that cannot be lost. Unlike many other brands, Xiaomi phones come with additional security mechanisms, such as binding to a Mi Account account and hardware encryption in MIUI. This complicates the unlock process, but does not make it impossible.
In this article, we will discuss 5 working methods for bypassing screen lock on Xiaomi devices (including Redmi, POCO and Black Shark models) relevant to MIUI 12-14. From official methods through Find Device to technical solutions using Fastboot and ADB. Importantly, not all methods are suitable for devices with a locked bootloader or Factory Reset Protection (FRP) enabled - we will also talk about this.
Warning: Attempts to break the lock can lead to loss of warranty, activation of anti-Rollback protection or even a "brick" of the device. If the phone is tied to a Mi Account, start with the official methods - they are the most secure.
1 Unlocking through Mi Account (official method)
The most reliable and legal method is to use Xiaomi's "Find Device" feature, which works if:
- πΉ The device is linked to your Mi Account (even if you donβt remember your password).
- πΉ Mobile data or Wi-Fi are included on the phone.
- πΉ Find Device has been activated in settings (Settings) β Mi Account β Find Device).
If the conditions are met, follow the instructions:
- Go to account.xiaomi.com from your computer or other device.
- Sign in with the same account as the locked phone, and if you don't remember the password, restore it via email or phone number.
- From the menu, select Find Device β Delete data (or Unblock device, depending on the version of the site).
- Confirm action. After 5-10 minutes, the phone unlocks automatically (may need to restart).
β οΈ Note: If two-factor authentication is enabled on the device (2FA), Unlocking will require a code from SMS It's going to be very difficult to restore access to your account without it, and you're going to have to contact Xiaomi with a confirmation of purchase.
2. Reset password via Recovery Mode (without loss of data)
If Mi Account is not tied or Find Device is disabled, you can try resetting your password through Restore mode, which works on devices with the unlocked bootloader and MIUI version up to 12.5 (on the new firmware Xiaomi closed this loophole).
Instructions:
- Turn off your phone. Press Power + Volume up at the same time to enter Recovery Mode.
- Select the language (usually English by default).
- Go to Wipe Data β Wipe All Data (donβt be afraid β the data wonβt be deleted, itβs a deceptive name).
- Instead of resetting, the system will suggest you enter the Mi Account password, and if you know it, enter it, and the phone will unlock.
- If the password is unknown, select Reboot β the phone will restart, but the lock will remain.
π‘ Useful advice: On some models (Redmi Note) 8/9, POCO X3) after 5 If you fail to enter a password in Recovery, the option Forgot Password appears. It redirects to the password reset page via Mi Account - this is a chance to unlock the phone without losing data.
βοΈ Preparing for Unlocking Through Recovery
3. Use of ADB (for USB debugging devices)
The method is suitable if the phone previously had USB debugging enabled (Settings β About Phone β MIUI version β 7 taps to unlock developer options, then Settings β Additional β Developers β USB debugging). This is rare, but if you activated this feature, the chances of unlocking without resetting data are high.
Procedure:
- Connect your phone to your computer via USB.
- Open the command line (Win + R β cmd) and type:
adb devicesIf the device appears in the list, do:
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
rebootAfter restarting, the screen lock will be reset. β οΈ Attention: On devices with MIUI 13+ And with encryption enabled, this method can cause you to lose data or require a password after you reboot it, and it doesn't work if you debug it. USB not included in advance.
4. Unlock via Fastboot (for advanced users)
The method is suitable for devices with an unlocked bootloader. If the bootloader is locked, you will first need to unlock it through the official Mi Unlock Tool, which takes up to 720 hours of latency (according to Xiaomi rules).
If the bootloader is already unlocked, follow the instructions:
- Turn off the phone and log in to Fastboot Mode (clamp Power + Volume Down).
- Connect the device to the PC and check its detection by the command:
fastboot devices- Download custom recovery (such as TWRP) for your model.
- Squeeze recovery:
fastboot flash recovery twrp.img
fastboot boot twrp.img- In TWRP, go to Advanced β File Manager and delete the files:
/data/system/gesture.key
/data/system/password.key
/data/system/locksettings.db- Reboot the phone.
β οΈ Attention: Incorrect actions in Fastboot can lead to a "brick" of the device (completely inoperable).If you are not sure about your skills, it is better to contact the service center. 12/13, Redmi Note 11/12) Xiaomi is blocking the firmware of unofficial recovery.
What if the phone does not turn on after TWRP firmware?
5. Contact the Xiaomi Service Center
If all of the above methods have failed, the last option is to contact an official service center.
- πΉ Devices with a locked bootloader and Mi Account disabled.
- πΉ Phones that have been affected by anti-Rollback protection (for example, after a failed firmware).
- πΉ Models with hardware encryption (Xiaomi) 12T, Redmi K50 newer).
What will be required to unlock:
| Document/conditionality | What do you need? | Notes |
|---|---|---|
| Check or guarantee card | Confirmation of purchase | Without a check, unlocking can cost more |
| Passport of the owner | Confirmation of identity | If the phone is not purchased for you, you will need a power of attorney. |
| Phone box. | IMEI verification | Especially important for devices purchased abroad |
| A tied Mi Account | Restoration of access | If your account is not yours, unlocking is unlikely. |
The cost of unblocking in the service varies from 1 500 before 5 000 depending on the model and complexity, in some cases (e.g. when triggered) FRP) The official Xiaomi centers in Russia can be found on the website. mi.com/ru/service.
π‘
If the phone is purchased abroad (for example, on AliExpress), the official service may refuse to unlock due to regional binding, in which case only an informal service with experience with gray devices will help.
6. Alternative methods (with caution!)
There are dozens of magical ways to unlock Xiaomi online, from using EDL Mode to running Test Point, most of which are either outdated or require special hardware.
Method 1: Bypassing Emergency Call
Some older models (Redmi 4/5, Mi A1/A2) have a loophole:
- On the lock screen, tap Emergency Call.
- Type ##4636## and it will open the test menu.
- Return to the home screen via the Home button (if any).
- Sometimes this allows you to access settings without entering a password.
π΄ Success: ~10 percent. This doesn't work on new devices.
Method 2: Use of third-party tools
Programs like Miracle Box or UFi Box promise to unlock in a few clicks, but:
- πΉ Requires the purchase of a license (from 5 000 rubles).
- πΉ May contain malware.
- πΉ They often donβt work on the latest versions. MIUI.
Using such tools can lead to blocking IMEI or activation of anti-Rollback protection, after which the phone becomes a βbrickβ.