How to enable app installation from unknown sources on Xiaomi: A complete guide to 2026

Installation of applications from unknown sources on Xiaomi smartphones blocked by default due to security policy MIUI. This measure protects the device from malware, but often prevents users from installing it. APK-files from alternative stores (such as APKMirror), beta programs or enterprise applications. In this article, we will discuss how to correctly allow installation from unknown sources on different versions. MIUI (12 to 14), what risks this entails and how to avoid common errors such as “Installation locked».

It's important to understand that the procedure differs depending on the firmware version and the phone model. For example, on the Redmi Note 12 with MIUI 14, the path to security settings may differ from the Poco X3 on MIUI 13. We covered all relevant scenarios, including cases where the option is hidden or disabled by the device administrator, you will also learn how to check the integrity of the APK before installing and what to do if the system still blocks the file.

If you've tried to install an APK before and you've got a "Installation from this source is prohibited" error, don't rush to look for workarounds through ADB or root access. 90% of the time, the problem is solved by standard MIUI tools -- you just need to know where to look for the switches you want, and let's start with the basic method for most devices.

Why is Xiaomi blocking APK installations from unknown sources?

The ban on installing third-party APKs is not a whim of Xiaomi, but a requirement of Google Play Protect and Android security policies.

  • 🛡️ Malware protection: According to Kaspersky, in 2023 12% APK From third-party sources contained Trojans or spyware modules. MIUI Automatically scans files for viruses before installation.
  • 📦 Conflict with system applications: Some APK can overwrite system services (e.g. com.android.vending), which leads to failures.
  • 🔒 Violation of license agreements: Installing pirated versions of paid apps (such as Spotify Premium or Netflix with mods) can result in a Google account being blocked.
  • 🔄 Incompatibility with the Android version: APK, Android 12 may not work on Android 14 due to changes in the API.

However, the lock is not absolute. Xiaomi allows you to manually allow installation for specific sources (such as the Chrome browser or file manager).It is a flexible approach: you do not open access to all APKs in a row, but only to those you trust.

⚠️ Note: If you are installing APK To circumvent regional restrictions (e.g. Google Play Services in China), please note that Xiaomi may cancel the warranty if modified system files are detected.

Method 1: Standard resolution via Security Settings (MIUI 12–14)

This is a universal method for most Xiaomi, Redmi and POCO devices on current firmware versions. Instructions are suitable for models from 2020 to 2026 (Redmi Note 11, Xiaomi 13, POCO F5, etc.).

Steps:

  1. Download. APK-file in the memory of the phone (for example, through a browser or Telegram).
  2. Open the file manager (standard MIUI or Files by Google).
  3. Find the downloaded file and tap it, and the system will give you a warning: "Installation locked. Permit installation from this source?"
  4. Click Settings in the warning window and it will redirect you to Settings → Applications → Special Permissions → Install Unknown Apps.
  5. In the list, find the application that downloaded the APK (such as Chrome or Files) and turn on the “Allow installation from this source” switch.
  6. Return to the APK file and try again.

If the app is not on the list, try downloading the file from another source (e.g. Firefox instead of Chrome).Some devices (e.g. Xiaomi 12T) may need to allow access in the Settings → Privacy → Special Permissions section.

Download the file only from verified sources (APKMirror, APKPure)

Check the hash file (MD5/SHA-1) on the developer’s website

Disable VPN (some APKs block installation when an active VPN is in place)

Charge your phone at least 30% (for long installation processes)

-->

Method 2: Resolution through Application Permissions (MIUI 13–14)

Since MIUI 13, Xiaomi has moved some of its security settings to App Permissions, a method that comes in handy if the standard path has failed or the option is hidden.

Algorithm:

  1. Open Settings → Applications → Application Management.
  2. In the upper right corner, tap three points (⋮) and select "Special Access».
  3. Scroll down and find the item “Install Unknown Apps”.
  4. In the list, select the application that will install the APK (such as File Manager or Browser).
  5. Activate the "Allow from this source" switch.

On some devices (such as the POCO X5 Pro), this section may be called “Installation Permits.” If you don’t see the right item, try searching by settings (the magnifier icon at the top of the screen) and querying “unknown sources.”

Model of the deviceMIUI versionThe path to settings
Xiaomi 13/13 Pro14.0.5+Settings → Applications → Special permissions → Installation of unknown applications
Redmi Note 1213.0.9–14.0.2Settings → Privacy → Special Permits → Installation of Unknown Applications
POCO F4/F513.0.6+Settings → Applications → Application Management → Special Access
Xiaomi 12S Ultra13.2.4Requires activation through Settings → Password and security

