How to Remove Screen Lock on Xiaomi: All Working Techniques (2026)

A forgotten password, a broken fingerprint sensor, or a child’s randomly installed pattern lock are more common than you think. Unlike iPhones, where unlocking without an Apple ID is almost impossible, Android smartphones (including Redmi, POCO, and Mi) offer several ways to bypass the lock screen, but not all of them are safe: some methods will save your data, others will lead to a complete reset.

In this article, we will discuss 5 current ways of unlocking (from the simplest to the most radical), taking into account the features of firmware MIUI 14/15 You will learn how to bypass the lock through Mi Account, tools ADB/Fastboot, It's also important to use an emergency call to bypass the pattern lock (the method doesn't work on all models, but it often saves). USB), So read carefully!

1 Unlocking through Mi Account (official method)

The most legal and safe method is to use a linked Mi Account, which works if:

  • πŸ“± Smartphone connected to the Internet (Wi-Fi or mobile network).
  • πŸ”‘ You remember the username and password from Mi Account that was tied to the device.
  • πŸ”„ Find Device is not disabled in the settings.

If the conditions are met, follow the instructions:

  1. On the locked screen, tap the Forgot Password button (or Forgot Password?).
  2. Select the recovery option through Mi Account.
  3. Enter your email/phone and account password. If two-factor authentication is enabled, confirm your login via SMS or email.
  4. Follow the system instructions to create a new password or pattern lock.

⚠️ Note: If the smartphone was bought with hands and the previous owner did not untie his Mi Account, this method will not work).

πŸ“Š What kind of smartphone you Xiaomi?
Redmi Note 12/13
POCO X5/F5
Mi 11/12/13
Redmi 10/9
Other

2. bypassing the pattern lock through an emergency call (for older versions of MIUI)

This method only works on devices with MIUI 12 and below, and on some models from 2020 to 2021 (for example, Redmi 9 or POCO X3 NFC).

  1. On the lock screen, tap the Emergency Call button.
  2. Enter the combination ##4636## (the test menu will open).
  3. Return to the home screen via the Home button (if active) or swipe up.
  4. Now you will have temporary access to the system. Quickly go to Settings β†’ Password and security and turn off the screen lock.

⚠️ Attention: MIUI 13/14/15 This doesn't work, because it blocks access to settings when you're out of emergency mode.

Why did this method stop working?
From the version MIUI 13 Xiaomi has closed a vulnerability that allows you to bypass the lock through the engineering menu. USSD-The system automatically returns the codes to the lock screen.

3. Unlock via ADB (if USB debugging was enabled)

The method is suitable for advanced users who have previously enabled debugging by USB (USB Debugging) in the developer settings. If this is your case, follow the instructions:

You'll need:

  • πŸ’» Computer with installed Xiaomi drivers and tools ADB.
  • πŸ”Œ USB-cable (preferably original).
  • βš™οΈ Included debugging by USB on a smartphone (even if the screen is locked, the connection is possible).

Steps:

  1. Connect your smartphone to your PC.
  2. Open the command line (cmd) and enter:
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 the reboot, the lock will be reset. If the commands do not work, try the alternative:

adb shell am start -n com.android.settings/.ChooseLockGeneric

Install ADB and Fastboot on PC|Download the drivers for Xiaomi|Check the debugging on-line USB|Prepare original USB-cable-->

4.Reset via Fastboot (total data loss)

If previous methods didn't work, the radical way is to reset via Fastboot mode, which will delete all the data on the device, including photos, messages and apps, and only use it as a last resort!

Instructions:

  1. Turn off your smartphone.
  2. Press the Power + Volume buttons down until the Fastboot logo appears.
  3. Connect the device to the PC and open the command line.
  4. Enter the command to unlock the bootloader (if it is blocked):
fastboot oem unlock
  1. Then do the reset:
fastboot erase userdata


fastboot erase cache




fastboot reboot

⚠️ Note: On new Xiaomi models (e.g. Redmi Note 12 or Xiaomi 13), unlocking the bootloader requires a binding to the Mi Account and waiting 7 days.

Xiaomi modelDoes Fastboot support without waiting?Is a Mi Account required?
Redmi Note 10/11Yes.No.
POCO X4 ProYes.No.
Xiaomi 12/13No (waiting 7 days)Yes.
Redmi 9/9AYes.No.

5. Unlock via Recovery Mode (without data loss on some models)

Unlike the Fastboot, resetting via Recovery Mode on some Xiaomi models allows you to save data in internal memory (but apps and settings will reset).

Instructions:

  1. Turn off your smartphone.
  2. Press Power + Volume up before the Recovery menu appears.
  3. Select Wipe Data (use volume buttons for navigation, power button for confirmation).
  4. Confirm the reset by selecting Wipe All Data.
  5. After restarting, set the device as new.

⚠️ Note: On models with data encryption (MIUI 12+) This method will result in complete loss of information, since the encryption keys are stored in the reset area.

πŸ’‘

If after resetting via Recovery, the smartphone requires you to enter the old password, then the data is encrypted, in which case only a full reset via Fastboot will help.

6. Contact the Xiaomi Service Center

If none of these methods worked, the official way is to contact Xiaomi Service Center, which is relevant in cases where:

  • πŸ”’ The device is tied to someone else's Mi Account (buying with hands).
  • πŸ”§ Screen or fingerprint sensor broken, but data must be saved.
  • πŸ“± Hardware-encrypted model (e.g. Xiaomi 13 Pro) where software techniques are useless.

What will be required:

  • Check or warranty card (to confirm possession).
  • Passport (for identification).
  • Documents of purchase (if the device is warranty).

The cost of unlocking the service varies from 1,000 to 3,000 rubles, depending on the model and complexity. In some cases (for example, in case of hardware failure), you may need to replace the memory module.

πŸ’‘

Official unlocking in the service is the only legal way to bypass the binding to Mi Account without losing data.

FAQ: Frequent questions about unlocking Xiaomi

Can you unlock Xiaomi without losing data if USB debugging is not enabled?
Yes, but only through Mi Account (if it was tied) or emergency call (on older versions of MIUI). Without these conditions, data retention is impossible - you will need a reset.
Why does a smartphone ask for an old password after resetting via Fastboot?
This means that the data on the device has been encrypted, in which case only a complete reset with the deletion of all data (including internal memory) will help.
Does Google Account Unblocking Work on Xiaomi?
No. Starting with MIUI 9, Xiaomi removed its unblocking support through Google Account. Now this method only works on very old models (until 2017).
How much does it cost to unblock in unofficial services?
Prices range from 500 to 2,000 rubles, but the risks are high: illegal services can install spyware or damage firmware.
Can I unlock Xiaomi through IMEI?
No, IMEI is not used to unlock the screen, a myth that is common for confusion with unlocking network restrictions (for example, after buying abroad), but it has nothing to do with locking the screen.