Setting up Unknown Sources** on Xiaomi smartphones is one of the most popular features among users who want to install apps outside of Google Play or Mi App Store. MIUI (Especially 12-15) the location of this option is constantly changing, and in some cases it is hidden behind the additional security menu. APK-file, but the system blocks the process with the message "Installation is blocked", this article will help you figure out where to look for the right switch.
It's important to understand that since Android 8.0 Oreo (and the corresponding versions of MIUI 9+), Google has tightened its security policy, and now the installation permission from unknown sources is not issued globally for the entire system, but separately for each application that requests this access. For example, if you downloaded APK through the Chrome browser, then the permission should be given to it, not the entire phone, which complicates the process, but makes the system safer.
In this article, we will look at:
- 🔍 Where is the setting on different versions MIUI (12 to 15)
- 📱 Step-by-step instructions for popular models (Redmi Note 12, POCO X5, Xiaomi 13 and others.)
- ⚠️ Risks and consequences of including unknown sources
- 🔧 Alternative methods of installation APK non-optional
- 🛠️ What to do if the setting is not working or not working
1.Where to look for "Unknown Sources" in MIUI 12–15
In the latest versions of MIUI (starting with 12), the classic Unknown Sources menu** has been replaced by a resolution system for individual applications. Now the path to setup depends on which application the APK is trying to install.
- 🌐 If you downloaded a file via Chrome or Mi Browser, permission must be given to the browser.
- 📁 If you use a file manager (Files by Google, Mi File Manager), then the permission is given to it.
- 📲 For third-party installers (e.g. APKMirror Installer) – separate permission.
General path to setup (relevant for MIUI 13-15):
- Open the settings (cog icon on the desktop).
- 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.
- In the list, find the app you’re trying to install an APK through (like Chrome) and turn on the switch.
On some devices (e.g., the POCO F4 with MIUI 14), the path may be slightly different:
Settings → Applications → Permissions → Installation of unknown applications2. Step-by-step instructions for popular Xiaomi models
Let’s analyze how to enable installation from unknown sources on the most common Xiaomi, Redmi and POCO devices. Note: the interface may vary slightly depending on the regional firmware (global, Chinese, European).
Redmi Note 11 / 12 (MIUI 13–14)
1. Open Settings → Applications → Application Management.
2. Click on the three dots in the upper right corner and select Special Access.
3. Go to Install Unknown Applications.
4. Select an application (such as Files or Chrome) and activate permission.
Xiaomi 13 / 13 Pro (MIUI 14)
On the flagships with MIUI 14, the path is simplified:
1. Go to Settings → Apps → Permissions.
2. Slip on Install Unknown Applications.
3. Enable permission for the desired application (e.g. Mi File Manager).
POCO X5/F5 (MIUI 14 for POCO)
On POCO devices with MIUI shell for POCO, the menu may be called differently:
1. Open Settings → Applications → Permissions Management.
2. Find the Installation section from unknown sources.
3. Select the application and activate the switch.
Download. APK-file
Check the file for viruses (for example, via VirusTotal)
Battery charge of at least 30%
Make a backup copy of important data-->
If you don’t find the right app on the list, try opening it first. APK-The system will then ask for permission.
3.Why the option "Unknown sources" may not be available
Sometimes users find that the Install Unknown Applications section is simply not in the settings.
| Reason. | How to fix it |
|---|---|
| Outdated version of MIUI (below 12) | Update the firmware through Settings → About the phone → System update |
| Regional restrictions (Chinese firmware) | Install a European or global version of MIUI with the Mi Flash Tool |
| Employer’s security policy (corporate devices) | Contact the administrator or reset the settings to the factory |
| Child Mode Device (Child Profile) | Turn off the mode in Settings → Special features → Children's mode |
On China ROM, the Unknown Sources option is often blocked at the system level, and the only way to get around this is to unlock the bootloader and flash the global version of MIUI.
What to do if the section is gray and inactive?
4. Risks of Including Unknown Sources
Activating the installation from unknown sources opens up potential vulnerabilities for your device.
- 🦠 Viruses and malware: APK-Files from unverified sources may contain Trojans, spyware, or cryptocurrency miners.
- 🔓 Data theft: Some applications collect personal information (logins, passwords, bank card details) without the user’s knowledge.
- 📵 Unstable work: Pirate or modified APK Often cause failures, overheating and rapid battery discharge.
- 🚫 Blocking Mi Account: Installing hacked versions of official apps (Mi Fit, Mi Home) can lead to a ban on Xiaomi account.
⚠️ Attention, if you're installing APK To circumvent regional restrictions (e.g. Google Play Services on Chinese firmware), please note that this may disrupt Xiaomi services such as Mi Cloud or Mi Pay.
To minimize the risks:
- 🛡️ Download. APK only from verified sites: APKMirror, APKPure, official developers resources.
- 🔍 Before installing, check the hash of the file (for example, via Hash Droid) or upload it to VirusTotal.
- 📱 Use antivirus with scanning function APK (For example, Malwarebytes or Bitdefender).
- 🔄 After installing the application, revoke the installation permission from unknown sources.
5. Alternative ways to install APKs without enabling "Unknown Sources"
If you don’t want to risk security, but still need to install the app outside the store, there are a few workarounds:
Method 1: Through ADB (for power users)
You can temporarily allow APK installation via Android Debug Bridge (ADB) without enabling the option in the settings:
adb install path/to/file.apkFor this:
- Turn on USB Debugging in Settings → About Phone → MIUI version (tap 7 times, then go back to Additional → For Developers).
- Connect the phone to the PC and execute the command above.
Method 2: Through third-party launchers
Some launchers (like Nova Launcher or Apex Launcher) have built-in APK installers that can bypass MIUI limitations.
Method 3: Convert APK to XAPK
If you have Xiaomi with Chinese firmware, try converting APK to XAPK format (for example, via APK Editor) and installing it through the Mi App Store.
💡
If you frequently install APKs, create a separate user account in Settings → System → Multiple Users and enable Unknown Sources only for that.
6. Frequent errors and their solutions
When you try to turn on "Unknown Sources"**, users face typical problems.
Error: “Installation locked” despite permission enabled
Reason: You gave permission to the wrong application that APK is trying to install, like downloading a file through Chrome, and trying to open it through Files.
Solution: Give permission to the application that initiates the installation.
Error: “I couldn’t analyze the package”
Cause: Damaged APK-file or incompatibility with the Android version.
Decision:
- Download the file.
- Check the supported version of Android in the app description.
- If the APK is for Android 12+ and you have MIUI 12 on Android 11, update your firmware.
Error: The Install button is inactive
Reason: Security settings include the option “Block installation from unknown sources”** at the system level.
Solution: Disable it in Settings → Memory and Device → Lock installation (relevant to MIUI 12).
💡
If after all the manipulations, the installation is still blocked, check if the device is enabled Developer Mode with the option “Disable installation via ADB”**. disable it in Settings → Additional → For developers.