How to remove the lock screen on Xiaomi smartphones: all working ways

The lock screen on Xiaomi smartphones is not only the protection of personal data, but also a frequent cause of headaches if you forget your password, PIN-This is compounded by the manufacturer’s active blocking of security bypasses through standard methods, especially on newer versions. MIUI 14/15. In this article, we will discuss 5 Proven ways to remove the lock screen on Xiaomi, Redmi or POCO β€” From formal to technically complex but effective.

It is important to understand that some methods require prior preparation (for example, included in the program). USB-If you haven't done this before, some of the ways will be unavailable, and we will also warn you of the risks, from data loss to a complete lockdown of the device through Xiaomi's anti-theft system, which is triggered when a misreset is made.

This article is relevant for models from 2019 to 2026 based on MIUI 12-15, including Xiaomi 13/14 series, Redmi Note 12/13, POCO F5/X5 and others. If your device is older or runs on custom firmware, some steps may differ.

1. Official reset via Mi Account (if linked account)

The safest way is to use Xiaomi’s Find Device feature, which only works if:

  • πŸ”— The device is linked to your Mi Account (check at account.xiaomi.com).
  • πŸ“Ά On the smartphone is enabled mobile Internet or Wi-Fi.
  • πŸ”‹ Battery charge greater than 20% (otherwise the device may be switched off during the process).

Instructions:

  1. Go to i.mi.com and log in.
  2. Select the locked device in the list.
  3. Click Delete Data β†’ Erase the device.
  4. Confirm the action. SMS-code.

After 5-15 minutes, the smartphone will restart and prompt you to configure it as new, all data will be deleted, including photos, messages and installed applications, this method does not work if the device is disabled or in airplane mode.

⚠️ Note: If the device requires the old Mi Account password to be entered after the reset, the Xiaomi Account Protection function has been activated, in which case you will need to enter data from the associated account even after the full reset.

πŸ“Š What is the way to unlock Xiaomi you are interested in?
Through the Mi Account.
With ADB
Hard Reset (Hard Reset)
Bypassing through Fastboot
Other

2. Unlock through ADB (required USB-debugging)

The method is suitable if the device is pre-on USB-debugging (Settings) β†’ The phone. β†’ Version. MIUI β€” 7 times press to activate the developer mode, then Settings β†’ Additionally. β†’ For developers β†’ USB-If debugging isn't on, it won't work.

You'll need:

  • πŸ–₯️ Computer with Windows/Linux/macOS.
  • πŸ”Œ Cable USB (preferably original).
  • πŸ“¦ Established ADB and Fastboot.

Steps:

  1. Connect your smartphone to your PC and confirm the debugging permission (if you receive a request).
  2. Open the command prompt (Windows) or terminal (Linux/macOS) and type:
adb shell


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 screen should disappear. If not, try repeating commands or using an alternative method:

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

⚠️ Note: On some devices with MIUI 14+ This method may not work because of the increased protection, so try to delete the file first. /data/system/lockscreen.password (if there is).

Make sure that USB-debugging is on|Download ADB and Fastboot|Connect the original cable USB|Check the detection of the device by the team `adb devices`|Make a backup copy of important data-->

3 Hard Reset (Hard Reset) via Recovery

If previous methods failed, the Recovery Mode completely resets, which deletes all data but does not require any pre-setting, and is suitable for most Xiaomi models except those with FRP.

Instructions:

  1. Turn off your smartphone.
  2. Press the button combination: πŸ”˜ Power button + Loudness up (for most models). πŸ”˜ On certain devices (e.g, POCO F3) β€” Nutrition + Loudness down.

Mi

Recovery

Wipe Data β†’ Wipe All Data

Reboot β†’ Reboot to System

If after the reboot the device requires you to enter data from Mi Account, then the Xiaomi account protection (FRP) is activated.

  • πŸ“§ Enter the linked email and password.
  • πŸ“ž Or contact the support service with proof of possession (check, box).
