How to allow the installation of applications from unknown sources on Xiaomi: all the ways

Why You Need “Unknown Sources” on Xiaomi and When to Include Them

The function "Unknown sources"** in MIUI — This is not just a technical setup, but the key to the advanced capabilities of your smartphone Xiaomi, Redmi or POCO. By default, the system blocks the installation APK-Files from third-party resources (not from Google Play or Mi App Store), protecting the device from potentially dangerous software:

Install an application that is not available in official stores (for example, APKMirror, Aptoide or corporate software).

Test beta versions of programs before they are released.

Restore backup applications via Titanium Backup or analogues.

Use modified versions of apps (e.g. YouTube Vanced or Spotify Mod).

Turning this option on doesn’t negate security checks – MIUI still scans files for viruses through the built-in Mi Security. However, the responsibility for the APK source now lies with the user. It’s important to understand that starting with MIUI 12, the permission is not issued globally, but for each installer application separately (for example, for a browser or file manager).

Before you go to the settings, make sure that:

  • 🔹 You download. APK only from trusted sources (e.g. apkmirror.com or official developer sites).
  • 🔹 The file has the correct.apk extension (not.exe or.zip).
  • 🔹 The device has enough free space (minimum 200-300 MB for installation).
  • 🔹 You understand the risks: some modified APK It may contain spyware or advertising modules.
📊 Why you include “Unknown Sources” on Xiaomi?
Installation of modified applications
Testing of beta versions
Backup recovery
Installation of corporate software
Other

Step-by-step: how to enable installation from unknown sources

The activation process depends on the MIUI version and the smartphone model. Below is the universal algorithm for most devices (Redmi Note 10/11/12, POCO X3/X4/X5, Mi 11/12/13, etc.). If your interface is different, use alternative methods from the next section.

Method 1: Through Security Settings (MIUI 12/13/14)

  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. In the list, select the application you will install APK through (such as Files, Chrome, or Mi Browser).
  6. Activate the switch Allow installation from this source.

Then you can open it. APK-For example, if you have allowed the installation for Mi Browser, the files downloaded through it will be opened without locking.

☑️ Preparation for installation APK

Done: 0 / 4

Method 2: Through “Additional Settings” (older versions of MIUI)

On devices with MIUI 10/11, the path may be different:

  1. Go to Settings → System and device → More
  2. Choose Privacy.
  3. Activate the Unknown Sources switch.

In this case, the permission is issued globally for all applications, which is less secure.

💡

If the list does not contain the desired application (for example, Telegram), first try to open the APK through it – the system will automatically prompt you to issue permission.

Alternative Incorporation Methods (if the Standard Method Fails to Work)

Sometimes users are faced with the fact that:

  • 🔸 Installation of unknown applications is not in the menu.
  • 🔸 After activation of the permit APK It's not set up anyway.
  • 🔸 The system emits an error "Installation is blocked».

In such cases, one of the workarounds will help:

Method 1: Use of ADB (for power users)

If you have access to ADB (for example, via a computer), you can manually issue permission to:

  1. Connect your smartphone to your PC and activate USB Debugging in Settings → About Phone → MIUI Version (tap 7 times on version number, then go back to Additional Settings → For Developers).
  2. Open the command line on the PC and type:
adb shell settings put global install_non_market_apps 1

This command unlocks the installation for all applications. To return the restrictions, replace 1 with 0.

Method 2: Installation via TWRP (for stitched devices)

If your Xiaomi has custom TWRP recovery installed, you can flash APK as ZIP:

  1. Download the APK and rename the extension to.zip.
  2. Reboot to TWRP (clip Power + Volume up).
  3. Select Install → Select ZIP → Your file.

⚠️ Note: This method bypasses all security checks MIUI. Install only trusted files!

Method 3: Update MIUI

On some older devices (such as the Redmi 4X or Mi A1), the option may not be available due to outdated firmware.

  1. Go to Settings → About the phone → System update.
  2. Download and install the latest version of MIUI.
What if the APK is not installed even after unlocking?
Check if the file is corrupted (compare the hash with the original one). Make sure the device has enough memory. Try installing APK through another application (e.g., SAI, Split APK Installer for batch APKs).

