How to remove password from applications on Xiaomi: all working methods of 2026

Forgot the password from the application on Xiaomi or bought a used smartphone with blocked programs? The situation is familiar to many: MIUI offers built-in application blocking, but access recovery is not always intuitive. Unlike iOS, where it requires iTunes or iCloud, on Xiaomi Android devices (including Redmi Note 12, POCO X5, Mi 11) there are several ways to solve it - from standard settings to technical bypasses through ADB.

It is important to understand that the methods differ depending on whether one application (for example, Gallery or WhatsApp) is blocked or the entire smartphone through App Lock. In the first case, password reset through Mi Account is often enough, in the second case, you may need to completely reset your settings with loss of data (if you did not have a Xiaomi account attached), We will analyze all the current methods, including little-known tricks for MIUI 14 and later.

1. Standard password reset via Mi Account

The safest method is if you remember the username and password from Mi Account (even if you don’t remember the password from the app) works on all Xiaomi, Redmi and POCO models with MIUI 12 and above.

Instructions:

  • πŸ”‘ Open the blocked application and enter any password 5 times in a row – the button β€œForgot the password” will appear?Β»;
  • πŸ“± Select the recovery option via Mi Account and log in;
  • πŸ”„ The system will offer to create a new password or disable the lock completely.

If the β€œForgot Password” button does not appear, check:

  • πŸ”„ Is the firmware updated (in Settings) β†’ The phone. β†’ Updating the system);
  • 🌐 Is the phone connected to the Internet (without a network, it is impossible to restore through an account);
  • πŸ•’ Has your Mi Account password expired (sometimes you need to re-authorize).

⚠️ Note: If the smartphone was bought with hands and the previous owner did not untie his Mi Account, this method will not work.

πŸ“Š What kind of smartphone you Xiaomi?
Redmi (Note/Pro)
POCO (F/X/M)
Mi (11/12/13)
Other

2. Delete password through security settings

If you remember the main thing PIN-If you have a code or a pattern lock on your phone, but you have forgotten the password from a particular app, you can try disabling App Lock completely.

Step-by-step:

  1. Go to Settings β†’ Passwords and Security β†’ Blocking applications;
  2. Enter the main password to unlock the screen (not to be confused with the password from the application!);
  3. Find the blocked application in the list and move the slider to the off position.;
  4. Confirm the action if the system requests a re-entering of the password.

If the application block is not available:

  • πŸ” Use the Settings Search (the magnifier icon at the top of the screen) and type β€œApp LockΒ»;
  • πŸ“² On some firmware, the path may be different: Settings β†’ Additionally. β†’ Confidentiality;
  • πŸ”„ Restart your phone – sometimes the menu appears after a restart.

β˜‘οΈ Preparation for the removal of the lock

Done: 0 / 4

3. Reset password via ADB (for advanced users)

The method for those who are ready to work with Android Debug Bridge (ADB). This is good if the standard methods don’t work, but you have access to the USB-Important: on new Xiaomi models (Redmi Note 13 Pro)+, POCO F6) Additional authorization may be required via the Mi Unlock Tool.

What you need:

  • πŸ’» Computer with installed ADB Tools;
  • πŸ“± USB-cable (preferably original);
  • βš™οΈ Included Debugging by USB In Settings β†’ The phone. β†’ Version. MIUI (Tap 7 times according to version, then return to additional β†’ For developers).

Instructions:

1. Connect the phone to the PC and confirm the trust in the computer on the smartphone screen.


2. Open the command line (Windows) or the terminal (Mac/Linux) in the folder with ADB.




3. Enter the commands in order:





adb shell




su




pm clear com.miui.guardprovider (for MIUI 12-14)




or




pm uninstall -k --user 0 com.miui.guardprovider (remove App Lock in full)





4.Reboot phone: adb reboot

If the su command doesn't work, then there's no root permission on the phone, and then try an alternative method:

adb shell am start -n com.miui.securitycenter/.disallowapp.DisallowAppActivity

⚠️ Note: Removing com.miui.guardprovider may cause failures in the work of protecting privacy and optimizing the battery. Once the applications are unlocked, it is recommended to reinstall the package through Settings β†’ Annexes β†’ Application management β†’ Three points. β†’ Show all applications β†’ Guard Provider.

