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

Install applications from third-party sources on Xiaomi, Redmi and smartphones POCO blocked by default security system MIUI (This protects the device from malware, but at the same time limits the users who want to install. APK-files outside of Google Play โ€“ be it beta, modified apps or software from alternative stores.

In this article, you will find the most current ways to unlock for all modern firmware versions (including MIUI 14/15 and HyperOS), and learn how to avoid common errors like โ€œInstallation lockedโ€ or โ€œUnknown sourceโ€.

Important: the procedure differs depending on the firmware version and device model. If your Xiaomi runs on HyperOS (released in 2026), some menu items may be called differently - we will specify these nuances separately.

Why Xiaomi is blocking APK installation and is it safe to disable it?

The MIUI/HyperOS system by default prohibits the installation of applications from unknown sources (.apk files) for three key reasons:

  • ๐Ÿ›ก๏ธ Virus protection: More than 30% of Android malware spreads through fake malware APK (Kaspersky data for 2023).
  • ๐Ÿ”’ Ecosystem Control: Xiaomi is promoting its own app store GetApps, where all programs are moderated.
  • โš–๏ธ Compliance with licenses: Some APK (For example, modified games violate the terms of use of Google Play.

But blocking is a problem for power users, and you can't, for example,

  • ๐Ÿ“ฑ Install the beta version of the application before the official release.
  • ๐ŸŽฎ Run emulators or modified games (e.g., Genshin Impact with improved graphics).
  • ๐Ÿ”ง Use specialized software for developers or testers.

โš ๏ธ Warning: Disabling protection increases the risk of infection of the device. APK-Files via VirusTotal before installation. especially carefully download files from torrent trackers or little-known sites.

If you are sure of the APK source, you can temporarily allow installation โ€“ more on that.

The safest method is to only give permission to the application you plan to install APK through, for example, if you download files through Chrome or Xiaomi Files, it is enough to allow installation only for them.

Instructions for MIUI 14/15 and HyperOS:

  1. Download. APK-file to the device (for example, in the Download folder).
  2. Open the file through Xiaomi Files or another manager.
  3. When you try to install, a pop-up will appear with a warning. Click Settings.
  4. Turn on the "Allow installation from this source" switch (name may vary).
  5. Return to the installation and confirm the action.

On HyperOS, the path might look like this:

Settings โ†’ Applications โ†’ Application Management โ†’ [Select App] โ†’ Permissions โ†’ Install Unknown Apps

Once installed, it is recommended to disable this permission back to minimize risks.

Download the file from a verified source only

Check the APK hash amount (optional)

Enable permission for a specific application

Set and immediately disable permission

Check the application with antivirus after installation-->

Method 2: Global Disconnection of Protection (for power users)

If you have to install APKs often, you can completely disable the blocking of unknown sources, which works on all versions of MIUI and HyperOS, but you need to be careful.

Step-by-step:

  1. Open the settings on the device.
  2. Go to Applications โ†’ Application Management โ†’ Application Settings (the HyperOS path can be Applications โ†’ Special Access โ†’ Install Unknown Applications).
  3. Find the option "Installation from unknown sources" or "Special access".
  4. Activate the slider to enable the function.
  5. Confirm the action in the dialog window.
Firmware versionThe path to settingsNotes
MIUI 12-14Settings โ†’ Privacy โ†’ Special permissions โ†’ Installation of unknown applicationsIt may be necessary to unlock the loader.
MIUI 15Settings โ†’ Applications โ†’ Application Management โ†’ Application settings โ†’ Installation from unknown sourcesIn some regions, the option is hidden.
HyperOSSettings โ†’ Applications โ†’ Special access โ†’ Installation of unknown applicationsConfirmation required for PIN-code.

โš ๏ธ Note: Some models (e.g. Xiaomi) 13T Pro or Redmi Note 12 Pro+) Global security shutdown may result in resetting security settings after rebooting.In this case, use Method 1 (application-specific resolution).

On HyperOS devices, after global resolution is activated, the system can request confirmation via SMS or email, an additional security measure introduced in 2026.

Method 3: Use ADB (for advanced users)

If standard methods donโ€™t work (e.g. on enterprise or limited-enabled smartphones), you can unlock APK installation via Android Debug Bridge (ADB), which requires a PC connection.

What you need:

  • ๐Ÿ–ฅ๏ธ Computer with installed Xiaomi and ADB-tools drivers.
  • ๐Ÿ”Œ USB-cable (preferably original).
  • ๐Ÿ“ฑ Included debugging by USB on a smartphone (Settings) โ†’ The phone. โ†’ Version. MIUI โ†’ 7 times to unlock the developer menu, then Settings โ†’ Additionally. โ†’ For developers โ†’ Debugging by USB).