Xiaomi modelCombination for RecoveryDoes FRP support it?
Xiaomi 13/14 seriesFood + Volume upYes.
Redmi Note 12/13Food + Volume upYes.
POCO F5/X5Food + Volume DownYes.
Xiaomi Mi 11Food + Volume upNo (on some firmware)

πŸ’‘

If after reset the smartphone does not turn on or got stuck on the Mi logo, try to go to Fastboot Mode (Power) + Volume down) and execute command `fastboot reboot` PC.

4. Bypass locking through Fastboot (for advanced)

This method is suitable if:

  • πŸ”§ You have unlocked the bootloader (bootloader).
  • πŸ’» There is access to a PC with installed ADB and Fastboot.
  • πŸ“„ You are ready for a possible loss of warranty (on some models).

Algorithm of action:

  1. Transfer the device to Fastboot mode (turn off, then press Power + Volume down).
  2. Connect to the PC and check for detection by the command:
fastboot devices
  1. Download custom recovery (such as TWRP) for your model.
  2. Squeeze it:
fastboot flash recovery twrp.img


fastboot reboot recovery

  1. In TWRP, go to Advanced β†’ File Manager and delete files: /data/system/gesture.key /data/system/password.key /data/system/locksettings.db

Reset the device.

Warning: Mistakes in Fastboot can lead to a device blink (completely inoperable).If you are not sure about your skills, it is better to contact the service center.

What to do if the loader is blocked?
On new Xiaomi devices, the bootloader is locked by default. To unlock, you need: 1. Link your Mi Account to the device. 2. Connect to your PC and start a command. `fastboot oem unlock`. 3. Wait 7-14 days (some models require waiting to unlock). 4. Repeat the command after the deadline. Without an unlocked bootloader, custom recovery firmware is not possible.

5. Alternative methods (for older models)

On devices up to MIUI 12 (e.g. Xiaomi Mi A1/A2, Redmi 4X/5A), security holes sometimes run to bypass the lock without losing data.

Method 1: Emergency call (only for the purpose of MIUI 9–11)

  1. On the lock screen, press Emergency Call.
  2. Enter ##4636## (test menu).
  3. Go to Usage statistics β†’ Back (you may need a few clicks).
  4. You will be in the settings - disable the lock in Security β†’ Lock the screen.

Method 2: Reset by Google Find My Device

If a Google account is linked to the device:

  1. Go to Google Find My Device.
  2. Select the locked device.
  3. Press Erase Data.

⚠️ Note: These methods have stopped working on MIUI 12+ They're useless on new devices, and they can activate the anti-theft system.

πŸ’‘

On devices with MIUI 14/15, the only reliable way is to reset via Mi Account or Fastboot (with the bootloader unlocked).

What do you do if nothing helps?

If all of these methods fail, there are three options:

  1. Contact the Xiaomi service center with proof of purchase (check, box, warranty card) They can unlock the device officially, but this is a paid service (1500 to 5000). β‚½ model-wise).
  2. Use paid unlocking services (such as UnlockJunky or MIUI Unlock) from $10 to $50, risk: fraud or malware installation.

FAQ: Frequent questions about unlocking Xiaomi

Can I remove the lock screen without losing data?
Yes, but only if it's on. USB-Debugging or using the method of ADB. In other cases (reset via Mi Account, Recovery or Fastboot) the data will be erased.
Why does he need to use the old Mi Account password?
This activates Xiaomi account protection (FRP). It is activated if the device was enabled Find the device or linked to the Mi Account. To remove the request, you need to enter data from the associated account or contact support with proof of ownership.
Does the emergency call method work on the Redmi Note 12?
No. This bug was fixed in MIUI 12 and later. On the Redmi Note 12 (with MIUI 14), it won't work.
How to unlock Xiaomi if you forget your password and USB-debugging off?
There are only two options left: Mi Account reset (if the device is tied); Recovery hard reset (data loss); if the Mi Account is not tied, only the service center will help.
Can I unlock POCO F5 through Fastboot without unlocking the bootloader?
No. Custom recovery or modified files require an unlocked bootloader. On the POCO F5, it can be unlocked officially through Xiaomi's website, but it will take up to 7 days to wait.