Xiaomi smartphone owners regularly face MIUI restrictions that block the installation of applications from unknown sources. Even after allowing APK installation in the security settings, the system can issue a warning “Installation locked” or “Security check failed” This is due to the built-in MIUI Security Check function, which analyzes the signature of the application and its origin.
In this article, we’ll break down 5 working ways to disable app verification on Xiaomi (including Redmi models, POCO and Black Shark) without loss of warranty. MIUI 12-14 is based on Android 11-14, but some of the instructions are universal for older versions. USB-cable and installed drivers ADB.
Why is Xiaomi blocking APK installation?
The MIUI app verification feature appeared as a response to the growing number of malware spread through third-party sources.
- 🔍 Digital signature APK — Compared to a trusted developer base.
- 📦 Download source – blocks files downloaded from the browser or messengers.
- 🛡️ Code behavior – detects suspicious permissions (e.g. access to a code) SMS geolocation).
- 🔄 Application version – may prohibit downgrade (installing the old version on top of the new version).
In practice, this means that even legal APKs (like Google Camera for POCO or modified YouTube Vanced) may not be installed.Blocking works when you try to update the app manually if its signature has changed.
⚠️ Warning: Disabling the check reduces protection against viruses. APK only from trusted sources (such as APKMirror or official developer sites).
In MIUI 14 on Android 13+, the system is even stricter: it can now block installation even after disabling the “Unknown Sources” option in the settings, due to the integration of Google Play Protect and Xiaomi’s own algorithms.
Method 1: Standard shutdown via security settings
The easiest method is to use built-in MIUI options, which works on most devices, but can be limited to new firmware.
Instructions:
- Open Settings → Applications → Application Management.
- Slip on the three dots in the top right corner and select "Special Access".
- Go to Install Unknown Applications (or Unknown Sources in English firmware).
- Select the application you plan to install APK through (such as File Manager or Chrome).
- Activate the “Allow installation from this source” switch.
If the installation is blocked after this action, try:
- 🔄 Reboot your smartphone.
- 📁 Move it APK-file in the Download folder (sometimes the system trusts files from this directory more).
- 🔧 Enable Developer Mode (7 taps by build number in Settings) → The phone).
⚠️ Note: Some models (e.g. Xiaomi 13 Ultra or Redmi Note 12 Pro)+) This method only works for APK If the file is modified, additional actions will be required.
Method 2: Disconnect via ADB (without root)
If the standard method does not work, use it. ADB-This is the official Android tool, which doesn't require superuser rights, but it requires minimal command line skills.
Step-by-step:
- Download Google’s Platform Tools and unpack the archive.
- Connect your smartphone to your PC, enable USB Debugging in Settings → For developers.
- Open the command prompt (cmd) in the folder with adb.exe.
- Enter the command to check the connection: adb devices must appear serial number of the device.
- Execute the deactivation command: adb shell settings put global package_verifier_user_consent 1
After the smartphone is restarted, the application check will be disabled. If you need to return protection, use:
adb shell settings put global package_verifier_user_consent 0Download Platform Tools from the official website |Enable debugging over USB on your phone |Connect your phone to your PC with the original cable |Confirm the connection with the adb devices | Make a backup of the data-->
Some firmware (e.g. MIUI 14 on Redmi K60) may require additional commands to:
adb shell pm uninstall --user 0 com.miui.securitycenter⚠️ Warning: This command removes the Security Center MIUI, This can cause some functions to fail (e.g., battery optimization or blocking spam calls.
Method 3: Using the Hidden MIUI Menu
Xiaomi hides some of the settings from ordinary users, but they can be activated through an engineering menu, which works on most devices, but the interface may differ.
Instructions:
- Open the phone app and enter the combination: ##4636##
- In the menu that appears, select “Phone Information” (or “Phone Information”).
- Scroll down to the Debugging block and find the Package Verifier option.
- Turn it off, reboot the device.
If the combination does not work, try the alternative codes:
- 📱 ##36446337## - Equipment testing menu (may contain security options).
- 🔐 ##7378423## - Service menu (on some models allows you to reset security settings).
What to do if the engineering menu does not open?
On MIUI EU firmware (European version), hidden menus are often disabled, in which case only ADB or Magisk (see Method 5) will help.
Method 4: Installation via TWRP (for advanced users)
If you use custom TWRP recovery, you can bypass Xiaomi’s check by directly installing APK through recovery, a method that is suitable for users with an unlocked bootloader.
Algorithm of action:
- Download. APK-file and move it to the phone memory (for example, in the /sdcard/Download).
- Turn off the device and press Volume up + Power to log into TWRP.
- In the main menu, select “Advanced → File Manager”.
- Go to the folder with the APK, select the file and click "Install".
- Confirm the swipe installation and restart.
Advantages of the method:
- ✅ Bypasses all restrictions MIUI, including MIUI Security Check.
- ✅ It works even on blocked firmware (if it is not used). TWRP fixed).
- ✅ Allows you to install system-based APK (For example, modified Google services).
⚠️ Attention: Installation through TWRP This may cause the application to fail if APK It's designed for another version of Android. Before you install it, check compatibility in the file description.
💡
If TWRP see APK-File, try moving it to the external SD-card (if supported) or use OTG-The file system format should be FAT32.
Method 5: Completely shut down via Magisk (root required)
For root-right users, the most reliable way to disable system-level verification is to install Magisk and Disable MIUI Optimization.
Step-by-step:
- Install Magisk Manager and get root access.
- Download the module. Disable_MIUI_Optimization.
- Install the module via Magisk and restart the device.
- Open Settings → Applications → Application Management and look for “Security Check” (com.miui.securitycenter).
- Stop the app and turn off all permissions.
Additionally, you can remove the system APKs responsible for checking:
- 🗑️ com.miui.securitycenter – Security Center.
- 🗑️ com.miui.guardprovider – Security Provider.
- 🗑️ com.xiaomi.midrop – file sharing service (sometimes blocked) APK).
Use Root Explorer or the command in ADB to remove:
adb shell
su
mount -o rw,remount /system
rm /system/priv-app/SecurityCenter/SecurityCenter.apk
reboot⚠️ Warning: Removing system applications may disrupt the work MIUI, including air updates (OTA). Before making changes, make a backup copy through TWRP Or OrangeFox.
Comparison of methods: which one to choose?
The choice of method depends on your Xiaomi model, MIUI version and risk-taking. Below is a table comparing the effectiveness and complexity of each method:
| Method | Difficulty | PC required | Root is required. | It's working on MIUI 14. | Risk to the system |
|---|---|---|---|---|---|
| Security settings | ⭐ | ❌ No. | ❌ No. | ⚠️ Partially. | ❌ No. |
| ADB-team | ⭐⭐ | ✅ Yes. | ❌ No. | ✅ Yes. | ⚠️ Medium. |
| Hidden menu | ⭐⭐ | ❌ No. | ❌ No. | ❌ No (on new firmware) | ❌ No. |
| Installation via TWRP | ⭐⭐⭐ | ❌ No. | ⚠️ I need to unlock. | ✅ Yes. | ⚠️ High-pitched |
| Magisk + Removal of System APKs | ⭐⭐⭐⭐ | ✅ Yes. | ✅ Yes. | ✅ Yes. | ❗ Very tall. |
For most users, the best solution is a combination of ADB + standard settings. If you are an experienced user and are willing to take risks, Magisk will give maximum freedom. New flagships (for example, Xiaomi 14) may require unlocking the bootloader.
💡
On MIUI 14 with Android 13+, the standard settings checkout disable only works for validly signed APKs. Modified files will require ADB or root.
Frequent mistakes and their solutions
Even after disabling the check, users face problems, and consider common errors and how to fix them:
1. “App not installed” error (App not installed)
- 🔹 Remove the previous version of the application (if it is already installed).
- 🔹 Check compatibility. APK with your version of Android.
- 🔹 Try to install through ADB: adb install path/to/file.apk
2.Warning: "This app may harm your device"
- 🔹 Turn off Google Play Protect in Google Play Settings.
- 🔹 Install. APK through ADB flag-headed -t (For test builds: adb install -t file
3. After restarting, the check is switched on again
- 🔹 It's typical of MIUI 13/14. Use it. ADB for permanent shutdown: adb shell cmd package install-unknown-sources com.android.packageinstaller 1
- 🔹 If it doesn’t work, install Magisk and the module. MIUI Unlocker.
4.The engineering menu is not working
- 🔹 On the firmware MIUI Global codes can be blocked. Try it. ADB.
- 🔹 Install an alternative dialer (like Google Phone) – sometimes this restores access to hidden menus.