Xiaomi smartphones based on MIUI They block third-party applications by default, which is a standard security measure from Google and the manufacturer. APK-A file not from Google Play, like a beta version of a program, a modified application, or software from alternative stores like Aurora Store or APKMirror.
Allowing downloads from unknown sources to Xiaomi is a simple process, but with nuances. Depending on the version of MIUI (12, 13, 14) and Android (10, 11, 12, 13, 14), the steps may differ. Moreover, after the system update, settings are sometimes reset, and access to the APK installation is blocked again. In this article, current ways for all modern devices of the brand, including Redmi, POCO and the Mi line.
β οΈ Warning: Installing applications from unverified sources increases the risk of virus infection, data theft or system damage.Always check files APK via VirusTotal before installation.
If you use Xiaomi at work or store sensitive information on your phone, we recommend you back up your data before changing your security settings.
Why is Xiaomi blocking APK installations from unknown sources?
Banning apps from installing apps outside of Google Play is not a whim of the manufacturer, but part of Androidβs layered security system.
- π‘οΈ Malware protection: According to Kaspersky, in 2023, 98% of mobile viruses were spread through fake malware. APK-files masquerading as popular games or utilities.
- π Permission control: Google Play apps are automatically checked for privacy compliance; third-party files may request dangerous permissions (e.g. access to a security service) SMS geolocation) without the user's knowledge.
- π± Stability MIUI. Some modified APK conflict with the shell of Xiaomi, causing system failures or βoutagesβ of standard applications.
However, blocking is a disadvantage for power users, such as:
- Install alternative launchers (like Nova Launcher or Hyperion).
- Test beta versions of apps (such as WhatsApp Beta or Google Apps).
- Use regionally blocked services (like Google Pay in some countries).
- Restore backups of applications through Titanium Backup.
β οΈ Note: On devices with an unlocked bootloader, the risk of installing malware increases 3 times. If you have previously performed fastboot oem unlock, be sure to check the hash amounts of downloaded APK utilities MD5 Checker.
Method 1: Application-specific resolution (MIUI 12/13/14)
With Android 8.0 (and MIUI 9 respectively), Xiaomi has moved to an application-by-application permissions model, which means you donβt enable APK installation globally, but you give a specific program (like a browser or file manager) the right to install files.
The instructions are relevant for:
- π± Redmi Note 10/11/12, POCO F3/F4/F5, Xiaomi 11/12/13/14
- π² MIUI 12.5, 13, 14 (including global and Chinese versions)
Steps:
- Download. APK-remember which application it was made through (e.g. Chrome or Files by Google).
- Open Settings β Applications β Application Management.
- Find the application through which the file was downloaded (for example, a browser) in the list and tap it.
- Select the Permissions item β Installation of unknown applications.
- Activate the Allow switch from this source.
βοΈ Preparation for installation APK
π‘ Example: If you downloaded APK And if you use Telegram, you need to give permission to that messenger, not the file manager.
What to do if the item "Install unknown applications" is not available?
Method 2: Global All-source Resolution (Older versions of MIUI)
On Android 7.0 and lower (or MIUI 8 and older), the setup works differently β there is a single switch for all sources, and this method is also suitable for some custom firmware like LineageOS or Pixel Experience installed on Xiaomi.
Step-by-step:
- Go to Settings β Further β Privacy.
- Activate Unknown Sources (may be called Installation from Unknown Sources).
- Confirm the action in the dialog box by pressing OK.
On some models (e.g. Redmi 4X or Mi A1), the path may differ: Settings β Security β Device Administration β Unknown sources.
β οΈ Note: Once this setting is enabled, Xiaomi Security (built-in antivirus) will issue warnings every time you try to install it. APK. To disable notifications:
- Open Security β Settings β Security Warnings.
- Disable Warn about Installing Unknown Applications.
| Xiaomi model | MIUI/Android version | The path to settings | Is confirmation required? |
|---|---|---|---|
| Redmi Note 9 Pro | MIUI 12.5 / Android 11 | Settings β Applications β Management β Permissions | Yes (for each appendix) |
| POCO X3 NFC | MIUI 13 / Android 12 | Settings β Applications β Management β Special Access | Yes. |
| Mi 10T | MIUI 14 / Android 13 | Settings β Applications β Permissions β Installation of unknown applications | Yes. |
| Redmi 5 Plus | MIUI 10 / Android 8.1 | Settings β Additional β Privacy | No (global) |
Method 3: Install APK via ADB (for power users)
If the system persistently blocks the installation, you can use Android Debug Bridge (ADB). This method works on all versions. MIUI It does not require permissions in settings, but you need a computer and USB-cable.
What you need:
- π₯οΈ Computer with Windows/macOS/Linux.
- π USB-cable (preferably original).
- π₯ Utility. ADB Tools by Google.
- π± Included debugging by USB smartphone.
Instructions:
- Download and unpack the platform-tools on your computer.
- On your smartphone, turn on Settings β About Phone β MIUI version (tap 7 times to activate the developer mode).
- Return to Settings β Additional β For developers and enable USB debugging.
- Connect your phone to your PC and enter adb devices in the terminal (a device with a serial number should appear).
- Set the APK command: adb install to file.apk For example: adb install C:\Downloads\app-release.apk.
π‘
If ADB doesnβt see the device, try reinstalling Xiaomi USB Drivers or using a USB 2.0 port instead of 3.0. On some laptops, USB-C ports may not support debugging.
β οΈ Attention: Installation through ADB bypasses signature verification APK, What could be used by attackers to inject Trojans, always check the source of the file and its hash before installing it.
How to check APK pre-installing viruses?
Even if you have authorized installation from unknown sources, each APK-You need to check the file before opening it:
- π Upload the file to virustotal.com, the service will check it 70+ Look at the results from Kaspersky, Bitdefender and ESET.
- π‘οΈ MetaDefender, a sandbox-enabled VirusTotal alternative (opswat.com) shows what the app does after installing.
- π APKMirror. If you download from this site, check: Hash match (SHA-1) Availability of the developer signature (Signature field in the file properties).
- π Local check. Install Malwarebytes or Dr.Web Light on your phone and scan the file before installing it.
π‘ Advice: If APK It weighs significantly less or more than the original version from Google Play, which is a reason to be wary. ~30-40 MB, and modified versions (like GBWhatsApp) β 50-60 MB.
What if Xiaomi blocks the installation?
Sometimes even after the permissions are turned on, the system issues errors such as:
- βInstallation lockedβ;
- βI was unable to analyze the packageβ;
- "No attachment installed."
Possible causes and solutions:
| Mistake. | Reason. | Decision |
|---|---|---|
| INSTALL_BLOCKED | MIUI blocks installation due to security policy. | Turn it off. MIUI Optimization in the Developer Settings (setprop) persist.miui.optimization_disabled 1 through ADB). |
| PARSE_ERROR | Damaged or incomplete APK-file. | Download the file and check its hash amount. |
| INSTALL_FAILED_UPDATE_INCOMPATIBLE | Conflict with the already installed version of the application. | Remove the old application or use the command adb install -r -d file.apk. |
| INSTALL_FAILED_TEST_ONLY | APK is only for test devices. | Download another version (e.g. release instead of debug). |
How to avoid the error "The app does not support your device"
How to minimize risks when installing an APK
Allowing installations from unknown sources is always a tradeoff between convenience and safety.
- π Use a separate user profile. on Android 12+ You can create a working profile (through Settings) β System system β Multitasking) and establishing questionable APK only.
- π‘οΈ Turn off auto-start for new apps. Go to Settings β Annexes β Auto-run and disable background activity for freshly installed programs.
- π΅ Limit the permits. APK Open the settings. β Annexes β Permits and disable access to contacts, SMS, geolocation, unless critical to the program.
- π Check your system regularly, install NetGuard or Exodus Privacy to monitor new applications.
π‘
Even if the APK is downloaded from a reliable source, its behavior can change after the update. Always monitor the activity of installed applications through Settings β Battery β Energy Use (unexpected battery consumption is a sign of malware).
π‘ Example: Revanced Manager (for YouTube patching) requires installation permissions APK, But if you download it from an unofficial site, the risk of getting a modified version with miners or spyware increases dramatically.