Table: Compatibility of methods with MIUI versions

MIUI versionStandard way.ADB-teamTWRPNotes
MIUI 14✅ Yes.✅ Yes.✅ Yes.Permission is issued for each application separately.
MIUI 12/13✅ Yes.✅ Yes.✅ Yes.In some regional firmware, the item may be called Installation from external sources.
MIUI 10/11⚠️ Partially.✅ Yes.✅ Yes.It may require global unlocking.
Android One (Mi A2/A3)✅ Yes.✅ Yes.❌ No.It uses stock Android without MIUI.

Mistakes and Solutions: What to Do When Nothing Works

Even after you turn on Unknown Sources**, users often face problems. Consider typical errors and how to fix them.

Error 1: “Installation blocked by device policy”

Reason: A managed account is activated on the device (e.g., via Google Family Link or corporate MDM).

Decision:

  • 📱 Remove the management profile in Settings → Accounts.
  • 🔧 If the device is corporate, contact the administrator.

Error 2: “APK not installed” without explanation

Possible causes:

  • 🗃️ Damaged file (check checksum) MD5).
  • 📱 Incompatible with the Android version (for example, APK Android 12 will not be installed on Android 10).
  • 🔒 Conflict with an existing app (remove the old version).

Solution: Try installing APK via SAI (Split APK Installer) or App Installer from Google Play.

Error 3: The Install button is inactive

This happens if:

  • 🔕 APK It is designed for a different processor architecture (e.g, arm64 vs x86).
  • 📂 The file is not completely downloaded (check its size).
  • 🔐 The device is blocked by the manufacturer (for example, on some devices). POCO regionally restricted).

Solution: Download APK from another source or check it out via VirusTotal.

💡

If none of these methods worked, try temporarily disabling Mi Security in Settings → Security. But remember to turn it back on after installation!

Security: How to protect yourself from malicious APKs

Turning on Unknown Sources opens the door not only for useful but also for dangerous applications.

  • 🛡️ Check the sources: Download APK Only from verified sites: ✅ apkmirror.com (content moderation). ✅ Official developer sites (e.g. telegram.org for Telegram X). ❌ Avoid torrent trackers and file sharing sites with suspicious links.
  • 🔍 Scan files: Check before installation APK VirusTotal (upload file to site) Built-in Mi Security (open file - system will offer verification).
  • 📋 Read permissions: Pay attention to the rights you request when installing, for example, if a flashlight requests access to SMS or Geolocation, it is suspicious.

⚠️ Note: Some modified APK (For example, WhatsApp Mod or Instagram++) If you use these apps, don't enter personal information into them and change passwords regularly.

Useful tool: App Checker (available on Google Play) analyzes installed applications for known threats and shows which ones were installed from unknown sources.

Frequent Questions (FAQ)

Can I include Unknown Sources on Xiaomi without root rights?
Yes, root is not required. All of the methods described (via settings, ADB or TWRP) work without superuser rights, but some system applications (such as Mi Video) may require unlocking the bootloader.
Why did the Unknown Sources option shut down again after the MIUI update?
This is a feature of MIUI: after major system updates, some permissions are reset, you have to re-activate the option for the desired applications, and to avoid problems, back up the list of allowed installers (for example, using App Ops) before upgrading.
How do I know which app has permission to install APK?
Go to Settings → Applications → Application Management → Special Access → Install unknown applications. Here will be a list of all programs with active resolution.
Can I install APK on Xiaomi via a computer?
Yes, there are two ways: via ADB: connect the device to your PC and execute the command adb install path/to/file.apk. Through Mi PC Suite: transfer the APK to the device and open it through the file manager.
What if the application does not start after installing the APK?
Possible causes and solutions: 🔹 Android Incompatibility: Check the OS version in Settings → About the phone and compare with the requirements APK. 🔹 Google Services are not available: Some applications (like Google Camera) require GApps. Install them via Open GApps. 🔹 Conflict with MIUI: Try to turn off optimization. MIUI for application to Settings → Annexes → Select the application → Battery → Optimization MIUI → No restrictions.