How to remove the lock curtain on Xiaomi: from simple ways to radical solutions

Why does the lock curtain appear and how to remove it correctly

Lock curtain on Xiaomi smartphones (including Redmi models and POCO) β€” It is not just a graphic element, but part of the security system. MIUI. It appears when activating any type of lock: PIN-In most cases, deleting it is reduced to disabling the lock itself, but sometimes users are faced with a situation where the curtain remains even after resetting the password or flashing the flash.

The reasons for the stubborn curtain can range from a MIUI Launcher malfunction to a shell conflict after an update. It is important to understand that simply removing the launcher app (as some forums advise) will not help, it will lead to complete inoperability of the interface, since MIUI is rigidly tied to system components. In this article, we will analyze all working methods from basic to advanced, including bypassing through ADB and Fastboot.

If you've forgotten your password and you can't unlock your phone, don't panic. The manufacturer has a few official ways to restore access, but they require you to pre-link your Mi Account, and without it, you only have radical methods that will lead to data loss.

Method 1: Disable locking through settings (if you know the password)

The most obvious and safe method is to disable the screen lock through the standard menu, which is suitable if you remember a PIN, a pattern lock or a tied Mi Account.

  1. Unlock your phone in the usual way (enter a password, hold a pattern lock, or use a fingerprint).
  2. Go to Settings β†’ Passwords and Security β†’ Screen Lock.
  3. Enter the current password for confirmation.
  4. Select the option No (or Disable Lock in newer versions of MIUI).
  5. Confirm the action and restart the device.

If after these actions the lock curtain still appears when the screen is turned on, try resetting the launcher settings:

  • πŸ”„ Launcher reset: Clip the empty space on the home screen β†’ Home screen settings β†’ Resetting settings.
  • πŸ“± Reboot: Turn off the phone for 1 minute, then turn it on again.
  • πŸ”§ Cache cleanup: Settings β†’ Annexes β†’ Application management β†’ Launcher β†’ Clear the cache.

β˜‘οΈ Preparation for disabling the lock

Done: 0 / 4

⚠️ Note: If you use a corporate profile (for example, through Microsoft Intune or Knox), the administrator can block the ability to disable the password. IT-service.

Method 2: Unlocking with Mi Account (if you forgot your password)

If you forgot your password but previously linked your Mi Account to your phone, you can restore access through the official Find Device service, which works on most Xiaomi, Redmi and POCO models released after 2018, an important condition: the phone must be enabled with mobile Internet or Wi-Fi.

Instructions:

  1. Go to the Mi Account website from a computer or other phone.
  2. Sign in with the same account that is linked to the locked device.
  3. Select the Find Device tab (or Find the device in the Russian version).
  4. The map will show your smartphone. Click on it, then select Unlock Device.
  5. Confirm the action via SMS or email (depending on your account security settings).

After that, the phone should unlock automatically within 5-10 minutes.

  • πŸ”Œ Check your internet connection on a locked device (connect to Wi-Fi or insert) SIM-card).
  • πŸ”„ Restart your phone manually (press the power button for 10-15 seconds).
  • ⏳ Wait up to 30 minutes – sometimes Xiaomi servers take time to process the request.
πŸ“Š What type of lock you use on Xiaomi?
PIN-code
pattern lock
Fingerprint.
Facial recognition
No lockdown.

⚠️ Note: If Factory Reset Protection is activated on your phone, you may need to enter your account login and password when you first turn on after unlocking your Mi Account.

Method 3: Recovery Mode (Data Loss)

If previous methods didn't work, there's a radical solution, hard reset, through recovery mode, that will remove all data from your phone, including photos, contacts, and installed apps. Use it only as a last resort!

Instructions for most Xiaomi models:

  1. Turn off the phone.
  2. Press the Power button and Volume up simultaneously (in some models, Volume down). Hold for 10-15 seconds until the Mi logo and Recovery menu appear.
  3. With volume buttons, select the language (usually English or ).
  4. Go to Wipe Data β†’ Wipe All Data (or Clear Data β†’ Clean Everything).
  5. Confirm the action by selecting Confirm.
  6. After the process is complete, select Reboot β†’ Reboot to System.

The phone will reboot and suggest that you set it up as new, and at this point, the lock curtain will disappear, but you'll have to reconfigure all the settings.

Xiaomi modelCombination for entering RecoveryFeatures
Redmi Note 10/11/12Food + Volume upMenu in Chinese/English, volume button control
POCO F3/F4/F5Food + Volume upSupports touch control in Recovery
Xiaomi 12/13/14Food + Volume upRequires confirmation via Mi Account after reset
Redmi 9/9A/9CFood + Volume upPossible freezes during reset - wait until completion (up to 10 minutes)
What happens if the Recovery does not open?
If the phone doesn’t respond to the button combination, try: 1. Connect the charger (sometimes the reset is blocked when the charge is low). 2. Use the Power + Volume up + Volume down (on some models). 3. Wait 30 minutes – maybe the phone β€œhangs” when booting. If nothing helps, you will need firmware via Fastboot (see Method 4).

