How to remove passwords from applications on Xiaomi: all ways to unlock

Forgot the password from the Xiaomi app or want to remove unnecessary locks? MIUI has several ways to remove protection, from standard settings to bypassing through ADB or recovery. In this article, we will analyze all the current methods for Redmi, POCO and Mi models on the MIUI 12-14 firmware versions (including HyperOS).

Importantly, if you're not the owner of the device, trying to remove the password can lead to a lock on your Mi Account or loss of data. We're only looking at legal ways for your own devices. For corporate phones (with MDM), these methods will not work, you will need to contact the administrator.

Try the easiest way first – through the MIUI settings. If it doesn’t work, go to alternative options using ADB, TWRP or factory reset (with the risk of data loss).

1. Standard method: through MIUI settings

If you remember the password from the Mi Account or the pattern lock, you can unblock the applications in 2 minutes:

  1. Open Settings β†’ Applications β†’ Blocking applications.
  2. Enter your current password (or fingerprint if configured).
  3. Select the application from the list and turn off the "Block" switch.

If the app lock option is not on the menu, it means that the function is disabled or another version of MIUI is used.

  • πŸ” For MIUI 12/13: Settings β†’ Special facilities β†’ Application lockdown.
  • πŸ” For HyperOS: Settings β†’ Confidentiality β†’ Application lockdown.
  • πŸ” For POCO Launcher: Swipe left on the home screen β†’ Settings β†’ Application lockdown.

If the system requires a password but you have forgotten it, move to the next section. Don't try to code - after 5 failed attempts Xiaomi can lock the device for 30 minutes.

πŸ’‘

If you have Mi Account sync enabled, try to reset your password through account.xiaomi.com. This will require a linked email or phone number.

2. reset the lock through the Mi Account (if linked)

If the phone is linked to a Xiaomi account, you can reset your lock settings remotely:

  1. Go to account.xiaomi.com and log in.
  2. Select the Devices section β†’ Find the device.
  3. Click on your Xiaomi model and select β€œUnlock the screen”.
  4. Confirm the action via SMS or email.

This method only works if:

  • πŸ“± Device connected to the Internet (Wi-Fi or mobile network).
  • πŸ”„ The "Find the device" function was activated in the settings.
  • πŸ” Mi Account was not deleted from the phone.

If the phone is offline, try connecting it to the network via modem modem (if allowed in the settings).The alternative is to wait for a Wi-Fi connection (such as at home or in the office).

πŸ“Š What Unlocking Method Have You Tried Before?
Through MIUI settings
Reset via Mi Account
Used ADB.
Resetting to factory settings
Never blocked.

Bypassing the lock through ADB (without loss of data)

The method for advanced users requires debugging over USB (if it was enabled earlier) and a computer with Xiaomi drivers installed.

If USB debugging is not enabled, this method will not work – go to the TWRP or reset section.

Install Android SDK Platform-Tools|Download drivers for your Xiaomi model|Put the debugging on. USB (if the phone is unlocked)|Connect your phone to your PC via the original cable-->

Instructions:

  1. Connect your phone to your PC and open the command prompt (Windows) or terminal (Mac/Linux) in the adb folder.
  2. Enter the command to check the connection: adb devices If the device is displayed, go further.
  3. Run the command to delete the application lock password: adb shell pm clear com.miui.guardprovider
  4. Reboot your phone: adb reboot

After the reboot, the application lock should reset. If not, try an alternative command:

adb shell settings put secure lock_pattern_autolock 0
What if the ADB can’t see the device?
Make sure you have File Transfer (MTP) in the notification curtain on. If your phone is locked, try switching the connection mode manually: Turn off the cable. Press the power button + 10 seconds volume increase (reboot). Immediately after the vibration, plug the cable back in. In some cases, this allows you to select MTP mode before locking the screen. If it doesn't help, you need to unlock the bootloader (see the section on Fastboot).

4. Unlock via TWRP (Castom Recovery Required)

If you have TWRP installed on your phone, you can manually delete the lock files, a method that is suitable for users who have already unlocked the bootloader and installed custom Recovery.

Warning: Mistakes in TWRP can result in data loss or device "brick" and backup before changing system files.

Instructions:

  1. Boot to TWRP (Put Power + Volume Up when the phone is off).
  2. Go to Advanced β†’ File Manager.
  3. Delete the following files: /data/system/locksettings.db /data/system/locksettings.db-wal /data/system/locksettings.db-shm /data/system/gesture.key (if any)

