The forgotten password from apps on Xiaomi smartphones is one of the most common problems of MIUI users. The brand's security system offers several layers of protection, but what if you suddenly can't remember the combination to unlock Galery, Messages or Mi Video? Unlike screen locking, where you can use a fingerprint or pattern lock, application passwords require a separate approach.
In this article, we will discuss all the current ways to remove protection โ from standard methods through Mi Account to advanced techniques using ADB and recovery. It is important to understand that some methods can lead to loss of application data (for example, chats in Messages or media files in Galery), so we will specify the risks in advance. If you are using Xiaomi Redmi Note 12, POCO X5 or the flagship Xiaomi 13 series, the instructions will suit all devices on MIUI 12-14.
Before you start, check:
- ๐ Try entering possible password options (dates of birth, simple combinations like 1234 or 0000).
- ๐ฑ Make sure your device is on mobile internet or Wi-Fi โ some methods require a network connection.
- ๐ At least 30% battery charge โ interruption of the process can lead to failures.
1 Unlocking through Mi Account (official method)
The safest way to do this is to use a linked Mi Account, which works if:
- ๐ง The device is tied to a Xiaomi account (check Settings). โ Mi Account).
- ๐ Internet access (mobile or Wi-Fi).
- ๐ Remember the username and password from Mi Account.
Instructions:
- On the app lock screen, click Forgot Password? (or Forgot Password?).
- Select the recovery option through Mi Account.
- Enter the login (email or phone number) and password from the account.
- Confirm the action via SMS or email (if two-factor authentication is enabled).
- Create a new password for the application.
โ ๏ธ Note: If you have previously disabled sync with Mi Account or reset your device without detachment, this method will not work.
2. Reset password through MIUI settings (without data loss)
Some versions of MIUI 13-14 have a hidden option to reset application passwords through system settings, which does not require ADB or factory reset, but does not work on all devices.
Step-by-step:
- Open Settings โ Passwords and Security โ Application Protection.
- Enter the current lock screen password (PIN, pattern lock, or fingerprint).
- Find the Application Password Management (or App Lock Password) section.
- Click Reset password and confirm the action.
If this item is missing, your version of MIUI does not support the function, and the alternative is to use ADB (Section 4).
๐ก
Before resetting your password, check to see if you have any important data attached to your secure apps, such as Messages that may store unsaved chats and Notes that may store unencrypted notes.
3. Delete password through Safe Mode (Security Mode)
Safe Mode is a diagnostic mode that disables all third-party applications, including the protection module Xiaomi.The method is suitable if the password is not set to system utilities (for example, Galery or Contacts), and on third-party programs like WhatsApp or Telegram.
How to activate Safe Mode:
- Turn off the device.
- Press the Power button before the Xiaomi logo appears.
- Once the logo appears, release the power button and immediately press Volume Down.
- Hold on until the bottom left corner says Safe mode.
In this mode:
- ๐ Password from applications will be temporarily removed.
- ๐ฑ Open the secure application and change/delete the password in its settings.
- โ ๏ธ Not all Xiaomi system apps are unlocked in Safe Mode.
To exit the mode, simply restart the device.
4.Use of ADB to reset password (advanced method)
If previous methods didnโt work, you can use Android Debug Bridge (ADB), a tool for debugging Android devices, which requires USB debugging and access to your computer.
โ ๏ธ Attention: Misuse of the right ADB This may cause a system failure. Follow the instructions carefully.
Steps:
- Turn on USB Debugging: Go to Settings โ About Phone โ MIUI Version. Click on MIUI 7 times until the message You are a developer!. Return to Settings โ Additional โ Developer and activate Debugging over USB.
Connect the device to the PC and confirm trust in the computer.
ADB Tools
cmd
ADB
adb shell pm clear com.miui.guardproviderThis command will reset the application protection settings.
Reset the device.
After rebooting, the password will be deleted from the apps. If the command does not work, try the alternative:
adb shell settings delete secure app_lock_passwordDebugging is on. USB|The device is connected to the PC|ADB Tools downloaded and unpacked|Backup copy of data created-->
5. Reset to factory settings (last resort)
If none of these things work, you'll have to completely reset the device, and this method will delete all the data, including the application passwords, but it'll also be deleted.
- ๐ธ Photos and videos (if not saved in the cloud).
- ๐ฌ Messages and chats.
- ๐ฑ Installed applications and their settings.
How to reset Xiaomi to factory settings:
- Go to Settings โ About the phone โ Reset settings.
- Choose to erase all data.
- Enter the lock screen password (if required).
- Confirm the action.
Alternative method (if the device is locked):
- Turn off your smartphone.
- Press Power + Volume Up to Enter Recovery Mode.
- Select Wipe Data โ Wipe All Data (Manage Volume and Power buttons).
- Confirm the reset.
โ ๏ธ Note: After the reset, the device will require data from the Mi Account if the account was previously linked!
What to do if you need an old Mi Account after a reset?
6. Alternative methods and warnings
If standard methods fail, users often resort to informal solutions, and we will list them with the following risks:
| Method | Description | Risks. |
|---|---|---|
| Firmware through Fastboot | Install a clean MIUI firmware through the Mi Flash Tool. | Data loss, possible device blink. |
| Use of third-party utilities (for example, Mi Account Unlock Tool) | Software to bypass Mi Account protection. | VirusTotal often detects tools such as malware, a high risk of data theft. |
| Contacting the service center | Official repairs with proof of purchase. | Paid service, possible refusal in the absence of a check. |
โ ๏ธ Note: Using unofficial firmware or utilities to unlock may lead to:
- ๐ซ Loss of warranty.
- ๐ Locking the device via Mi Cloud.
- ๐ป Security vulnerabilities (if the firmware is modified).
๐ก
Official methods (Mi Account, ADB, Safe Mode) are safer than informal solutions and do not deprive you of warranty.