Disable the installation of applications from unknown sources on Xiaomi Redmi: the full guide

Installing applications from unknown sources on Xiaomi Redmi smartphones is a feature that simultaneously gives freedom and creates risks. APK-files outside of Google Play, which is useful for testing beta versions or using specialized software, on the other hand, opens the door to viruses, spyware and unstable builds that can compromise the security of the device.

Xiaomi has implemented a flexible system to manage these permissions in MIUI firmware: they can be enabled globally for all applications or selectively for browsers, file managers and other utilities. However, many users face the problem that once a questionable APK is installed, the resolution remains active, creating a vulnerability. In this article, we will discuss how to completely disable the installation from unknown sources, what nuances are in different versions of MIUI, and what to do if the option is inactive or hidden.

Why it is important to disable permission for unknown sources

Even if you are sure of the source. APK-A file, a stored installation permission from unknown sources, could be used by attackers:

  • 🦠 Viruses and Trojans: Fake APK often contain malicious code that steals data, displays ads, or blocks a device.
  • πŸ•΅οΈ Spyware: Some applications collect message history, geolocation, or bank card data.
  • πŸ”„ Malware Auto Update: If permission is active, attackers can update malware without your knowledge.
  • πŸ“± Unstable System Performance: Unoptimized APK may conflict with MIUI, lag-provoking.

According to Kaspersky, in 2023, more than 30% of mobile threats were spread through fake ones. APK-files that disguise themselves as popular games (such as Free Fire or Free Fire) PUBG Mobile, or utilities (like WhatsApp Mod) disabling permissions for unknown sources reduces the likelihood of infection by 85%.

⚠️ Note: If you have previously installed applications from third-party sources (such as APKMirror or Aptoide), check the list of allowed applications in the settings. Even one missed resolution can become a loophole for viruses.

Where is the configuration in MIUI: ways for different versions

The MIUI interface is updated regularly, and the location of the option may vary depending on the firmware version.

MIUI versionThe path to adjustmentNotes
MIUI 14 (Android 13/14)Settings β†’ Applications β†’ Application Management β†’ Special Permissions β†’ Installation of Unknown ApplicationsPermissions are tied to specific applications (such as Files or Chrome).
MIUI 12/13 (Android 11/12)Settings β†’ Privacy β†’ Special permissions β†’ Installation of unknown applicationsIn some builds, the option is called β€œInstallation Permits”.
MIUI 11 and olderSettings β†’ Additional β†’ Privacy β†’ Installation of unknown applicationsOn older versions, it may be necessary to activate the developer mode.
Redmi with Global ROMSettings β†’ Apps β†’ Manage apps β†’ Special app access β†’ Install unknown appsName of menu items in English.

If you do not find the option on these paths, try searching in the settings (the magnifying glass icon in the upper right corner). Enter the request "Install unknown" or "unknown sources" (for English firmware).

πŸ“Š What version? MIUI You're using it?
MIUI 14
MIUI 12/13
MIUI 11 or older
I don't know my version.

Step-by-step: how to disable permission

The process of disabling permissions to install APKs from unknown sources takes no more than 2-3 minutes.

  1. Open Settings on your Xiaomi Redmi (the gear icon on the home screen or in the app menu).
  2. Go to the Applications section (or Apps in global firmware).
  3. Select Application Management (or Manage Apps).
  4. Click on the three dots in the top right corner and select Special permissions (or Special app access).
  5. Install Unknown Apps (or Install Unknown Apps)
  6. In the list of applications, disable sliders for all programs that were previously allowed to install APK. Pay attention to this: 🌐 Browser (Chrome, Mi Browser) πŸ“ File Managers (Files, File Manager) πŸ“₯ Downloaders (for example, Download Manager)

β˜‘οΈ Verification of disabling permits

Done: 0 / 4

After disabling, try to install a test. APK-file (for example, download a secure application from APKMirror) The system must block the installation with the message "Installation blockedΒ».

⚠️ Note: Some Redmi models (e.g. Redmi Note 10 Pro or Redmi) K50) After disabling permissions, it may be necessary to restart the device to make the changes take effect.

What to do if the option is inactive or not available

In rare cases, users are faced with the fact that the option to disable permissions for unknown sources:

  • πŸ”’ Blocked (the slider is gray and does not move),
  • πŸ‘» Not in the settings,
  • πŸ”„ Resets after rebooting.

Causes and solutions:

Problem.Possible causeDecision
No option.An outdated version of MIUI or custom firmware.Update the firmware through Settings β†’ About the phone β†’ System update.
Slideer inactiveDevice policy is active (for example, in corporate phones).Check in Settings β†’ Accounts β†’ Work accounts.
Settings resetConflict with a cache cleaner application (e.g., Security).Turn off autocleaning in Settings β†’ Privacy β†’ Cleaning.

