Installing apps from unknown sources on Xiaomi smartphones is a topic that has raised questions among users, and is especially relevant for those who want to install them. APK-files not downloaded from Google Play or Mi App Store. MIUI Blocks such installations for security reasons, but the function can be manually activated.
Many people have a problem: they downloaded an APK, they try to install it, but the system gives an error: "Installation is blocked" or "Unknown sources are disabled." The reason is simple - Xiaomi (like other manufacturers) restricts the installation of third-party files to protect the device from malware. However, sometimes this limitation interferes with such things as when you need to install a beta version of an application, a modified client or a program that is not available in official stores.
In this article, we will discuss where the installation resolution is set from unknown sources on different versions of MIUI (12 to 14), what are the nuances for Redmi, POCO and Xiaomi models, and discuss the risks and precautions. If you are looking for a specific instruction for your firmware, click below to the relevant section.
Why is Xiaomi blocking APK installations from unknown sources?
Before we get to the settings, itβs important to understand why Xiaomi is putting such restrictions in place at all, not because itβs trying to make life harder for users, but because itβs protecting against malware.
- π‘οΈ Security of data: APK-Files from unverified sources may contain viruses, spyware, or Trojans that steal personal information.
- π Update control: Apps from Google Play or Mi App Store are updated automatically, while third-party apps are updated automatically. APK require manual control.
- π± Compatibility with MIUI: Some modified applications may conflict with the shell MIUI, causing malfunction or overheating of the device.
- π« Violation of Google Policy: Installing pirated or hacked versions of apps could result in Google account being blocked.
However, the lock is not absolute. Xiaomi gives users the ability to manually allow installation for specific sources (like the Chrome browser or file manager).Itβs a flexible approach: you donβt open the device to all unknown files, but only to those you trust.
β οΈ Warning: Allow installation from unknown sources for all applications (e.g., through setting For all files in older versions) MIUI) This option significantly increases the risk of infection of the device. Use this option only if you are fully confident in the source. APK.
If you downloaded an APK from a trusted location (like an official developer site or a trusted repository like APKMirror), the risks are minimal, but if the file is taken from a questionable forum or torrent tracker, you better refrain from installing it.
Where is the setup on Xiaomi with MIUI 14 (2023β2026)
In recent versions of MIUI 14 (and partly in MIUI 13), the security interface has changed. Now the path to allowing APK installation depends on which application is trying to install the file. For example, if you downloaded APK through Chrome, you need to give permission for Chrome.
The following steps are taken for MIUI 14:
- Open Settings (the gear icon on the main screen).
- Go to the Appendix section β Application management.
- In the top search bar, enter the name of the application you want to install APK through (e.g., Chrome, Files, Telegram).
- Slip the name of the application in the search results.
- Select the Permissions item β Installation of unknown applications.
- Activate the slider Allow from this source.
You can then go back to the APK you downloaded and try to re-install it, and if the file is intact and compatible with your version of Android, you can install it without any errors.
Download APK from a trusted source | Check the Android version (in Settings β About Phone) | Allow installation for a specific application | Disable VPN/proxy (can block installation) | Check the free space on the device (minimum 500 MB)
-->
On some devices (such as the POCO F5 or Xiaomi 13), the path may be slightly different. If App Management does not have Install Unknown Apps, try an alternative way:
- Open the Settings. β Confidentiality.
- Select Special Permits.
- Install Unknown Applications.
- Find the desired application in the list and allow installation.
π‘
If the APK is not installed after the installation permission, try clearing the cache and data of the Package Installer application (in Settings β Applications β Package Installer).
How to enable installation of Xiaomi with MIUI 12 or 13
In the firmware MIUI 12 and MIUI 13 (current for devices from 2020-2022, such as Redmi Note 10, Xiaomi Mi 11, POCO X3), the setting is different. There is no binding to a specific application - the resolution is given globally for all files or for certain types.
Instructions for MIUI 12/13:
- Go to Settings. β Confidentiality.
- Select Special Permits.
- Install Unknown Applications.
- Enable the slider for the desired source (e.g. Browser, File Manager, or For all files).
One important caveat: MIUI 12 has an All File option that allows APK installation from any source, and the riskiest option is to use it only if you are fully confident in the security of all files you install.
| MIUI version | The path to adjustment | Features |
|---|---|---|
| MIUI 14 | Settings β Applications β Application Management β [Application] β Permissions β Installation of Unknown Applications | Permission is given for each application separately |
| MIUI 13 | Settings β Privacy β Special Permits β Installation of Unknown Applications | You can select specific sources (browser, files, etc.) |
| MIUI 12 | Settings β Privacy β Special Permits β Installation of Unknown Applications | There is an option for all files (not recommended) |
| MIUI 11 and older | Settings β Additional β Privacy β Installation of unknown sources | Global Permit for All APKs |
If you have a device with MIUI 12 or older (e.g. Redmi Note 9, Xiaomi Mi 9) and you donβt see Special Permits, try an alternative route:
- Open the Settings. β Additionally.
- Choose Privacy.
- Activate the slider Unknown sources.
β οΈ Note: On some devices with MIUI 12 After you turn on the option All files may be alerted about the risks. Don't ignore it - better go back and select a specific application (e.g., Chrome only) to minimize the threats.
What to do if the setting is not working or not working?
Sometimes users are faced with a situation where the Installation of unknown applications is missing from the settings, or the slider is inactive.
- π Corporate Policy Limitations: If your device is linked to a work account (e.g., through Android Enterprise), the administrator may block this feature.
- π οΈ Modified firmware: On custom ROM (For example, LineageOS or Pixel Experience, the path to settings may be different.
- π± Regional restrictions: On some models for the Chinese market (with China firmware) ROM) option may be hidden.
- π System failure: Rarely, but it happens that after the update MIUI settings are reset or become inaccessible.
Solutions for each situation:
- π§ For corporate devices: Please refer to IT-Department for permission or use a personal smartphone.
- π² On custom firmware: Look for settings in Settings β Annexes β Application settings (βοΈ) β Special access β Installation of unknown applications.
- π¨π³ China. ROM: Install a global firmware (Global) ROM) or use ADB to unlock (instruction below).
- π After the failure: Reset the settings to factory (Settings) β The phone. β Reset settings) or update MIUI last-minute.
If none of these methods helped, you can use them. ADB-The team for the forced installation authorization:
- Turn on Developer Mode (7 times tap the MIUI version in Settings β About Phone).
- Activate Debugging by USB in Settings β Additional β For developers.
- Connect your phone to your PC and execute the command: adb shell settings put global install_non_market_apps 1
This command unlocks APK installation globally, but requires ADB and basic command line skills.
What if the ADB does not recognize the device?
Risks and precautions when installing APK
Allowing installations from unknown sources opens the door not only to useful applications but also to potential threats, and these are the main risks and ways to minimize them:
- π¦ Viruses and spyware: APK It may contain malicious code that steals data or displays ads. Solution: Install files only from trusted sources (APKMirror, official developer sites).
- π Personal data leak: Some modified apps (such as hacked versions of WhatsApp or Instagram) may share your messages with third parties Solution: Use original or open source alternatives.
- π΅ Incompatibility with MIUI: Third-party APK They may conflict with the shell, causing crashes, reboots or overheating.Solution: Before installing, check the reviews about compatibility with your Xiaomi model.
- π« Google account lock: Installing pirated or modified versions of apps (like Google Play Mod) can result in account bans.Solution: Don't use hacked versions of paid software.
Before installation, APK is recommended:
- Check the hash file (for example, via VirusTotal) for viruses.
- Make sure the source is reliable (official site, verified repository).
- Create a backup of data (Settings β About Phone β Backup).
- Disable AutoRun for the new application (Settings β Apps β [New App] β AutoRun).
β οΈ Attention: If after installation APK The device starts to slow down, warm up or show suspicious ads β immediately remove the application and check the system with an antivirus (for example, Malwarebytes or Dr.Web).
Official developer site |APKMirror|4PDA or other forums |Telegram channels |Other
-->
Frequent mistakes and their solutions
Even after allowing installation from unknown sources, users may encounter errors, and consider the most common and ways to fix them:
| Mistake. | Reason. | Decision |
|---|---|---|
| The installation is locked. | No permission is given for a specific application (e.g. Chrome) | Allow installation for this application in the settings (see section above) |
| File damaged. | APK not fully downloaded or modified | Upload the file and check its checksum (MD5) |
| Application not installed | Incompatible with Android version or processor architecture | Check the APK requirements (e.g. arm64 vs x86) |
| Lack of memory | On the device less than 200-300 MB of free space | Clear cache or delete unnecessary files |
| Packet analysis error | Conflict with the existing version of the application | Remove the old version before installing the new version |
If the APK is not set at all, try:
- π Reboot your device β sometimes helps to reset time constraints.
- π Move it APK In the internal memory (not in the SD-map).
- π οΈ Use another installer (for example, SAI β Split APK Installer for Separate Installation APK).
- π§ Disable Mi Protect (Settings) β Annexes β Application management β Mi Protect β Shut down).
If nothing helps, check if the installation is blocked by antivirus or Google Play Protect (Settings β Google β Security β Play Protect β Disable Scanning).
π‘
Always check the APK before installing it, and if an app requests access to SMS, contacts, or geolocation for no obvious reason, itβs a good idea to be wary.