How to remove application protection on Xiaomi: all ways to MIUI 14/15

Application protection in Xiaomi smartphones is a built-in MIUI security mechanism that blocks access to system functions, configuration changes, and even the launch of certain programs. Most often users encounter messages like “This application is protected”, “No system settings are allowed”, or “OEM needs to be unlocked”. The reasons for this protection are diverse, from firmware updates to Xiaomi’s security policy aimed at combating malware.

In this article, we’ll look at 5 proven ways to unprotect, from simple menu settings to advanced ADB and USB debugging techniques. Importantly, not all methods are universal — their effectiveness depends on the MIUI version (12/13/14/15), the smartphone model (Redmi Note 12, POCO X5, Mi 11, etc.) and the bootloader unlock status. If you’re a beginner, start with the first two methods — they don’t require technical skills. Advanced users will need ADB sections and modification of system files.

1. disable MIUI optimization (the easiest way)

Since MIUI 12, Xiaomi has implemented the “MIUI Optimized” feature, which automatically blocks access to certain system settings, and disabling this option often solves the application protection problem, especially when it comes to:

  • 🔧 Changes to Developer Settings (Developer Options) → Debugging by USB)
  • 📱 Installation APK from unknown sources (Settings) → Annexes → Special access rights)
  • 🔄 Launch tools like Greenify or App Ops

To deactivate optimization:

  1. Open the Settings. → The phone.
  2. Tap 7 times on the MIUI version to activate the developer mode.
  3. Return to the main settings menu and select Additional settings → Developer Options.
  4. Find the “MIUI Optimized” switch (or “Enhanced Performance” in older versions) and turn it off.
  5. Reset the device.

💡

If the option “MIUI Optimized” is not on the menu, upgrade to the latest version of the firmware or try the method with ADB (section 4).

⚠️ Note: On some models (POCO F4, Redmi K50) When you turn off this option, you may experience lags in animations, in which case, return the setting to its original state and move on to the next method.

2. Permission of installation from unknown sources

If the protection is activated when you try to install APK-file (e.g. modified application or unlock utility), the problem lies in the limitations MIUI Even if you have enabled the “Installation from Unknown Sources” option in your security settings, some applications require individual permission.

How to check and configure:

  1. Go to Settings → Applications → Application Management.
  2. Select the application you are trying to install APK through (such as File Manager or Chrome).
  3. Slip on the item "Installation from unknown sources" and activate the resolution.
  4. Repeat the action for all applications that you use to install files.

Selected the correct application in the settings|Toggle switch "Installation from unknown sources" is activated"|Verified rights for file manager|Reboot the device after changes-->

🔹 Exception: On devices with MIUI 14+ Google Chrome and Firefox may require additional confirmation via Google Chrome ADB (If after all the manipulations the installation is blocked, try:

  • 📁 Use another file manager (e.g. Solid Explorer).
  • 🔄 Rename APK-file in.zip and then back.
  • 🌐 Download a file via another browser (e.g. Kiwi Browser).

3. Resetting of access rights to applications

Sometimes protection works due to a conflict of permissions between system and user applications, for example, after updating MIUI or resetting settings, some programs may lose access to critical functions (camera, microphone, storage), in which case resetting all permissions to factory ones helps.

Instructions:

  1. Open Settings → Applications → Application Management.
  2. Click on the three dots in the top right corner and select Reset Application Permissions.
  3. Confirm the action and restart the phone.
Xiaomi modelMIUI versionIs ADB required after resetting?
Redmi Note 11/1213–14No.
POCO X4/X514+Yes (for system applications)
Mi 11/1212–13No.
Redmi K40/K5014Sometimes.

⚠️ Note: After resetting permissions, some applications (such as WhatsApp or Banking clients) may request access to contacts, storage and geolocation again.

MIUI 12|MIUI 13|MIUI 14|MIUI 15 (Global/China) |I don't know-->

4.Use of ADB to remove protection

If previous methods fail, you will need to connect to the device via ADB (Android Debug Bridge), which is suitable for:

  • 🔓 Unlock system applications (e.g. com.miui.securitycenter).
  • 📱 Installations APK without limitations (adb install command).
  • 🛠️ Debugging enabled for blocked functions.

Procedure:

  1. Download and install Platform Tools (the official tool from Google).
  2. Activate USB Debugging in Settings → Developer Options.
  3. Connect the phone to the PC and type in the command line:
adb devices

(Your device should be displayed).

adb shell pm uninstall -k --user 0 com.miui.analytics

(Remove Xiaomi analytics that may block access)

adb shell settings put global hidden_api_policy 1

(Unlocks hidden APIs required for some applications)

Critical! On MIUI 14+, you need to manually restart the device (power button) after performing ADB commands, otherwise the changes will not apply. Also note that certain commands (for example, removing system applications) can lead to unstable phone operation.

List of dangerous ADB-teaming
Do not execute these commands without backing up: adb shell pm uninstall --user 0 com.android.vending (deletes Google Play) adb shell pm disable-user com.miui.securitycenter (disables security center, virus risk!) adb shell su (requires, can lock the device)

5 Unlocking the bootloader (Bootloader)

If the application protection is related to the message "OEM Required to Unlock" or "Device Locked," the problem lies in the bootloader. Xiaomi blocks it by default, which restricts access to system files. Unblocking in an official way requires:

  • 📅 Expectations 7-15 days (device account link).
  • 🔑 Use the Mi Unlock Tool Tool.
  • 💻 Windows computer (not officially supported) macOS/Linux).