⚠️ Attention: On devices with MIUI For a global market (e.g., Xiaomi 13 Lite for Europe), there may be no resolution option for some system applications (e.g., Downloads.

Method 3: Bypassing a lock through ADB (for power users)

If standard methods do not work (for example, the option of gray or not), you can allow installation through the ADB-This method is suitable for devices with unlocked OEM Unlock and enabled debugging by USB.

Instructions:

  1. Activate Developer Mode: Go to Settings → About Phone and tap on the MIUI Version 7 times.
  2. Return to Settings → Additional → For developers and enable “Debugging by USB”.
  3. Connect your phone to your PC, install ADB drivers (for example, via Mi PC Suite) and open the command prompt.
  4. Enter the command to check the connection: Adb devices should appear the name of your device.
  5. Apply permission for installation from unknown sources: adb shell settings put global install_non_market_apps 1
  6. Reboot the phone.

You can then install APKs without further confirmation. To reverse the changes, do:

adb shell settings put global install_non_market_apps 0
What if the ADB does not recognize the device?
1. Make sure File Transfer Mode is enabled (MTP) When connecting to a PC. 2. Update drivers via the Mi Flash Tool (download on the official Xiaomi website). 3. Check if the connection is blocked by an antivirus (for example, Avast or Kaspersky). 4. Try another one. USB-cable (preferably original from Xiaomi).

On devices with MIUI 14 and Android 13+, the ADB command may not work due to new restrictions by Google, in which case you will need to temporarily disable Google Play Protect in the security settings.

Standard settings of MIUI

ADB-team

Reset to factory settings

Never unlocked.

Another way.-->

How to check APK safety before installation?

Allowing installations from unknown sources is only half the battle, and the key is to make sure you're there. APK-The file is non-threatening. Here's the minimum checklist before installing:

  • 🔍 Source Check: Download APK Only from trusted sites: APKMirror (checks developers’ signatures), APKPure (has its own scanning system) Official developer sites (e.g. Telegram, VK)
  • 📋 Hash sum reconciliation: Compare MD5 or SHA-1 You can use a file with data on the developer's website.
  • 🛡️ Virus scan: Download APK VirusTotal or check through the built-in scanner MIUI (in the file manager long tap on the file → «Scan»).
  • 📄 Permissions check: Before installing Android will show you a list of permissions you have requested. SMS or contact for no reason.

An example of a safe APK-file:

Name: com.whatsapp_2.23.12.76.apk




Size: 45.6 MB




MD5: 3a7bd3e2360a3d29eea436fcfb7e44c7




Signed: Meta Platforms, Inc. (verified)

If the file weighs suspiciously little (e.g. WhatsApp weighs 2MB instead of 40MB), it is likely a Trojan or a stripped-down version with adware.

💡

Before installing an APK, create a restore point in Settings → System → Backup. This will help roll back changes if the application damages the system.

Typical errors and their solutions

Even after permission to install from unknown sources, users encounter errors.

Mistake.Reason.Decision
Installation blocked by the device administratorDevice Admin Policy (e.g. from Exchange or Enterprise MDM)Disable Administrator in Settings → Password and Security → Device Administrators
APK not installed (without additional details)File corrupted or incompatible with Android versionDownload APK again or check compatibility on the developer’s website
The app is not installed due to Google Play Protect restrictionsGoogle blocks installation of modified APKsTurn off Play Protect in Google Play settings or install via ADB
Lack of memoryAPK requires more space than is available in /dataClear the cache in Settings → Storage or transfer files to SD-map

If the application does not start after installation or if it gives an error “Application is stopped”, try:

  1. Clear the app cache in Settings → Apps.
  2. Install an older version of APK (the new version may require an updated firmware).
  3. Check if the MIUI Optimization application is blocking (in Settings → Special Opportunities → MIUI Optimization, disable the option).

💡

If the APK is installed but not updated via Google Play, remove it and install the official version from the store.

Security after installation: how to minimize risks

The permission to install from unknown sources is like an open door, and it's not just you who can use it to protect the device.

  • 🔐 Turn off permission after installation: Return to Settings → Special permissions and deactivate the switch for the source through which the installation was performed. APK.
  • 📱 Use the sandbox: Apps like Shelter or Island let you run untrusted APK isolated.
  • 🔄 Update regularly MIUI: New firmware versions close vulnerabilities that can be exploited by malicious APK.
  • 🛡️ Install antivirus: Malwarebytes or Bitdefender scans installed applications for suspicious activity.

If after installing the APK, the phone starts to overheat, discharge faster or show unfamiliar notifications, immediately:

  1. Delete the app.
  2. Check the device for viruses.
  3. If symptoms persist, reset to factory settings (Settings → About Phone → Reset settings).

⚠️ Attention: Some APK (For example, modified versions of Clash of Clans or Free Fire contain hidden miners who use the phone’s resources to mine cryptocurrency. CPU In Settings → Battery → Battery utilization.

FAQ: Frequent questions

Can I install APK on Xiaomi without unlocking the bootloader?
Yes, APK installation does not require bootloader unlocking. It is sufficient to allow installation from unknown sources, as described above. Unlocking the bootloader is only necessary for firmware custom ROMs (for example, LineageOS) or root rights.
Why did the “Unknown Sources” option disappear after the MIUI update?
In MIUI 14 on Android 13+, Xiaomi moved the security settings to Privacy → Special Permits. Also check if the item is hidden due to active mode for children or corporate policy (for example, on a work phone).
How to install an APK on Xiaomi with a Kit (without Google Services)?
On devices for the Chinese market (e.g. Xiaomi 13 Pro China ROM), you first need to install the Google Framework through the Mi Tool tool or manual firmware. Without this, many APKs (e.g. Google Maps or Gmail) will not work even after the installation is authorized.
Can I install APK on Xiaomi via a computer?
Yes, there are two ways: Connect your phone to your PC, copy the APK to your device memory, and install it through the file manager. Use ADB for remote installation: adb install path/to/file.apk In the second case, remember to enable USB debugging in the developer settings.
What if the APK is installed but not updated?
This is a typical problem for applications installed from unknown sources. Solutions: Delete the current version and install the new one on top. Download an APK with the same package name (e.g. com.whatsapp). If the app is from Google Play, install it officially, the updates will come automatically.