Installation from unknown sources on Xiaomi: how to turn on and what to consider

Installing apps from unknown sources on Xiaomi smartphones is a topic that has raised questions among users. On the one hand, it opens up access to programs that are not available on Google Play or MIUI App Store. On the other hand, improper use can expose the device to the risk of virus infection or data leakage. Why does MIUI block such installations by default? It's simple: it's part of a security policy aimed at protecting users from potentially dangerous software.

In this article, we will not only examine how to enable installations from unknown sources on different versions of MIUI, but also what hidden security settings exist in Xiaomi firmware since MIUI 12. You will learn how to circumvent the restrictions for specific applications (for example, browsers or file manager), which models have specific settings, and how to minimize the risks when installing APKs from third-party sources.

To start with, enabling installations from unknown sources is not a universal switch, but a flexible permission system. With new versions of MIUI (starting with 12.5), developers have moved away from global resolution for the entire device, giving users the ability to allow APK installation separately for each application (such as Chrome or File Manager only), which complicates the process for beginners, but makes the system safer.

Why is Xiaomi blocking APK installations from unknown sources?

According to Xiaomi Security Report 2023, more than 40% of malware attacks on Android devices occur through the installation of applications from unverified sources. MIUI firmware by default blocks such installations to prevent:

  • 🦠 Infection with Trojans or spyware (such as FakeBank or Cerberus)
  • πŸ“± Leakage of personal data through fake applications (cloned messengers, banking programs)
  • πŸ”‹ Overheating and fast battery discharge due to hidden cryptocurrency mining
  • πŸ“΅ Unauthorized access to SMS, geolocation

The second important aspect is compliance with Google policies. Since Android 8.0 Oreo, Google has tightened the requirements for external APK installation, and manufacturers, including Xiaomi, are required to restrict this feature, otherwise their devices do not receive Google Mobile Services (GMS) certification. Which is why new versions of MIUI do not have a single β€œAllow Installation from Unknown Sources” switch – instead, you have to configure permissions for each application separately.

But there is a downside: some legitimate applications are distributed only through APKs (e.g., betas, regionally blocked programs, or dedicated developer software), without the ability to install from unknown sources, Xiaomi users are denied access to such tools.

πŸ“Š Why you need an installation APK source?
Installation of beta versions of applications
Use of regionally blocked programs
Developing/testing your own applications
Installation of modified (fashionable) versions of games
Other

How to enable installation from unknown sources on Xiaomi: universal instruction

The algorithm of actions depends on the version of MIUI and the model of the smartphone. Below is a step-by-step instruction that is relevant for most Xiaomi, Redmi and POCO devices on MIUI 12/13/14 and HyperOS:

  1. Download. APK-a file in the phone memory (for example, through a browser or file manager).
  2. Open the file manager and find the downloaded file.
  3. If you try to install it, you will receive a warning: "Installation blocked. Permit installation from this source?"
  4. Click on Settings in the warning window – this will redirect you to the permissions section for a specific application (like File Manager or Chrome).
  5. Activate the "Allow installation from this source" switch.
  6. Go back to APK-File and try to install again.

Important: MIUI 14 and HyperOS have changed the way to security settings. Now it looks like this: Settings β†’ Annexes β†’ Application management β†’ βš™οΈ (settings) β†’ Special access β†’ Installation of unknown applications.

If you don’t see the β€œInstall Unknown Apps” option, you may have your device activated a child mode or corporate security policy (e.g., on work phones), and you may need to disable these restrictions in the appropriate settings sections.

β˜‘οΈ Preparation for installation APK

Done: 0 / 5

Features for different Xiaomi models

Some Xiaomi devices have unique nuances in their security settings, and the table below shows the key differences for popular models:

Model/SeriesFeatures of APK installationAdditional action
Xiaomi 13/14 series(MIUI 14/HyperOS)A fingerprint confirmation is required or PIN-code when first permitting is included.Go to Settings β†’ Passwords and Security β†’ Privacy β†’ Special Access.
Redmi Note 10/11/12(MIUI 12.5–13)The option "Unknown sources" can be hidden in the Additional settings.Use the search by settings (the magnifier in the upper right corner) and enter the request "Install unknowns".
POCO F3/F4/F5In the firmware POCO Launcher, the path to settings may differ.Open the Settings. β†’ Annexes β†’ Application management β†’ βš™οΈ β†’ Installation of unknown applications.
Xiaomi Pad 5/6On tablets, the option may be called β€œInstallation from external sources”.Check the Settings section β†’ Security β†’ Additionally.
Devices for China (without Google services)Google Play Services must be activated through GetApps.Install Google Installer from the official Xiaomi store before setting up the permissions.

On HyperOS devices (such as Xiaomi 14 or Redmi K70), the settings interface has become more minimalist. To find the desired partition, sometimes you have to search the system or scroll through the App menu to the end - the option can be hidden under the item "Additional" or "System permissions".

What if the "Install Unknown Applications" option is inactive (grey)?
This means that the device policy is activated (e.g., via MDM-Business phone solution) or Child mode enabled to unlock option: 1. Check for device management apps (e.g. Android Device Policy or Mi Enterprise). 2. Turn off child mode in Settings β†’ Accounts and synchronization β†’ Family Security 3. If the phone is working, contact the IT-department for unlocking administrator rights.

Risks and how to minimize them

