How to turn off application protection on Xiaomi: the complete guide to MIUI 12, 13 and 14

Why Xiaomi is blocking app installations and how to fix it

Xiaomi smartphones based on firmware MIUI Known for their aggressive approach to security: the system by default blocks the installation APK-It scans applications for viruses and can even remove "suspicious" software without the user's knowledge. For most, it’s a plus, but what if you need to install an app outside of Google Play – like a beta, modified client, or enterprise software?

In this article, we will analyze all ways to disable application protection on Xiaomi, including hidden MIUI settings, bypassing restrictions through ADB and solutions for cases when the system stubbornly prevents you from installing APK. Relevant for models Redmi Note 10/11/12, POCO F3/F4/F5, Xiaomi 12/13/14 and other devices on MIUI 12-14 (including global and Chinese versions).

⚠️ Important: Disabling the protection reduces the security of the device. APK only from trusted sources (official developers' sites, APKMirror, GitHub).

Method 1: Allowing installation from unknown sources

The easiest method is to enable manual installation of APK for a particular browser or file manager, which works on all versions of MIUI, but has a limitation: the permission is valid only for the selected application (for example, Chrome or Files).

Instructions:

  • πŸ“± Open the Settings. β†’ Annexes β†’ Application management.
  • πŸ” Find the application through which you are trying to install. APK (For example, the browser or the conductor).
  • πŸ”’ Put it on him. β†’ Permits β†’ Installation from unknown sources.
  • πŸ”„ Switch the slider to the "Allow" position".

If you don't have Install from unknown sources, your version of MIUI is hiding it. Go to Method 2.

Source of the file (official site or trusted repository)

File integrity (compare the MD5 hash if provided)

Presence of antivirus on the device (e.g. Google Play Protect)

- Application reviews on forums (4PDA, XDA Developers)

-->

Method 2: Disable MIUI verification through hidden settings

MIUI has a hidden developer section where you can turn off application security checks, which works on most devices, but requires developer mode pre-activation.

Steps:

  1. Activate Developer Mode: Go to Settings β†’ About Phone. 7 times tap on the MIUI Version (you will receive a notification "You became a developer!").

Settings β†’ Additional β†’ For Developers

Disable MIUI check

Verify apps over USB

deactivate it

Reset the device.

⚠️ Attention: on some models (POCO X3 Pro, Redmi K40) This item may not be available. In this case, use Method 3 s. ADB.

MIUI 12|MIUI 13|MIUI 14|Other (specify in the comments)|I don't know-->

Method 3: Disable protection via ADB (for power users)

If previous methods have failed, the most reliable way is to disable the protection via Android Debug Bridge (ADB), which requires connecting the smartphone to the computer, but is guaranteed to work even on blocked firmware.

Step-by-step:

  1. Download and install ADB Tools on PC.
  2. Turn on the smartphone debugging by USB (Settings β†’ For developers).
  3. Connect the device to the computer and confirm the debugging permission.
  4. Open the command prompt (Windows) or terminal (macOS/Linux) in the folder with adb.exe.
  5. Enter the command: adb shell settings put global install_non_market_apps 1 To disable security check: adb shell settings put global package_verifier_user_consent 1
  6. Reboot your smartphone.

⚠️ Warning: After that, not only will virus protection be lost, but also the functions of Optimization, garbage cleanup and traffic control. MIUI β€” Take a backup before removing!

MethodNeed root?DifficultyEfficiencyRisks.
Permission for a separate application❌ No.β­β­β˜†Low (only for selected APK)Minimum
Disabling the verification in the developer settings❌ No.β­β­β˜†MediumReduced security
ADB-team❌ No.⭐⭐⭐Tall.Total shutdown of protection
Deletion of Security Centerβœ… Yes.⭐⭐⭐⭐MaximumSystem failures, loss of functions

Method 5: Bypass locking through the archiver (for persistent APKs)

Sometimes MIUI blocks the installation even after all protections are disabled, and then the trick of renaming the file extension will help:

Algorithm:

  1. Download. APK-file.
  2. Rename the extension from.apk to.zip (e.g. app.apk β†’ app.zip).
  3. Open the file through any archiver (RAR, ZArchiver).
  4. Remove the contents to a new folder.
  5. Find the classes.dex file inside and rename it back to app.apk.
  6. Try to install the received file.

This method works in ~60% of cases when Xiaomi stubbornly refuses to install modified APKs (e.g. Lucky Patcher or Freedom).

πŸ’‘

If the APK still does not install, try to download it via Telegram or Discord – sometimes MIUI blocks files downloaded through the browser, but lets them from messengers.

Addressing common mistakes

Even after the security is turned off, users are faced with errors like "Application not installed" or "Patchet parsing failed."

  • 🚫 "Installation blocked by security policy": Check if Installation from unknown sources is enabled for the application being used. If installation through Files does not work, try using the Browser or Telegram.
  • πŸ”§ "APK Download the file again, it may not have fully loaded (MD5/SHA-1) developer's website.
  • πŸ“± "The app does not support your device: Make sure APK Compatible with the processor architecture (arm64, armeabi-v7a). Try to find a version. APK Android 10/11/12 (depending on your firmware).

If the error persists, try installing the APK via ADB command:

adb install path/to/file.apk

This bypasses the limitations of MIUI at the system level.

πŸ’‘

On devices with MIUI 14 and later, some APKs may not be installed due to signature verification, in which case only a rollback to an older firmware version or using Magisk to modify system files will help.

FAQ: Frequent questions about disabling protection on Xiaomi

❓ Can I turn off application protection without root?
Yes, 90% of the time, there is enough permission for a separate application or ADB-Root is required only for complete removal of Security Center.
❓ Why does the protection turn on again after the reboot?
It's a feature. MIUI 13/14 β€” Some settings are reset. Solution: Repeat. ADB-You can use the commands after each reboot, or you can install Magisk and the module. MIUI Optimizations Remover.
❓ How to get protection back?
To enable protection: Disable Installation from unknown sources for all applications. ADB-Adb shell settings put global install_non_market_apps 0 Reset the device.
❓ Will the way to work with ADB on POCO?
Yes, devices. POCO (for example, POCO X4 Pro, POCO F5) They use the same firmware MIUI, So all the methods in the article are applicable. POCO global-hardware.
❓ Can the protection be permanently disabled?
No root, no. MIUI resets security settings periodically. Permanent shutdowns require: Install Magisk and Disable MIUI Optimization. Or flash custom recovery (TWRP) and remove SecurityCenter.apk manually.