Install applications from third-party sources on Xiaomi, Redmi and smartphones POCO blocked by default security system MIUI (This protects the device from malware, but at the same time limits the users who want to install. APK-files outside of Google Play โ be it beta, modified apps or software from alternative stores.
In this article, you will find the most current ways to unlock for all modern firmware versions (including MIUI 14/15 and HyperOS), and learn how to avoid common errors like โInstallation lockedโ or โUnknown sourceโ.
Important: the procedure differs depending on the firmware version and device model. If your Xiaomi runs on HyperOS (released in 2026), some menu items may be called differently - we will specify these nuances separately.
Why Xiaomi is blocking APK installation and is it safe to disable it?
The MIUI/HyperOS system by default prohibits the installation of applications from unknown sources (.apk files) for three key reasons:
- ๐ก๏ธ Virus protection: More than 30% of Android malware spreads through fake malware APK (Kaspersky data for 2023).
- ๐ Ecosystem Control: Xiaomi is promoting its own app store GetApps, where all programs are moderated.
- โ๏ธ Compliance with licenses: Some APK (For example, modified games violate the terms of use of Google Play.
But blocking is a problem for power users, and you can't, for example,
- ๐ฑ Install the beta version of the application before the official release.
- ๐ฎ Run emulators or modified games (e.g., Genshin Impact with improved graphics).
- ๐ง Use specialized software for developers or testers.
โ ๏ธ Warning: Disabling protection increases the risk of infection of the device. APK-Files via VirusTotal before installation. especially carefully download files from torrent trackers or little-known sites.
If you are sure of the APK source, you can temporarily allow installation โ more on that.
Method 1: Applicable permission (recommended)
The safest method is to only give permission to the application you plan to install APK through, for example, if you download files through Chrome or Xiaomi Files, it is enough to allow installation only for them.
Instructions for MIUI 14/15 and HyperOS:
- Download. APK-file to the device (for example, in the Download folder).
- Open the file through Xiaomi Files or another manager.
- When you try to install, a pop-up will appear with a warning. Click Settings.
- Turn on the "Allow installation from this source" switch (name may vary).
- Return to the installation and confirm the action.
On HyperOS, the path might look like this:
Settings โ Applications โ Application Management โ [Select App] โ Permissions โ Install Unknown AppsOnce installed, it is recommended to disable this permission back to minimize risks.
Download the file from a verified source only
Check the APK hash amount (optional)
Enable permission for a specific application
Set and immediately disable permission
Check the application with antivirus after installation-->
Method 2: Global Disconnection of Protection (for power users)
If you have to install APKs often, you can completely disable the blocking of unknown sources, which works on all versions of MIUI and HyperOS, but you need to be careful.
Step-by-step:
- Open the settings on the device.
- Go to Applications โ Application Management โ Application Settings (the HyperOS path can be Applications โ Special Access โ Install Unknown Applications).
- Find the option "Installation from unknown sources" or "Special access".
- Activate the slider to enable the function.
- Confirm the action in the dialog window.
| Firmware version | The path to settings | Notes |
|---|---|---|
| MIUI 12-14 | Settings โ Privacy โ Special permissions โ Installation of unknown applications | It may be necessary to unlock the loader. |
| MIUI 15 | Settings โ Applications โ Application Management โ Application settings โ Installation from unknown sources | In some regions, the option is hidden. |
| HyperOS | Settings โ Applications โ Special access โ Installation of unknown applications | Confirmation required for PIN-code. |
โ ๏ธ Note: Some models (e.g. Xiaomi) 13T Pro or Redmi Note 12 Pro+) Global security shutdown may result in resetting security settings after rebooting.In this case, use Method 1 (application-specific resolution).
On HyperOS devices, after global resolution is activated, the system can request confirmation via SMS or email, an additional security measure introduced in 2026.
Method 3: Use ADB (for advanced users)
If standard methods donโt work (e.g. on enterprise or limited-enabled smartphones), you can unlock APK installation via Android Debug Bridge (ADB), which requires a PC connection.
What you need:
- ๐ฅ๏ธ Computer with installed Xiaomi and ADB-tools drivers.
- ๐ USB-cable (preferably original).
- ๐ฑ Included debugging by USB on a smartphone (Settings) โ The phone. โ Version. MIUI โ 7 times to unlock the developer menu, then Settings โ Additionally. โ For developers โ Debugging by USB).
Instructions:
- Connect your smartphone to your PC and confirm the debugging permission.
- Open the command line (Windows) or terminal (macOS/Linux) in the adb folder.
- Enter the command: adb shell settings put global install_non_market_apps 1
- Reset the device.
To return the lock, use the same command with 0 instead of 1.
What if the ADB canโt see the device?
Errors in APK installation and how to fix them
Even after unlocking, you may encounter errors, and here are the most common ways to solve them:
| Mistake. | Reason. | Decision |
|---|---|---|
| The installation is locked. | No permission has been granted for the installer application. | Use Method 1 of this article. |
| Application not installed | Damaged APK or incompatible with the Android version. | Download the file again or check for support for your OS version. |
| Not enough space. | The APK requires more memory than is available. | Clear the cache or install it on a memory card (if supported). |
| Packet analysis error | The APK is modified or signed incorrectly. | Try a different version of the file or check its integrity. |
If the error persists, try:
- ๐ Reset the device.
- ๐๏ธ Clear the cache of the Google Play Store and Google Play Services.
- ๐ฅ Install APK via another file manager (e.g. Solid Explorer).
The installation is locked.
Application not installed
Lack of memory
Packet analysis error
Other-->
How to check APK pre-installing viruses
Before installing any third-party APK, be sure to check it for viruses.
- ๐ VirusTotal: Download the file and wait for the analysis of 70+ antivirus.
- ๐ก๏ธ APK-Android scanners (such as Malwarebytes or Avast).
- ๐ Checking the hash amount: Compare SHA-256 file with official value (if any).
Signs of suspicious APK:
- ๐ฉ The file size is very different from the official version.
- ๐ฉ Requests excessive permissions (e.g. access to the SMS play-calls).
- ๐ฉ Installed through unofficial sources (telegram channels, torrents).
If you downloaded APK from a site like APKMirror or APKPure, check:
- The โVerifiedโ icon is next to the file.
- Matching the name of the package with the official one (for example, com.whatsapp for WhatsApp).
- Reviews from other users about the file.
๐ก
Before installing an APK, create a restore point in Settings โ System โ Backup. This will help roll back changes if the application damages the system.
Frequent questions about installing APK on Xiaomi
Can I install APK on Xiaomi without unlocking the bootloader?
Why did the permissions to install APK reset after the MIUI update?
Can I install APK on Xiaomi via Bluetooth or NFC?
How to remove the application installed through APK if it does not appear in the settings?
Will Google Play work after installing APKs from unknown sources?
๐ก
Always disable permission to install APKs after use, which will reduce the risk of accidental malware installation through phishing sites or ads.