How to Allow Applications From Unknown Sources to Be Installed on Xiaomi: A Complete Guide to 2026

Xiaomi smartphones based on MIUI They block third-party applications by default, which is a standard security measure from Google and the manufacturer. APK-A file not from Google Play, like a beta version of a program, a modified application, or software from alternative stores like Aurora Store or APKMirror.

Allowing downloads from unknown sources to Xiaomi is a simple process, but with nuances. Depending on the version of MIUI (12, 13, 14) and Android (10, 11, 12, 13, 14), the steps may differ. Moreover, after the system update, settings are sometimes reset, and access to the APK installation is blocked again. In this article, current ways for all modern devices of the brand, including Redmi, POCO and the Mi line.

⚠️ Warning: Installing applications from unverified sources increases the risk of virus infection, data theft or system damage.Always check files APK via VirusTotal before installation.

If you use Xiaomi at work or store sensitive information on your phone, we recommend you back up your data before changing your security settings.

Why is Xiaomi blocking APK installations from unknown sources?

Banning apps from installing apps outside of Google Play is not a whim of the manufacturer, but part of Android’s layered security system.

  • πŸ›‘οΈ Malware protection: According to Kaspersky, in 2023, 98% of mobile viruses were spread through fake malware. APK-files masquerading as popular games or utilities.
  • πŸ”’ Permission control: Google Play apps are automatically checked for privacy compliance; third-party files may request dangerous permissions (e.g. access to a security service) SMS geolocation) without the user's knowledge.
  • πŸ“± Stability MIUI. Some modified APK conflict with the shell of Xiaomi, causing system failures or β€œoutages” of standard applications.

However, blocking is a disadvantage for power users, such as:

  1. Install alternative launchers (like Nova Launcher or Hyperion).
  2. Test beta versions of apps (such as WhatsApp Beta or Google Apps).
  3. Use regionally blocked services (like Google Pay in some countries).
  4. Restore backups of applications through Titanium Backup.

⚠️ Note: On devices with an unlocked bootloader, the risk of installing malware increases 3 times. If you have previously performed fastboot oem unlock, be sure to check the hash amounts of downloaded APK utilities MD5 Checker.

Method 1: Application-specific resolution (MIUI 12/13/14)

With Android 8.0 (and MIUI 9 respectively), Xiaomi has moved to an application-by-application permissions model, which means you don’t enable APK installation globally, but you give a specific program (like a browser or file manager) the right to install files.

The instructions are relevant for:

  • πŸ“± Redmi Note 10/11/12, POCO F3/F4/F5, Xiaomi 11/12/13/14
  • πŸ“² MIUI 12.5, 13, 14 (including global and Chinese versions)

Steps:

  1. Download. APK-remember which application it was made through (e.g. Chrome or Files by Google).
  2. Open Settings β†’ Applications β†’ Application Management.
  3. Find the application through which the file was downloaded (for example, a browser) in the list and tap it.
  4. Select the Permissions item β†’ Installation of unknown applications.
  5. Activate the Allow switch from this source.

β˜‘οΈ Preparation for installation APK

Done: 0 / 5

πŸ’‘ Example: If you downloaded APK And if you use Telegram, you need to give permission to that messenger, not the file manager.

What to do if the item "Install unknown applications" is not available?
On some firmware (e.g., the Chinese version of MIUI without Google services), this item may be hidden, in which case use Method 2 (global resolution) or install APK via adb install (requires a PC).

Method 2: Global All-source Resolution (Older versions of MIUI)

On Android 7.0 and lower (or MIUI 8 and older), the setup works differently β€” there is a single switch for all sources, and this method is also suitable for some custom firmware like LineageOS or Pixel Experience installed on Xiaomi.

Step-by-step:

  1. Go to Settings β†’ Further β†’ Privacy.
  2. Activate Unknown Sources (may be called Installation from Unknown Sources).
  3. Confirm the action in the dialog box by pressing OK.

On some models (e.g. Redmi 4X or Mi A1), the path may differ: Settings β†’ Security β†’ Device Administration β†’ Unknown sources.

⚠️ Note: Once this setting is enabled, Xiaomi Security (built-in antivirus) will issue warnings every time you try to install it. APK. To disable notifications:

  1. Open Security β†’ Settings β†’ Security Warnings.
  2. Disable Warn about Installing Unknown Applications.
Xiaomi modelMIUI/Android versionThe path to settingsIs confirmation required?
Redmi Note 9 ProMIUI 12.5 / Android 11Settings β†’ Applications β†’ Management β†’ PermissionsYes (for each appendix)
POCO X3 NFCMIUI 13 / Android 12Settings β†’ Applications β†’ Management β†’ Special AccessYes.
Mi 10TMIUI 14 / Android 13Settings β†’ Applications β†’ Permissions β†’ Installation of unknown applicationsYes.
Redmi 5 PlusMIUI 10 / Android 8.1Settings β†’ Additional β†’ PrivacyNo (global)

Method 3: Install APK via ADB (for power users)

If the system persistently blocks the installation, you can use Android Debug Bridge (ADB). This method works on all versions. MIUI It does not require permissions in settings, but you need a computer and USB-cable.

What you need:

  • πŸ–₯️ Computer with Windows/macOS/Linux.
  • πŸ”Œ USB-cable (preferably original).
  • πŸ“₯ Utility. ADB Tools by Google.
  • πŸ“± Included debugging by USB smartphone.

