How to allow the installation of applications from unknown sources on Xiaomi phones

Install applications from third-party sources on Xiaomi smartphones (including Redmi models and other devices) POCO) blocked by default security system MIUI. This measure protects the device from malware, but at the same time restricts users who want to install it. 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 the installation for different versions of MIUI (12 to 14) and Android (11-14), and learn how to minimize the risks when working with.apk files. We will analyze the nuances for specific models (for example, Xiaomi 13 Pro or Redmi Note 12), explain the difference between global and Chinese firmware, and give recommendations for security.

Important: the procedure is different from the standard for โ€œpureโ€ Android โ€“ Xiaomi has added additional layers of protection. If you previously tried to enable the option through Settings โ†’ Apps and did not find the right item, do not be surprised: in MIUI the path is different.

Why is Xiaomi blocking APK installations from unknown sources?

According to Xiaomi Security Center, in 2023, more than 30% of infections of Android smartphones occurred through third-party APK-Files disguised as popular apps (such as modified versions of WhatsApp or TikTok) are blocked, reducing the risk of accidentally installing viruses, spyware or advertising software.

The second reason is compliance with Googleโ€™s policies: Since 2021, Google Play Protect has been actively scanning devices for uncertified applications, and on Xiaomi smartphones with Google Mobile Services (GMS) preinstalled, this feature is integrated into the MIUI security system.

However, the blockage creates inconvenience for:

  • ๐Ÿ”ง Developers testing their applications on real devices.
  • ๐ŸŽฎ Gamers installing modified versions of games (e.g., via HappyMod or ACMarket).
  • ๐ŸŒ Users in regions where Google Play is restricted (e.g. China or Iran).
  • ๐Ÿ”„ Those who recover data through third-party utilities (for example, Dr.Fone).

โš ๏ธ Note: On devices with Chinese firmware (China) ROM) installation APK This may result in the blocking of your Mi Account account when you try to log into Xiaomi services (for example, Mi Cloud or Mi Home.

Preparation: What to do before unlocking?

Before you turn on the APK installation, follow a few critical steps:

  1. Check out MIUI and Android. It's the way you go. You can find out in Settings โ†’ About Phone โ†’ MIUI. For example, on Xiaomi 12T with MIUI 14 and Android 13, the menu will be different from Redmi 9A with MIUI 12.5 and Android 10.
  2. Download. APK-file from a trusted source. Use verified sites: ๐Ÿ”— APKPure (Scans files for viruses). ๐Ÿ”— APKMirror (publishes originals) APK modificationless). ๐Ÿ”— Official developer sites (such as Telegram or Telegram) VK offer APK manually).

Make sure the file is not damaged.

MD5

SHA-1

Hash Droid

Create a backup copy of the data.

Android 12+

Google Play System Updates

If you install an APK to modify system applications (such as MiuiHome or Security), pre-unlock the bootloader.

๐Ÿ“Š What do you most often install for? APK source?
Modification games
Beta versions of applications
Applications not available in my region
Data recovery
Other

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

The algorithm depends on the version of MIUI. Below are the current methods for firmware for 2022-2026. If your version is older (MIUI 11 and below), use an alternative method.

Method 1: For MIUI 14 / Android 13-14 (Xiaomi 13/14, Redmi Note 12, POCO F5)

The new versions have changed the way due to the tightening of security policy:

  1. Open Settings (the gear icon on the main screen).
  2. Go to the Appendix section โ†’ Application management.
  3. Press three points (โ‹ฎ) in the upper right corner and select Special Access.
  4. Slip on the item Install unknown applications.
  5. In the list, select the application you will install APK through (for example, File Manager, Chrome or Xiaomi File Manager).
  6. Activate the switch Allow installation from this source.

Then you can open it. APK-Note that permission is given separately for each installer, for example, if you downloaded a file in Chrome but try to open it through the File Manager, you will need to re-authorize access for the second application.

โ˜‘๏ธ Preparation for installation APK on MIUI 14

Done: 0 / 5

Method 2: For MIUI 12โ€“13 / Android 11โ€“12 (Redmi 10, POCO X3, Mi 11)

On these versions, the interface is slightly different:

  1. Go to Settings โ†’ Applications โ†’ Application Management.
  2. Select the Three Dots tab (โ‹ฎ) โ†’ Special access โ†’ Installation of unknown applications.
  3. Find the application you plan to install APK through (such as Browser or Downloads).
  4. Enable the slider Allow installation from this source.

