How to remove the password from the application on Xiaomi: all working methods

Forgot your password from the Xiaomi app or want to disable it so you don’t enter the code every time? In this article, you’ll find all the current ways to unseal the protection, from standard MIUI settings to advanced methods using ADB and Root rights. We’ll analyze the options for different firmware versions (including MIUI 14 and MIUI 15), and also explain how to avoid data loss.

It is important to understand that some applications (for example, banking or messengers) set their own password, which is stored in their internal database, in this case, you can only unblock the lock through the settings of the application itself. If the password is set at the system level (App Lock feature in Xiaomi), then it can be deleted in several ways - from simple disconnection to reset via recovery mode.

Before you start, check:

  • πŸ”Ή Version MIUI (Path: Settings β†’ The phone. β†’ Version. MIUI). This depends on the availability of certain methods.
  • πŸ”Ή Root rights (if you plan to use advanced methods).
  • πŸ”Ή Backup of data – some actions may result in its loss.
πŸ“Š What is your Xiaomi model?
Redmi Note 12/13
POCO X5/F5
Xiaomi 13/14
Redmi 10/11
Another model

1. Standard disable App Lock via MIUI settings

The easiest way is if you remember the password from the App Lock feature, which works on all Xiaomi, Redmi and POCO devices with MIUI 12 and later.

Instructions:

  1. Open Settings β†’ Applications β†’ Application Lock (App Lock).
  2. Enter your current password or pattern lock.
  3. Find the application in the list from which you want to remove protection, and move the slider to the off position.
  4. Confirm the action by pressing OK.

If there is no slider in the App Lock menu to turn off, try:

  • πŸ”Έ Click on the app icon in the list and select Delete Password.
  • πŸ”Έ In the upper right corner, tap on three points and select Lock Settings, where you can completely disable the function.

πŸ’‘

If you forgot your password from App Lock, but remember the Mi Account account tied to your phone, try resetting the lock through Forgot the password? in the code entry window. This method only works with an active Internet connection.

2.Reset App Lock password via Mi Account

If you forget your password, but your phone is tied to your Xiaomi account, you can use the Restore feature, which is suitable for devices with MIUI 13 and later, where you can sync with the cloud.

Step-by-step:

  1. Go to Settings β†’ Applications β†’ Blocking applications.
  2. In the password entry window, click Forgot the password? (or Restore).
  3. Choose the recovery method: via SMS (if the number is tied) or Mi Account.
  4. Enter the username and password from the Xiaomi account, then confirm the action.
  5. Follow the on-screen instructions to reset the App Lock password.

Importantly, if your phone has an internet connection or your Mi Account is not tied, it won't work, so move on to the following methods.

What if no SMS is sent to recover?
If the confirmation code does not arrive, check: - Phone Balance (some operators pay SMS). - Message settings β†’ Spam - SMS may have been blocked. - Network Stability (switch from Wi-Fi to mobile Internet). If the problem persists, try to restore access via Mi Account on another device.

3. Delete password through Safe Mode (without data loss)

Safe Mode allows you to temporarily disable all third-party applications and some system functions, including App Lock. This method is suitable if the password is set at the system level, and not inside the application itself.

How to start Safe Mode:

  1. Turn off the phone.
  2. Press the Power button before the Xiaomi logo appears.
  3. Once the logo appears, release the Power button and immediately press Volume Down.
  4. Hold the volume down until the phone boots into Safe Mode (there will be a sign at the bottom of the screen).

Next:

  • πŸ”Έ Open the application from which you want to remove the password – there will be no protection.
  • πŸ”Έ Go to Settings. β†’ Annexes β†’ Block applications and disable protection (if you need a password, enter any - in Safe Mode, the check may not work).
  • πŸ”Έ Restart your phone in normal mode.

Make sure the battery is more than 30% charged.

Close all background applications

Turn off Bluetooth and NFC (they may interfere with mode entry)

Remember the button combination for your model-->

4.Use ADB to remove lock (without Root)

If previous methods didn’t work, you can use Android Debug Bridge (ADB), a tool for debugging Android devices, which does not require Root rights, but requires connecting the phone to a computer.

What you need:

  • πŸ–₯️ A computer with installed Xiaomi drivers and ADB.
  • πŸ”Œ USB-cable (preferably original).
  • πŸ“± Included debugging by USB (Settings β†’ The phone. β†’ Version. MIUI β†’ 7 times press to unlock the developer mode, then Settings β†’ Additionally. β†’ For developers β†’ Debugging by USB).

