Installing apps from third-party sources on Xiaomi smartphones is a challenge faced by every second MIUI user. Despite the fact that Google Play offers millions of programs, sometimes you need to install a.apk file manually: whether it is a beta version of the application, specialized software for work or a game that is not available in your region.
In this article, we will not only look at where permissions to install from unknown sources are enabled in the latest versions of MIUI 14 and MIUI 15, but also nuances that even official instructions do not mention, such as why settings may reset after an update, how to add exceptions for specific applications (for example, File Manager or Chrome), and what to do if the βAllow Installationβ button is inactive, especially focusing on Redmi models, POCO and Xiaomi 13/14 flagships, where the interface may differ.
Important: The procedure is different from standard Android (where one resolution is enough in the security settings), as Xiaomi has added an additional layer of protection. If you previously tried to install an APK and received an error "Installation locked" or "Unknown source", the following steps will solve the problem.
Why is Xiaomi blocking the installation from unknown sources?
Banning.apk files from installing outside of Google Play is not a manufacturerβs whim, but part of Androidβs multi-layer security system. Xiaomi is strengthening this protection in MIUI for several reasons:
- π‘οΈ Malware protection: According to Kaspersky, 38% of mobile viruses were spread through fake malware in 2023 APK-files masquerading as popular games or utilities.
- π± Compliance with Google Policy: To Certify Devices for Google Mobile Services (GMS) Manufacturers are obliged to restrict installation from unknown sources.
- π Update control: Xiaomi aims to ensure users receive apps through official channels, where it is easier to track the relevance of versions.
- π° Monetizing the ecosystem: In some regions (e.g. China), Xiaomi is promoting its own Mi App Store, where blocking third-party sources reduces user leakage.
But the lock is not absolute: it allows you to selectively allow installation for specific applications (such as a file manager or browser), a trade-off between security and flexibility. But even here there are pitfalls: after the MIUI update, some resolutions can be reset, and on models with HyperOS (such as Xiaomi 14), the logic of the work has changed.
β οΈ Warning: By allowing installation from unknown sources, you are taking the risk of downloading malware. APK-Files via VirusTotal or similar services before installation.
Step-by-step: where the permission for Xiaomi is turned on (MIUI 14/15)
Unlike pure Android, where one switch is enough in the security settings, MIUI breaks the process down into two stages: global resolution and application-specific resolution. Letβs take both steps with the Redmi Note 12 and Xiaomi 13 Pro.
Step 1: Global resolution in security settings
This step activates the ability to install APKs in principle, but does not allow specific programs to do so.
- Open the settings (cog icon on the desktop).
- Go to the Appendix section β Application management.
- Select Special Permissions (on some models β Application Permissions).
- Click Installation from unknown sources.
- Activate the slider at the top of the screen ("Allow installation from unknown sources").
On HyperOS models (e.g. Xiaomi 14), the path may be different:
Settings β Applications β Application permissions β Package InstallationStep 2: Permission for a specific application
Now you need to specify which application will install the APK. This can be:
- π File Manager (if you download files directly to your phoneβs memory).
- π Chrome or Firefox (if downloaded) APK browser-wise).
- π₯ Downloads (standard application "Downloads").
- π Telegram or WhatsApp (if you get files through messengers).
Instructions:
- In the same Installation menu from unknown sources (see Step 1), select the desired application from the list.
- Activate the slider next to its name.
- Confirm the action in the dialog box by clicking Allow.
Download the file only from a verified source | Check the APK hash amount (optional) | Enable global resolution in settings | Grant permission to install a specific application (e.g. Chrome) | Make sure the phone has enough memory-->
After that, you can open it. APK-For example, if you have allowed installation for Chrome, when you try to open the downloaded.apk, the "Install" button will appear, not "Install locked" button".
π‘
If you donβt have the right app (like Solid Explorer) on the list, open it at least once and then it will appear in the permissions menu.
Features for different Xiaomi models
The MIUI interface varies by model and regional firmware, and the key differences for popular devices are below.
| Model/Series | MIUI/HyperOS version | The path to settings | Features |
|---|---|---|---|
| Redmi Note 11/12, POCO X4/X5 | MIUI 13/14 | Settings β Applications β Application Management β Special Permits | Some firmwares call the item "Package Installation" instead of "Unknown Sources". |
| Xiaomi 12/13, Mix 4 | MIUI 14 | Settings β Applications β Application permissions β Installation from unknown sources | After upgrading to MIUI 14.0.5+, you may need to restart the changes to apply. |
| Xiaomi 14, 14 Pro | HyperOS 1.0 | Settings β Applications β Application permissions β Package Installation | HyperOS does not have a global switch β permissions are only given for specific applications. |
| Redmi 10A, POCO M4 | MIUI 12.5 (Go Edition) | Settings β Privacy β Special permissions | On budget models, the menu is simplified, but the logic is the same. |
If your model is not in the table, use the universal method: type in the search bar settings (βοΈ β Search) query "Installation of unknowns" - the system itself will tell the current path.
β οΈ Note: On HyperOS devices (e.g. Xiaomi 14) after resetting or system updates, all installation permissions are available APK They're being reset. They're going to have to be reconfigured!
Frequent mistakes and their solutions
Even after you set it up properly, users are faced with problems, and let's look at typical scenarios and how to solve them.
1. the "Allow installation" button is inactive
If the slider in the settings is gray and does not respond to pressing, the reasons may be as follows:
- π Parental Controls: Check if it is included in Settings β Accounts and synchronization β Family security.
- π± User Profile: On some devices, guest or work profiles are not authorized to install APK.
- π οΈ Manufacturer restrictions: On models for the Chinese market (with firmware China) ROM) It may be necessary to unlock the loader.
2. "Installation locked" error despite permissions
If you have given all the rights, but when installing the message appears "Installation is blocked for security reasons", follow the following steps:
- Remove the old version of the app (if it has already been installed).
- Check that APK-The file is not damaged (try to download it again).
- Turn off Play Protect in Google Play: Play Store β Profile β Play Protect β Settings β App Scanning.
- If you use MIUI 15, try installing APK via ADB: adb install path/to/file.apk
3.After the MIUI update, the settings reset
This is a typical MIUI problem, and to avoid it in the future:
- π Backup permissions with Mi Mover or Titanium Backup (root rights required).
- π Before updating the system, take screenshots of the permissions menu - it is easier to restore the settings.
- π Use Automation (built-in) MIUI application) to create a rule that will remind you of setting permissions after the update.
What if the APK is not installed even after all the manipulations?
Security: How to Reduce Risks in APK Installation
By allowing installation from unknown sources, you open the door not only to useful programs, but also to potential threats.
- π Check the source: Download APK Only from official developer sites or trusted resources (APKMirror, APKPure.
- π‘οΈ Use antivirus: Install Malwarebytes or Bitdefender to scan files before installation.
- π Check hash amounts: Developers often post MD5 or SHA-1 Have hashes to verify file integrity. Use applications like Hash Droid to match.
- π Update regularly: In new versions MIUI Vulnerabilities used by malware are often closed.
- π± Restrict permissions: After installation APK Check what rights the application requests (c Settings) β Annexes β Permits).
On Xiaomi HyperOS models (such as the Xiaomi 14), the system automatically scans APKs installed for known threats through the Mi Security cloud service.
If you frequently install APKs from third-party sources, consider creating a separate user profile (Settings β System β Multiple Users) specifically for testing new programs.
Once a week or more |1-2 times a month |Only as a last resort | Never set |I find it difficult to answer-->
Alternative ways to install APK on Xiaomi
If the standard method doesnβt work or youβre looking for more convenient options, consider alternative approaches.
1. Installation via ADB (without MIUI permissions)
This method bypasses the limitations of MIUI, but requires a computer connection:
- Install ADB Tools on PC (download from the official website).
- Turn on USB Debugging on your phone: Settings β About Phone β MIUI Version (click 7 times), then Settings β Additional β For Developers β Debugging over USB.
- Connect your phone to your PC and execute the command: adb install path/to/file.apk
2.Use of a file manager with root access
Apps like Root Explorer or FX File Manager can install APKs directly into your system folders, but this requires:
- π Unlocked loader.
- π± Root rights (for example, through Magisk).
- π οΈ Knowledge of the structure of Android (folder) /data/app).
β οΈ Note: Installing applications in system folders without root permissions can lead to a device blink (undownloadability.
3. Cloud services with automatic installation
Some services (like AppCenter or Aurora Store) allow you to install apps without manual permission from unknown sources, and they work as a shell on Google Play, but with advanced features:
- π Access to regionally blocked applications.
- π₯ Automatic update of installed APK.
- π‘οΈ Built-in virus file checker.
To use the Aurora Store:
- Download APK from the official website.
- Allow installation for the browser (as described above).
- Install and set up the Aurora Store (click anonymously when you first start).
How to Revoke Permission for Unknown Sources
If you no longer plan to install APK manually, it is recommended to disable permissions to improve security.
Method 1: Through the MIUI settings
- Go to Settings β Applications β Special Permissions β Installation from Unknown Sources.
- Turn off the slider for each application that has previously been given permission.
- Turn off the global switch (if you have one in your version of MIUI).
Method 2: Through Android Settings
Some models (such as POCO F5) can use the standard Android menu:
- Open the Settings. β Security.
- Find the item "Unknown sources" (may be called "Install unknown applications").
- Turn off permissions for all applications.
After disabling all attempts to install APK will be blocked with the message "Installation blocked by the administrator of the device".
π‘
Even after permissions are turned off, previously installed APKs will remain on the device and will work.Repeal of permission only blocks new installations.