Step-by-step:

  1. Link your Mi Account to your phone in Settings → Xiaomi account.
  2. Go to Settings → Developer Options and activate “OEM Unlock” and “USB Debugging”.
  3. Download Mi Unlock Tool and log in to the program.
  4. Connect your phone in Fastboot mode (clip Power + Volume down when the device is off).
  5. Follow the instructions in the Mi Unlock Tool (it may take several attempts).

⚠️ Attention: Unlocking the bootloader resets all data on the device (POCO F3, Redmi K30 Pro) after unlocking stops working:

  • 📡 Widevine L1 (descend L3, The quality of streaming in Netflix/Disney+).
  • 🔒 Some banking applications (Sberbank, Tinkoff).
  • 📱 Find My Device and Mi Cloud.

💡

Unlocking the bootloader is an extreme method. Before the procedure, back up your download via Mi PC Suite or Google Drive, as all data will be erased.

6. Alternative methods (without root)

If none of these methods helped, try the workarounds:

Method 1: Using Magisk (without unlocking the bootloader)

On some devices (POCO X3, Redmi Note 10) you can install Magisk via boot.img patch without fully unlocking.

  • 🔓 Bypassing restrictions MIUI system-based.
  • 📱 Install modules to modify OS behavior (e.g. App Systemizer).

Instructions:

  1. Download the original boot.img for your firmware (can be extracted from fastboot-ROM).
  2. Install Magisk Manager and upload boot.img to the patching app.
  3. Sweep the patch boot.img through fastboot:
fastboot flash boot magisk_patched.img


fastboot reboot

Method 2: Installation of custom Recovery (TWRP)

For models with unlocked bootloader (Mi 9, Redmi K20 Pro) you can flash TWRP and through it:

  • 🔧 Edit system files (/system/build.prop).
  • 📁 Remove secure applications (com.miui.daemon, com.xiaomi.mipicks).

⚠️ Note: Installation of custom recavery on MIUI 14+ may result in a blink (undownloadability) due to signature verification AVB 2.0. Before the firmware TWRP Make sure that your model has an up-to-date version that supports dm-verity.

FAQ: Frequent questions about app protection in Xiaomi

❓ Why After Updating MIUI Some apps have stopped working?
Reason: In the new versions MIUI 14/15 The system automatically blocks applications that: Use outdated ones. API (for example, Android 10 SDK Android 13). Request permissions not declared in the manifesto (e.g. access to android:sharedUserId) and have a modified signature (pirate or patched) APK). Solution: Check for updates for problematic apps or use ADB-sectional 4.
❓ Can I remove the protection without a computer?
Yes, but the options are limited. Without a PC, you can: Disable MIUI Optimized (section 1); Reset application permissions (section 3); Use apps like App Ops (requires root or Shizuku); For deep changes (e.g., unlocking a bootloader or working with ADB), the computer is a must.
❓ Why Bank Apps Don't Work After Unlocking the bootloader?
Banking programs (Sberbank, VTB, Tinkoff) check SafetyNet status. Once the bootloader is unlocked, ctsProfile becomes false. basicIntegrity can remain true, but banks block access. Bypass: Install Magisk + Universal SafetyNet Fix module and hide the root using MagiskHide.
❓ How to Recover Application Protection After Experimentation?
If after the shutdown MIUI Optimized or Optimized Teams ADB The phone is unstable: Return the settings in the Developer Options to the original state. Follow the command: adb shell settings put global settings hidden_api_policy 0 For a complete reset, do a hard reset (but it will delete all data!).
❓ What Xiaomi models block applications most often?
According to user statistics, most problems occur on: POCO F3/F4 (due to aggressive MIUI optimization for POCO); Redmi Note 11/12 (camera and microphone restrictions for third-party applications); Mi 11 Ultra (blocking changes in build.prop); Devices for the Chinese market (China ROM) - there protection is stricter due to local regulations.