Installing apps from unknown sources on Xiaomi smartphones is a frequent necessity for users who want to bypass the restrictions of Google Play or test beta versions of programs. However, the MIUI shell (especially in versions 12-14) complicates this process: standard Android settings are hidden behind additional layers of protection, and after updates, the paths to them change. If you try to install an.apk file, but the system blocks the action with the message “Install is locked”, this article will help you understand the nuances for different models – from Redmi Note 12 to Xiaomi 13 Ultra.
Many users are facing problems due to the dynamic change of paths in MIUI: what worked on Android 11 may not work on Android 13. In addition, Xiaomi shares the permissions by application (for example, for File Manager and Browser settings are included separately).
———
Why is Xiaomi blocking the installation from unknown sources?
The main reason is security. The MIUI shell follows Google's policy that restricts installing apps outside the Play Market to protect against malware.
- 🔒 Double Check: Even after you turn on the option in the settings, the system can request confirmation at each installation.
- 📱 Separate permissions: Settings are not globally applicable, but for each application (e.g. Chrome or Mi File Manager) through which you open.apk.
- 🌍 Regional restrictions: on Chinese firmware (China) ROM) The path to settings may be different, and some options are not at all.
It is important to understand that blocking is not a manufacturer’s whim, but a measure against phishing and trojans. According to Kaspersky, in 2023, 38% of malicious APKs were spread through third-party sources. However, for power users who are confident in the security of the file, the restriction becomes an obstacle.
⚠️ Note: Installing applications from unknown sources disables automatic verification of Google Play Protect. Before installing.apk, check the file through VirusTotal or similar services.
———
Standard method: through MIUI security settings
This is a universal method for most Xiaomi, Redmi and other devices. POCO on MIUI 12–14 (Android 11–13). The instructions are relevant for Redmi Note models 11/12, Xiaomi 12/13, POCO F4/F5 others:
- Open Settings (the gear icon on the main screen).
- Go to the Appendix section → Application management.
- In the upper right corner, press three dots (⋮) and select Special Access.
- Slip on the item Install unknown applications.
- Select the application you will install APK through (such as File Manager or Chrome).
- Activate the switch Allow installation from this source.
You can then open.apk files through the app you select, and note that if you downloaded a file from Chrome, but you try to open it through the File Manager, you have to enable permission for both.
☑️ Preparation for installation APK
———
Alternative methods for different versions of MIUI
If the standard path doesn’t work (e.g., on Chinese firmware or after an update), try these options:
| MIUI version | The path to settings | Features |
|---|---|---|
| MIUI 14 (Global) | Settings → Applications → Special access → Installation of unknown applications | Requires confirmation at each installation. |
| MIUI 13 (China ROM) | Settings → Password and security → Permissions → Installation of unknown applications | There is no global switch – settings for each application. |
| MIUI 12.5 (EEA) | Settings → Privacy → Special Permits → Installation of Unknown Applications | You may need to restart after the change. |
| MIUI 11 and older | Settings → Additional → Privacy → Installation of unknown applications | On some models, the option is hidden – you need to turn on the developer mode. |
On Chinese firmware (China ROM), the path may look different: Settings → Password and Security → Authorization and Cancel → Install unknown applications. If you do not have the option at all, you will need to unlock the bootloader or re-flash to the global version.
What to do if there is no item "Install unknown applications"?
———
How to Include Unknown Sources through ADB (For Power Users)
If the GUI doesn’t allow you to turn on the option (for example, on restricted work phones), you can use ADB (Android Debug Bridge), which works on all versions of MIUI, but requires a connection to a computer.
- Turn on Developer Mode on your phone: go to Settings → About Phone and tap the MIUI version 7 times.
- Return to Settings → Additional → For developers and activate Debugging over USB.
- Connect your phone to your PC, install ADB Tools, and execute the command: adb shell settings put global. install_non_market_apps 1
- To unlock the installation for a specific application (e.g. com.android.fileexplorer): adb shell cmd appops set com.android.fileexplorer android:install_unknown_sources allow
Once you have completed the commands, restart the device, which bypasses the limitations of MIUI, but cancels the warranty if you have misused it.
⚠️ Attention: Teams ADB They give you complete control of the system. Don't use them to install unknowns. APK without verification – this can result in data loss or device lock (for example, when installing modified firmware).
———
Frequent mistakes and how to fix them
Even after the option is turned on, users face problems. Consider typical situations and solutions:
- 🚫 «Installation locked: check that permission is enabled for the application you are opening through APK. For example, if you downloaded a file in Chrome, but you are trying to install it through the File Manager, you need permission for both of them.
- 🔄 «App Not Installed: Remove the previous version of the program or clear the cache in Settings → Annexes → [Program name] → Warehouse.
- 🛡️ «MIUI Do not trust this file: disable the protection MIUI In Settings → Password and security → Protection MIUI (temporary).
- 📱 «Unknown error: Check the free space on the device (requires a minimum of 500 MB) and the stability of the Internet connection (to download dependencies).
If the problem persists, try:
- Rename the APK file (remove Cyrillic and spaces from the name).
- Install it through another file manager (e.g. Solid Explorer).
- Temporarily disable the antivirus (if Dr.Web, Kaspersky, etc. are installed).
💡
If APK not installed due to error "INSTALL_FAILED_INVALID_APK", Try to download the file again, it may be corrupted, and check compatibility with the Android version (for example, the Android app). 12 It won't be installed on Android. 11 backward-compatible).
———
How to minimize risks when installing an APK
Installation from unknown sources opens the door not only to useful programs, but also to viruses.
- 🔍 Check the source: download APK only from official developer sites (e.g. APKMirror) or verified repositories (F-Droid).
- 📋 Compare hash amounts: developers often publish MD5/SHA-1 Use tools like Hash Droid to verify file integrity.
- 🛡️ Use the Sandbox: Apps like Shelter or Island let you run untrusted apps APK isolated.
- 🔄 Update: After installation, check for updates manually – third-party APK Not updated through the Play Market.
Remember, even legitimate apps (such as modified versions of WhatsApp or Spotify) can contain spyware, and in 2023, 15 percent of popular modified APKs were identified as potentially dangerous, according to Check Point.
The file is suspiciously light (e.g. WhatsApp cannot be 5MB)
The source requires you to disable the antivirus before downloading;
- The description promises “premium features are free” without official confirmation.-->
———
Features for specific Xiaomi models
Some Xiaomi devices have unique nuances when incorporating unknown sources, and let’s look at some of the popular models:
| Model | Feature | Decision |
|---|---|---|
| Redmi Note 10/11/12 | On Chinese firmware, the option is hidden in Settings → Password and Security → Authorization and Cancellation. | Use Google Installer to install GMS, then enable the option via Google Settings. |
| POCO F3/F4/F5 | After upgrading to MIUI 14, you may need to restart to apply the settings. | Turn on the resolution, restart the device, then try again to install. |
| Xiaomi 13/13 Pro | On some versions of MIUI 14, the option is called an external Installation. | Look for the item in Settings → Applications → Special Access. |
| Black Shark 4/5 | The JoyUI game interface hides the standard MIUI settings. | Switch to Standard Mode in the screen settings, then follow the standard instructions. |
For HyperOS devices (the new Xiaomi shell that debuted in 2023), the path may be different. If your model runs on this system, look for Settings → Applications → Application Management → Special Access → Installation from unknown sources.
———