Xiaomi Redmi 5 is one of the most popular budget smartphones of the brand, but its owners often face the problem of blocked applications. Did you forget the password from Application Protection in MIUI, bought the phone with your hands and do not know the combination, or did the system itself request the code after the update? In this article, we will analyze all the current ways to remove passwords β from standard shell functions to technical methods using ADB.
It's important to understand: MIUI (Xiaomi firmware uses multiple layers of protection. The password for the apps can be linked to the Mi Account account, a local one. PIN-We'll look at the options for each situation, including when the smartphone is not tied to an account, and you'll also learn how to avoid total data loss when resetting your settings.
If you are not sure of your technical skills, start with the simplest methods (sections 1β2). The methods with ADB or reset via Recovery will require more time and caution β these are the ones we put at the end of the article.
1. Removing password through MIUI settings (if the main PIN of the phone is known)
The safest way is to use built-in tools. MIUI, If you have access to the main lock screen, this method works even if you forgot the password specifically from the apps, but remember. PIN-unlock-code.
Instructions:
- π± Open the Settings. β Passwords and security β Application protection.
- π Enter the main one. PIN-Phone code (the one used to unlock the screen).
- ποΈ Click on the basket icon in the upper right corner or select Remove password.
- β Confirm Action β Protection will be disabled for all applications.
If this menu item is missing, your Redmi 5 is using an outdated MIUI (below MIUI 9) and the path will be different:
Settings β Additional β Privacy β Application Protectionβ οΈ Note: If after the entry PIN-When the system requested a password from Mi Account, it means that the previous owner has linked the device to his account.
2. password removal through application protection reset (without data loss)
If you don't remember neither PIN-No phone code, no app password, but the device is not tied to Mi Account, you can use a hidden reset feature. MIUI 8-12 and does not affect user data (photos, contacts, messages).
Sequence of action:
- Turn off your phone and press the Volume Up + Power buttons at the same time to log into Recovery Mode.
- From the recovery menu, select the language (if available) and go to Advanced β Wipe Dalvik Cache.
- Go back to the main menu and select Reboot β Reboot to System.
- After the reboot, go to Settings β Passwords & Security β Application Protection and try setting a new password (the old one should reset).
This works because MIUI stores some of the security settings in the cache, and cleaning it sometimes resets application protection but doesn't affect the underlying data. However, on firmware newer than MIUI 12.5, this method may not work, so move on to the next section.
Make sure your phone is at least 50 times charged%|Backup important data (just in case)|Remember or write down the username/password from Mi Account (if tied)|Check the version. MIUI at the Settings β The phone.-->
3 Unlock via Mi Account (if the phone is tied)
If you want to log in to Mi Account when you try to remove your password, it means that the previous owner has activated Find Device, which means that you can't get around the security without the data from your account, but there are two options:
| Method | Conditions | Risks. |
|---|---|---|
| Contact the previous owner | You have his contacts. | There are no risks if the owner agrees to untie the device |
| Calling for support for Xiaomi | There is a check or proof of purchase | The process can take 5-14 days. |
| Dumping through EDL-regime | Requires a PC and USB TypeC cable | Total data loss, risk of "brick" |
To appeal for Xiaomi support, prepare:
- π Check or Sale Contract (Serial Number Redmi 5).
- π§ The email address linked to your Mi Account (if any).
- π± IMEI Devices (you can find out via *#06# or on the box).
The link to the contact form: https://account.xiaomi.com/pass/forgetPassword (select "Device locked").
β οΈ Note: If you bought a Redmi 5 with your hands and canβt contact the previous owner, the only working way is to reset through the Redmi 5. EDL (However, this will result in a complete memory cleanup and may void the warranty.
4.Use ADB to remove password (for power users)
The Android Debug Bridge (ADB) method is suitable if you have access to your phone (screen unlocked), but the password from apps is not reset in the standard ways.This method requires a computer and basic command line knowledge.
Step-by-step:
- Download and install ADB Tools on PC.
- On Redmi 5, activate Developer Mode (7 times click on the MIUI version in Settings β About Phone).
- Enable USB debugging in Settings β Additional β For developers.
- Connect the phone to the PC and type in the command line:
adb shell pm uninstall -k --user 0 com.miui.guardprovider
adb shell pm clear com.miui.guardproviderThese commands will delete and reset the application settings "Application Protection" and after the phone restarts, the password will be removed. If the command does not work, try the alternative:
adb shell settings put secure lock_to_apps_enabled 0π‘
If ADB doesnβt recognize the device, install Xiaomi USB Driver drivers and check that the phone appears as Android ADB Interface in Windows Device Manager.
5.Severe reset via Recovery or EDL (extreme case)
If all previous methods failed, you can still reset your settings completely, and this is guaranteed to delete your password, but also erase all the data on your phone (photos, apps, settings). Redmi 5 has two options for resetting:
Method 1: Recovery Menu (saves unlocking the bootloader)
- π Turn off the phone and press the volume up. + Nutrition.
- π In the menu, select Wipe Data. β Wipe All Data (use volume buttons for navigation).
- β Confirm the action and wait for the reboot.
Method 2: Through EDL-Mode (if Mi Account is blocked)
This method requires special software (Mi Flash Tool) and firmware for Redmi 5, which is suitable if the phone is tied to someone else's Mi Account and other methods do not work.
Step-by-step instructions for EDL-regime
β οΈ Attention: Discharge through EDL This method can cause a device to "brick" if the wrong firmware is selected or the process is interrupted. Use this method only as a last resort and make sure that the cable is not in the right place. USB He did not detach during the firmware.
π‘
Before resetting via EDL, make sure you have a data backup and the correct firmware for the Redmi 5 model (codenamed rosy).A firmware mismatch will result in an SLA Auth error and lock the bootloader.
Alternative methods and prevention of problems
If none of these methods worked, consider the following options:
- π§ Flip-through TWRP: Install custom Recovery and sew the modified MIUI It requires an unlocked bootloader.
- π οΈ Contact the service center: Official centers Xiaomi can remove the lock on the purchase documents (cost) ~1500β3000 β½).
- π± Using the second device: If the password is tied to the Mi Account, log in to another Xiaomi phone and try to delete the device via Find Device.
To avoid such problems in the future:
- π Use one password for lock screen and app protection (but donβt keep it in notes on your phone!).
- π§ Link Redmi 5 to your Mi Account and enable two-factor authentication.
- π Regularly back up through Settings β Additionally. β Backup.
If you often forget passwords, consider alternative ways to protect yourself:
| Method | Pluses | Cons |
|---|---|---|
| Fingerprint. | Quick unlock. | Does not work if the scanner is damaged |
| Facial recognition | Convenient for everyday use | Less reliable than a PIN |
| Smart-blocking (by Bluetooth device) | Automatic Unlocking at Home/In the Car | Risk of data leakage when stealing phone and key device |