How to ban the installation of applications from unknown sources on Xiaomi MIUI 11: the complete guide

Install applications from unknown sources on Xiaomi smartphones with a shell MIUI 11 can pose a serious security threat, and malware, viruses and spyware are often spread through the network. APK-files that are not downloaded from the official Google Play Store. Even if you are sure of the source, accidentally installing a fake app can lead to data theft, bank details or system breakdown.

V MIUI 11 security settings differ from newer versions of the shell, so users often have difficulty trying to block installations from third-party sources. APK-files, what are the nuances in MIUI 11 and what to do if standard methods don't work.We'll also look at alternative protections, including parental controls and setting up Google Play Protect.

Why it is important to disable the installation from unknown sources

The main danger of installing apps from unverified sources is the lack of control by Google. unlike Google Play, where every application is tested for malicious code, APK-files may contain:

  • πŸ” Spyware – programs that track your actions, passwords and geolocation.
  • πŸ’£ Trojans – Masquerading as legitimate apps, but stealing data or blocking a device.
  • πŸ“± Rootkits – get root access and fully control the smartphone.
  • 🚫 Adware – Intrusive Advertising that Slows Down Your Device.

Even if you download APK from a trusted site, there is a risk of file swaps when downloaded or being modified by attackers, such as in 2022, hackers distributed fake versions of popular games (such as Free Fire or PUBG Mobile) that encrypted user files and demanded a ransom once installed.

πŸ“Š Have you ever installed APK source?
Yeah, often.
Yeah, but rarely.
No, never.
I don't know what it is.

In MIUI 11, installation from unknown sources is allowed by default for individual applications (such as browsers or file manager), which means that even if you turn off the option in the settings, some programs will still be able to install APK. So it is important not only to prohibit installation globally, but also to check the permissions for each application.

Method 1: Disconnection through basic security settings

The easiest way to prevent APK installation is to use the built-in MIUI 11 settings, but this version of the shell has a different path to the option than the newer versions.

  1. Open Settings (the gear icon on the main screen).
  2. Go to the Appendix section β†’ All Appendices.
  3. Click on the three dots in the top right corner and select Special Access.
  4. Select the Installation of Unknown Applications.

You'll see a list of apps that are allowed to install APKs, like the Browser, the File Manager, or Google Chrome.

  • πŸ”§ Tap on the application (for example, Browser).
  • πŸ”˜ Translate slider Allow installation from this source to off position.

All applications in the list "Install unknown applications" are disabled |

Updated antivirus databases (if installed antivirus)|

File Manager Permits Verified |

Removed previously downloaded APK-files (if any)

-->

If there are no apps on the list, but you can still install an APK, you may be using an older version of MIUI 11 with a different setting location, in which case you can try an alternative method (described in the next section).

⚠️ Attention: Some versions MIUI 11 (for example, for the Redmi Note 8 Pro or Mi) 9T) You may not be able to display Install Unknown Applications in the Special Access menu, in which case use method 2 or 3.

Method 2: Using Developer Mode (for power users)

If standard settings do not allow you to disable APK installation, you can use the developer mode, which requires caution, since improper actions can disrupt the system.

First, activate the developer mode:

  1. Go to Settings. β†’ The phone.
  2. Find the MIUI version and tap it 7 times in a row until you become a developer!

Now, follow the following steps:

  1. Back to Settings β†’ Additionally. β†’ For developers.
  2. Find the USB Debugging option and turn it off (this will prevent APK installation via ADB).
  3. Scroll down and find Prohibit installation from unknown sources (some versions of MIUI 11 call this option APK Installation Lock).
  4. Activate it by moving the slider to the right.

If you don't have an option, then your version of MIUI 11 doesn't support this method, in which case you should try updating your firmware or use method 3.

πŸ’‘

Once the developer mode is activated, it is recommended to disable USB Debugging and OEM Unlock if you do not plan to use these features, which will reduce the risk of unauthorized access to the device.

Method 3: Blocking through parental control

If you want to not only disable APK installation, but also restrict access to certain smartphone features (for example, for a child), use the built-in parental controls in MIUI 11.

Instructions:

  1. Open Settings β†’ Accounts and Sync β†’ Family (or Parental Controls in some versions).
  2. Choose Add User and create a profile with limited rights.
  3. In the profile settings, find the Application Limitations section.
  4. Check the box to prohibit the installation of applications from unknown sources.
  5. Save the changes and activate the profile.