Method 4: Fastboot Firmware (for advanced users)

If Recovery resets don't work or the phone doesn't turn on at all, you'll have to use Fastboot to run the firmware, USB-Attention: wrong actions can turn a phone into a brick"!

Step-by-step:

  1. Download the official firmware for your model from MIUI Downloads. Choose the Fastboot version (not Recovery!).
  2. Unpack the archive in a folder on your computer (for example, C:\miui_fastboot).
  3. Download and install ADB & Fastboot Tools.
  4. Turn off the phone and put it in Fastboot mode: Press the Power button + Volume down for 10 seconds The screen should appear a bunny in a hat-eared (Fastboot logo).
  5. Connect your phone to your computer via USB.
  6. Open the command line (Win) + R β†’ cmd) and execute the commands in order: cd C:\miui_fastboot If the device is determined (the serial number appears), continue: fastboot flash all (this will run the script for the firmware of all partitions).

It takes 5-15 minutes to complete, the phone will automatically restart, and if the firmware is interrupted or there are errors (such as anti-rollback), a more in-depth diagnosis will be required.

πŸ’‘

Before you run through Fastboot, check the version of your model's Anti-Rollback. Installing an older firmware can block the bootloader! a list of Anti-Rollback versions can be found on the Xiaomi.EU forum.

Method 5: Bypassing the lock through ADB (for unlocked bootloader)

If your phone has a Bootloader Unlocked, you can remove the lock curtain through ADB without losing data, a method that is suitable for users who have previously activated OEM Unlock in the developer settings.

Instructions:

  1. Turn on USB Debugging: Settings β†’ About Phone β†’ MIUI Version (click 7 times to activate Developer Mode) β†’ Return to Settings β†’ Additional β†’ For Developers β†’ Debugging by USB.
  2. Connect your phone to your computer and confirm your trust in that PC.
  3. Open the command line and execute: adb shell su rm /data/system/gesture.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 an alternative method:

adb shell


pm uninstall --user 0 com.android.keyguard

⚠️ Note: Deleting com.android.keyguard may cause system instability, and this method is recommended only for temporary bypass of the lock, for example, if you need to copy data before resetting.

What do you do if nothing helps?

If all of these methods do not work, the following reasons are possible:

  • πŸ” Hardware lock: On some models (e.g. Xiaomi Mi) A1/A2 With pure Android, the lock curtain is controlled at the firmware level from Google. In this case, only the firmware of the stock will help. MIUI.
  • πŸ› οΈ Damage to section /data: If the phone fell or was repaired, memory damage is possible.
  • πŸ”’ Operator lock: Phones purchased from mobile operators (e.g. Redmi for MegaFon) may have an additional lock.

In the most difficult cases, you need to contact an authorized Xiaomi service center, the cost of unlocking varies from 1,000 to 3,000 rubles depending on the model and the reason for the lock. Before visiting, check whether your data will be saved - some services perform a full reset by default.

πŸ’‘

If the phone is locked after a failed firmware or reset, DO NOT try to stitch it again without a diagnosis.This can result in a complete loss of IMEI or damage to the bootloader.

FAQ: Frequent questions about lock curtain on Xiaomi

Can I remove the lock curtain without losing data?
Yes, if you know the password or the Mi Account attached. Use Method 1 or Method 2 from this article. If the password is forgotten and the account is not tied, it is almost impossible to get around the lock without resetting the data (except for models with an unlocked bootloader - see Method 5).
Why did the locking curtain remain after resetting through Recovery?
This is due to Factory Reset Protection (FRP), which requires data input from the last synchronized Google or Mi Account. To remove the curtain, log in to the same account you had on your phone before the reset. If you don't remember the data, you'll need to have firmware through Fastboot with FRP turned off.
Can I turn off the locking curtain for always?
Technically, yes, but it is not recommended for security reasons. The lock curtain is part of the protection against unauthorized access. If it is the design that interferes with you, you can change the lock style in Settings β†’ Lock screen β†’ Lock style (available on MIUI 12 and later). Complete shutdown is possible only through the deletion of system files (see Method 5), but this violates the integrity of the system.
What to do if the phone does not turn on after the firmware?
If the screen is black or only the Mi logo is on, the following reasons are possible: Wrong firmware (for example, for another model or region); interrupted firmware (switched off the cable or battery); damaged bootloader. Try repeating the firmware through Fastboot or contact the service. 90% of the time the phone can be "resuscitated", but may require soldering equipment.
How to remove the lock curtain on Xiaomi with a damaged screen?
If the screen does not respond to touch, but the image is visible, connect the phone to the computer and use it. ADB for management (see Method 5). If the screen is completely black, but the phone is turning on (vibrates or makes sounds), try: Connect an external monitor through the phone. USB-C to HDMI (It works on the flagships of Xiaomi 12/13/14). Recovery resets blindly (remember the sequence of button presses) and access the service to replace the screen with data saved (possibly on the screen). 70% model).