If the desired application is not in the list, open first. APK-file through it โ€“ the system will automatically add it to the menu Install unknown applications.

Method 3: For older versions (MIUI 11 and below / Android 9-10)

On devices up to MIUI 12 (e.g. Redmi 8 or Mi A3), the classic method is used:

  1. Open Settings โ†’ Additional โ†’ Privacy.
  2. Activate the option Unknown sources.
  3. In the window that appears, confirm the action by pressing OK.

On some models (e.g., POCO F1), the path may be different: Settings โ†’ System and Device โ†’ Additional โ†’ Privacy.

MIUI versionPath in settingsFeatures
MIUI 14 (Android 13โ€“14)Applications โ†’ Application Management โ†’ Special Access โ†’ Installation of Unknown ApplicationsPermission is given separately for each application (Chrome, File Manager, etc.).
MIUI 12โ€“13 (Android 11โ€“12)Applications โ†’ Application Management โ†’ Special Access โ†’ Installation of Unknown ApplicationsThe list of applications appears only after the first attempt to install the APK.
MIUI 11 and below (Android 9-10)Additionally. โ†’ Confidentiality โ†’ Unknown sourcesGlobal permission for all applications (less secure)
Chinese firmware (China ROM)Settings โ†’ Password & security โ†’ Privacy โ†’ Special app access โ†’ Install unknown appsYou may need to link to your Mi Account to unlock

โš ๏ธ Attention: On devices with Android 13+ and MIUI 14 after installation APK The system can show a warning: "This application may contain malicious code. Delete it." It's not a bug, that's how Google Play Protect works. If you're sure of the source of the file, click on it. โ†’ Set up anyway.

How to install APK after unlocking?

Once you have permission, you just have to install the file. Here's a step-by-step process.

  1. Find it. APK-File: It is usually stored in the Downloads folder or in the root directory of internal memory. You can use the file manager from Xiaomi or a third-party application (for example, Solid Explorer).
  2. Start the installation. Tap the file and select Install. If you see an "Installation locked" error, go back to the settings and check that the permission is enabled for the current installer (for example, for File Manager).
  3. Confirm permissions. The system may request access to Warehouse, Contacts, or Locations. Please note that some applications (such as modified WhatsApp clients) require permission to send SMS โ€“ this is a potential risk!
  4. Wait until it's done. The progress bar will appear on the screen. Don't interrupt the process, even if it's stuck 90 percent -- some devices (Redmi Note 11) can take up to 2-3 minutes to install.

๐Ÿ’ก

If the APK is not installed through the File Manager, try using the APK Installer from Google Play.This app bypasses some of the limitations of MIUI and shows detailed error logs.

Risks and how to minimize them?

Installing applications from unknown sources carries several threats:

  1. Malware: According to Kaspersky, 1 in 5 in 2023 APK-Third-party files contain viruses or spyware, and modified versions of popular apps (such as WhatsApp Gold or Spotify Premium) are especially dangerous. APK).
  2. Data Leakage: Some APKs request excessive permissions (e.g. access to SMS or Call Log) to collect personal information.
  3. Unstable operation: Applications not optimized for MIUI can cause ANR (hang) or device reboots.
  4. Blocking the Mi Account. On devices with Chinese firmware, the installation of pirated software can lead to a ban on the Mi Account account.

To reduce the risks, follow these guidelines:

  • ๐Ÿ›ก๏ธ Use antivirus. Install Malwarebytes or Bitdefender and scan. APK before installation.
  • ๐Ÿ” Check permissions. If the photo editing app requests access to the SMS or geolocation, that's suspicious.
  • ๐Ÿ”„ Update. Check for updates installed regularly. APK via APKUpdater (the app keeps track of new versions).
  • ๐Ÿ“ฑ Use the sandbox. On Android 11.+ You can install the application in the Work Profile (via Settings) โ†’ Accounts. โ†’ Work profile) to restrict its access to data.

โš ๏ธ Note: On Xiaomi devices with HyperOS (new firmware announced in October 2023) the installation process APK If your smartphone has received an update to HyperOS, use the following path: โ†’ Annexes โ†’ Permits โ†’ Installation of unknown applications.

Frequent mistakes and their solutions

