How to enable installation from unknown sources on Xiaomi: step-by-step instructions

Owners of Xiaomi, Redmi and Poco smartphones often face the need to install applications that are not available in the official Google Play store. This may be due to regional restrictions, a desire to use modified versions of programs or installing specialized software. MIUI or the new HyperOS by default blocks such actions for the sake of user safety.

The process of permission of installation of third parties APK-The Chinese brand’s files have unique features that are different from stock Android, and it has a layered system of warnings and time limits that can confuse even the experienced user. In this article, we will discuss in detail how to activate the installation function from unknown sources, bypass time limits and safely install the necessary applications.

It is important to understand that the removal of restrictions opens up access not only to useful software, but also increases the risk of malicious code penetration. Therefore, before starting any manipulation with the system security settings, it is recommended to weigh the pros and cons. We will consider not only the mechanics of actions, but also the nuances of the protection mechanisms of Xiaomi so that you can control your gadget without exposing it to unnecessary risk.

Why you need permission to install third-party applications

The main reason the system requires additional confirmation is because of the Android security architecture.The official Google Play Store auto- and manually-checks apps, screening out most malware. When you download a.apk installation file from your browser or get it through your messenger, that file bypasses Google's filters and the user is responsible for its security.

On Xiaomi devices, the situation is complicated by the presence of its own security add-on MIUI Security (or HyperOS Security), which aggressively scans files and can block even harmless programs if they require specific permissions or have a changed digital signature. Installation permission in this context is not just a switch, but a complex mechanism that delegates rights to a specific source application, whether it is Chrome, Telegram or a file manager.

⚠️ Warning: Installing apps from unverified sources is the main way to infect your smartphone with Trojans and miners. Always check your files with antivirus before you launch, even if the system does not issue warnings.

Often users are faced with the need to install modified versions of popular services that provide advanced functionality that is not available in official builds, and this is also true for owners of older devices who no longer receive support for new versions of applications through official channels, in which cases the ability to manually install becomes critical for full use of the gadget.

📊 Where do you most often download from? APK-file?
Google Play
Third-party sites
Telegram channels
File-sharing
I don't need to.

Where is the switch in MIUI and HyperOS?

Unlike many other vendors, Xiaomi doesn’t have a single global Allow All switch in its security settings. Instead, it uses the principle of granular access: you give permission to the specific application you plan to run the installer through, and you can find this setting in two main ways, which are relevant for both MIUI 12-14 and the new HyperOS.

The first and fastest way is to try to open the downloaded APK-The system will redirect you to the menu itself, but if you want to prepare the device in advance or understand the logic of the operation, you better manually go through the settings. To do this, go to Settings, then select the App item and then Settings applications. In some versions of the firmware, the path may look like Application Protection. → Special permits.

The key here is to find Install Unknown Applications (or Allow Installation from Unknown Sources), and if you click on it, you'll see a list of all the programs that theoretically can be the source of the installation, and that's where you'll choose your browser or messenger, and it's important not to confuse this with Access to Memory or other rights, because they're on the next menu.

💡

If you can't find the item in the settings, search by settings, entering the phrase "unknown" and the system will suggest the transition to the desired menu.

It’s worth noting that in recent HyperOS updates, the interface may have changed slightly, but the logic remains the same: the source (browser) must be allowed to run the package installer. Without this right, even the downloaded file will not open for installation, and you will receive a notification of restriction.

Step-by-step instructions for activating the function

Consider a detailed algorithm that will allow you to successfully activate the ability to install third-party software. Follow the steps consistently to avoid getting confused by multiple security warnings.

  1. Download the necessary APK-file on your Xiaomi smartphone through the browser or get it in the messenger.
  2. Try opening the file. If the system issues a warning, click Settings (or OK to go into details).
  3. In the menu that opens, find the Allow installation switch from this source and activate it.
  4. Read the risk warning and click on “OK” or “OK”.
  5. Go back and press the “Install” button.

If you prefer to proactively use the settings menu, go to Settings → Applications → Application Management. In the upper right corner, click on three dots and select Special Permits (or Other Permits). Next, select Install Unknown Apps. In the list, find an app like Google Chrome or Telegram, and turn on the switch.

☑️ Checklist before installation

Done: 0 / 4

Once the permission is activated, the system may require confirmation via a screen unlock password or fingerprint, an additional measure of protection against accidental malware activation. In some cases, especially on global firmware versions, you may need to log in to your Mi Account to confirm the action, although in recent versions of HyperOS this is often abandoned in favor of biometrics.

Features of the security timer and its circumvention

One of the most annoying features of MIUI and HyperOS is what's called a "security timer," which once you've given permission to install, the system doesn't let you start the process immediately, and it keeps you waiting for 10 seconds for the countdown and the warning of potential danger to be displayed on the screen.

