How to Revoke Installation Permits from Unknown Sources on Xiaomi: The Complete Guide

Installing apps from unknown sources on Xiaomi smartphones is a feature that can make life easier (e.g. when installing apps). APK-There are also serious security risks to files outside of Google Play, and if you have previously allowed this option but now want to disable it β€” for example, after installing the right app or because of concerns about data security β€” it is important to do it right. In this article, we will discuss all ways to cancel permission, including nuances for different versions. MIUI Xiaomi models and why it is critical to protect the device.

Disabling an installation from unknown sources is not just a return of one parameter to its original state. In MIUI, this feature can be tied to specific applications (for example, a browser or a file manager), and also hide in different settings sections depending on the firmware version. If you do not know where to look for this option, or if you encounter errors when trying to disable it, our guide will help you understand all the details.

Why you should disable the installation from unknown sources

Installation permit APK-Third-party files open doors to potential threats:

  • 🦠 Viruses and malware: Even one infected file can steal your data, display intrusive ads, or block your device.
  • πŸ•΅οΈ Spyware: Some apps collect information about your activities, contacts, or location without your knowledge.
  • πŸ”„ System instability: Applications from unverified sources often contain errors that cause crashes MIUI.
  • 🚫 Violation of Google Play Policy: Installing pirated or modified apps may result in account blocking.

In addition, some banking applications (such as SberBank Online or Tinkoff) refuse to work on devices with an installed option from unknown sources, citing increased risks of fraud.

⚠️ Caution: Disabling the installation from unknown sources does not remove the already installed APK-If you suspect that there is malware on the device, additionally scan the smartphone with an antivirus (for example, Dr.Web or Kaspersky Mobile).

Where is the configuration in MIUI: ways for different versions

Depending on the MIUI version (12, 13, 14 or HyperOS) and the smartphone model (Redmi Note 12, POCO X5, Xiaomi 13, etc.), the path to setup may vary.

MIUI/HyperOS versionThe path to adjustmentNotes
MIUI 12–13Settings β†’ Annexes β†’ Application management β†’ βš™οΈ (gear) β†’ Special rights β†’ Installation from unknown sourcesOn some devices, the item may be called β€œApplication Rights”.
MIUI 14Settings β†’ Annexes β†’ Application management β†’ βš™οΈ (setting) β†’ Installation of unknown applicationsIn some regional firmware, the name may differ.
HyperOS (2026)Settings β†’ Applications β†’ Application permissions β†’ Installation of unknown applicationsThe new interface may require an additional swipe down to search for a item.
Redmi with lightweight firmwareSettings β†’ Additional β†’ Privacy β†’ Installation of unknown applicationsOn older models (Redmi 9A, Redmi 8) the path can be longer.

If you do not find the desired item along the specified paths, use the search by settings (the magnifying glass icon in the upper right corner). Enter the request "Install unknowns" - the system will show the exact path.

πŸ“Š What version? MIUI installed on your Xiaomi?
MIUI 12 or older
MIUI 13
MIUI 14
HyperOS
I don't know.

Step-by-step: how to disable permission

When you find a section with settings from unknown sources, follow this instruction:

  1. Open the list of applications that are allowed to install APK. Usually, browsers (Chrome, Mi Browser), file managers (Files, File Manager) and instant messengers (Telegram, WhatsApp) are displayed here.
  2. Click on the app you want to disable permission for, for example, if you installed an APK through Chrome, select it.
  3. Translate the slider "Allow installation from this source" to the position Off (grey).
  4. Repeat the action for all apps on the list if you want to completely disable APK installation.

Important: MIUI 14 and HyperOS may require fingerprint confirmation, or PIN-It's an additional security measure that can't be turned off.

Opens "Install Unknown Applications" | Chrome slider is turned to "Off." | Files slider is moved to "Off." | Verified no permissions for other applications-->

⚠️ Attention: On some firmware (MIUI Global for the European market) after disabling the permission, a notification may appear "Installation blocked by the administrator" This is normal and means that the system has successfully banned the installation. APK.

What to do if the setting is not turned off

Sometimes users are faced with the installation slider from unknown sources not moving or returning to its original position.

  • πŸ”’ The device is controlled through MDM: If the smartphone is tied to a corporate system (for example, Microsoft Intune), the administrator can block the change of this setting. IT-service.
  • πŸ›‘οΈ The "For Children" mode is active: MIUI There's a parental control feature that can restrict access to security settings. β†’ Parental control.
  • πŸ”„ System failure: Restart the device and try again. If the problem persists, reset the security settings: Settings β†’ System system β†’ Resetting settings β†’ Reset application settings.
  • πŸ“± Castom firmware: On informal firmware (like LineageOS or Pixel Experience), the path to setup may be different.Look for "Unknown sources" under "Security".

