Installing apps from third-party sources on Xiaomi smartphones is often blocked by security MIUI This measure protects the device from malware, but at the same time restricts users who want to install it. APK-The Unknown Sources option (or Install Unknown Apps in new Android versions) allows you to bypass this restriction, but its location on the menu is not always obvious - especially after firmware updates.
In this article, we will discuss in detail where to look for settings for unknown sources on Xiaomi depending on the version of MIUI (12 to 14) and device model. You will learn how to enable APK installation for specific applications (for example, a browser or file manager), what risks this carries, and how to avoid typical errors. We will also look at alternative ways to install applications if the standard method does not work.
Why is Xiaomi blocking the installation from unknown sources?
MIUI follows Google Android’s security policy, which by default prohibits the installation of apps from outside official stores.
- 🛡️ Protection against malware: APK-Files from unverified sources may contain viruses, spyware, or Trojans that can steal data or damage the system.
- 📱 Stability: Unoptimized applications can cause crashes, overheating, or rapid battery discharge.
- 🔒 Ecosystem Control: Xiaomi and Google are interested in using their official stores where apps are moderated.
However, the lock is not absolute: the user can manually allow installation for individual applications (e.g. Chrome, Files or Telegram), a flexible solution that balances security and freedom of action.
⚠️ Warning: Installation permission from unknown sources for all applications (via engineering menu or ADB) This greatly increases the risk of infection of the device. Use this option only for trusted users. APK-file.
Where is the Unknown Sources in MIUI 12, 13 and 14?
The location of the settings depends on the firmware version. In the latest MIUI updates (starting with Android 10), the classic Unknown Sources switch has been replaced with permissions for individual applications.
| MIUI version | The path to settings | Features |
|---|---|---|
| MIUI 14 (Android 13/14) | Settings → Annexes → Application management → ☰ (menu) → Special access → Installation of unknown applications | Permissions are given selectively for each application (e.g., browser or file manager). |
| MIUI 12/13 (Android 10/11/12) | Settings → Privacy → Special Permits → Installation of Unknown Applications | It's similar to MIUI 14, but the path is shorter, and some models may call it "Additional Settings." |
| MIUI 11 and older (Android 9 and below) | Settings → Additional → Privacy → Unknown sources | Global switch for all applications (less secure) |
If you do not find these items, check:
- 🔍 System Updates: In New Versions MIUI menu may change. Update the firmware through Settings → The phone. → Updating the system.
- 📌 Search by Settings: Use the search bar at the top of the Settings menu (magnifying glass icon) and enter the query “Install unknowns».
- 🛠️ Regional differences: some firmware for China or Europe may have different names for menu items (e.g., "External sources»).
Step-by-step: how to enable APK installation on Xiaomi
Consider the process on the example of MIUI 14 (relevant for most modern models: Redmi Note 12, POCO X5, Xiaomi 13, etc.).
- Open “Settings” (the gear icon on the home screen or in the application menu).
- Go to the "Applications" section → "Application Management".
- Press three points (☰) in the upper right corner and select "Special Access».
- Slip on the item "Install unknown applications".
- Select the application you plan to install APKs through (such as Files, Chrome, or Telegram).
- Activate the “Allow installation from this source” switch.
Now you can download it. APK-files and install them through the selected application, for example, if you allowed the installation of Files:
- Download. APK-file and save it in the device memory.
- Open the "Files" → find the downloaded file.
- Slap it on and confirm the installation.
Download APK only from a verified source (APKMirror, official website of the developer)
Check the hash of the file (MD5/SHA-1) for compliance with the original
Disable VPN/proxy during download
Create a backup of data (in case of failure)
-->
⚠️ Attention: If during installation APK The error "App not installed" appears, check: Compatibility APK with your Android version (you can find out in Settings) → The phone. → Android version: A newer version of the application (delete the old one before installing) File integrity (damaged) APK never set).
What if the item "Unknown sources" is not in the settings?
In rare cases, the option may not be on the menu, for the following reasons:
- 🔒 Corporate Policy Limitations: On some devices (e.g., service devices), the administrator may block this feature via the MDM (Mobile Device Management).
- 🛡️ Childhood Mode: If Parental Controls are enabled, installation APK may be prohibited.
- 📱 Castom firmware: informal assemblies MIUI (For example, Xiaomi.eu can change the location of settings.
Decisions:
- Check for updates: go to Settings → About Phone → System Update and install the latest version of MIUI.
- Use it. ADB (Adb shell settings put global settings install_non_market_apps 1 This command will unlock the installation from unknown sources globally. ADB.
- Install APK via PC: connect your phone to your computer and use the Mi PC Suite utility or command: adb install path to file.apk
How to enable USB debugging for ADB?
Xiaomi models with unique settings: exceptions
Some Xiaomi devices have features in the location of security options, such as:
- 📱 POCO F3/F4 and POCO X3 Pro: The path to settings may be called “Special app access” instead of “Special access».
For Android Go devices (such as Redmi Go or POCO C-series), the process is simplified:
- Find the item “Unknown sources” and activate it.
On Xiaomi smartphones for the Chinese market (with China ROM firmware), the option can be called “(install unknown applications) and require binding to the Mi Account account to unlock.
Risks and how to minimize them
Allowing installations from unknown sources opens up potential vulnerabilities.
| Risk | Effects of consequences | How to avoid |
|---|---|---|
| Malware | Data theft, espionage, device locking | Download APK only from trusted sources (APKMirror, official sites). |
| Incompatible applications | Failures, resets, overheating | Check the APK requirements for the Android version and processor architecture. |
| Fake applications | Phishing, account theft. | Compare the hash file (MD5) to the original on the developer’s website. |
Safety recommendations:
- 🔍 Use antivirus: installing Malwarebytes or Bitdefender will help detect threats.
- 📌 Limit Permits: After Installation APK disable the installation option for the application used (e.g. browser).
- 🛡️ Regularly check the installed applications in Settings → Suspicious activity applications.
💡
Before installing an APK, check it with VirusTotal – the service analyzes the file for viruses with more than 70 antiviruses.
Alternative ways to install applications without “Unknown Sources”
If you can’t turn on the option, consider alternative methods:
- 🌐 Web versions of applications: many services (e.g. Telegram, VK) Have full-featured web versions that do not require installation.
- 📦 Sideloading through ADB: adb install -r -t path to file.apk Flag -r replaces an existing application, -t allowance APK test-certified.
- 🔄 Use of alternative stores: Aurora Store (analogue to Google Play without restrictions) or F-Droid (for open source software).
For devices with an unlocked bootloader, you can install Magisk and the App Systemizer module, which integrates the APK into the system partition, bypassing restrictions.
⚠️ Note: Installing system applications through Magisk can cause firmware to fail. Create a full backup before doing so TWRP Or Mi Flash Tool.
💡
The most secure way is to temporarily allow installation for one application (such as a file manager), install an APK, and then disable the permission again.