Smartphones Xiaomi, Redmi and POCO base MIUI It allows you to install apps not only from the official Google Play store, but also from third-party sources called "unknown sources." APK-Files from trusted sites, but also opens doors to viruses, spyware and fraudulent programs. According to Kaspersky 2023, more than 30% of mobile device infections occur through the installation of applications from unverified sources.
Disabling this option is one of the key steps to protecting your Xiaomi from cyber threats. MIUI (12, 13, 14) and on various models (Xiaomi 13 Pro, Redmi Note 12, POCO F5) The path to settings may vary. In this article, we will look at all the current ways to block installations from unknown sources, including hidden nuances for specific firmware versions. APK, How to completely block this possibility even for system utilities.
Why you should disable the installation from unknown sources
The main danger is that MIUI defaults to allowing some applications (such as browsers or file managers) to install APKs without additional confirmations, posing risks:
- ๐ฆ Viruses and Trojans: Malware can steal data, display ads, or blackmail users.
- ๐ต๏ธ Spyware: Some of the APK Collect information about your contacts, messages and location.
- ๐ธ Fraudulent apps: Fake banking programs or subscription games that charge money.
- ๐ Unstable System Performance: Poorly Optimized APK can cause lags and overheating.
According to Check Point, in 2023, one in five Android users who installed at least one app from an unknown source experienced a device infection, while MIUI has an additional layer of protection, Mi Security, but it does not always block all threats.
โ ๏ธ Note: Even if you disable the installation from unknown sources, some system applications (such as Software Update or Themes) may retain this resolution.
How to check which apps have permission to install APK
Before disabling the feature, it is useful to know which programs already have access to install third-party applications, which will help identify suspicious utilities that may have received permission without your knowledge.
Instructions for MIUI 12/13/14:
- Open the Settings โ Applications.
- Tap on Application Management (or All Apps in Older Versions).
- In the upper right corner, click on three dots and select Special Access.
- Scroll down and find Install Unknown Apps.
Here you will see a list of all programs that are allowed to install APK.
- ๐ Browsers (Chrome, Mi Browser, Firefox) โ often used to download malicious files.
- ๐ File Manager (Mi File Manager, ES The conductor can be opened automatically APK.
- ๐ฑ Messengers (Telegram, WhatsApp) โ fraudulent links are often spread through them.
Step-by-step: how to disable the installation from unknown sources
The process varies depending on the version of MIUI. Below are the current ways for the latest firmware (2023-2026).
Method 1: Through basic settings (MIUI 14 and later)
In the latest versions of MIUI, the option is hidden deeper, but it can be found as follows:
- Go to Settings โ Applications.
- Select Application Management โ Special access.
- Click Install Unknown Applications.
- Slip on each app in the list and move the slider to the Prohibit position.
Important: In MIUI 14, some system utilities (such as Software Update) can automatically enable this resolution after a firmware update.
All browsers in the APK| installation list are disabled
File Managers blocked |
Checked messengers for permits |
Reset the phone to apply the changes-->
Method 2: Security settings (MIUI 12/13)
In older versions, the path is a little different:
- Open the Settings. โ Passwords and security.
- Scroll down and select Privacy.
- Slip Special Permits โ Install Unknown Applications
- Turn off permission for all apps in the list.
If there is no Privacy item, try an alternative way:
Settings โ Additional โ Privacy โ Special permissionsMethod 3: For specific models (POCO, Redmi with custom firmware)
On POCO and some Redmi devices with modified firmware (such as POCO Launcher), the menu may look different:
- Press the Settings icon on the home screen and select Application Information.
- Slip it extra. โ Installation of unknown applications.
- Turn off permission for all programs.
โ ๏ธ Attention: On some firmware POCO When permissions are disabled, a notification may appear, "System settings have changed." That's OK -- just confirm the action.
How to block APK installation for system applications
Even after disabling permissions for all user programs, some MIUI system utilities can still access the APK installation.
- ๐ Software Update โ used to install firmware.
- ๐จ Topics โ can upload third-party themes in format APK.
- ๐ฑ Mi Share โ Sometimes gets files from APK from other devices.
To completely block the installation, you need to use ADB-commands (requires a computer and enabled debugging on the USB).
Instructions through ADB
Follow the steps:
- Turn on Developer Mode (7 times tap the MIUI version in Settings โ About Phone).
- Activate Debugging by USB in Settings โ Additional โ For developers.
- Connect your phone to your PC and execute the command: adb shell pm revoke com.android.packageinstaller android.permission.INSTALL_PACKAGES
This command revokes APK installation permission from the system installer. To return access, use:
adb shell pm grant com.android.packageinstaller android.permission.INSTALL_PACKAGESWhat if the ADB does not recognize the device?
What to do if the option "Install unknown applications" is not available
On some models (e.g. Xiaomi Mi A1/A2 on pure Android One) or in regional firmware, the menu may look different.
Method 1: Through Google Play Protection Settings
Google Play Protection can block APK installation, but does not completely disable the function:
- Open Google Play Store โ click on profile avatar โ Play Protection.
- Activate the device scan for threats.
- Enable Advanced Scanning (access to location data is required).
Method 2: Through profile restrictions (for parental control)
If the phone is used by a child, you can create a limited profile:
- Go to Settings โ System โ Several users.
- Create a Limited Profile and disable the application installation.
Method 3: Using third-party antiviruses
Applications like Malwarebytes or Bitdefender can block APK installations from unknown sources at the kernel level, but this does not replace system locking.
| Locking method | Efficiency | Deficiencies | Suitable for |
|---|---|---|---|
| Disconnection in MIUI settings | โญโญโญโญ | Does not block system applications | All models Xiaomi/Redmi/POCO |
| ADB-team | โญโญโญโญโญ | Requires PC and team knowledge | Advanced users |
| Google Play Protection | โญโญ | Only warns of threats | All Android devices |
| Antiviruses | โญโญโญ | They may be in conflict with MIUI. | Additional protection |
How to Recover APK Installation if You Need It
If you temporarily need to install an application from a third-party source (for example, a beta version of a program or an APK from the official developer site), you can enable permission for a specific application:
- Download. APK-file and try to open it.
- The system will prompt you to select an application to install (for example, File Manager).
- Click Settings in the window that appears.
- Activate permission for the selected program.
- Install APK and immediately turn off permission back.
โ ๏ธ Attention: After installation of the necessary APK Many viruses spread through the "trust chain": one permission for a browser can allow you to install malware without additional confirmation.
๐ก
If you often have to install APKs from trusted sources (e.g., for software testing), create a separate user profile in your system settings and enable permissions only for that.
Frequent Mistakes and How to Avoid Them
When you turn off the installation from unknown sources, users often encounter problems.
- ๐ "Settings are reset after the update": MIUI It can return permissions to system applications after an update, so the solution is to check the settings after each update.
- ๐ซ "I can't find out. APK Even after enabling permission": Check if the installation is blocked by antivirus or Mi Security (in the Security settings โ Viral scanning).
- ๐ง "ADB Does not see the device: Make sure that the debugging is enabled USB And you've got Xiaomi drivers installed. Try using the original cable.
- ๐ฑ "On the lock screen appears a notification about the installation": This means that some application in the background is trying to install APK. Check the permission list and remove suspicious programs.
If you still see attempts to install APK after disabling permissions, follow the following steps:
- Run the security and perform a full scan.
- Check the list of recently installed apps in Settings โ Apps.
- Clear the cache and data of the Google Play Store and Google Play Services.
๐ก
Even if you disable the installation from unknown sources, check the permission list regularly โ some apps (especially after updates) can automatically access the APK installation.