Installing APKs from unknown sources always carries risks, but these can be minimized by following a few rules:

  • πŸ›‘οΈ Check the source. Download. APK only from trusted sites: APKMirror (official mirror applications) APKPure (with verification system) Official sites of developers (for example, telegram.org for Telegram X)
  • πŸ” Analyze the file before installing. Download. APK on VirusTotal.com or use the built-in scanner MIUI Security (Settings) β†’ Passwords and security β†’ Virus scanner).
  • πŸ“‹ Read the permission requests if the messenger requires access to the SMS Geolocation or geolocation is suspicious.
  • πŸ”„ Update regularly. Outdated. APK It may contain vulnerabilities that are already closed in new versions.

⚠️ Attention: Some harmful APK They may be masquerading as popular apps (like WhatsApp Plus or GBInstagram) that steal account data or spam on your behalf. Always check reviews and reputations of modified versions.

If you frequently install APKs from unknown sources, consider using a sandbox (isolated environment to run apps).

  1. Install Shelter or Island from F-Droid (root rights required)
  2. Activation of guest mode in Settings β†’ System and device β†’ Users.
  3. Using a virtual machine (e.g., UserLAnd to run Android in an isolated environment).

πŸ’‘

Before installing an APK, create a restore point in Settings β†’ About Phone β†’ Backup and Reset β†’ Local Backup. This will help you roll back the system quickly if something goes wrong.

What to do if the APK installation is interrupted with an error?

Errors when installing APKs from unknown sources on Xiaomi can occur for several reasons, and here are the most common scenarios and solutions:

Mistake.Reason.Decision
"Not installed" (without additional details)Damaged. APK-file or incompatibility with the Android version.Download the file again. Check compatibility in the application description.
"Installation blocked by device policy"Administrator mode is activated (for example, through Find My Device or corporate software).Disable the administrator in Settings β†’ Passwords and Security β†’ Device Administrators.
"I couldn't analyze the package."APK is designed for a different processor architecture (e.g. arm64 instead of arm).Download the APK version for your architecture (you can find it in Settings β†’ About Phone β†’ Version of the kernel).
"Installation from this source is prohibited" (despite permission)The cache of the system or the Package Installer data is damaged.Clear the cache to Settings β†’ Apps β†’ All Apps β†’ Package Installer β†’ Storage β†’ Clear the cache.

If none of these methods worked, try installing APK via ADB (Android Debug Bridge).

  1. Enable USB debugging in Settings β†’ About Phone β†’ MIUI Version (click 7 times) β†’ Additional settings β†’ Developer Options β†’ Debugging over USB.
  2. Connect the phone to the PC and execute the command: adb install path to file.apk

⚠️ Attention: Installation through ADB bypasses some security checks MIUI. Use this method only for trusted APK, As it increases the risk of installing malware.

Alternative ways to install applications without unlocking unknown sources

If you need to install an app that isn’t available on Google Play, but you don’t want to activate the installation from unknown sources, there are a few legal workarounds:

  • 🌐 Web versions of applications. Many services (e.g. Telegram, Notion) have full-featured web versions that run in the browser without installing.
  • πŸ“¦ Alternative stores: Install Aurora Store (an anonymous client for Google Play) or F-Droid (open source) without permission from unknown sources.
  • πŸ”— Links to Google Play. Some APK (For example, regionally blocked ones can be set up via a direct link to play.google.com if you temporarily change your account region.
  • πŸ–₯️ Android Emulators: Run the app on PC via BlueStacks or Genymotion if it's not critical for mobile use.

For Xiaomi users in China (without Google Play Services), the best solution is to install Google Installer from the official Xiaomi store, and then you can use Google Play without having to include unknown sources for most apps.

πŸ’‘

If the app is available in the MIUI App Store (like Tencent MyApp for Chinese firmware), always install it from there – this guarantees security checks at Xiaomi level.

Frequent Questions and Myths About Installing APK on Xiaomi

❓ Can I turn on the installation from unknown sources forever?
No, newer versions of MIUI (starting with 12.5) don’t have a global switch, and the resolution is given separately for each application (e.g., Chrome or File Manager only) and resets after reinstalling the application.
❓ Why After Updating MIUI The β€œUnknown Sources” option is missing?
Chances are you’ve upgraded to MIUI 13/14 or HyperOS, where the path to settings has changed: use a Settings search for β€œInstall Unknowns” or check the Special Access section in your application settings.
❓ Is it safe to install modified versions of applications (e.g. GBWhatsApp)?
Modified APKs often contain backdoors or spyware. In 2022, for example, a modified version of WhatsApp Plus distributed a Triada Trojan that steals bank card data. If you need additional features, use official alternatives (for example, Telegram X instead of mods for WhatsApp).
❓ How to roll back changes if after installation APK phone stopped?
If the app caused crashes: Delete it in Settings β†’ Apps. Clear the cache in Settings β†’ Storage β†’ Clean. If the problem persists, reset settings through Settings β†’ About Phone β†’ Settings Reset (select Reset App Settings to keep data from being lost).
❓ Is the installation working? APK Xiaomi with a blocked bootloader?
Yes, installing an APK from unknown sources does not require unlocking the bootloader. The restrictions are only related to MIUI security settings, not hardware protection. However, for system modifications (such as Magisk installation or custom firmware), unlocking the bootloader is mandatory.