Install applications from unknown sources on Xiaomi, Redmi and smartphones POCO β necessary function for users who want to install APK-This may be necessary to test beta versions of programs, use alternative stores like the Aurora Store or install applications that are not available in your region. MIUI 14 and later, the unlock algorithm has changed β now you need to confirm the permission for each individual APK-file, not to switch on the global switch as it used to be.
The procedure seems simple, but many users experience errors like βInstallation lockedβ or βUnknown sources disabled.β The reasons may lie in the wrong security settings, MIUI limitations, or even in the features of a particular model (for example, on Xiaomi 13 Pro and Redmi Note 12 the path to the menu is different).
It is important to understand that allowing installation from unknown sources is not just a technical setup, but a security issue. MIUI By default, it blocks such installations to protect users from malware. So before activating the function, make sure that the source is not affected. APK-The file is reliable (for example, the official developer site or a trusted repository like APKMirror).
Why is Xiaomi blocking APK installations from unknown sources?
According to Xiaomi Security Report 2023, more than 30% of infections on Android smartphones occur through the installation of fake or modified APK-file. MIUI Uses several levels of protection:
- π Application Signature Verification β The system analyzes the digital signature APK before installation.
- π‘οΈ Real-time scanner β built-in antivirus Mi Security checks files for threats.
- π± Firmware restrictions - on Chinese versions MIUI (For example, for Xiaomi 12S Ultra may require a Mi Account link.
Google also requires manufacturers to restrict installations from unknown sources for Google Mobile Services (GMS) certification. Without this restriction, Xiaomi smartphones could not pre-installe Google Play, YouTube and other services. However, these restrictions do not apply to devices with MIUI firmware for China (without GMS), where the rules may differ.
β οΈ Note: On some models (e.g, POCO F5 If you unlock unknown sources, you may see a notification that says "Device not protected." This is normal behavior, and you can hide it in the notification settings.
Method 1: Standard method through MIUI settings (for global firmware)
This method works for most devices with a global version. MIUI (For example, the Redmi Note 11 Pro+ 5G, Xiaomi 12T) It's good for Android 11-14. MIUI 12β15:
- Open Settings β Applications β Application Management.
- Click on the three dots in the top right corner and select Special Access.
- Go to the Installation from unknown sources.
- Select the application you will install APK through (such as File Manager or Chrome).
- Activate the switch Allow installation from this source.
After that, you can install it. APK-files through the selected application. Please note: MIUI 14+ The permission is valid for only one application. APK via the browser, and try to install through the file manager - the system will again block the installation.
βοΈ Preparation for installation APK
On some devices (such as the Xiaomi Pad 6), the path may be slightly different:
Settings β Applications β Permissions β Installation of unknown applicationsMethod 2: Permission for Chinese firmware (without GMS)
If your smartphone is running the Chinese version of MIUI (e.g. Xiaomi 13 for the domestic market), the standard method may not work.
- Link Mi Account to the device (required!).
- Go to Settings β My device β All the parameters.
- Find the Load Lock (or Installation Limits) item and disable it.
- Confirm the action via SMS or password from Mi Account.
Some firmware (e.g., MIUI 13 for Xiaomi 12 Pro) may require an additional step β unlocking the bootloader via fastboot β a risky procedure, as it resets the device to factory settings and can result in a loss of warranty.
What to do if there is no βBlocking the downloadβ item?
β οΈ Note: On Chinese firmware devices without a Mi Account tied, unlocking unknown sources may not be possible.This restriction is imposed by Xiaomi to combat pirated software.
Method 3: Using ADB to Force Unlock
If standard methods donβt work (e.g., on the POCO X5 Pro with custom firmware), you can use Android Debug Bridge (ADB), which requires a computer and enabled USB debugging.
Instructions:
- Connect your smartphone to your PC and enable USB Debugging in Settings β About Phone β MIUI version (click 7 times on the line with the version to unlock the developer menu).
- Download ADB Tools and unpack the archive.
- Open the command line in the ADB folder and do:
adb devices
adb shell settings put global install_non_market_apps 1
adb shell settings put secure install_non_market_apps 1Once you have completed the commands, restart the device, which bypasses the system-level limitations of MIUI, but may not work on devices with a locked bootloader (e.g., Redmi K60 with Chinese firmware).
1. Install Mi USB Driver drivers.
2. switch the connection mode from "Charging" to "Transfer of files".
3. Use the original USB-cable (not all cables support data transmission).-->
Errors in APK installation and their solutions
Even after unlocking unknown sources, you may encounter errors, and here are the most common ways to fix them:
| Mistake. | Reason. | Decision |
|---|---|---|
| The installation is locked. | Installation source not allowed | Check the settings for the file manager/browser |
| APK damaged. | File downloaded incompletely or modified | Pump APK, check the hash amount (MD5) |
| Application not installed | Conflict with the existing version | Remove the old app before installation |
| Lack of memory | Place taken in /data section | Clear the cache or transfer the files to SD-map |
If you see the error "The package conflicts with the existing application", it means that the device already has a version of the program with the same signature.
- π Remove the current version through Settings β Annexes.
- π¦ Use it. APK with a different signature (e.g. split) APK Apps like Google Camera).
- π§ Set it through ADB flag-headed -r (Replacement: adb install -r path/to/file.apk
How to install an APK without risk
Allowing installations from unknown sources opens up potential vulnerabilities, and follow these rules to minimize the risks:
- π‘οΈ Check the sources - download APK only from official websites (for example, APKMirror, GitHub developer).
- π Scan files β use VirusTotal or the built-in Mi Security Scan.
- π Read permissions β check before installing what rights the application requests (e.g. access to the app). SMS geolocation without cause - red flag).
- π Update β Install updates MIUI, Because they often close vulnerabilities.
Be especially careful with modified APKs (such as hacked games or pro versions of paid software) that often contain:
- π΅οΈ Spyware β Collecting Data about Your Activities.
- π° Advertising viruses β show intrusive advertising.
- π Backdoors β Remote access to your device.
β οΈ Note: Root-enabled devices are at higher risk of infection because malware can access system files.If you use Magisk or SuperSU, check your system regularly for suspicious processes through Termux or Root Explorer.
Frequent questions and answers
β Why After Updating MIUI re-blocking APK?
β Can we determine APK Unlocking Unknown Sources?
β Why Xiaomi 13 Ultra doesnβt work in the standard way?
β How to check APK pre-installing viruses?
β What to do if after installation APK application not running?
π‘
On devices with MIUI 14+, only one application is allowed, and if you download an APK through your browser and try to install it through a file manager, the system will block the installation. Always check which application you have given permission for!