If the problem persists, try resetting the security settings:

  1. Go to Settings β†’ About the phone β†’ Reset settings.
  2. Select Reset App Settings (not a full reset!).
  3. Confirm the action and restart the device.
How to check if the antivirus is blocking the changes?
Some antiviruses (e.g. Avast or 360 Security) can block changes to security settings. To check this: 1. Open the antivirus and find the "Real-Time Protection" section. 2. Temporarily disable protection. 3. Try resetting the settings for unknown sources. If the option is active, add system settings to the exclusion of the antivirus.

Alternative ways to protect against unwanted APKs

Disabling permissions for unknown sources is only part of the protection, and for complete security, we recommend:

  • πŸ›‘οΈ Install a reliable antivirus: For example, Bitdefender or Kaspersky Mobile (they scan). APK before installation).
  • πŸ” Use Google Play Protect: Enable it in Settings β†’ Google β†’ Security.
  • πŸ“₯ Lock down the loading. APK: In Chrome browser, turn off the download APK site-setting (chrome://settings/content).
  • πŸ”„ Update regularly MIUI: New firmware versions close vulnerabilities used to bypass protection.

MIUI 14 has introduced a feature called Phishing Protection, which automatically blocks APK installation from suspicious sources (such as sites that mimic Google Play). To activate it, go to Settings β†’ Privacy β†’ Phishing Protection and turn on the option.

πŸ’‘

If you frequently install APKs from trusted sources (e.g., for testing), create a separate user on your phone via Settings β†’ System β†’ Multiplayer. Mainly keep permissions disabled in your profile, and additionally, turn them on as needed.

Frequent Mistakes and How to Avoid Them

When working with security settings, users often make mistakes that negate all security efforts.

  • πŸ”“ Browser-only Disconnection: Many forget to check permissions for file managers (such as Xiaomi Files) through which you can install too APK.
  • πŸ”„ Ignoring Updates: After Updating MIUI Some settings are reset. Always check them after the update.
  • πŸ“² Use of third-party launchers: Some launchers (such as Nova Launcher) may mask system notifications about blocking the installation.
  • πŸ”§ Rooted Redmi devices: Attackers can bypass restrictions even when permissions are disabled.

To avoid problems:

  1. Once permissions are disabled, restart the device – this ensures that changes are applied at the system level.
  2. Periodically check the list of allowed applications (every 1-2 months).
  3. Do not install APKs from sources that ask you to disable Google Play Protect.

⚠️ Note: Some Redmi models (e.g. Redmi) 9A Redmi 8) after disabling permissions for unknown sources, a notification may appear, "Device not certified." This is normal - the certification will be restored after the restart.

πŸ’‘

Disabling permissions for unknown sources is not a one-time procedure. After each APK installation (even from a trusted source), check the settings, as some applications may automatically request permissions again.

FAQ: Answers to Frequent Questions

Can I only disable permission for individual applications?
Yes, MIUI has specific APK installation permissions, for example, you can disable installations via Chrome but allow them for Xiaomi Files, and in the Install Unknown Applications menu, only disable sliders for unnecessary applications.
Why can I still install APK after disabling permissions?
This happens for three reasons: You have disabled the permission for the other application you are installing APKs through (e.g., you have been banned in Chrome but you install via Files); the device has a developer mode with permission to install via ADB (Settings β†’ About Phone β†’ MIUI version – tap 7 times to activate); the installation is via root access (root), which bypasses system constraints. Check all three points.
How to disable APK installation on Redmi with custom firmware (for example, LineageOS)?
In custom firmware, the path to settings may differ. Usually the option is in: Settings β†’ Annexes β†’ Application settings (βš™οΈ) β†’ Installation of unknown Settings applications β†’ Apps & notifications β†’ Special app access β†’ Install unknown apps If you don't have an option, it could have been removed by the firmware developer. In this case, use an antivirus that blocks the installation. APK (For example, Malwarebytes).
What if some functions stop working after disabling permissions?
Some applications (e.g. Fortnite or XAPK Installer) require permissions to install APKs. If they stop working after they've been disabled: Temporarily turn on permission for that application only. Install/update the program. Turn off permission again. Don't leave permission on permanently!
Can I permanently block APK installation from unknown sources?
It is impossible to completely block APK installation without root rights, as it is a system function of Android. However, you can: Use the password to install applications (some MIUI firmware has this option in Settings β†’ Privacy); Install an antivirus with a lock installation function (for example, Norton App Lock); Disable USB debugging in the developer settings to prevent installation via ADB.