How to remove the password from the applications on Xiaomi Redmi 5: from simple methods to technical

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.

πŸ“Š How often do you use app protection on Xiaomi?
Constantly.
Banking applications only
Never turned it on.
I forgot it was on.

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:

  1. Turn off your phone and press the Volume Up + Power buttons at the same time to log into Recovery Mode.
  2. From the recovery menu, select the language (if available) and go to Advanced β†’ Wipe Dalvik Cache.
  3. Go back to the main menu and select Reboot β†’ Reboot to System.
  4. 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:

MethodConditionsRisks.
Contact the previous ownerYou have his contacts.There are no risks if the owner agrees to untie the device
Calling for support for XiaomiThere is a check or proof of purchaseThe process can take 5-14 days.
Dumping through EDL-regimeRequires a PC and USB TypeC cableTotal 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:

  1. Download and install ADB Tools on PC.
  2. On Redmi 5, activate Developer Mode (7 times click on the MIUI version in Settings β†’ About Phone).
  3. Enable USB debugging in Settings β†’ Additional β†’ For developers.
  4. 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.guardprovider

These 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
1. Download the firmware for Redmi 5 (for example, global_stable) site MIUI Downloads. 2. Install the Mi Flash Tool and Qualcomm Drivers HS-USB QDLoader 9008. 3. Turn off the phone, press the volume up. + Loudness down + Meals for food 10 Seconds – the screen should go out (this is a sign of entry into the EDL). 4. Connect your phone to your PC and run the firmware through the Mi Flash Tool (select Clean All option). 5. After completion (5–10 minutes) the phone will restart in factory condition.

⚠️ 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:

MethodPlusesCons
Fingerprint.Quick unlock.Does not work if the scanner is damaged
Facial recognitionConvenient for everyday useLess reliable than a PIN
Smart-blocking (by Bluetooth device)Automatic Unlocking at Home/In the CarRisk of data leakage when stealing phone and key device

FAQ: Frequent questions about deleting a password on Redmi 5

Can I remove my password from my phone if I don’t remember my phone’s PIN?
Yes, but only if the phone is not tied to Mi Account. Use the ADB method (section 4) or Recovery reset (section 5). If the device is linked to an account, you will need to contact the previous owner or make a reset via EDL (with loss of data).
After resetting via Recovery, the phone requires an old password.
This means that the phone has activated the post-reset data protection (FRP) feature, which can only be bypassed through the Mi Account to which the phone is attached, or by completely flashing it through EDL. If the phone is purchased from hand, contact the seller.
Will these methods work on the Redmi 5 Plus or Redmi 5A?
Yes, the instructions are suitable for all Redmi 5 series models (rosy – Redmi 5, vince – Redmi 5 Plus, riva – Redmi 5A) as they use the same firmware architecture. Except that the Redmi 5A may not have a Type-C connector, which will make it difficult to connect to a PC for ADB.
How to check if your phone is linked to your Mi Account?
Go to Settings β†’ Xiaomi Account. If it displays email and sync, the phone is tied. If the partition is empty or asks to log in, there are no bindings. You can also check the link through i.mi.com (Find the device section).
Can data be recovered after resetting via EDL?
No, a reset via EDL completely erases the phone's memory, including internal storage (/data).If you didn't have a backup, data cannot be recovered. Exception: if you used cloud redundancy (like Google Photos or Mi Cloud), some of the data can be returned after you set up the phone.