This is done to make the user aware of their actions and cancel the installation if they accidentally started the wrong file. However, when you install software on a mass scale or set up a new device, it takes a lot of time. It is important to know that you can not bypass this timer by standard means, it is a system limitation built into the security framework.

However, there is a caveat: if an application has already been tested by the system or has a high trust rating in the Xiaomi database, the timer may not turn on or be significantly shorter. ADB-teams, but in the current assemblies MIUI 14 and HyperOS are closed.

Can I turn off the timer via ADB?
Technically, commands to disable the timer exist, but they require root rights or special permissions, which modern firmware cannot obtain without unlocking the bootloader. Unlocking the bootloader, in turn, leads to a data reset and loss of warranty.

The user is left with the expectation or alternative installation methods, such as using third-party APK installers, which may have their own bypass mechanisms, although their effectiveness is also limited by security updates.

Solution: Locking and errors during installation

Even after all permissions are enabled, users may find themselves in a situation where the installation does not start or is interrupted. The system may issue messages such as "File is corrupted," "Insufficient memory" or "Installation is blocked." Let's look at the main reasons and ways to fix them.

Often the problem is that MIUI Security tags the file as dangerous, and if you try to install it, you will get a red warning, and if you are sure about the file's security, you should click on the arrow or "Establish it anyway" (sometimes hidden under the additional "Details" menu).

Mistake.Probable causeDecision-making
Package not installedVersion conflict or signatureRemove the old version of the app before installing the new one.
Not enough space.Little memory.Clear the cache or remove unnecessary files from storage.Blocked by Mi SecurityThe file is blacklistedTurn off the internet and try to install again, or select “Still Install”
Syntactic errorFile downloaded incompletelyJump over. APK-file.

Some applications refuse to install if they detect a specific network environment, though this is rare for simple APKs. More commonly, the issue is related to Android version compatibility. If you are trying to install an app designed for Android 14 on a device running Android 11, the installation will fail regardless of permissions.

⚠️ Note: If the system claims that the file is corrupted, but you downloaded it from the official developer website, try downloading the file using another Internet connection (for example, mobile Internet instead of Wi-Fi).

Security: Is it worth the risk?

Enabling installations from unknown sources is a balance between convenience and security. Android is designed so that each application runs in its own sandbox, but the availability of installation rights gives a potential virus the opportunity to penetrate deeper. On Xiaomi devices, the risk is somewhat reduced thanks to the aggressive work of the built-in antivirus, which checks files in real time.

But phishing is important to remember, because malicious actors often disguise malware as popular games or utilities, you've given permission to install it, and any file downloaded through it will get the green light, so it's critical to turn off the permission immediately after use.

For maximum safety, the following strategy is recommended:

  • 🔒 Activate the permission only at the time of installation of the desired application.
  • 📱 Use separate profiles or guest modes to test questionable software.
  • 🛡️ Regularly update the database of antivirus in the security settings MIUI.

💡

The main safety rule: keep the Installation from Unknown Sources switch off, turning it on for only 5-10 minutes for a specific task.

Periodic screening of the device by third-party antivirus scanners such as Dr.Web or Kaspersky will help identify threats that may have slipped through Xiaomi’s filters.

Installation via ADB: for advanced users

For those who aren’t afraid of the command line, there is a method for installing apps via Android Debug Bridge (ADB). This method allows you to install APK-files directly from your computer, bypassing the permission screens and timers on your smartphone itself, which is especially useful when you install software on a mass scale or set up dozens of devices.

To do this, you need to enable USB debugging mode in the Developer menu. Connect your phone to your PC, open the command line in the ADB folder, and type in the command:

adb install name_of_app.apk

If the app is already installed and needs to be updated, add the -r flag:

adb install -r name_of_app.apk

This is considered more secure in the sense that you control the process from your computer and see a detailed installation log, but it requires drivers and basic command line knowledge, and errors in commands can cause the application to install incorrectly or not to install at all.

What if your computer can’t see your phone in ADB mode?
Make sure the phone is on “Debugging by” USB». When you first connect to the smartphone screen, you will receive a request for debugging permission from this computer - be sure to click "OK." You may also need to install Google drivers. USB Driver or Universal Driver ADB Driver on your computer. Try replacing it. USB-cable, as some cables only support charging.
Can I remove system applications through ADB?
Yes, the adb shell pm uninstall command --user 0 package_name It allows you to remove system applications without root permissions, but this action is hidden from the average user and can lead to unstable system operation if you remove a critical component.
Will the resolution reset after the reboot?
No, the permission given to an app (e.g. Chrome) is retained even after the device is restarted. You don’t have to activate it every time you reset the settings of the source app itself or perform a full phone reset.
Why is the “Install” button inactive (gray)?
This happens if you don't give a particular application permission to install, and the system waits until you go to the settings (the "Settings" button on the lock screen) and don't turn on the switch for the current source. Until permission is given, the setup button will be locked.