If none of these methods worked, check if the device has an administrator application (such as 360 Security or Clean Master) that can block changes. β†’ Annexes β†’ Application management β†’ βš™οΈ β†’ Device administrators and remove the rights from suspicious programs.

How to check if there are administrators on the device
In the Device Administrators section (the path above), you will see a list of applications with superuser rights. If there are programs you don't know (like Chinese names), they need to be disabled. This could be malware masquerading as system services.

How to prevent installation of APK at system level (for power users)

If you want to completely block the installation APK-files, including bypassing ADB, You can use hidden settings MIUI. This method is suitable for advanced users and requires activation of the developer mode.

  1. Activate Developer Mode: Go to Settings β†’ About Phone β†’ MIUI Version and click on it 7 times until the notification β€œYou became a developer” appears.
  2. Go back to the basic settings and open a new Developer section (usually at the bottom of the list).
  3. Find the item "Debugging by USB" and turn it on.
  4. Connect your smartphone to your computer and execute a command to ADB: adb shell settings put global install_non_market_apps 0 This will completely block the installation. APK from any source other than Google Play.

Once this command is executed, even system applications (such as Files) will not be able to install APKs until you return the setting to 1. To unlock the installation, use the same command with 1 instead of 0.

πŸ’‘

If, after the execution, ADB-setup APK It is still possible, check if the settings are overridden by custom recovery (for example, TWRP). In this case, you will need to edit the file. /system/build.prop Or return stock recovery.

What happens if you leave the permission on?

Many users neglect to shut down the installation from unknown sources, believing that β€œnothing is installed, so nothing will happen.” However, even passively having this permission creates risks:

  • πŸ“₯ Hidden Software Installation: Some websites or banner ads can automatically download and install APK without your knowledge (for example, through vulnerabilities in the browser).
  • πŸ”— Phishing attacks: Scammers can slip you a file with a name that mimics a legitimate application (for example, a file with a name that is not a legitimate application, "sberbank_apk_new_version.apk"), which actually steals data.
  • πŸ“¦ Auto-update malware: If a device already has a virus, it can use the permission to update itself or download additional modules.

Kaspersky’s 2023 statistics show that 38% of Android device infections occur through APK installations from unknown sources, and 60% of the time, users don’t even know that their smartphone has malware until they face consequences (such as debiting money from an account or blocking files).

πŸ’‘

Disabling the installation from unknown sources is not paranoia, but a basic security measure that closes one of the main vectors of attacks on Android devices.

FAQ: Frequent questions about disabling APK installation

Can I disable installations from unknown sources only for individual applications?
Yes, MIUI grants permission to install APKs to each application separately, for example, you can disable installations via Chrome, but leave them for Files if you only trust the file manager, but for maximum security, it is recommended to disable this option for all applications.
After I turn off, I can't update an app that's downloaded outside of Google Play. What do I do?
If the app was installed via APK, its update will also require permission to install from unknown sources. Solutions: Temporarily turn on permission for the file manager, update the app, then disable again. Delete the current version and install the app from Google Play (if there is one). Use alternative stores (such as APKMirror or Aptoide) that offer secure APKs with a digital signature.
My Xiaomi doesn't have an "Install Unknown Apps" item.
Possible reasons: You have a business device with limited settings (check in the app). IT-There's custom firmware installed, where it's moved to another section (see "Security" or "Privacy"), and the firmware has been modified (e.g., system applications have been removed), causing a crash. Try resetting to factory settings. If the item is missing, try updating. MIUI to the latest version or reset through Settings β†’ System system β†’ Resetting settings (without deleting data).
Can I disable APK installation through registry or system files?
Technically yes, but it requires root rights and system file editing, which: Violates Xiaomi's warranty. could lead to bootloop (a looped boot) if it fails. resets after the update MIUI. A safe alternative – use of ADB-The commands described above in the section for experienced users.
How to check if my Xiaomi malware is installed?
Do a comprehensive check: Install an antivirus (such as Malwarebytes or Bitdefender) and scan the device. β†’ Delete unknown or suspicious (especially with Chinese names). β†’ Battery. β†’ Battery usage and see which apps use a lot of power in the background. check traffic in Settings β†’ SIM-maps and mobile networks β†’ Traffic usage: Unknown applications with high data consumption can be spyware, if you find suspicious software, remove it and be sure to disable the installation from unknown sources to prevent re-infection.