How to enable APK installation from unknown sources on Xiaomi: full instruction

Why is Xiaomi blocking the installation of apps from unknown sources?

Xiaomi’s MIUI-based smartphones by default prohibit the installation of apps (.apk) from third-party sources β€” not from Google Play or the Mi App Store. This is not a whim of the manufacturer, but a security measure embedded in Android at the operating system level. The main reason is to protect users from malware that can:

πŸ”Ή Stealing personal data (logins, passwords, bank details).

πŸ”Ή Install hidden mining scripts or spyware modules.

πŸ”Ή Deface system files, causing phone malfunctions.

However, there are times when you need to install an APK: testing beta versions of applications, using specialized software (for example, root rights or custom firmware), or accessing programs that are not available in your region, in which case permission to install from unknown sources can be activated, but with the understanding of all the risks.

Important: Starting with Android 8.0 Oreo (and the corresponding versions of MIUI 9+), the system does not require global resolution, but individual access for each application that will install the APK. This complicates the process for beginners, but increases security control.

Preparing the phone before enabling the APK installation

Before you change your security settings, follow a few mandatory steps:

  • πŸ“± Update MIUI to the latest version: go to Settings β†’ About Phone β†’ System Update. Outdated versions of the shell may contain vulnerabilities that are exploited by malicious APK.
  • πŸ”‹ Charge your phone at least 50 percent. Interrupting the installation process due to battery drain can cause the application to malfunction.
  • πŸ“ Check the source APK. Only download files from official developer sites or trusted resources (APKMirror, APKPure). Avoid torrents and suspicious forums.
  • πŸ›‘οΈ Install an antivirus (such as Malwarebytes or Bitdefender). Even if you trust the source, additional verification will do.

If you plan to install modified apps (such as those from sites like ACMarket or BlackMod), be aware that they often contain:

  • 🚫 Advertising SDK is aggressive advertising that is difficult to disable.
  • πŸ”„ Server swaps – your data may leak to third-party resources.
  • πŸ”“ Bypassing license checks β€” which is a violation of Google Play’s user agreement.
πŸ“Š Why do you need to install APK source?
Testing beta versions of applications
Install applications that are not available in my area
Use of modified (mod) versions of games
Working with custom firmware or root rights
Other

Step-by-step: how to allow APK installation on Xiaomi

The process differs depending on the version of MIUI and the phone model, and below is the universal algorithm for devices on MIUI 12-14 (Redmi Note 10/11/12, POCO X3/X4/X5, Xiaomi 11/12/13, etc.).

Step 1. Permission for File Manager

Most often, APKs are installed through a standard File Manager (Files or Mi File Explorer) to allow installation of:

  1. Open Settings β†’ Applications β†’ Application Management.
  2. Click on the three dots in the top right corner and select Special Access.
  3. Slip on the item Install unknown applications.
  4. In the list, find Files by Google (or Files by Google if you use it) and turn on the switch.

Step 2: Browser resolution (if you download APK directly)

If you download APK via your browser (Chrome, Mi Browser), it also needs permission to:

  1. Go to Settings β†’ Applications β†’ Application Management.
  2. Select your browser (such as Google Chrome).
  3. Apply permissions β†’ for additional permissions.
  4. Activate the option of Install unknown applications.

β˜‘οΈ Preparation for installation APK

Done: 0 / 5

Step 3: Install APK through file manager

When the permissions are set up, the remaining:

  1. Open the File Manager and find the downloaded APK- file (usually in the Download or Download folder).
  2. Put it on the file. You'll see a system warning, click Set.
  3. If additional permissions are requested (access to contacts, storage, etc.), read them carefully before confirming.
  4. Wait until the installation is finished and click Open or Ready.

⚠️ Note: If the error "Application not installed" appears during installation, check:

  • πŸ”Ή Compatibility of APK with your version of Android (you can find out in Settings β†’ About Phone β†’ Android version).
  • πŸ”Ή File integrity (damaged) APK never set).
  • πŸ”Ή A newer version of this app already installed on the phone.

Solving Common Errors When Installing APK

Even after allowing installation from unknown sources, Xiaomi users often encounter problems, and below is a table with typical errors and ways to fix them.

Mistake.Possible causeDecision
Application not installedAPK is designed for a different processor architecture (ARM/x86)Download the APK version for arm64-v8a (for most modern Xiaomi)
Installation blocked by security policyGoogle Play Protect or Enterprise RestrictionsTurn off Play Protect in Google Play settings or use another account
Not enough space.APK requires more memory than is available in the system partitionClear the cache (Settings) β†’ Storage) or transfer files to SD-map
The signature of the annex does not matchTry to install a modified version on top of the originalRemove the old app before installing the new APK

If the error persists, try:

  • πŸ”„ Reboot your phone – sometimes helps to reset the system’s time constraints.
  • πŸ“¦ Install APK via ADB (for power users): adb install path/to/file.apk
  • πŸ”§ Disable MIUI Optimization (in developer settings) if it interferes with the installation.

πŸ’‘

If the APK is not installed on Xiaomi with HyperOS (new 2026 models), try temporarily disabling MIUI Protection in the security settings.

How to minimize risks when installing an APK

Allowing installations from unknown sources opens up potential vulnerabilities to mitigate risks:

  1. Check the hash sums of files. Official sites often specify MD5 or SHA-1 to verify APK integrity. Compare them with applications like Hash Droid.
  2. Use sandbox. Applications like Shelter or Island let you run untrusted software in an isolated environment.
  3. Limit permissions. Once installed, go to Settings β†’ Apps β†’ [app name] β†’ Permissions and disable unnecessary permissions (e.g., SMS or geolocation access).
  4. Backup. Before installing questionable APKs, backup your data via Settings β†’ Additional β†’ Backup and Reset.

