How to remove application protection on Xiaomi Redmi Note 7: all working ways

Application protection on the Xiaomi Redmi Note 7 is a built-in MIUI feature designed to block access to system utilities and prevent unauthorized changes. However, it sometimes interferes: prevents APKs from being installed from unknown sources, restricts ADB work, or simply annoys with constant notifications about a โ€œprotected application.โ€ In this article, we will discuss all the current ways to disable it, from standard settings to advanced methods using debugging.

It's important to understand that disabling protection can affect your device's security, especially if you install applications from unverified sources, but if you need to, for example, run Titanium Backup, change system files through Root Explorer, or just get rid of intrusive alerts, our instructions will help you do this without the risk of bricking your smartphone, starting with the simplest methods and gradually moving on to the complex ones.

1. Disable protection through standard MIUI settings

The safest and most recommended way is to use built-in system options. On the Redmi Note 7 (and other devices with MIUI 10โ€“14), the path to protection settings may vary slightly, but the general logic remains.

Open the Settings. โ†’ Annexes โ†’ App management. In the upper right corner, click three dots (โ‹ฎ) and select Special Access. Find Application Protection (or Application Lock in some versions of firmware) here, and you'll see a list of protected utilities, uncheck the ones you want to unlock. To turn the feature off, turn the slider off. top-of-screen.

  • ๐Ÿ”น Pros of the method: does not require superuser rights, is safe for the system, reversible.
  • โš ๏ธ Cons: On some firmware, the option may be hidden or blocked (especially in regional versions). MIUI China).
  • ๐Ÿ“Œ Note: After disabling, restart the device โ€“ this will help avoid glitches with notifications.

โš ๏ธ Note: If in your version MIUI No Application Protection in Special Access, so the function is integrated into Security. โ†’ Memory and device โ†’ Security โ†’ Application protection.

๐Ÿ“Š Have you ever turned off application protection on Xiaomi?
Yeah, through the settings.
Yes, with ADB.
No, I haven't.
I don't know what that is.

2.Using the Developer Mode and ADB

If the standard method doesn't work, you'll have to plug in USB debugging and use ADB commands. This is universal for all versions of the Redmi Note 7 (including the Redmi Note 7 Pro), but requires a computer and minimal technical skills.

  1. Activate Developer Mode: Go to Settings โ†’ About Phone and 7 times click on the MIUI Version. a notification will appear "You became a developer".
  2. Return to Settings โ†’ Additional โ†’ For developers and enable USB debugging.
  3. Connect the smartphone to the PC, confirm access to debugging on the phone screen.
  4. Download ADB Tools (or use Minimal ADB and Fastboot).
  5. Open the command line in the folder with ADB and type: adb shell pm uninstall -k --user 0 com.miui.guardprovider adb shell pm disable-user --user 0 com.miui.guardprovider

These commands will remove and disable the application protection service for the current user. If you want to return it all back, use:

adb shell pm enable com.miui.guardprovider

โ˜‘๏ธ Preparation for work with ADB

Done: 0 / 4

โš ๏ธ Note: On some Redmi Note 7 firmware (especially Chinese ones), the pm uninstall command may not work due to limitations MIUI. In this case, try an alternative method through MIUI Optimized (see the next section).

3. Disconnection via MIUI Optimized (for power users)

MIUI Optimized (or MIUI Optimization) is responsible for many system limitations, including application protection, and disabling it may solve the problem, but it is a risky move, with glitchy animations, notifications and auto-brightness.

Connect your phone to a PC with ADB (as in the previous section) and execute the command:

adb shell settings put global miui_optimization_disabled 1

Then restart the device. To get it back, use:

adb shell settings put global miui_optimization_disabled 0
Shutdown effectPlusesCons
Application protection is offlineIt works on all versions of MIUI.Lags may appear in the system
Freedom of action increasesUnlock hidden settingsBattery optimization is impaired
The limitations on background processes disappearAutomation can be used (Tasker, MacroDroid)Battery discharges faster
What if after the MIUI Optimized phone is turned off, the phone brakes?
Adb shell settings put global settings miui_optimization_disabled 0 If you have any glitches, reset your settings through Settings. โ†’ System system โ†’ Resetting settings (without deleting data).

4. Manual removal of protection via TWRP (for hardened devices only)

If your Redmi Note 7 has a custom TWRP recap, you can delete the application protection system files, which require an unlocked bootloader and is potentially dangerous โ€“ wrong actions will lead to a bootloop.

Instructions:

  1. Boot to TWRP (hold Power + Volume up when the phone is off).
  2. Go to Advanced โ†’ File Manager.
  3. Delete files along the way: /system/priv-app/MiuiGuardProvider/system/app/MiuiGuardProvider (if any)

Wipe โ†’ Cache

โš ๏ธ Note: Before deleting files, make a backup through TWRP โ†’ Backup! If the phone doesn't boot after manipulation, restore the backup or run the stock firmware through Fastboot.

๐Ÿ’ก

If you are not sure about your actions, first try renaming the folder MiuiGuardProvider in the first place. MiuiGuardProvider_bak โ€” It will be easier to restore it.

5. Alternative methods: Magisk and Xposed

For root-right users, there are more flexible ways to manage application protection, one of which is using the Magisk module or the Xposed framework (for older versions of Android).

With Disable MIUI Protection (available in the Magisk repository), the process is simplified:

  1. Install Magisk and open the app.
  2. Go to the Modules โ†’ Download and find Disable MIUI Protection.
  3. Install the module and restart the device.

If none of these methods worked, check your firmware version. Some Chinese ROMs (like MIUI China Stable) have hard-wired application protection, and only switching to Global ROM or custom firmware like Pixel Experience will help.

โ“ Why Xiaomi has added application protection?
The feature was introduced to improve security by blocking access to system utilities that can be used to hack or install malware, and is part of Xiaomiโ€™s compliance policy with Google Play Protect.
โ“ Can I turn off the protection without a computer?
Yes, but only through standard settings (section 1) Methods with ADB, TWRP or Magisk require PC or root rights. On some firmware, resetting to factory settings helps, but this is a radical way.
โ“ Will the protection return after resetting the settings?
Yes, when you completely reset your Windows Data, all system settings return to factory settings, including application protection. To avoid this, turn off ADB protection before reset (Section 2).
โ“ Does the protection shutdown affect productivity?
Not by itself, but if you turn off MIUI Optimized (Section 3), you may have lags and increased battery consumption.
โ“ Can I turn off the protection on the blocked loader?
Yes, but only through standard settings or ADB (without deleting system files). Methods with TWRP or Magisk require unlocking the bootloader.