How to Install an Application from an Unknown Source on Xiaomi: The Complete Guide

Installing applications from unknown sources on Xiaomi smartphones (including the Redmi and POCO lines) is a process that requires a special approach due to the strict security limitations in the MIUI shell. Unlike standard Android, where one resolution is enough in the settings, there are several additional steps to go here. This instruction is relevant for devices on MIUI 14/13/12 and Android 13/12/11, including Xiaomi 13/12/11 models, Redmi Note 12/11, POCO F5/X5 and others.

The main problem is that MIUI block APK-Not only are the files on the system level, but also through built-in security tools like Mi Security and Google Play Protect, and after system updates, settings can be reset and verification algorithms can be tightened. In this article, we will break down Xiaomiโ€™s unique way of circumventing restrictions through the Developer Settings, which is not dokumented in official manuals, but works on 90% of the brandโ€™s devices.

Why is Xiaomi blocking APK installations from unknown sources?

Xiaomi has imposed strict restrictions on installing third-party apps not from Google Play for several reasons:

  • ๐Ÿ›ก๏ธ Malware protection: According to Kaspersky, 38% of mobile viruses were spread through fake malware in 2023 APK-files masquerading as popular games or utilities (such as modified versions of WhatsApp or TikTok).
  • ๐Ÿ“ฑ Compliance with Google Policy: To prevent bans on Google Mobile Services (GMS), including Play Market and YouTube, manufacturers must restrict the installation of uncertified apps.
  • ๐Ÿ”„ Controlling ecosystems MIUI: Xiaomi is promoting its own services (for example, Mi App Store), where all applications are moderately moderated.

However, the block has a downside: users cannot set:

  • ๐ŸŽฎ Modified versions of games (e.g., Genshin Impact with unlocked versions) FPS).
  • ๐Ÿ“ฑ Beta versions of applications (for example, Telegram X or VK Test messenger).
  • ๐Ÿ”ง Utility for developers (for example, ADB AppControl or Tasker with Extended Rights).
  • ๐ŸŒ Localized versions of apps that are not available in your region (e.g. Google Pay for the United States).

โš ๏ธ Attention: Installation APK Unknown sources on devices with banking applications (such as SberBank Online or Tinkoff) may result in account access being blocked, and some banks recognize such actions as a potential security threat.

Preparation for installation: check the version of MIUI and Android

Before allowing installation from unknown sources, make sure your device supports this functionality. Some Xiaomi models for the Chinese market (with China ROM firmware) may have additional restrictions.

To check out the MIUI and Android version:

  1. Open the Settings. โ†’ The phone.
  2. Scroll down to the MIUI version section (e.g. MIUI Global 14.0.5).
  3. Click a few times on the Android version bar (e.g. Android 13 TKQ1.221014.001) until you notice youโ€™ve become a developer!
MIUI versionAndroid versionIs APK installation supported?Features
MIUI 14Android 13/12Yes.It requires unlocking through the developer settings.
MIUI 13Android 12/11Yes.Mi Security may need to be disabled.
MIUI 12.5Android 11Yes.Restrictions on installation through the browser.
MIUI 12 (China ROM)Android 10Partially.You need to change the region or firmware to Global ROM.

If you have a Chinese firmware (China ROM), the installation of APKs from unknown sources can be completely blocked.

  • ๐Ÿ”„ Refuse the device on Global ROM or EEA ROM (Europe).
  • ๐ŸŒ Use it. VPN Change the region in the settings of Xiaomi.
  • ๐Ÿ“ฑ Install an alternative launcher (like Nova Launcher) that bypasses some restrictions.
๐Ÿ“Š What firmware is used by your Xiaomi?
Global ROM
China ROM
EEA ROM
LineageOS (Pixel Experience)
I don't know.

Step 1: Allow installation from unknown sources in MIUI

Unlike pure Android, where you just need to turn on one switch, Xiaomi will have to configure two levels of permissions:

  1. System resolution (in security settings).
  2. Permission for a specific application (for example, for a browser or file manager).

Instructions for MIUI 14/13:

  1. Open Settings โ†’ Applications โ†’ Application Management.
  2. Click on the three dots in the top right corner and select Special Access.
  3. Select Install Unknown Applications.
  4. In the list, find the application you will install APK through (such as Browser, Files, or Google Chrome) and allow installation.

For MIUI 12 and older, the path may be different:

Settings โ†’ Privacy โ†’ Special permissions โ†’ Installation of unknown applications

Enable Developer Mode (click 7 times on "MIUI Version")

Allow installation for browser/file manager

Disable "Security Check" in Mi Security (optional)

Download APK Only from verified sources (APKMirror, APKPure)-->

โš ๏ธ Warning: Some Xiaomi devices may receive a notification after permission from unknown sources, Device Protection is disabled. This is normal, but if you see a warning Security Threat: malware, don't ignore it. APK-file contains a virus.

Step 2: Disable Mi Security and Google Play Protect (optional)

Even after allowing installation from unknown sources, MIUI can block the application from running through built-in security tools.

