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:
- 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:
- Download and install ADB Tools on PC.
- Turn on the smartphone debugging by USB (Settings β For developers).
- Connect the device to the computer and confirm the debugging permission.
- Open the command prompt (Windows) or terminal (macOS/Linux) in the folder with adb.exe.
- 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
- 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!
| Method | Need root? | Difficulty | Efficiency | Risks. |
|---|---|---|---|---|
| Permission for a separate application | β No. | βββ | Low (only for selected APK) | Minimum |
| Disabling the verification in the developer settings | β No. | βββ | Medium | Reduced security |
| ADB-team | β No. | βββ | Tall. | Total shutdown of protection |
| Deletion of Security Center | β Yes. | ββββ | Maximum | System 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:
- Download. APK-file.
- Rename the extension from.apk to.zip (e.g. app.apk β app.zip).
- Open the file through any archiver (RAR, ZArchiver).
- Remove the contents to a new folder.
- Find the classes.dex file inside and rename it back to app.apk.
- 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.apkThis 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.