Instructions:

  1. Connect the phone to the computer and confirm debugging on the smartphone screen.
  2. Open the command line (Windows) or terminal (macOS/Linux) and type:
adb shell pm uninstall -k --user 0 com.miui.applock

This command removes the App Lock for the current user without deleting system files.

  1. Restart the phone. The app lock will be disabled.

πŸ’‘

The adb shell pm uninstall command does not delete the application completely, but only disables it for the current user.This is secure and does not result in data loss.

If App Lock is activated again after the reboot, repeat the command or try an alternative method:

adb shell settings put global hidden_api_policy 1

This command unlocks hidden APIs, which sometimes helps bypass the limitations of MIUI.

5. Reset settings via Recovery Mode (extreme case)

If none of these methods work, you'll have to hard-reset your phone with Recovery Mode, which will delete all your phone data, including your passwords, but also erase your photos, contacts, and installed apps, and use it as a last resort!

How to reset your settings:

  1. Turn off the phone.
  2. Press the Power and Volume buttons at the same time before the Mi Recovery logo appears.
  3. With the help of volume buttons, select Wipe Data (or Clear Data) and confirm Power button.
  4. Select Wipe All Data and confirm the action.
  5. After resetting, restart the phone (Reboot).

Attention: This method removes:

Type of dataRemoved?Can we restore it?
ContactsYes.Yes (if synced with Google/Mi Account)
Photo/videoYes.Not (unless there was a backup)
AnnexesYes.Yes (can be reinstalled from Mi Cloud)
Wi-Fi passwordsYes.No.
System settingsYes.Partially (restore basics)

πŸ’‘

Before reset, remove the memory card (if any) – the data on it will not be affected. Also check if sync with Mi Cloud is enabled (Settings β†’ Xiaomi Account β†’ Mi Cloud β†’ Synchronization).

6. Alternative methods for advanced users

If you have Root rights or experience with system files, you can try the following ways:

6.1 Delete App Lock files via Root Explorer

Using a Root-enabled file manager (such as Root Explorer or Solid Explorer):

  1. Go to /data/system/.
  2. Find the files: app_lock_pattern.key app_lock_pwd.key app_lock.xml

.bak

Reboot the phone.

6.2. Change settings through SQL-base

For power users, you can edit the MIUI database, which stores the App Lock settings.

  • πŸ”§ Root access.
  • πŸ“± SQLite Editor app.
  • πŸ“ Knowledge of Xiaomi database structure.

The path to base: /data/data/com.miui.applock/databases/app_lock.db. In the table lock_app You can delete records of blocked applications.

πŸ’‘

Editing system files without a backup can cause the phone to run unstable. Always backup before making changes!

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:

  • 🚫 The team's not working. ADB: Make sure that the debugging is USB Try the adb device command β€” if the phone doesn't show up, reinstall the drivers.
  • 🚫 Safe Mode does not start: on some models POCO The combination of buttons is different. Try to clamping the power. + Volume up.
  • 🚫 After reset, the password remained: this means that the lock is installed inside the application (for example, in WhatsApp or SberBank Online), in which case the password can only be removed in the settings of the application itself.
  • 🚫 Mi Account does not restore password: check if you have changed your previously linked email or phone number. If your account is blocked, contact Xiaomi support.

Note: If you use Xiaomi with custom firmware (like LineageOS or Pixel Experience), standard App Lock methods may not work, in which case, look for a firmware-specific solution on forums like XDA Developers.

Can I remove the password from the application without resetting the data?
Yes, in most cases. Use Safe Mode, ADB or Restore via Mi Account. Data reset is only required if the Mi Account password is forgotten and sync is disabled.
Why does the password from the applications fly off after the MIUI update?
This is a well-known MIUI 14/15 problem. After major updates, the system resets some security settings. To return the lock, go to Settings β†’ Application Lock and reset.
How to remove password from system applications (for example, Gallery or Messages)?
System applications are blocked in the same way as third-party applications. Use any of the methods described, but note: Gallery and Messages in MIUI may require additional confirmation through Mi Account.
Does this work for POCO and Redmi?
Yes, all methods are suitable for POCO and Redmi, as they run on the same MIUI firmware. Except for Android One models (such as Mi A3), where there is no App Lock feature.
What if after removing the password, the application stopped opening?
This can happen if the application uses its own protection (for example, 1Password or CryptoPro). Try: Reinstall the application. Clear its cache (Settings β†’ Applications β†’ Select the application β†’ Clear the cache).