How to remove the password from the application on Xiaomi: official and alternative methods

Forgot the password from the banking application, messenger or gallery on the smartphone Xiaomi? MIUI Protecting confidential programs PIN-It's not easy to unlock the screen, where the Mi Account helps, but it's not easy to restore access without it.

In this article, we will discuss 5 proven ways to unplug a Xiaomi app, from official tools to technical workarounds. Importantly, not all methods are universal. For example, on devices with MIUI 14+ and File-Based Encryption enabled, some methods will not work, we will specify the limitations for each option and warn against risky actions that can lead to data loss.

Before you start, check:

  • πŸ” Do you have a backup of your data (especially if you are planning a reset)?
  • πŸ“± What version? MIUI set (see Settings) β†’ The phone)?
  • πŸ”§ Is debugging mode on? ADB (You will need some methods)?

1. Removal of password through MIUI settings (official method)

The safest method is to use built-in MIUI tools, which is suitable if:

  • πŸ“Œ You remember the password from the Mi Account tied to the phone;
  • πŸ“Œ Data encryption is not activated on the device (checked in Settings) β†’ Additionally. β†’ Confidentiality β†’ Encryption);
  • πŸ“Œ You have not changed your firmware to custom (like LineageOS).

Instructions:

  1. Open Settings β†’ Applications β†’ Blocking applications.
  2. Enter the current password from Mi Account (if the system requests it).
  3. Find the blocked application in the list and click on it.
  4. Choose Remove Password or Change Password (if you need to install a new one).

Check your Internet connection (required for Mi Account authorization)

Make sure your phone has enough charge (minimum 30%)

Close the blocked application (it should not work in the background)

Have a backup code from Mi Account on hand (if two-factor authentication is enabled)

-->

⚠️ Note: If after entering the password from Mi Account there is an error "failed to confirm personal data", then:

  • Your account is not synced with your phone (check Settings β†’ Accounts β†’ Mi Account);
  • An unofficial firmware is installed on the device;
  • Xiaomi servers are temporarily unavailable (try it later).

2.Use ADB to remove the lock (for advanced)

If the official method didn’t work, you can try to delete the password via Android Debug Bridge (ADB).

  • πŸ–₯️ Computer with installed Xiaomi drivers and ADB;
  • πŸ”Œ USB-cable (preferably original);
  • πŸ”§ Included mode Debugging by USB phone-on.

Step-by-step:

  1. Activate Developer Mode on Xiaomi: Settings β†’ About Phone β†’ MIUI Version (click 7 times) Then go back to Settings β†’ Additional β†’ For Developers and turn on USB Debugging.
  2. Connect the phone to the PC and confirm the debugging permission.
  3. Open the command line (Windows) or terminal (macOS/Linux) and type: adb shell pm clear com.miui.guardprovider This command will reset the settings of MIUI Guard Provider, the service responsible for blocking applications.
  4. Reset the phone. The password should disappear.
What to do if the team does not work?
If the password is still valid after executing adb shell pm clear com.miui.guardprovider, try the alternative command: adb shell settings put global settings hidden_api_policy 1 Then re-clean the service, and if that didn't work, it means your device is using hardware encryption (FBE), and the method is not applicable.

⚠️ Attention: Use ADB maybe:

  • Fail some system applications (e.g. Mi Security)
  • Reset your privacy settings (you will have to reconfigure);
  • To issue the error "adbd cannot run as root" on firmware with a patch from Xiaomi (solved by unlocking the bootloader).

3.Reset lock settings via Safe Mode

If the password is set by a third-party application (such as AppLock or Smart AppLock) rather than MIUI, you can try to delete it in Safe Mode. In this mode, all third-party programs are disabled, but system programs (including Mi Guard) continue to work.

How to run Safe Mode on Xiaomi:

  1. Turn off the phone.
  2. Press the Power button before the MI logo appears.
  3. As soon as the logo appears, release Power and immediately press Volume down.
  4. Hold it until the phone boots with the words β€œSafe mode” at the bottom of the screen.

Further action:

  • πŸ”“ If the password is set by a third-party application, delete it through Settings β†’ Annexes.
  • πŸ”„ If the password is system – go to Settings β†’ Block applications and try to reset settings (sometimes in Safe Mode, the system allows you to do this without entering the current password).

πŸ’‘

If the phone doesn’t load in Safe Mode, try an alternative way: plug the charger in, then press Power + Volume up for 10 seconds. On some Xiaomi models (like the Redmi Note 10 Pro), this works.

4. Delete password via TWRP (for unlocked bootloader)