What if the ADB can’t see the device?
1. Check if Xiaomi drivers are installed (download from [official website](https://new.c.mi.com/global/miuidownload/index)). 2. Try another one. USB-cable. 3. Include in the developer settings the option "Cancel authorization" USB-debugging". 4. On Windows, run the command line on behalf of the administrator.

4. Bypass locking through Safe Mode (Safe Mode)

If the password is set by a third-party application (such as AppLock or Smart AppLock) rather than the built-in MIUI feature, you can try to delete it via Safe Mode.

How to run Safe Mode on Xiaomi:

  1. Press the power button until the off menu appears;
  2. Press the β€œSwitch off” option before you request to switch to Safe Mode.
  3. Confirm the action and wait for the reboot (the bottom left corner of the screen will read β€œSafe Mode”).

Next:

  • πŸ—‘οΈ Go to Settings. β†’ Apps and find a blocker (e.g. AppLock);
  • πŸ”„ Click on β€œDelete” or β€œStopΒ»;
  • πŸ”™ Restart your phone in normal mode.

Limitations of the method:

Xiaomi modelDoes it support Safe Mode?Notes
Redmi Note 10/11/12Yes.It works on all versions of MIUI.
POCO X3/X4/X5Yes.You may need to disable "Advertent Press Protection"
Mi 11 Ultra/12 ProYes.Safe Mode disables Face ID and fingerprint
Xiaomi 13T/14Partially.Some blockers (e.g., Norton App Lock) remain active.

πŸ’‘

If Safe Mode doesn’t turn on, try an alternative: turn off your phone, then press the power button + increase the volume until the MI logo appears. In the recovery menu, select β€œSafe Mode” (if available).

5. Resetting to factory settings (last resort)

If no one has worked, you can reset your entire data via Recovery Mode, which will delete all data, including photos, contacts, and apps installed, and only use it if:

  • πŸ” The phone is not tied to the Mi Account;
  • πŸ“± You don’t have important information or a backup copy;
  • πŸ”§ Other methods didn't work.

Instructions for Xiaomi/Redmi/POCO:

  1. Turn off the phone;
  2. Press the power button + increase the volume before the Mi logo appears.
  3. In the recovery menu, select Wipe Data β†’ Wipe All Data (manage by volume buttons, confirmation by power button);
  4. After reset, select Reboot β†’ Reboot to System.

What to do after the discharge:

  • πŸ”„ Restore data from backup (if it was created through Settings) β†’ The phone. β†’ Backup);
  • πŸ“± Re-attach your Mi Account to avoid future problems;
  • πŸ”’ Set up application lock through Settings β†’ Passwords and security, but write your password to a secure location (e.g. Google Password Manager).

⚠️ Note: On devices with a bootloader, a recovery reset may require you to enter your Mi Account password when you first download it. If the phone was purchased from your hands and the previous owner did not untie the account, it will not be possible to unlock it without proof of purchase.

πŸ’‘

Before reset, check if the phone is tied to the Mi Account. If so, make sure you know the username and password, otherwise you risk getting a brick.

6. Alternative methods: bypassing through TWRP and editing files

For users with an unlocked bootloader and TWRP Recovery installed, it is possible to manually delete lock files.This method requires technical skills and is suitable for MIUI based on Android 10-14.

What you need:

  • πŸ”§ Unlocked bootloader (checked by the fastboot oem device-info command);
  • πŸ“± Established TWRP Recovery (version for your model);
  • πŸ’Ύ Backup copy of data (required!).

Instructions:

  1. Load to TWRP (clip the power + increase the volume);
  2. Go to Advanced β†’ File Manager
  3. Delete the following files: /data/system/locksettings.db (lock-screen); /data/system/locksettings.db-wal; /data/system/locksettings.db-shm; /data/data/com.miui.guardprovider/shared_prefs/app_lock.xml (lock-in).

Reboot the phone.

Risks of the method:

  • 🚨 Incorrect deletion of files can lead to a cyclical reboot;
  • πŸ” On some firmware, files are restored after restarting;
  • πŸ“± The phone guarantee will be lost (if it was).

If the lock is still locked after deleting the files, try to perform additionally in TWRP:

adb shell


su




rm -rf /data/system/gesture.key




rm -rf /data/system/password.key




rm -rf /data/system/pattern.key




rm -rf /data/system/locksettings.db*

FAQ: Frequent questions about deleting passwords from Xiaomi apps

Can I remove the password from the application without resetting the data?
Yes, in most cases. Try methods through Mi Account, ADB or Safe Mode. Data reset is only required if the phone itself is locked (not a separate app) and there is no tied Xiaomi account.
What to do if you forget your Mi Account password?
Restore it through the official account.xiaomi.com. If a phone number or email is attached, follow the reset instructions. Without access to the mail / phone, you can not restore your account - contact Xiaomi with proof of purchase.
Does this work for POCO and Redmi?
Yes, all of these are relevant for POCO and Redmi, as they run on MIUI (or POCO Launcher with MIUI core), except for Android One models (like Mi A3), which do not have built-in application locking.
Can I get around the lock through a computer without ADB?
There are few options without ADB. Some users use programs like Dr.Fone or Tenorshare 4uKey, but they are paid and do not guarantee 100% results. Xiaomi is more reliable official methods through Mi Account or Safe Mode.
Why does the ADB lock come back after resetting?
This is due to the MIUI autorestore function.To avoid the problem: After pm clear com.miui.guardprovider command, immediately turn off the internet; Remove updates for the Security app in Settings β†’ Apps; Disable automatic app updates in Google Play.