Instructions:

  1. Connect your smartphone to your PC and confirm the debugging permission.
  2. Open the command line (Windows) or terminal (macOS/Linux) in the adb folder.
  3. Enter the command: adb shell settings put global install_non_market_apps 1
  4. Reset the device.

To return the lock, use the same command with 0 instead of 1.

What if the ADB canโ€™t see the device?
If Adb devices donโ€™t show you your smartphone: 1. Make sure that the debugging is enabled USB and selected "File Transfer" when connected. 2. Update drivers via Mi PC Suite. 3. Try another one. USB-cable (not all cables support data transmission). 4. On Windows, disable driver signatures: type in the command line bcdedit /set nointegritychecks on and restart the PC.

Errors in APK installation and how to fix them

Even after unlocking, you may encounter errors, and here are the most common ways to solve them:

Mistake.Reason.Decision
The installation is locked.No permission has been granted for the installer application.Use Method 1 of this article.
Application not installedDamaged APK or incompatible with the Android version.Download the file again or check for support for your OS version.
Not enough space.The APK requires more memory than is available.Clear the cache or install it on a memory card (if supported).
Packet analysis errorThe APK is modified or signed incorrectly.Try a different version of the file or check its integrity.

If the error persists, try:

  • ๐Ÿ”„ Reset the device.
  • ๐Ÿ—‘๏ธ Clear the cache of the Google Play Store and Google Play Services.
  • ๐Ÿ“ฅ Install APK via another file manager (e.g. Solid Explorer).

The installation is locked.

Application not installed

Lack of memory

Packet analysis error

Other-->

How to check APK pre-installing viruses

Before installing any third-party APK, be sure to check it for viruses.

  • ๐Ÿ” VirusTotal: Download the file and wait for the analysis of 70+ antivirus.
  • ๐Ÿ›ก๏ธ APK-Android scanners (such as Malwarebytes or Avast).
  • ๐Ÿ“Š Checking the hash amount: Compare SHA-256 file with official value (if any).

Signs of suspicious APK:

  • ๐Ÿšฉ The file size is very different from the official version.
  • ๐Ÿšฉ Requests excessive permissions (e.g. access to the SMS play-calls).
  • ๐Ÿšฉ Installed through unofficial sources (telegram channels, torrents).

If you downloaded APK from a site like APKMirror or APKPure, check:

  1. The โ€œVerifiedโ€ icon is next to the file.
  2. Matching the name of the package with the official one (for example, com.whatsapp for WhatsApp).
  3. Reviews from other users about the file.

๐Ÿ’ก

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

Frequent questions about installing APK on Xiaomi

Can I install APK on Xiaomi without unlocking the bootloader?
Yes, bootloader unlocking is not required to install third-party APKs, it is only needed to firmware custom ROMs or obtain root rights. All methods in this article work on devices with a locked bootloader.
Why did the permissions to install APK reset after the MIUI update?
This is standard security behavior. After major updates (e.g., from MIUI 14 to HyperOS), all permissions for unknown sources are reset, and you have to repeat the settings from Method 1 or Method 2.
Can I install APK on Xiaomi via Bluetooth or NFC?
Technically, yes, but: ๐Ÿ“ฒ For Bluetooth: you need to first save the file in the memory of the device, then open it through the file manager (permission will need to be issued for the manager). ๐Ÿ“ถ For NFC: Android does not support transmission APK through NFC You can only send a download link directly.
How to remove the application installed through APK if it does not appear in the settings?
If the application is not visible in Settings โ†’ Applications, try: Use ADB: adb uninstall [name packet] (you can find out the name of the package via App Inspector). Delete via Safe Mode: press the power button โ†’ โ€œReboot in Safe Modeโ€ โ†’ delete the application.
Will Google Play work after installing APKs from unknown sources?
Yes, Google Play Store and Google services will continue to work normally. APK It doesn't affect them if: ๐Ÿ”น You havenโ€™t removed Googleโ€™s system apps. ๐Ÿ”น No modified versions of Google services (e.g. MicroG) were installed, except that on devices without Google certification (some models for China), the Play Store may not work initially.

๐Ÿ’ก

Always disable permission to install APKs after use, which will reduce the risk of accidental malware installation through phishing sites or ads.