⚠️ Warning: Some APK may contain a spivar, a legitimate application with malicious code embedded.

  • πŸ”‹ Unexpected battery consumption (check in Settings β†’ Battery).
  • πŸ“Ά Increased traffic in the background (see Settings β†’ SIM cards and mobile networks β†’ Traffic).
  • πŸ“± Appearance of unfamiliar apps or ads on the lock screen.
What if after installing the APK, the phone started to brake?
If your smartphone is slower, follow the following steps: 1. Go to Settings β†’ Apps and sort CPU programs. 2. Remove the recently installed APK. 3. Clear the cache through Settings β†’ Storage β†’ Clear the cache. 4. If the problem persists, reset to factory settings (pre-saving data).

Features for different Xiaomi models

The APK installation permit process may vary slightly depending on the model and version of MIUI. Below are key nuances for popular lines.

Redmi Note 10/11/12 Pro and POCO X3/X4/X5

On these devices, the path to security settings is:

  1. Settings β†’ Applications β†’ Application Management β†’ [select application] β†’ Permissions β†’ Install unknown applications.

On POCO with MIUI for POCO, you may need to further disable MIUI Optimization in the developer settings.

Xiaomi 12/13/14 (flagship models)

On the new flagships with HyperOS (2026), the algorithm is as follows:

  1. Go to Settings β†’ Privacy β†’ Special Permissions β†’ Install Unknown Applications.
  2. Select an app (such as Google Files) and activate permission.

These models also have an automatic APK check via Mi Security. If the system blocks the installation, try temporarily disabling Security Check in your antivirus settings.

Redmi A1/A2 (budget models on pure Android)

On Android Go devices (without MIUI), the path is standard for Android:

  1. Settings β†’ Applications and notifications β†’ Additional β†’ Special Access β†’ Installation of unknown applications.

There are no additional layers of protection from Xiaomi, but features like MIUI Optimization are also available.

πŸ’‘

HyperOS devices (Xiaomi 14, Redmi Turbo 3) may require installation confirmation via Mi Account. If you do not have a Xiaomi account attached, the system will block APK installation from unknown sources.

Alternative ways to install APK without permissions

If the standard method does not work (for example, due to corporate restrictions), workarounds can be used:

1. Installation via ADB (no root)

It's suitable for power users. You'll need:

  • πŸ–₯️ Computer with installed ADB-driver.
  • πŸ”Œ USB-cable (preferably original).
  • πŸ“± Included Debugging on USB on the phone (Settings β†’ About Phone β†’ Version MIUI β†’ 7 times tap to activate Developer Mode, then Settings β†’ Additional β†’ For Developers β†’ Debugging on USB).

Installation command:

adb install -r -t path/to/file.apk

Flags:

  • -r - reinstall the application if it already exists.
  • -t - allow test installation (for some APKs).

2. Use of installer applications

There are special programs that can install APKs without the system's direct permission:

  • πŸ“¦ SAI (Split APK Installer) – supports split-APK installation (e.g., Google apps like Gmail or Maps).
  • πŸ”§ App Installer – Simplifies the process and shows detailed information about APK before installation.

⚠️ Warning: Some installers ask for dangerous permissions themselves (e.g. access to Accessibility Service).

3. Installation via TWRP (for stitched devices)

If your Xiaomi has custom TWRP recovery installed, you can install APK directly from it:

  1. Download the APK and place it on the SD- card or in internal memory.
  2. Reboot to TWRP (usually Power + Volume Up).
  3. Select Install β†’ Find APK β†’ Swipe for installation.

This method is suitable for system APKs or modified firmware.

FAQ: Answers to Frequent Questions

Can I install APK on Xiaomi without permission from Unknown Sources?
No, it's a technical limitation of Android. However, you can use workarounds, like: Install via ADB (doesn't require explicit permission in settings), convert APK to XAPK and install via SAI. But even in these cases, the system can block the launch of an application if it fails security checks.
Why did the permissions to install APK disappear after the MIUI update?
For major updates (e.g., from MIUI 13 to MIUI 14), the system resets some security permissions. To return access: Re-allow installation for the desired application (file manager or browser). Check if the installation lock function in Settings β†’ Privacy β†’ Installation lock has been activated.
How do I know if the APK is safe before installation?
Check the file with: VirusTotal – download APK Virustotal.com to scan 70+ APKMirror β€” if you download from this site, check for a matching hash amount (SHA-1) SandDroid is a behavior analysis app. APK In the sandbox, pay attention to the: πŸ“Œ File size (too small) APK It could be a "wrap" for malicious code). πŸ“Œ Assembly date (if) APK older than 2-3 years, it may not be compatible with the new version of Android).
What if the application does not start after installing the APK?
Possible causes and solutions: Problem APK solution is for another version of Android Check compatibility on the developer site or download another version. No Google Services (for example, for Gmail or YouTube) Install Google Play Services via APKMirror. Conflict with an already installed application Remove the old application and reinstall the new one. Block MIUI Optimization Disable it in the developer settings.
Can I roll back permission to install APK after use?
Yes, and it's recommended for security. To disable permission: Go to Settings β†’ Applications β†’ Application Management. Select an application (like File Manager). Tap Permissions β†’ Install unknown applications and turn off the switch. This won't delete the APKs already installed, but will block the installation of new ones without your knowledge.