Xiaomi smartphone owners often face the need to install apps that are not in the official Google Play store, such as modified versions of programs, TV viewing clients or specialized utilities. Android security by default blocks such actions, requiring the user to manually confirm access rights.
Finding the right switch in the settings can be a real quest, as the menu layout changed with each version of the firmware. In older versions of MIUI it was one global button, and in modern shells such as MIUI 12, 13, 14 and the new HyperOS, the approach has changed dramatically.
In this article, we will discuss in detail where unknown sources are located in Xiaomi and how to activate them correctly for safe operation of the system. APK-You will learn about the differences between the versions of the interface and understand the logic of the modern security system Google and Xiaomi.
Evolution of security settings in MIUI and HyperOS
The process used to be simple: a user would go into settings, find Unknown Sources, and activate it with a single click, allowing you to install any application from any source without further questions, but this model had a critical vulnerability: if a virus application accessed the system, it could quietly download and install other malicious code.
Starting with Android 8 and subsequent versions of MIUI, Google has introduced a model of granular permissions. Now the installation permission is not tied to the system as a whole, but to the specific application through which you download a file. For example, if you download Chrome, then Chrome should give permission.
⚠️ Note: In the new versions of HyperOS and MIUI 14 The absence of a global switch is not a bug, but an intentional feature to protect your data from hidden adware installation.
Understanding this logic helps you find the menu item faster, and the system asks, "What app do we trust to install right now?" This creates an additional barrier to viruses, but it can confuse the user who is used to the old interface.
📊 What's your version of the shell? MIUI/HyperOS?
MIUI 11 and older
MIUI 12 / 13
MIUI 14
HyperOS (newest)
I don't know.
How to enable APK installation in MIUI 12, 13, 14 and HyperOS
In current firmware versions, the path to setup looks different than many users are used to. You don't have to search for a shared switch; instead, the system will redirect you to the permission manager of a particular application, most often automatically when you try to run a downloaded file.
Consider the step-by-step algorithm that works on most modern Redmi and Xiaomi devices: First, you need to download the.apk installation file through any browser or file manager. Then try opening this file.
The system will display a security pop-up, and this window will have a Settings button, and you will click on it and be taken to the menu to activate the Install Unknown Apps switch, which is the modern equivalent of the old "unknown sources."
If the automatic window doesn't show up, you can go the other way. Go to Settings → Apps → All apps. Find the browser or file manager you use (like Explorer or Chrome) in the list. Inside the settings of this application, find the "Other permissions" section or just the permission list.
Where are unknown sources in MIUI 11 and older
If you own an older device or haven't updated your firmware in a few years, the interface may be different. MIUI versions up to 12 used a classic control model, and here the switch was uniform across the system.
To find it, you need to go to Settings → Password and Security, then select “Privacy” or “Special features” (depending on the specific version of MIUI), at the bottom of the list was the item “Unknown sources”.
Once this switch was turned on, the system allowed applications to be installed from any source without additional confirmation for each file, which was convenient but less secure, and the global permission was valid until the user turned it off himself.
Why was it easier in the older versions?
In older versions of Android, mobile malware penetration was lower, and Google relied on user convenience. With the rise of smartphones as banking terminals and storage of personal photos, priority has shifted to maximum process isolation. Solving the “Installation locked” error when trying to install Even after turning on all permissions, you may encounter a lock. Often the system writes that the installation is blocked by a security policy or antivirus. This happens if the Clean Master or built-in Detect Risks virus scanner is turned on. In some cases, especially when installing modified clients (for example, YouTube Vanced), the system may not claim that the Playd block from the application, or the Playd system can contain a Playd. It is important to distinguish the real threat from the false alarm of the heuristic analyzer, and to continue the installation in this case, you often need to press the button “Install Anyway”, which can be hidden behind a countdown timer of 10 seconds. Sometimes you need confirmation through a screen unlock password or fingerprint. ⚠️ Warning: If the antivirus is blocking the installation, check the source of the file three times. APK-Files only come from official developer sites or trusted repositories like APKMirror, and you can get blocked if you're trying to install an app with an older version of Android than the one on your phone, or vice versa, a modern app on an older phone. In this case, the system will report incompatibility, and it will not work out bypassing this with standard methods. Some installer apps (such as APKPure or Aurora Store) require access to Accessibility, which they need to automatically press the Install and Open buttons in system windows, saving you from unnecessary clicks. To activate this feature, go to Settings → Advanced Settings → Special Features. Find the right application in the list of services and activate it. The system will warn that the application will be able to see all the actions on the screen, saving you from unnecessary clicks. To activate this feature, go to the Setting path of Advanced Settings → Special Features. Permission type Where to find Why to find Risk level Unknown sources Application settings (browser/conductor) Allows startup APK-Files Medium Special. capabilities Advanced settings → Special. capabilities Automation of clicks when installing High display over the Settings windows → Annexes → Permissions Showing installer pop-ups Low Access to Settings Storage → Annexes → Permissions Reading Downloaded APK-Low Security: Is it worth taking risks when installing APK? Enabling the ability to install applications from unknown sources is always a balance between functionality and security, and statistics show that more than 60 percent of mobile malware penetrates devices through the use of mobile malware. APK-files downloaded from third-party resources, not through vulnerabilities in the system, but if you are a digital hygiene user, the risks are minimal. The rule is never to enable permission to install from unknown sources for applications you don’t trust or need, for example, a calculator or flashlight doesn’t need the right to install other programs. Only allow the application you are using right now to install a specific file, and once you have completed the installation, you can (and should) turn off the switch again in your browser or explorer settings. This will create an additional barrier in case you accidentally click on a malicious link. 💡Safety of installation APK It does not depend on the fact of the settings, but on which application you gave this right and from which source the file is downloaded. MIUI They work in a sandbox). This means that even if the application is malicious, it cannot access other applications or system files without your explicit permission, which is requested separately for each action (access to contacts, microphone, geolocation). Can you permanently disable security checks when installing? Completely disable the built-in Google Play Protect scanner without permission, as it is a system component. However, you can ignore its warnings by clicking "Install it anyway." You can only do this if you are 100% sure of the source of the file. Why is the installation button gray and not pressed? This happens if you do not give the built-in Google Play Protect scanner without the root permission, for example, if the device installer does not install the device is not have an unknown installer, or the Chrome application installer installer is not installed. Is it harmful to install apps from APK often? APK is itself neutral. It is harmful to install modified (hacked) versions of paid applications, as they are most often implemented by miners or password stylers. Official APKs from developer sites (such as Telegram or WhatsApp) are absolutely safe. In conclusion, managing unknown sources in Xiaomi has become more flexible and secure. Although finding a setup now takes a little longer, it protects your personal data from accidentally installing unwanted software. Follow the rules of digital hygiene, and your smartphone will remain a reliable assistant.