Mi Security Disconnection:

  1. Open the Security app (shield icon).
  2. Go to Settings (cog icon in the upper right corner).
  3. Disable options: Security check when installing Real-time File Scanning

Google Play Protect:

  1. Open the Google Play Store.
  2. Click on the profile icon โ†’ Play Protect โ†’ Settings (cog).
  3. Turn off scanning your device for security threats.

๐Ÿ’ก

If you still block the installation after disabling Mi Security, try temporarily removing the updates for the Security application via Settings โ†’ Apps โ†’ Application Management โ†’ Security โ†’ Three Dots โ†’ Remove the updates.

Step 3: Installation APK-file via file manager or browser

Now we can start installing it. Let's look at two of the most reliable ways to do this.

Method 1: Through the File Manager

  1. Download. APK-file to the device (for example, in the Download folder).
  2. Open the Files app (folder icon).
  3. Find the downloaded file (usually in Internal Memory โ†’ Download).
  4. Click on the file โ†’ Install โ†’ Allow (if a request appears).

Method 2: Through the browser (Chrome, Mi Browser)

  1. Open your browser and go to a site with an APK (such as APKMirror).
  2. Download the file (some browsers may block downloads โ€“ in this case, use Firefox or Opera).
  3. After downloading, click on the notification Download completed โ†’ Open file โ†’ Install.

โš ๏ธ Warning: If you notice suspicious activity after installing the app, do not remove it in the usual way. Some viruses disguise themselves as system processes (e.g. com.android.system). โ†’ Annexes โ†’ App management. Find a suspicious app and click Remove (if the button is inactive, it's a system process). If deletion is not possible, reset to factory settings.

Frequent mistakes and their solutions

When installing APK on Xiaomi, users encounter common errors, and consider the most common and ways to fix them:

Mistake.Reason.Decision
Failed to open the fileThe file is corrupted or not fully downloaded.Download APK again, preferably via Wi-Fi.
Application not installedConflict with the existing version or incompatibility with the Android version.Remove the old app and check for APK compatibility.
Parse ErrorAPK is built for a different processor architecture.Download the version for arm64 (most modern Xiaomi).
Blocking Mi SecurityThe built-in antivirus detects the file as dangerous.Disable Mi Security for installation time or add the file to exceptions.
Lack of memoryThere's no room on the system partition.Clear the cache or transfer the files to SD-map.

If none of these methods worked, try:

  • ๐Ÿ”„ Install APK through ADB (power-user):
  • ๐Ÿ“ฑ Use an alternative installer, for example, SAI (Split APK Installer for applications with multiple files (.apkm,.xapk).

๐Ÿ’ก

If you frequently install APKs from unknown sources, consider creating a second user on Android (via Settings โ†’ System โ†’ Additional โ†’ Multiple Users).

Can I install APK on Xiaomi without disabling Mi Security?
Yes, but only if the file is not recognized as a threat, but Mi Security can block the application from starting even after installation. APK-File in exception: Open Security โ†’ Settings โ†’ Exceptions. Select Add an exception and specify the path to the file. MIUI โ€” On some devices, there is no option.
Why is the installation of APK blocked again after the MIUI update?
When you update MIUI, you reset some security settings, including permissions to install from unknown sources. To avoid this: Before you update, remember which apps you have authorized installation (e.g. Chrome and Files). After you update, reset the permissions (see Step 1). Use automatic tools like MacroDroid to restore the settings.
How to install APK on Xiaomi with Chinese firmware (China ROM)?
On devices with China ROM, installation from unknown sources is often completely blocked. Solutions: Change region: Go to Settings โ†’ Additional โ†’ Region. Choose India or Russia (where the restrictions are milder). Reboot the device. Installing via ADB: adb install -r -t path/to/file.apk Flag -t allows you to install APK on top of an existing application, and -r -replace it. Firming on Global ROM (risky, can lead to lock the device). On some models (for example, Xiaomi Mi 11 Ultra for China), these methods do not work (boot loader).
Is it safe to install modified versions of apps (like Lucky Patcher or GBWhatsApp)?
Modified APK (Mods carry several risks: ๐Ÿ”’ Account Blocking: Using GBWhatsApp or YoWhatsApp could lead to WhatsApp account ban. ๐Ÿ›ก๏ธ Security vulnerabilities: Mods often contain backdoors for data theft. ๐Ÿ“ต Unstable operation: Modified applications may conflict with MIUI, If you're still trying to install a mod, use it: ๐Ÿ” Sandbox (e.g. Shelter or Island) to isolate the application. ๐Ÿ“ฑ Second user on Android. ๐Ÿ›ก๏ธ Antivirus with real-time scanning (e.g. Bitdefender).
Can you roll back changes and return standard security settings?
Yes, to return all security settings to their original state: Open Settings โ†’ Applications โ†’ Application Management. Find Security and Press Storage โ†’ Clear Data. Go to Settings โ†’ Privacy โ†’ Special Permissions โ†’ Install Unknown Apps and Turn Off All App Permissions. Turn back Google Play Protect and Mi Security. After that, the device will return to standard security settings, but the already installed APKs will remain (they will have to be removed manually).