Reboot the phone.

After the reboot, the application lock and pattern lock (if any) will reset.

MethodRequires unlocking bootloaderLoss of dataDifficulty
Through MIUI settings❌ No.❌ No.⭐ Very simple.
Reset via Mi Account❌ No.❌ No.⭐⭐ Just
ADB❌ No (but I need debugging)❌ No.⭐⭐⭐ Middle-Average
TWRPβœ… Yes.⚠️ Possible.⭐⭐⭐⭐ Hardly.
Reset to factory❌ No.βœ… Yes.⭐⭐ Just

5. Extreme method: reset to factory settings

If nothing works, it leaves a hard reset, which will delete all the data from the phone, including application passwords, accounts and files. Backup if you can!

How to reset:

  1. Turn off the phone.
  2. Press Power + Volume Up for 10-15 seconds until the Mi Recovery logo appears.
  3. Select the language (volume buttons) and confirm Wipe Data.
  4. Confirm the reset (usually you need to select Yes and press the power button).

After the reset, the phone will reboot to the out-of-the-box state. Attention: if the Mi Account was tied, you'll need to enter your Mi Account Lock account information after the reset.

πŸ’‘

Factory reset is the only way to remove the password if USB debugging is disabled and there is no TWRP. But it deletes ALL data, including photos, messages and installed apps.

6. Alternative methods (for individual cases)

If standard methods don’t work, try these options:

  • πŸ”§ For corporate phones: if the lock is installed through MDM (For example, Mi Enterprise, please contact IT-Self-traffic may violate security policy.
  • πŸ“± For old models (MIUI 10–11: Try resetting Smart Lock settings via the command: adb shell pm clear com.android.settings
  • πŸ”“ If only Google Play is blocked: delete your Google account in Settings β†’ Accounts and add again.
  • πŸ› οΈ For root users: Use AppOps or Xposed to disable system-level password verification.

On some firmware (e.g. Xiaomi.eu), app locking works differently. If you use custom firmware, check the settings in the Privacy β†’ section.

What if your phone needs an old Mi Account after a reset?
This is Mi Account Lock, anti-theft protection. To unlock: Enter the Mi Account that was tied before the reset. If you don't remember the password, restore it via account.xiaomi.com. If the account is not yours (the phone is bought by hand), contact the previous owner to unblock. In extreme cases, contact the Xiaomi service center with proof of purchase (check, box). They can untether in 1-3 days. Attention: buying hands without untipping the Mi Account is fraught with lock!

FAQ: Frequent questions about blocking apps on Xiaomi

Can I remove the password from the applications without resetting the data?
Yes, if: You remember the password from your Mi Account (use reset via account.xiaomi.com). You have USB debugging enabled (use ADB). TWRP installed (remove lock files manually). If none of these are available, just factory reset.
Why did the application block disappear after the MIUI update?
This is a known bug in MIUI 13-14 and HyperOS. After major updates, the system can reset privacy settings. To return locking: Go to Settings β†’ Privacy β†’ Blocking apps. Enable the function again and select apps. Set a new password (you can use the same one).
How to block applications on Xiaomi without a password?
Instead of a password, you can use: Fingerprint (configure in Settings β†’ Lock screen β†’ Fingerprint). Face recognition (works on models with an infrared camera, such as the Xiaomi Mi 11 or Redmi K50); Smart Lock (unlock in trusted places, such as at home or work). To enable: Settings β†’ Lock screen β†’ Smart Lock.
Application blocking doesn't work on POCO. Why?
On POCO smartphones (especially with POCO Launcher), the app lock feature can be: Deactivated by default (enable Settings β†’ Special Features). Hidden by another name (look for Private Mode or Second Space). Replaced by Google's App Lock (install from Play Market). Also check if there is a third-party firmware installed (e.g., Pixel Experience) where MIUI features may not be available.
Can I recover the data after resetting to factory settings?
Partially if: Backup enabled in Mi Cloud (photo, contacts, SMS). Backup to PC via Mi was used PC The files were stored on the Suite. SD-Software like Dr.Fone or EaseUS MobiSaver can recover some data (photos, videos) but can't guarantee 100% results. Don't write new files to your phone after a reset, which reduces your chances of recovery.