This is the most radical method, which is only suitable for users with an unlocked bootloader and installed custom TWRP recap. It allows you to manually delete files responsible for blocking applications, but is fraught with:

  • 🚨 Data loss (if you don’t backup);
  • πŸ”§ System malfunction (if you delete the wrong files);
  • πŸ“΅ Warranty loss (if the bootloader was unblocked unofficially).

Instructions:

  1. Load the phone to TWRP (press Power + Volume up when the device is off).
  2. Go to Advanced β†’ File Manager.
  3. Open the folder. /data/system and find the files: app_lock_pattern.key app_lock_password.key Remove them (or rename them by adding the.bak extension).
  4. Reboot the phone.
Xiaomi modelSupport for TWRPRisk of data lossAlternative method
Redmi Note 11/12Yes (unofficially)High-pitchedADB or Safe Mode
POCO X4 ProYes (officially)Medium.Reset via Mi Account
Xiaomi 13/13 ProNo (loader lock)β€”Contact the service
Redmi 10AYes (with the risk of brick)criticalADB or discharge

⚠️ Attention: On devices with MIUI 13+ File-Based Encryption included (FBE) file-deletion TWRP And that would result in a total loss of access to the data, and in that case, the only way out is to reset to factory settings.

5. Resetting the phone to factory settings (last resort)

If no methods have worked, it's a complete reset, which will delete all the data from the phone, including the application passwords, but also:

  • πŸ“‚ Delete photos, contacts and messages (if there is no backup);
  • πŸ”„ It will return the firmware to the factory version (may have to update again);
  • πŸ”’ Remove all blockings, including Mi Account (if the account was not linked).

How to reset Xiaomi:

  1. Open Settings β†’ About the phone β†’ Reset settings.
  2. Select Delete all data.
  3. Enter the password from Mi Account (if requested).
  4. Confirm the reset.

Official settings of MIUI

ADB

Safe Mode

TWRP

Reset to factory

I haven't tried it yet.

-->

⚠️ Attention: On devices with MIUI 14+ And the Mi Accounts that are tied after reset may need to enter the username and password from the account. If you forget them, the phone will turn into a brick - you can unlock it only in the Xiaomi service center (with proof of ownership).

Frequent Mistakes and How to Avoid Them

When trying to remove a password, users often face typical problems, and here are the most common ways to solve them:

  • πŸ”Œ "ADB Does not see the device": Install official Xiaomi drivers from mi.com; check if debugging mode is enabled USB; Try another one. USB-cable (not all support data transmission).
  • πŸ”’ "Mi Account does not accept passwords: Make sure you enter the password from the account associated with that phone; check if it is enabled CAPS LOCK; If you forget your password, restore it through account.xiaomi.com.
  • πŸ“± "After reset, the phone requires an old password: This means Factory Reset Protection has been activated (FRP); Enter the data from the Mi Account that was tied before the reset; If the account is deleted, contact Xiaomi with proof of purchase.

πŸ’‘

Before any password manipulation, check if encryption is enabled in the settings. If so, most methods (other than resetting) will not work, and bypass attempts can lead to loss of access to the phone.

Can I remove the password from the application without resetting the phone?
Yes, but only if: You remember the password from Mi Account (for the official method); the phone is debugging on USB and has access to a PC (for the ADB method); the password is set by a third-party application (you can delete it in Safe Mode); on devices with MIUI 14+ and data encryption (FBE), the chances are minimal - you will have to reset.
What to do if you forget your Mi Account password?
Restore it through the official website: Go to account.xiaomi.com; Click Forgot Password?; Enter the linked email or phone number; Follow the instructions in the letter/SMS. If the account is not restored (for example, tied to an old number), contact Xiaomi with a check to buy the phone.
Do password cracking programs (such as Mi Account Unlock Tool) work?
No, and their use is dangerous: 🚫 Most of these utilities are fraudulent (they can steal data); πŸ”’ Xiaomi blocks accounts if detects suspicious activity; πŸ’» Even the "working" tools require an unlocked bootloader, which cancels the warranty, and the only legal way is by using official methods or contacting a service center.
How to protect applications after removing the password?
To avoid repeated problems: πŸ” Use one strong password for all locks (or a password manager like Bitwarden); πŸ“± Activate Biometric Authorization (File/Face) in Settings β†’ Screen locking; ☁️ Regularly back up through Settings β†’ Additionally. β†’ Backup; πŸ”§ Turn off data encryption if you often forget passwords (but this will reduce security).
Will this work for POCO or Black Shark?
Yes, because these brands run on MIUI (or its modifications). Exceptions: POCO F1 and older models on MIUI 10 may require other ADB commands; Black Shark with custom firmware - methods may not work; Global ROM devices - sometimes have other paths in settings (for example, Security β†’ App lock instead of Application Lock).