When installing an APK on Xiaomi, users face typical problems.

Mistake.Reason.Decision
"Installation blocked by administrator policy"The device is active corporate policy (for example, through Microsoft Intune) or enabled kiosk mode.Disable the device administrator in Settings โ†’ Accounts โ†’ Delete the account.
โ€œNot enough spaceโ€ (with space available)APK trying to set up on the outside SD-map, but the system blocks it.Move the file to internal memory or change the default installation location in the storage settings.
"Not installed" without additional detailsConflict with an existing version of the application or a damaged cache.Remove the old app, clear the cache in Settings โ†’ Apps โ†’ [Application Name] โ†’ Storage โ†’ Clear the cache.
"Package analysis error" (Parse Error)The file is intended for a different version of Android or processor architecture.Check APK compatibility on the developer's website. For Xiaomi with a Snapdragon processor, select files marked arm64-v8a.
"Device not supported"The APK contains a test for the device model (e.g., Samsung or Huawei).Use patchers like Lucky Patcher (requires root) or look for generic versions of APK.

If none of these methods worked, try:

  1. Install APK via ADB (USB Debugging Requires):
  2. Temporarily disable Google Play Protect in Google Play settings.
  3. Try another file manager (e.g. FX File Explorer).
What if the application is immediately closed after installing the APK?
This is a mistake (ANR โ€” Application Not Responding) is typical for APK, non-optimized MIUI. Decisions: 1. Clear the app cache in the settings. 2. Turn it off. MIUI Optimization through ADB: adb shell settings put global miui_optimization 0 3. Install an older version APK (The new version may require a more recent Android). 4. Check if the application is in conflict with the Security App (antivirus) MIUI).

Alternative ways to install applications without unlocking

If you have not been able to allow installation from unknown sources or do not want to take risks, consider alternative methods:

  • ๐ŸŒ Web versions of applications. Many services (e.g. Telegram, VK, Trello) have full-featured web versions that work through the browser without installing.
  • ๐Ÿ“ฆ Alternative stores: Install Aurora Store (an analogue of Google Play without restrictions) or F-Droid (for open source) these stores do not require unblocking Unknown Sources, as they have their own certificates.
  • ๐Ÿ”„ Transfer through PC. Connect your phone to your computer, copy it. APK In the internal memory, and then install through the PC Suite (official utility from Xiaomi).
  • ๐Ÿ”“ Root access. If you have a Bootloader unlocked, you can install it. APK through TWRP Magisk (for example, using the App Systemizer module).

For corporate users, Microsoft Intune or VMware Workspace ONE are suitable โ€“ these platforms allow you to install applications through MDM (Mobile Device Management) without manual unlocking.

๐Ÿ’ก

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

Can I only allow APK installation for one application?
Yes, starting with MIUI 12 and Android 10, you have permissions for each installer, so for example, you can let it install through Chrome, but you can block it for File Manager, which increases security.
Why did the โ€œUnknown Sourcesโ€ option disappear after the MIUI update?
Starting with MIUI 12, Xiaomi removed the global Unknown Sources switch in favor of a phased resolution for each application. This is due to Google's security requirements. Now the path is: Settings โ†’ Apps โ†’ Special Access โ†’ Install unknown applications.
How to install APK on Xiaomi with Chinese firmware (China ROM)?
On China ROM devices, the process is more complicated: Link your Mi Account (without it, some settings are blocked). Go to Settings โ†’ Password & security โ†’ Privacy โ†’ Special app access โ†’ Install unknown apps. Select an app (like Browser) and activate the resolution. If the option is not available, try changing the device region to India or Global via VPN and reset.
Will the app installed from APK work after the phone is reset?
Yes, but there are nuances: If you make a soft reset (via Settings โ†’ Settings โ†’ Reset), the application will remain, but its settings may reset. If you hard reset (via Recovery), all user data and applications will be deleted. Some system APKs (such as modified MiuiHome or Security) will be replaced with standard ones after the reset.
Can I install APK on Xiaomi without turning on Unknown Sources?
Yes, there are workarounds: Use the Aurora Store or F-Droid - they install apps without unlocking. Install APK via ADB (USB Debugging Requires): adb install path/to/file.apk Some models run installation via Mi PC Suite (the official software from Xiaomi for PC). However, these methods do not guarantee the application will work - some APKs require explicit permission to install.