Now, when you try to install an APK, the system will require an administrator password, which is especially useful if you're using a smartphone for children or inexperienced users.

Locking methodDifficultyEfficiencySuitable for
Standard security settingsβ­βœ… High (if the option is available)All users
Developer modeβ­β­β­βœ… Medium (depending on version) MIUI)Experienced users
Parental controlβ­β­βœ… High (blocks without exceptions)Family use
Third-party antiviruses⭐⭐⚠️ Depends on the software.Additional protection

Additional security measures

Even after disabling the installation from unknown sources, it is recommended to take additional measures to protect Xiaomi:

  • πŸ›‘οΈ Activate Google Play Protect: Go to Google Play β†’ Menus (☰) β†’ Play Protect β†’ Scan the device for threats. Turn on automatic screening.
  • πŸ”„ Update regularly MIUI: Go to Settings. β†’ The phone. β†’ Update the system and install the latest security patches.
  • 🚫 Delete the suspicious ones APK: Check Download and File Manager folders for unnecessary files with the.apk extension and delete them.

V MIUI 11 some system applications (e.g., Mi Browser or Cleaner) may automatically download APK-files in the background. To avoid this, disable auto-update for these applications in Settings β†’ Annexes β†’ Application management.

What to do if the APK is already installed?
If you suspect that a malicious app is installed on your device: 1. Go to Settings β†’ Apps β†’ All apps. 2. Find a suspicious app (often with an unreadable name or default icon). 3. Click Delete and confirm action. 4. Run a check through Google Play Protect or antivirus (such as Dr.Web or Kaspersky). If the app doesn't get removed, reset to factory settings (Settings β†’ Additional β†’ Restore and Reset).

Frequent problems and their solutions

MIUI 11 users often have difficulty trying to ban APK installations.

Problem 1: There is no Install Unknown Applications in the settings.

Decision:

  • Upgrade MIUI to the latest available version for your model.
  • Use parental control (mode 3).
  • Install a third-party antivirus (such as Avast) that can block APK installation.

Problem 2: After disabling the option, APK installation is still possible.

Decision:

  • Check the permissions for File Manager and Browser – they may have separate settings.
  • Perform a reset of security settings: Settings β†’ Additional β†’ Restore and Reset β†’ Reset application settings.

Problem 3: A notification appears on the screen to install this application requires permission.

Decision:

  • This means that the APK is trying to install through another application (such as Mi Share or Cleaner).
  • Remove the loaded APK-file.

⚠️ Note: Some Xiaomi models (e.g. Redmi 7 or Mi) A3 s MIUI 11) after resetting to factory settings, the installation option from unknown sources may become active again!

Can you block the APK installation completely so that even the administrator can’t turn it on?
Yes, but it will require: Install a third-party antivirus with a lock-in feature (e.g. Bitdefender); use a parental control app (e.g. Kids Place or Norton Family); some Xiaomi models can disable the installation via ADB (developer rights are required); however, even then, an experienced user can bypass the restrictions via Fastboot or firmware.
Why did the security settings change after the upgrade to MIUI 12/13?
Xiaomi regularly updates its security policy. In MIUI 12 and later, Install Unknown Apps moved to Settings β†’ Privacy β†’ Special Permits. If you upgraded your firmware, use the current instructions for your version.
How to check which apps are allowed to install APKs?
Open Settings β†’ Applications β†’ Special Access β†’ Install unknown applications. This will be a list of all programs with the appropriate permissions. If the list is empty, but installation is possible, then a system vulnerability is being exploited (recommended to update MIUI).
Can a virus bypass a lockdown from unknown sources?
Yes, some viruses (such as superuser-enabled Trojans) can bypass this lock. To minimize the risk: Do not connect your smartphone to public Wi-Fi without a VPN. Do not install applications from unverified sources (even if the lock is disabled). Regularly scan the device for viruses.
What if some functions (for example, downloading updates for games) stopped working after blocking?
Some legitimate applications (e.g. Epic Games Store or APKMirror) require permission to install APK. In this case: Temporarily allow installation for a specific application (e.g. Browser). Install the desired APK. Again, disable installation. Don't leave permission on permanently!

πŸ’‘

Even after blocking the installation from unknown sources, there is a risk of infection through vulnerabilities in the browser or messengers. MIUI and use a reliable antivirus!