Install unknown applications on Xiaomi: where is the partition in MIUI and how to activate it

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.

📊 What do you most often install for? APK source?
Mod games
Beta versions of applications
Applications not available in my region
System utilities (ADB, Magisk, etc.)
Other

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:

  1. Open Settings → Applications → Application Management.
  2. In the upper right corner, press three dots (⋮) and select Special Access.
  3. Slip on Install Unknown Applications.
  4. 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):

  1. Go to Settings → Applications → Application Management.
  2. Find your browser (such as Chrome or Mi Browser) and tap it.
  3. Select Permissions → Install unknown applications.
  4. 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”

  1. Open Settings → Applications → Application Management.
  2. In the search bar, type “unknown” and select Install Unknown Apps.
  3. In the list, find the application through which you open APK (for example, Files, Chrome, Telegram).
  4. Activate the switch for the desired application.

Option 2: Through the settings of a particular application

If the first method did not work:

  1. Go to Settings → Applications → Application Management.
  2. Find an application that is trying to install an APK (like File Manager).
  3. Slip on it → Permissions → Install unknown applications.
  4. 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?
If the switch is grey and not pressed, this can mean: 1. The device in Child mode – check the parental control settings in Settings → Accounts and Sync → Family Sharing. 2. Virus Protection is active – temporarily turn it off in Settings → Security → Virus Protection. 3. The device is tied to corporate policy (for example, through Microsoft Intune) – contact the administrator. 4. The firmware is modified (for example, custom MIUI from third-party developers) – try resetting it to factory.

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:

  1. Open Settings → Applications → Application Management.
  2. Find Mi File Manager (or another application you use to open an APK).
  3. Go to Permissions → Install unknown applications.
  4. 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 deviceMIUI versionThe path to adjustmentFeatures
Redmi Note 12, POCO F5, Xiaomi 13MIUI 14 (Android 13/14)Settings → Applications → Application Management → Special Access → Installation of Unknown ApplicationsAllow each application separately (Files, Chrome, etc.)
Redmi Note 11, POCO X4, Mi 11MIUI 13 (Android 12)Settings → Applications → Application Management → [Select App] → Permissions → Install Unknown AppsYou may need confirmation via SMS
Redmi Note 10, POCO X3, Mi 10TMIUI 12 (Android 10/11)Settings → Applications → Application Management → Installation of Unknown ApplicationsOn 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 applicationsConfirmation 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 ApplicationsOn 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:

  1. Open Settings and enter “Install unknowns” in the search bar.
  2. 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:

  1. Check Settings → Accounts and Sync → Accounts and delete unnecessary administrators.
  2. Turn off parental control in Settings → Family Access.
  3. 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.

FAQ: Answers to Frequent Questions

Can I enable the installation of unknown apps on all Xiaomi devices in the same way?
No, the settings are based on: MIUI Version (11, 12, 13 or 14); Android Version (10, 11, 12, 13 or 14); Regional firmware (global, European, Chinese); For example, Redmi Note 12 with MIUI 14 is one way, and POCO X3 with MIUI 12 is another. Always search by settings if you can't find the option manually.
Why did the APK installation permit reset after the MIUI update?
This is standard MIUI behavior for: Major firmware updates (e.g., MIUI 13 to MIUI 14); Reset security settings (e.g., after virus removal); Change regional settings (e.g., when switching from China ROM to global); To avoid problems, immediately check the resolution status in Settings → Applications → Application Management after updating.
How to install APK if the Install Unknown Applications switch is inactive?
If the switch is grey and doesn't press, try: Delete the cache and data of the Settings app (Settings → Apps → Settings → Storage → Clear cache / data). Temporarily disable Google Play Protect (Settings → Google → Security → Play Protect → Disable Scanning). Install APK via ADB (if you have access to debugging over USB). Reset security settings to factory (Settings → Settings → Resets → App Settings → Resets → App Resets) If nothing helps, perhaps hidden restrictions (elling the device is activated).
Can I install APK without turning on Unknown Sources?
Technically, yes, but it will require: ADB- commands (e.g. adb install file.apk); Root rights (for installation via TWRP or Magisk); Special applications (e.g. App Installer with extended rights); however, these methods are only suitable for advanced users. For most tasks, it is easier to enable resolution in a standard way.
How to turn off the “Installation locked” warning every time you run an APK?
This warning appears if: You have enabled permission for one application (like Files) but are trying to open an APK through another (like Telegram). APK is signed with an informal certificate (often seen in modified applications). To remove the warning: Enable permission for all applications you open an APK. Use the same file manager to install. If the alert appears for a specific APK, try downloading it from another source.