How to Allow Installation from Unknown Sources on Xiaomi Smartphones: A Complete Guide to 2026

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:

  1. Open Settings (the gear icon on the main screen).
  2. Go to the Appendix section → Application management.
  3. In the upper right corner, press three dots (⋮) and select Special Access.
  4. Slip on the item Install unknown applications.
  5. Select the application you will install APK through (such as File Manager or Chrome).
  6. 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

Done: 0 / 4

———

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 versionThe path to settingsFeatures
MIUI 14 (Global)Settings → Applications → Special access → Installation of unknown applicationsRequires confirmation at each installation.
MIUI 13 (China ROM)Settings → Password and security → Permissions → Installation of unknown applicationsThere is no global switch – settings for each application.
MIUI 12.5 (EEA)Settings → Privacy → Special Permits → Installation of Unknown ApplicationsYou may need to restart after the change.
MIUI 11 and olderSettings → Additional → Privacy → Installation of unknown applicationsOn 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"?
On some Chinese firmware (China) ROM) This option is hidden: 1. Install Google Installer (for models with support) GMS). 2. Use it. ADB-Adb shell settings put global install_non_market_apps 1 3. Refuse the device to the global version MIUI (risk of loss!).

———

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.

  1. Turn on Developer Mode on your phone: go to Settings → About Phone and tap the MIUI version 7 times.
  2. Return to Settings → Additional → For developers and activate Debugging over USB.
  3. Connect your phone to your PC, install ADB Tools, and execute the command: adb shell settings put global. install_non_market_apps 1
  4. 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).

———

📊 What kind of firmware do you use on Xiaomi?
Global (MIUI EEA)
China ROM
Russian (MIUI Russia)
Castomium (LineageOS, PixelExperience)
I don't know.

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:

  1. Rename the APK file (remove Cyrillic and spaces from the name).
  2. Install it through another file manager (e.g. Solid Explorer).
  3. 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:

ModelFeatureDecision
Redmi Note 10/11/12On 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/F5After 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 ProOn some versions of MIUI 14, the option is called an external Installation.Look for the item in Settings → Applications → Special Access.
Black Shark 4/5The 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.

———

FAQ: Answers to Frequent Questions

Can I turn on unknown sources on Xiaomi without a computer?
Yes, in most cases this is done through phone settings (see the Standard Way section).The computer is only needed for ADB methods or if the device is Chinese firmware without Google Services.
Why is the APK not installed after the option is turned on?
The reasons can be different: file corrupted (try to download again); APK is designed for a different processor architecture (e.g. arm64 vs x86); there is not enough memory on the device (free up space); Antivirus blocks the installation (temporarily disable it).
How to enable unknown sources on Xiaomi with a blocked bootloader?
The blocked loader does not affect the installation capability APK. If the option is not available in the settings, try: Use ADB (Install Google Installer (for Chinese firmware). Update MIUI until the latest version, sometimes bugs are fixed in new builds. APK, But you'll need to get a custom recavérie (TWRP).
Is it safe to install APK on Xiaomi with Chinese firmware?
Chinese firmware (China ROM) has fewer built-in security checks, so the risks are higher. Recommendations: Use only verified sources. Install antivirus (e.g. Malwarebytes). Regularly check application permissions in Settings → Apps → Permissions.
Can unknown sources be included globally for all applications?
No, MIUI (like modern versions of Android) requires you to include permission for each application separately, and this is done for security: if malware penetrates one application, it will not be able to automatically install other APKs.