Installing apps from unknown sources on Xiaomi smartphones is a frequent necessity for users who want to install APK- files outside of Google Play. However, the manufacturer hides this option deep in the settings of the MIUI, and its location varies depending on the firmware version and device model. If you are trying to install the application, but see an error “Installation is locked” or “Unknown sources are disabled”, this article will help you figure out exactly where the desired switch is located and how to activate it correctly.
Unlike pure Android, where the setting is usually located in the Security section, Xiaomi distributes it across several menus – and this is often confusing. Moreover, starting with MIUI 12 and Android 10, the system requires you to allow installation for each browser or file manager separately. We will analyze all possible paths in detail, including hidden nuances for different versions of MIUI (from 11 to 14) and models (Redmi Note 10/11/12, POCO X3/F4, Mi 11/12/13, etc.).
Before you get to the instructions, keep in mind that turning on the installation from unknown sources temporarily disables some of the MIUI protection from malware. This does not mean that your smartphone will become vulnerable - but now the responsibility for security lies with you. Always check the sources of APK- files and use antivirus applications (for example, Google Play Protect or Dr.Web).
Why is Xiaomi blocking the installation of unknown apps?
The ban on installing APKs from third-party sources is a standard Android security measure, reinforced in MIUI. The main reasons for blocking are:
- 🛡️ Malware protection: According to Google statistics, up to 30% of APK from unofficial sources contain viruses or spyware modules.
- 📱 Ecosystem Control. Xiaomi is promoting its own Mi App Store, where all programs are moderated.
- 🔄 Compatible with MIUI Some applications may conflict with the shell, causing malfunctions or overheating.
- 📜 License Restrictions: In some countries (e.g. China), installing third-party APK may violate local laws.
However, the lock creates inconvenience for experienced users who want to:
- 📲 Install beta versions of apps (e.g. WhatsApp Beta or Google Camera for Xiaomi).
- 🎮 Download modified games (e.g., with Genshin Impact or PUBG Mobile mods).
- 🔧 Use specialized software (e.g., ADB Tools or Magisk for rooting).
- 🌍 Install applications that are not available in your region (e.g. Google Services on Chinese firmware).
It’s important to understand that Xiaomi doesn’t block the installation forever — it just requires explicit confirmation from the user, so that it doesn’t accidentally infect the device with a virus when downloading files from the Internet.
Where is the setting in MIUI 14 (Android 13/14)?
In the latest versions of the MIUI 14 (for Redmi Note 12, POCO F5, Xiaomi 13 and later), the path to setup has changed. Now it depends on how you try to install the APK:
Method 1: File Manager (Mi File Explorer)
If you downloaded an APK and try to open it through the standard Mi File Explorer:
- Open Settings → Applications → Application Management.
- In the upper right corner, press three dots (⋮) and select Special Access.
- Slip on Install Unknown Applications.
- In the list, find Files (or Mi File Explorer) and turn on the switch.
Method 2: Through the browser (Chrome, Mi Browser)
If you download APK directly from your browser (such as Chrome or Mi Browser):
- Go to Settings → Applications → Application Management.
- Find your browser (such as Chrome or Mi Browser) and tap it.
- Select Permissions → Install unknown applications.
- Activate the Allow switch from this source.
Note: MIUI 14 has two permissions, one for Files, one for Browser. If you downloaded APK via Telegram or Drive, look for those apps separately in the list.
Download APK from a verified source (APKMirror, APKPure)
Check the file for viruses (via VirusTotal or Dr.Web)
Make sure there is enough memory on the device.
At least 30% battery charge (in case of long-term installation)-->
How to enable the installation of unknown applications in MIUI 12/13 (Android 10-12)
In the firmware MIUI 12 and MIUI 13 (for Redmi Note 10/11, POCO X3/X4, Mi 11, etc.) the path is slightly different.
Option 1: Through “Security settings”
- Open Settings → Applications → Application Management.
- In the search bar, type “unknown” and select Install Unknown Apps.
- In the list, find the application through which you open APK (for example, Files, Chrome, Telegram).
- Activate the switch for the desired application.
Option 2: Through the settings of a particular application
If the first method did not work:
- Go to Settings → Applications → Application Management.
- Find an application that is trying to install an APK (like File Manager).
- Slip on it → Permissions → Install unknown applications.
- Turn on the permit.
Some devices (e.g., POCO F3 with global firmware) may need to additionally confirm the action via SMS or graphical key.This is part of MIUI Optimization, which checks that the changes are made by the owner of the device.
What if the “Install Unknown Applications” switch is inactive?
Features for Chinese firmware (China ROM)
If your Xiaomi is running on Chinese firmware (e.g. Redmi K50 or Xiaomi 12S with China ROM), the process of enabling the installation of unknown applications has its own nuances:
- 🌏 Google Play is missing — instead, the Mi App Store is used, where many apps may not be available.
- 🔒 Additional lock – even after enabling permission, the system can request a Mi Account password.
- 📱 There is no standard File Explorer, but instead, the Mi File Manager is used.
Instructions for China ROM:
- Open Settings → Applications → Application Management.
- Find Mi File Manager (or another application you use to open an APK).
- Go to Permissions → Install unknown applications.
- Turn on the switch and confirm the action via SMS or Mi Account.
Important: On Chinese firmware, APK installation from unknown sources can automatically shut down after the device is restarted. To avoid this, install the desired application immediately after activating the permission.
💡
If you frequently install APKs on Chinese firmware, consider switching to a global or European version of MIUI, which will remove unnecessary restrictions and add support for Google Services.
Table: Where to look for customization depending on the model and version of MIUI
| Model of the device | MIUI version | The path to adjustment | Features |
|---|---|---|---|
| Redmi Note 12, POCO F5, Xiaomi 13 | MIUI 14 (Android 13/14) | Settings → Applications → Application Management → Special Access → Installation of Unknown Applications | Allow each application separately (Files, Chrome, etc.) |
| Redmi Note 11, POCO X4, Mi 11 | MIUI 13 (Android 12) | Settings → Applications → Application Management → [Select App] → Permissions → Install Unknown Apps | You may need confirmation via SMS |
| Redmi Note 10, POCO X3, Mi 10T | MIUI 12 (Android 10/11) | Settings → Applications → Application Management → Installation of Unknown Applications | On some firmware, the option is hidden - use the search by settings |
| Redmi K50, Xiaomi 12S (China ROM) | MIUI 13/14 (Android 12/13) | Settings → Applications → Mi File Manager → Permissions → Installation of unknown applications | Confirmation is required via Mi Account. Permission can be reset after reboot |
| POCO F1, Mi 9 (older models) | MIUI 11 (Android 9/10) | Settings → Additional → Privacy → Special Permits → Installation of Unknown Applications | On some firmware, the option is called “Unknown Sources” without being tied to applications. |
If your model is not listed in the table, use the universal method:
- Open Settings and enter “Install unknowns” in the search bar.
- The system will show all available options - choose the right one.
Frequent mistakes and how to fix them
Even after you turn on permission, users often face problems.
Error: “Installation blocked by device administrator”
This error occurs if:
- 🔐 Administrator mode is activated on the device (e.g., through Find My Device or corporate policies).
- 👨👩👧👦 Parental controls are enabled.
- 🏢 The device is tethered to a MDM- system (e.g., in office phones).
Decision:
- Check Settings → Accounts and Sync → Accounts and delete unnecessary administrators.
- Turn off parental control in Settings → Family Access.
- If the device is corporate, contact the IT- department.
Error: “Cannot install the application” (code -24, -505, etc.)
Error codes for APK installation:
- -24: Conflict with an existing application (delete the old version).
- -505: Incompatible with the current version of Android (check the APK requirements).
- -501: Not enough memory (free up space).
Decision:
- 🔄 Restart the device and re-install.
- 🗑️ Remove the cache and data of Google Play Services in Settings → Apps.
- 📌 Try installing APK via ADB (command: adb install path/to/file.apk).
💡
If the APK is not installed despite the resolution enabled, try downloading the file again – it may be corrupted, and check if your device supports the application architecture (arm64, armv7, etc.).
How to minimize risks when installing an APK
Enabling an installation from unknown sources opens up potential vulnerabilities. Follow these rules to avoid problems:
- 🔍 Check sources. Download APK only from trusted sites: APKMirror (official app mirrors); APKPure (with virus-checking system); official developer sites (e.g. Telegram.org for Telegram X).
- 🛡️ Use antivirus. Before installing, check the file via VirusTotal (download APK to the site for analysis), Dr.Web or Kaspersky (installe on the device).
- 📋 Check permissions. Before installing, check what rights the app requests, for example, if a flashlight requests access to SMS and Geolocation, it's suspicious.
- 🔄 Update MIUI Newer firmware versions often close vulnerabilities that can be exploited by malicious APK.
Warning:
⚠️ Warning: Some APK (especially hacked versions of games or applications) contain Trojans that may:
- Stealing bank card data through fake windows.
- Subscribe to paid SMS-mailing.
- Use your device to mine cryptocurrency.
If after installing the APK device began to slow down, warm up or show unusual advertising – immediately delete the application and check the system with antivirus.