Installing apps from unknown sources on Xiaomi, Redmi or POCO smartphones is a necessary feature for users who want to bypass the restrictions of Google Play or test beta versions of programs. However, the manufacturer hides this option deep in the MIUI settings, and in recent versions of the firmware, the on-board algorithm has changed. If you are trying to install an.apk file, but the system blocks the process with the message โInstallation is lockedโ โ this article will help you figure out exactly where the desired switch is and how to activate it without risk to security.
It is important to understand that permission to install from unknown sources is not a global setup for the entire system, but an individual permission for each application that an APK can install (for example, a browser, a file manager or Telegram). This complicates the process, but makes it more secure. We will look at current methods for MIUI 12, MIUI 13 and MIUI 14, and also analyze which models (Xiaomi 12T, Redmi Note 11, POCO X5, etc.) have features in the interface.
Before you get to the instructions, check if you really need this feature.Installing APKs from unverified sources can lead to:
- ๐ Viral attacks โ malware is often disguised as useful utilities.
- ๐ฑ Unstable system performance โ unoptimized applications may conflict with MIUI.
- ๐ Data breaches - some APK Collect information without your knowledge.
If you're confident in the source of the file (e.g., it's the official developer site or a trusted forum like 4PDA), you can start setting up. Let's start with the easiest way.
Method 1: Resolution via MIUI security settings (relevant to MIUI 12-14)
Itโs a versatile method that works on most modern Xiaomi devices, including the Redmi Note 12, POCO F5 and Xiaomi 13 Lite. The algorithm is the same for all firmware versions, but the location of menu items may vary slightly.
Follow the step-by-step instructions:
- Open Settings (the gear icon on the main screen).
- Go to the Appendix section โ Application management.
- In the upper right corner, press three dots (โฎ) and select Special Access.
- Slip on the item Install unknown applications (in some versions โ Install from unknown sources).
- From the list, select the app you plan to install APK through (such as Files, Chrome, or Telegram).
- Activate the switch Allow installation from this source.
You can then go back to the.apk file and try again, and if the system still blocks the process, try clearing the cache of the application that is installing it (like Files) or restarting the device.
Check the source of the file (official site, trusted forum)
Download APK to your device (not through the cloud)
Open the file through a file manager or browser
Allow installation for a specific application in the settings
Make sure there is enough memory on the device.-->
Method 2: Alternative path through "Additional settings" (for older versions of MIUI)
If you have a device running MIUI 11 or earlier (like the Redmi 8 or Xiaomi Mi A3), the settings interface may be different.
Open Settings โ System and Device โ Additional Settings โ Privacy. This should be Install from unknown sources. Next, do the same thing as the first method: select the application and allow the installation.
On some devices (e.g., POCO X3 NFC), this item may be in Settings โ Applications โ Application settings โ Special Access. If you donโt find the right partition, search by settings (the magnifier icon in the upper right corner).
MIUI 14
MIUI 13
MIUI 12
MIUI 11 or older
I don't know.-->
If none of these methods worked, you may have a developer mode activated on your device with additional limitations, in which case you might try to turn it off or reset your security settings (discussed below).
Method 3: Developer Mode Resolution (for power users)
In some cases, especially on devices with MIUI for the global market (such as the Xiaomi 12 Pro or Redmi K50), standard methods may not work due to security policies, and then the developer mode will come to the rescue.
To activate it:
- Go to Settings. โ The phone.
- Find the MIUI version and tap it 7 times in a row, and the notification will appear "You became a developer!".
- Return to the main Settings menu and open a new Developer section (usually at the bottom of the list).
- Find the USB debugging option and activate it.
- Scroll down to Installation via USB and turn it on.
Now connect the device to your computer and use the adb install path to file.apk command to install.This method is suitable for advanced users, as it requires ADB and knowledge of commands.
What to do if the developer mode is not turned on?
Features for different models Xiaomi, Redmi and POCO
The manufacturer often makes changes to the interface for different product lines, and the following table shows the features of activating the installation from unknown sources for popular models:
| Model of the device | MIUI version | The path to settings | Notes |
|---|---|---|---|
| Xiaomi 13/13 Pro | MIUI 14 | Settings โ Applications โ Special access โ Installation of unknown applications | Permission is required for each application separately. |
| Redmi Note 12 Pro+ | MIUI 13/14 | Settings โ Privacy โ Special Permits โ Installation of Unknown Applications | On global firmware, password confirmation may be required. |
| POCO X5 Pro | MIUI 14 (POCO Launcher) | Settings โ Annexes โ Application management โ โฎ โ Special access | V POCO-The menu firmware may be called "Application Permissions". |
| Redmi 10A | MIUI 12.5 | Settings โ Additional โ Privacy โ Installation from unknown sources | On budget models, the interface is simplified. |
| Xiaomi Mi 11 Lite | MIUI 12.5 Enhanced | Settings โ Applications โ Application settings โ Special access | You may need to restart after changing your settings. |
If your model is not in the table, search by settings (the magnifier icon in the upper right corner of the Settings menu) and enter the "Install unknowns" query.
What to do if the installation is blocked anyway?
Sometimes even after the installation is allowed from unknown sources, the system will give an error.
- ๐ An outdated version MIUI โ Update the firmware through Settings โ Update of the system: Older versions may have bugs with installation permission.
- ๐ Damaged. APK-file - download the file again, preferably from an official source (MD5), if it's listed.
- ๐ Active antivirus - in MIUI There is built-in Security (or Security) that can block the installation. โ Annexes โ Application management โ Security.
- ๐ฑ Insufficient memory โ free up space on the device (requires a minimum of 200-300 MB of free space).
If the problem persists, try installing the APK via ADB (as described in Method 3) or using an alternative file manager (such as Solid Explorer) before allowing it to be set up in the settings.
๐ก
Before installing an APK, check it for viruses with online services like VirusTotal, upload the file to the site and wait for the scan results.
Risks and security measures when installing APKs from unknown sources
Installing applications from unverified sources is the main reason why Xiaomi smartphones were infected with viruses and spyware in 2023-2026 (according to Kaspersky Lab), and even if the file was downloaded from a popular forum, it could have been modified by malicious actors.
โ ๏ธ Warning: Never install APK, If the source requires you to disable Google Play Protect or other security features, this is a sure sign of malware.
Basic precautions:
- ๐ก๏ธ Check the source - download APK only from official developer sites or verified resources (APKMirror, APKPure).
- ๐ Study reviews โ search for information about the file on forums before installing (for example, 4PDA or XDA-Developers).
- ๐ Compare hashes โ if the developer provides MD5 or SHA-1 Check them with utilities like Hash Droid.
- ๐ Create a backup before installing an unfamiliar APK Backup your data through Settings โ Additionally. โ Backup and reset.
If, after installation, the application requests suspicious permissions (such as access to SMS, contacts, or administrative rights), delete it immediately and check the device with an antivirus (Malwarebytes or Dr.Web).
๐ก
Even if the APK is installed successfully, watch for device behavior: increased battery consumption, spontaneous reboots, or strange notifications may indicate malicious activity.
How to cancel permission for unknown sources?
If you no longer plan to install APKs from external sources, it is recommended to disable this permission for all applications, which will reduce the risk of accidental malware installation.
For this:
- Go to Settings โ Applications โ Special Access โ Install unknown applications.
- Select an application that has previously been authorized (such as Chrome or Files).
- Deactivate the switch Allow installation from this source.
- Repeat the steps for all applications that have been given permission.
After that, the system will block attempts to install APK from external sources, and if you need to install such a file in the future, you will have to re-activate the permission.