Instructions:

  1. Download and unpack the platform-tools on your computer.
  2. On your smartphone, turn on Settings β†’ About Phone β†’ MIUI version (tap 7 times to activate the developer mode).
  3. Return to Settings β†’ Additional β†’ For developers and enable USB debugging.
  4. Connect your phone to your PC and enter adb devices in the terminal (a device with a serial number should appear).
  5. Set the APK command: adb install to file.apk For example: adb install C:\Downloads\app-release.apk.

πŸ’‘

If ADB doesn’t see the device, try reinstalling Xiaomi USB Drivers or using a USB 2.0 port instead of 3.0. On some laptops, USB-C ports may not support debugging.

⚠️ Attention: Installation through ADB bypasses signature verification APK, What could be used by attackers to inject Trojans, always check the source of the file and its hash before installing it.

How to check APK pre-installing viruses?

Even if you have authorized installation from unknown sources, each APK-You need to check the file before opening it:

  • πŸ” Upload the file to virustotal.com, the service will check it 70+ Look at the results from Kaspersky, Bitdefender and ESET.
  • πŸ›‘οΈ MetaDefender, a sandbox-enabled VirusTotal alternative (opswat.com) shows what the app does after installing.
  • πŸ“Š APKMirror. If you download from this site, check: Hash match (SHA-1) Availability of the developer signature (Signature field in the file properties).
  • πŸ” Local check. Install Malwarebytes or Dr.Web Light on your phone and scan the file before installing it.

πŸ“Š Where do you usually download from? APK-file?
Official Developer Websites
APKMirror
Telegram channels
Forums (4PDA, XDA)
Other

πŸ’‘ Advice: If APK It weighs significantly less or more than the original version from Google Play, which is a reason to be wary. ~30-40 MB, and modified versions (like GBWhatsApp) β€” 50-60 MB.

What if Xiaomi blocks the installation?

Sometimes even after the permissions are turned on, the system issues errors such as:

  • β€œInstallation locked”;
  • β€œI was unable to analyze the package”;
  • "No attachment installed."

Possible causes and solutions:

Mistake.Reason.Decision
INSTALL_BLOCKEDMIUI blocks installation due to security policy.Turn it off. MIUI Optimization in the Developer Settings (setprop) persist.miui.optimization_disabled 1 through ADB).
PARSE_ERRORDamaged or incomplete APK-file.Download the file and check its hash amount.
INSTALL_FAILED_UPDATE_INCOMPATIBLEConflict with the already installed version of the application.Remove the old application or use the command adb install -r -d file.apk.
INSTALL_FAILED_TEST_ONLYAPK is only for test devices.Download another version (e.g. release instead of debug).

How to avoid the error "The app does not support your device"
This error occurs when the manifesto APK restrictions on the model or version of Android: 1. Edit AndroidManifest.xml (require decompilation APK). 2. Use a patcher like Lucky Patcher (risky). 3. Set through ADB flag-headed --force-all: adb install --force-all file ⚠️ This can lead to malfunctions in the application!

How to minimize risks when installing an APK

Allowing installations from unknown sources is always a tradeoff between convenience and safety.

  • πŸ” Use a separate user profile. on Android 12+ You can create a working profile (through Settings) β†’ System system β†’ Multitasking) and establishing questionable APK only.
  • πŸ›‘οΈ Turn off auto-start for new apps. Go to Settings β†’ Annexes β†’ Auto-run and disable background activity for freshly installed programs.
  • πŸ“΅ Limit the permits. APK Open the settings. β†’ Annexes β†’ Permits and disable access to contacts, SMS, geolocation, unless critical to the program.
  • πŸ”„ Check your system regularly, install NetGuard or Exodus Privacy to monitor new applications.

πŸ’‘

Even if the APK is downloaded from a reliable source, its behavior can change after the update. Always monitor the activity of installed applications through Settings β†’ Battery β†’ Energy Use (unexpected battery consumption is a sign of malware).

πŸ’‘ Example: Revanced Manager (for YouTube patching) requires installation permissions APK, But if you download it from an unofficial site, the risk of getting a modified version with miners or spyware increases dramatically.

FAQ: Frequent questions about installing APK on Xiaomi

❓ Can installation be allowed? APK without the developer mode?
Yes, on most Xiaomi devices, it is enough to give permission to a specific application (see Method 1). Developer mode is only needed to install through ADB or disable MIUI optimizations.
❓ Why After Updating MIUI permit reset?
This is a feature of Xiaomi's security policy: After major updates (like MIUI 13 to 14), the system resets permissions for unknown sources, and you have to turn them on again.
❓ How to install APK Xiaomi with a blocked bootloader?
The locked bootloader does not interfere with the installation of APKs - it only limits the modification of system files (firmware, kernel).Use Method 1 or Method 3 (ADB).
❓ Can we determine APK Xiaomi without a computer?
Yes, if you allow installation for a file manager or browser (see Method 1). For ADB, a computer is mandatory, but this is an extreme case.
❓ Why are some APK They are not even installed with permission?
Possible reasons: APK is built for a different processor architecture (e.g. arm64 instead of armeabi-v7a); the manifest specifies a restriction on Android (e.g., Android 13+ is required, and you have 12); the file is corrupted or not fully downloaded (check the hash amount).