The forgotten password from application protection on Xiaomi smartphones is one of the most common problems among MIUI users. App Lock (or "App Protection" in Russian firmware) reliably blocks access to instant messengers, gallery, banking programs and even system settings, but what to do if you do not remember the combination? Unlike unlocking the screen, where a reset via Mi Account helps, the solutions are less obvious here.
In this article, we will discuss 5 proven ways to unblock, from official methods using a Xiaomi account to technical workarounds through ADB and recovery mode. Importantly, not all methods are universal โ their effectiveness depends on the version of MIUI (12, 13 or 14), the model of the smartphone (Redmi Note 12, POCO X5, Mi 11, etc.) and type of protection (password, pattern lock or fingerprint).
1 Unlocking through Mi Account (official method)
The safest method is to use a Xiaomi account that works if:
- ๐ฑ Smartphone connected to the Internet (Wi-Fi or mobile network).
- ๐ You remember the username and password from Mi Account (or you can restore them).
- ๐ Find Device is activated in the settings.
Instructions:
- Go to account.xiaomi.com and log in.
- Select the Find Device tab.
- Click on the locked smartphone in the list of devices.
- In the menu, select Unlock Screen.
- Confirm the action via SMS or email.
โ ๏ธ Note: This method will only work if application protection is tied to the main lock screen. If the App Lock is installed separately (for example, via Second Space), other methods will be required.
2. Reset the App Lock password via settings (for MIUI 14 and later)
In the latest versions of MIUI 14, developers have added a built-in password reset feature, App Lock, which is available if:
- ๐ On the smartphone installed PIN-code or pattern lock for the main lock screen.
- ๐ฒ You have access to the settings menu (even if individual apps are blocked).
Step-by-step:
- Open Settings โ Applications โ Application Protection.
- In the upper right corner, press three dots (โฎ) and select Forgot the password?.
- Enter. PIN-lock-screen code or pattern lock.
- Follow the instructions for creating a new password for App Lock.
๐ก If the item "Forgot your password?" is not, update the firmware to the latest version MIUI 14 or higher. Go to Settings for that. โ The phone. โ Updating the system.
โ๏ธ Preparation for resetting the password App Lock
3. Delete password through ADB (for advanced users)
If the official methods do not work, you can use Android Debug Bridge (ADB) โ Android debugging tool. This method requires the Debugging Mode enabled. USB and computer access. โ ๏ธ Attention: Wrong commands ADB It can cause data loss or system failure.
Instructions:
- Download and install ADB Tools on PC.
- Connect your smartphone to your computer through USB-cable (use the original cable!).
- Enable USB Debugging in the Developer Settings โ About Phone โ MIUI Version โ Press 7 times, then go back to Additional Settings โ For Developers.
- Open the command line (Windows) or terminal (macOS/Linux) and type:
adb shell
su
rm /data/system/locksettings.db
rm /data/system/locksettings.db-wal
rm /data/system/locksettings.db-shm
rebootAfter the reboot, the App Lock password will be reset.If the su command does not work, root rights will be required that void the warranty.
What if the ADB canโt see the device?
4. Unlock through Second Space (if the function is active)
The Second Space feature in MIUI allows you to create an isolated environment with separate apps and settings. If you forgot the App Lock password in the main space, but you have Second Space set up, you can try bypassing the lock through it.
Algorithm of action:
- Switch to Second Space (swipe down the lock screen โ user icon โ select second space).
- If Second Space doesnโt have App Lock protection, open the app from there.
- Copy important data (photos, messages) to the cloud or to a memory card.
- Return to the main space and reset your password through Mi Account or ADB.
โ ๏ธ Note: If Second Space is also password protected, this method will not work, in which case only hard reset remains (see next section).
5 Hard Reset - a last resort
If no method has worked, you can reset your settings completely through Recovery Mode, which will delete all data on your device, including App Lock passwords, accounts and files, and only use this method if:
- ๐ต There is no important data on your smartphone (or it is synced to the cloud).
- ๐ง Other Unlocking Methods Have Not Worked.
- ๐ฆ You have a backup (for example, in Mi Cloud or on PC).
Instructions for discharge:
- Turn off your smartphone.
- Press the Power + Volume buttons up for 10-15 seconds at the same time until the Mi logo appears.
- In the Recovery Mode menu, select Wipe Data (use volume buttons for navigation, power button for confirmation).
- Confirm the reset by selecting Wipe All Data.
- Once completed, select Reboot to reboot.
| Xiaomi model | Combination of buttons for Recovery | Notes |
|---|---|---|
| Redmi Note 10/11/12 | Food + Volume up | Keep until the menu with the android robot appears. |
| POCO X3/X4/X5 | Food + Volume up | On some versions, you first need to pinch the Volume up, then Power. |
| Mi 11/12/13 | Food + Volume up | If it doesnโt work, try connecting the charger before resetting. |
| Redmi 9/9A/9C | Food + Volume up + Volume down | On older models, a three-button combination may be required. |
๐ก
Before reset, remove the memory card (microSD) and SIM-card โ this will speed up the process and save data on external media.
6.Restore access through Xiaomi Service Center
If you are unsure of your technical skills or are afraid of losing data, contact the official Xiaomi service center.
- ๐ Checks or warranty card (proof of possession of the device).
- ๐ Passport or other identity document.
- ๐ You may need to provide information from your Mi Account.
The cost of the service varies from 500 to 2000 rubles depending on the model and the complexity of the lock. In some cases, the service center may offer to save data before the reset, but this is not guaranteed.
๐ How to Find the Nearest Service Center?
- Go to the Xiaomi support website.
- Enter your city or allow geolocation.
- Select a center marked Authorized.
๐ก
Official service is the only legal way to unlock without the risk of damaging the device or losing the warranty.