How to allow the installation of applications from unknown sources on Xiaomi: detailed instructions

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:

  1. Open Settings (the gear icon on the main screen).
  2. Go to the Appendix section โ†’ Application management.
  3. In the upper right corner, press three dots (โ‹ฎ) and select Special Access.
  4. Slip on the item Install unknown applications (in some versions โ€“ Install from unknown sources).
  5. From the list, select the app you plan to install APK through (such as Files, Chrome, or Telegram).
  6. 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:

  1. Go to Settings. โ†’ The phone.
  2. Find the MIUI version and tap it 7 times in a row, and the notification will appear "You became a developer!".
  3. Return to the main Settings menu and open a new Developer section (usually at the bottom of the list).
  4. Find the USB debugging option and activate it.
  5. 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?
If after 7 clicks on the MIUI version nothing happens, try: 1. Reboot the device and try again. 2. Check whether the developer mode is disabled in the security settings (sometimes this is done by the "cleaners" MIUI). 3. Update the firmware to the latest version - in old MIUI builds could be bugs.

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 deviceMIUI versionThe path to settingsNotes
Xiaomi 13/13 ProMIUI 14Settings โ†’ Applications โ†’ Special access โ†’ Installation of unknown applicationsPermission is required for each application separately.
Redmi Note 12 Pro+MIUI 13/14Settings โ†’ Privacy โ†’ Special Permits โ†’ Installation of Unknown ApplicationsOn global firmware, password confirmation may be required.
POCO X5 ProMIUI 14 (POCO Launcher)Settings โ†’ Annexes โ†’ Application management โ†’ โ‹ฎ โ†’ Special accessV POCO-The menu firmware may be called "Application Permissions".
Redmi 10AMIUI 12.5Settings โ†’ Additional โ†’ Privacy โ†’ Installation from unknown sourcesOn budget models, the interface is simplified.
Xiaomi Mi 11 LiteMIUI 12.5 EnhancedSettings โ†’ Applications โ†’ Application settings โ†’ Special accessYou 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:

  1. Go to Settings โ†’ Applications โ†’ Special Access โ†’ Install unknown applications.
  2. Select an application that has previously been authorized (such as Chrome or Files).
  3. Deactivate the switch Allow installation from this source.
  4. 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.

Frequently Asked Questions (FAQ)

Can I enable installation from unknown sources on all Xiaomi devices?
Yes, but the path to settings may vary depending on the MIUI version and device model. On new smartphones (e.g. Xiaomi 14 or Redmi Note 13), this item is usually in Settings โ†’ Apps โ†’ Special Access. On older models (e.g. Redmi 5) โ€“ in Settings โ†’ Additional โ†’ Privacy.
Why does the installation still not work after the permit?
Possible causes: APK-The file is corrupted or not designed for your CPU architecture (e.g, arm64 vs x86). The device activates Guest Mode or Job Profile, which blocks the installation. Antivirus or Google Play Protect blocks the file. Try temporarily disabling the protection. Check the file on another device or download it.
How to know if it's safe APK-pre-installation?
Use a combination of methods: Check the file on VirusTotal (upload the APK to the site or check by hash). Make sure the file size matches the official data (malicious attackers often add malicious code to the APK, increasing its size). See the permissions the application requests using the APK Analyzer utility (available on Google Play).
Can I install APK without permission from Unknown Sources?
No, it's a limitation of Android that you can't get around in legitimate ways. But there are alternatives: Use ADB to install (developer mode required). Install the app through Google Play if it's available there. Restore APK from the backup with Titanium Backup. All of these methods have their risks and limitations.
What if the device brakes after installing the APK?
The app is likely to conflict with MIUI or contain malicious code. Act on the steps: Remove the installed application. Clear the system cache in Settings โ†’ Memory โ†’ Cleanup. Check the device with an antivirus (e.g. Kaspersky Mobile). If the problem persists, reset through Settings โ†’ Additional โ†’ Backup and Reset โ†’ Reset.