Smartphones Xiaomi, Redmi and POCO they work on the corporate shell MIUI, It's a security measure that prevents users from installing applications from unknown sources by default, but many owners are faced with the need to install the software. APK-manual files β whether they are alternative app stores, modified versions of programs or software that is not available on Google Play.
You can allow third-party apps to be installed on Xiaomi in a number of ways: through security settings, disabling MIUI checks, and in some cases even without unlocking the bootloader. In this article, we will discuss all the current methods for MIUI 14/15 (including HyperOS), take into account the features of different models and warn against typical errors that can lead to locking the device.
It is important to understand that the procedure differs depending on the firmware version and regional build, for example, on devices for the Chinese market (China ROM) restrictions are stricter than on global versions (Global ROM), and some methods may require unlocking the bootloader, which cancels the warranty and carries risks to data security.
If you plan to install apps outside of Google Play, be sure to check them for viruses with VirusTotal or MetaDefender. APK-Files may contain hidden threats, especially if downloaded from nomenclature sites.
Why is Xiaomi blocking APK installation?
The MIUI branded shell uses a multi-level protection system that includes:
1. Application Signature Verification β MIUI compares the APK digital signature to a database of trusted developers. If the signature is missing or does not match, the installation is blocked.
2 Malware Scanner β Mi Security Scanβs built-in antivirus analyzes files for threats even before installation begins.
3. kernel-level restrictions β on some firmware (especially Chinese) the lock is embedded in system files, and its circumvention requires superuser rights (root).
Xiaomi is also working with Google on Googleβs Play Protect program, which automatically scans all installed apps, and if the system detects a suspicious APK, it can not only block its installation, but also remove the already installed app.
β οΈ
Warning: On devices with China ROM (firmware for the Chinese market), trying to install APKs from an unknown source could lead to an automatic reboot and reset of security settings, due to Xiaomi's policy of complying with local cybersecurity laws.
Method 1: Installation resolution via MIUI settings
The easiest and safest method is to enable the Unknown Sources option in the settings, but in the latest versions of MIUI 14/15, this process has become more complicated: now you need to issue permissions separately for each application that will install the APK (for example, a file manager or a browser).
Instructions for MIUI 14/15 and HyperOS:
- Download. APK-file on the device (for example, through a browser or Telegram).
- Open a file manager (e.g. Files by Google or standard Mi File Manager).
- Find the APK you downloaded and try to open it, and the system will give you a warning: "Installation is blocked."
- Click on βSettingsβ in the warning window β this will redirect you to the Settings section β Applications β Special Access β Install unknown applications.
- Select the application you are trying to install the APK through (such as Chrome or Mi File Manager) and activate the βAllow installation from this sourceβ switch.
- Return to the APK file and try again.
If you still block the installation after this, try using another application to open the APK. For example, instead of Mi File Manager, use Solid Explorer or FX File Manager.
βοΈ Preparation for installation APK
Method 2: Disabling MIUI verification via ADB
If the standard method does not work (for example, in China) ROM or corporate devices, you can disable the check MIUI assisted ADB-This method does not require root rights, but it will require connecting the smartphone to the computer.
β οΈ
Warning: Disabling MIUI check reduces the security of the device. Once the commands are executed, the system will stop scanning the APK for viruses and signature authenticity. Use this method only if you are sure of the sources of the files being installed.
Steps to disable the check:
- Turn on the developer mode on your smartphone: Go to Settings β About Phone. Press 7 times on the MIUI version until the notification βYou are a developer!β appears.
USB-debugging
- Back to Settings β Additionally. β For developers.
- Turn on the "Debugging by USB" switch and confirm the action.
- Connect your smartphone to your PC, install it ADB-Drivers and execute the command: adb shell settings put global package_verifier_user_consent 1
- To completely disable the check MIUI Explain the following command: adb shell settings put global package_verifier_enable 0
- Reset the device.
After this, you can set the APK without locking, and to return the check back, follow the same commands by replacing 1 and 0 with 0 and 1 respectively.
π‘
If ADB doesnβt recognize the device, try reinstalling the drivers manually through Windows or using the Mi PC Suite to automatically configure.
Method 3: Unlock the bootloader (for advanced users)
On some Xiaomi devices (especially China) ROM) even ADB-The only radical method left is to unlock the bootloader unlock, which will allow custom recovery (TWRP) and disable the check MIUI system-level.
β οΈ
Note: Unlock bootloader: Cancels Xiaomi warranty. Leads to full data reset (wipe) May block some features (e.g. Mi Pay or Widevine) L1 viewable HD-Netflix content.Before the procedure, back up your data through Settings β Additionally. β Backup.
Step-by-step:
- Get permission to unlock: Go to Mi Unlock. Sign in with the same Mi Account that is linked to your smartphone. Fill out the form for the reason for unlocking (you can specify "To install GApps"). Wait for the SMS with the confirmation code (usually within 1-7 days).
- Prepare your PC: Download and install the Mi Unlock Tool. Install Xiaomi USB Drivers drivers.
Unlock the loader:
- Turn off your smartphone and press Volume Down + Power to log into Fastboot Mode.
- Connect the device to your PC and start the Mi Unlock Tool.
- Log in to the program and press "Unlock".
- Wait until the process is completed (usually 5-10 minutes).
Once unlocked, you can install TWRP and edit the system files that are responsible for checking APK. However, this method is recommended only for advanced users, since improper actions can lead to a βbrickβ (inoperability) of the device.
What to do if Mi Unlock Tool gives you a "Couldn't unlock" error
Method 4: Use of alternative app stores
If you donβt need to install a specific APK, but you need to access apps that arenβt available on Google Play, alternative stores are easier to use, and many of them already have MIUI permissions and offer proven software.
Popular stores for Xiaomi:
- π± APKMirror Installer - the official application from the APKMirror website, allows you to install APK signature-checking.
- π‘οΈ Aptoide β a decentralized store with a system of ratings and user reviews.
- π Aurora Store β an anonymous client for Google Play, allows you to download apps without a Google account.
- π F-Droid β an open source store with a focus on privacy.
To install any of these stores, first download their APKs from official sites (links above), and then allow installation through settings as described in Method 1.
Advantages of alternative stores:
- Automatic update of applications.
- Preliminary check of files for viruses.
- Access to regionally blocked applications.
Table: Compatibility of methods with MIUI versions
Not all methods work on all firmware, and here is a compatibility table for current versions of MIUI and HyperOS:
| Method | MIUI 12/13 | MIUI 14 | HyperOS (MIUI 15) | China ROM | You need a PC? |
|---|---|---|---|---|---|
| Resolution through settings | β Yes. | β Yes (by annexes) | β Yes (by annexes) | β No. | β No. |
| ADB-team | β Yes. | β Yes. | β Yes. | β οΈ Partially. | β Yes. |
| Unlocking the loader | β Yes. | β Yes. | β Yes. | β Yes. | β Yes. |
| Alternative shops | β Yes. | β Yes. | β Yes. | β No (blocked) | β No. |
| Root + Magisk | β Yes. | β Yes. | β οΈ Maybe. | β Yes. | β Yes. |
On devices with China ROM, after unlocking the bootloader, you may need to use Global ROM firmware for the full operation of Google services.
Common Mistakes and How to Avoid Them
When trying to install third-party applications, users often face the following problems:
- π« "Installation blocked by the administrator of the device" - occurs on corporate devices with MDM-Solution: contact the administrator or reset the device before the factory settings.
- π "Application not installed" without explanation of the reason - most often associated with damaged APK Check the integrity of the file and make room in the partition. /data.
- π‘οΈ "Mi Security has detected a threat, a false alarm of the antivirus. Try disabling Mi Security Scan in the settings or install it. APK through ADB: adb install path/to/file.apk
- π "Unknown code error -24" β Signature conflict: delete the previous version of the app and re-install.
If none of the methods worked, check:
- MIUI updates (sometimes bugs are fixed in new versions)
- Regional settings of the device (some firmware for India or the EU have additional restrictions).
- System File Integrity (can be checked through Settings β About Phone β System Check).
π‘
If the APK is not installed after all the manipulations, it is likely that the problem is in the file itself: download it again from another source or check for viruses through VirusTotal.