Installing apps from unknown sources on Xiaomi smartphones is a topic that has raised questions among users, and on the one hand, it opens up access to programs that are not available on Google Play (for example, beta versions of games modified by Google Play). APK On the other hand, incorrect actions can expose the device to the risk of viruses or disrupt the operation of the device. MIUI. In this article, we will analyze not only the standard way to activate the option, but also the nuances for different versions of the shell, smartphone models (Redmi Note 12, POCO X5, Xiaomi 13T), We also tell you how to avoid common errors such as “Installation is blocked».
It is important to understand: installation permit APK They don't shut down the defense. MIUI The system still scans files for viruses through the built-in Security Scan, but the responsibility for security lies with you. APK From unreliable sources (torrents, suspicious sites), the risk of getting malware increases significantly. We recommend using only trusted platforms like APKMirror or official developer sites.
In this instruction you will find:
- 🔧 Step-by-step, the option for MIUI 14/15 (including hidden settings).
- 📱 Different Xiaomi models (for example, why you should use them) POCO F5 The menu looks different).
- ⚠️ Risk Warnings and How to Minimize Them.
- 🛠️ Solving errors like “Can’t install the package” or “App is not supported».
Why is Xiaomi blocking the installation from unknown sources?
By default. MIUI (Like any Android, it is forbidden to install APK-This is not to make life difficult for users, but to protect against the use of third-party files:
- 🦠 Malware: viruses, spies, advertising Trojans are often disguised as useful applications.
- 📉 Unstable System Performance: Poorly Optimized APK may cause lags or overheating.
- 🔒 Privacy Violations: Some apps collect data without the user’s knowledge.
- 📱 Conflicts with MIUI: For example, modified versions of system utilities can break the shell functionality.
But the lock is not absolute: Xiaomi allows you to manually allow installation for specific applications (such as a file manager or browser) rather than for the entire system, a flexible approach that reduces risk, but even with this limitation, there is a loophole for scammers: They can create fakes. APK, Simulating popular programs (such as WhatsApp or TikTok).
⚠️ Note: If you enable installation from unknown sources for your browser (e.g. Chrome or Mi Browser), any downloaded through it APK It's going to be installed without any further confirmation, and it's dangerous if you frequent questionable sites.
Interesting fact: in MIUI 15 (2026) Xiaomi tightens certification checks APK. Now the system can block the installation of even allowed files if their signature does not match the expected one, for example, modified versions of applications (Lucky Patcher, GBWhatsApp).
Standard method: how to turn on the installation APK Xiaomi
This is suitable for most devices on MIUI 12–15, including the Redmi Note 11/12, POCO X4/X5, Xiaomi 12/13/14. Important: The menu may look slightly different depending on the firmware version, but the logic remains the same.
- Open Settings (the gear icon on the home screen or in the application menu).
- Go to the Appendix section → Application management.
- In the upper right corner, press three dots (⋮) and select Special Access.
- Slip on the item Installation from unknown sources (in some versions – Install unknown applications).
- Select the application through which you plan to install APK. Usually: 📁 File Manager (e.g. Files by Google or built-in Mi File Manager). 🌐 Browser (Chrome, Mi Browser). 📥 File uploader (e.g. Xender or ShareIt).
Activate the switch Allow installation from this source. Confirm action in the pop-up window.
After that, you can install it. APK, Opening them through the selected application, for example, if you allowed the installation for Mi File Manager, then clicking on the downloaded one. APK In this manager will appear the button "Install».
Download. APK from a reliable source (check the hash file if possible)|
Check the version of MIUI in Settings → About Phone |
Allow installation for a specific application (not for everyone at once)|
Make a backup copy of the data (in case of failure)|
Turn it off. VPN/Proxies (they can block the verification of certificates)
-->
Features for different Xiaomi models
Despite the single shell MIUI, Some Xiaomi models have unique nuances when you turn on the installation APK. This is due to differences in firmware for different regions (global, Chinese, European versions) and hardware limitations.
| Xiaomi model | Features of inclusion | Typical problems |
|---|---|---|
| Redmi Note 10/11/12 | Standard Way through Settings → Annexes. MIUI 13+ Additional password/fingerprint confirmation may be required. | Error "Application is not supported" during installation APK Android 12+ on Android 11 devices. |
| POCO F3/F4/F5 | Special Access menu hidden deeper: Settings → System system → Additionally. → Special access. | Blocking of modified installation APK (YouTube Vanced due to strict signature verification. |
| Xiaomi 13/13 Pro/13T | V MIUI 14+ When you first turn on the option, the system offers to scan the device for viruses. | Requires confirmation through Xiaomi Account when installing system APK (For example, Google Camera). |
| Black Shark 4/5 | Additional item Game mode in the security settings, which can block the installation. | Conflicts with Shark Space (brand shell for gamers). |
On devices with Chinese firmware (for example, Xiaomi) 12S Ultra) the path to settings may be different due to the lack of Google services:
- Use the built-in Mi App Store to download APK.
- Allow installation through Settings → Memory. → Installation from unknown sources.
- If necessary, install Google Installer to access the Play Market.
Redmi Note 12/11|POCO X5/F5|Xiaomi 13/14|Black Shark|Another model|I don't know.
-->
How to avoid errors in installation APK Xiaomi
Even after you turn on the "Install from unknown sources" option, users often encounter errors. Let's look at the most common ones and how to solve them.
1. "Installation locked" or "Failure to install package"
This error occurs if:
- 🔐 APK It is designed for a different processor architecture (e.g, arm64 arm).
- 📋 File is corrupted or not fully downloaded.
- 🛡️ MIUI Blocks the installation due to the mismatch of the certificate (relevant to the MIUI 15).
Decision:
- Check compatibility. APK with your model on the developer's website.
- Download the file again (preferably via a stable Wi-Fi connection).
- Turn off Signature Checker in the developer settings (see the next section).
2. “Not installed” (without further explanation)
This most often means that:
- 📱 A newer version of this application is already installed on the device.
- 🔄 APK conflict with the system application (for example, trying to install an alternative launcher).
Solution: Remove the current version of the application through Settings → Apps or use ADB forced-installation:
adb install -r -t path/to/file.apk3. "This file type is not supported"
An error occurs when:
- 📄 The file is not APK (For example, it's a sliding-in-format.apk.zip).
- 🔧 In the file manager, the display of extensions is disabled.
Solution: Rename the file by adding the.apk extension, or use another manager (e.g. Solid Explorer).
⚠️ Attention: If during installation APK The system asks you to disable Play Protect, which is a sure sign that the file may be malicious. APK contain Trojans or spyware.
Additional settings for experienced users
If standard methods don't work, you can use advanced settings, which require developer mode activation and are designed for users who understand the risks.
1. Disabling signature verification APK
V MIUI 14/15 Added enhanced digital signature verification, which blocks the installation of modified applications to disable it:
- Activate Developer Mode: Go to Settings → About Phone and tap the MIUI version 7 times.
- Back to Settings → Additionally. → For developers.
- Find the item Disable signature verification MIUI (Verify apps over USB) and deactivate it.
- Reset the device.
Installation through ADB (systemic APK)
Some apps (like Google Camera for Xiaomi) require installation via the ADB, Because they modify the system files:
- Connect your smartphone to your PC and enable USB debugging in the developer settings.
- Open the command line (Windows) or terminal (macOS/Linux) and type:
adb devices
adb install path/to/file.apkFor forced installation on top of an existing application, use a flag -r:
adb install -r path/to/file.apkWhat if the ADB can’t see the device?
Installation permission for all sources (not recommended)
V MIUI 13 and older have a hidden command that allows you to turn on the installation APK It's a risky method, because it disables some of the protection. MIUI.
- Open the terminal on your smartphone (for example, via Termux).
- Enter the command:
settings put global install_non_market_apps 1To get it back, use:
settings put global install_non_market_apps 0⚠️ Attention: After completing this command MIUI will cease to request confirmation when installing any APK, Use it only as a last resort and cancel it after you have installed the right file.
How to protect Xiaomi after installing APK
Permission to install from unknown sources is like an open door to your smartphone, so to minimize risks, follow these rules:
- 🛡️ Install antivirus: Malwarebytes or Bitdefender is more effective than Xiaomi’s built-in Security Scan.
- 🔍 Check it out. APK Before installation: Use services like VirusTotal to analyze the file.
- 🔄 Update regularly MIUI: New versions close vulnerabilities exploited by viruses.
- 📱 Limit the rights of the installer: after installing the desired APK Turn off permission for the application through which the file was installed.
- 🔒 Use the sandbox: apps like Shelter or Island let you run questionable APK isolated.
Pay special attention to the permissions that the application you install requests. If the file manager or game requests access to SMS, Contacts or Administrator Rights, this is a reason to be wary. MIUI You can view permissions before installation:
- When you press on APK In the file manager, select Package Information (or Details).
- Scroll down to the permission section.
- If something is suspicious, cancel the installation.
💡
Before installation APK Create a recovery point in MIUI through settings → The phone. → Backup. It'll help roll back the system if something goes wrong.
Another useful tool is Google Play Protect, although it sometimes blocks legal ones. APK, It remains one of the most reliable ways to protect it:
- Open the Google Play Store.
- Slip on the profile avatar → Play Protect.
- Activate App Scanning and Improved Malware Search.
Alternative ways to install applications without risks
If you need to install an app that isn’t on Google Play, but you don’t want to enable installation from unknown sources, there are a few safe alternatives:
- 🌐 Web versions of applications: many services (e.g. Telegram, Spotify) have full-featured web versions that run in the browser.
- 📦 Alternative stores: APKMirror – checks all downloaded APK Aptoide - has a ratings and reviews system. Amazon Appstore - official store with moderate moderation.
- 🔄 Sideloading via Google Play: Some apps (like Fortnite) offer to install themselves through an official installer that is downloaded from the Play Market.
- 🖥️ Android Emulators: If you rarely need an app, you can run it on your PC via BlueStacks or Genymotion.
For enterprise users or those who need specific software (like F-Droid for open source), there is another option: virtual machines, applications like UserLAnd allow you to run an isolated version of Android inside the main system without risking infecting the device.
If you need to install Google Camera or another system application, consider using Magisk (root access).
- Install modules without conflicts with MIUI.
- Hide root from applications (such as banking).
- Automatically update modified APK.
However, remember: obtaining root rights voids the warranty and can lead to a device bribing if you do not act correctly.
💡
Before using alternative stores, check the reviews and rating of the application. Even in verified sources, malicious ones sometimes slip through. APK, popular-program.