How to allow the installation of applications from unknown sources on Xiaomi

The modern Android operating system, especially in the shells MIUI and HyperOS from Xiaomi, has a multi-step protection system, this is done to protect the user from malicious software that can penetrate the device from the outside. However, there are often situations when standard installation methods through the Google Play Store are not available or the user wants to install a modified version of the program that is not in the official store.

Owners of Redmi, POCO and Xiaomi smartphones regularly face lockdowns when trying to run a.apk installation file downloaded from a browser or transmitted via a messenger. The security system aggressively interrupts the process by requiring additional confirmations. Understanding the logic of these limitations is the first step to successfully installing the necessary utilities without losing warranty or data security.

In this article, we will take a detailed look at the algorithm for different firmware versions, explain the difference between global resolution and access for a particular application, and look at the nuances specific to the Chinese manufacturer’s ecosystem.

Why Xiaomi is blocking third-party installations APK-file

The main reason for blocking notifications is because of the built-in Security antivirus. Unlike pure Android, where settings are deep in the menu, Xiaomi takes control to the fore. The system scans each installation package for digital signatures that do not match the Google Play Protect database. If the signature is missing or suspicious, the process is interrupted.

In addition, recent versions of MIUI 14 and HyperOS have implemented a Fraud Protection mechanism that analyzes the behavior of the application at the time of installation. If the program requests suspicious permissions (for example, access to SMS or flashlight calls), the system can block its installation even if the file is obtained from a reliable source, which creates difficulties for users installing banking applications not from the Play Market or gaming mods.

It's important to understand the difference between "Unknown Sources" and "Safe Mode." The permission for unknown sources gives access to the package installer, but does not disable the Xiaomi antivirus check. So even after you turn on all the tumblers, you can see a red alert, which is a false positive in most cases, requiring manual confirmation.

⚠️ Warning: Installing applications from unverified sources (especially hacked games or mods) carries a real risk of identity theft. APK on the VirusTotal website before launching on a smartphone.

Difference Between MIUI and HyperOS in Security Settings

The security interface has changed significantly with the release of the new HyperOS operating system. whereas older versions of MIUI (12, 13) had a global Unknown Sources switch that allowed installation for all applications at once, newer versions have eliminated this approach for security reasons.

Now it's a "trusted application" system, and you don't allow installation for the system as a whole, you give a specific application (like Chrome, Telegram, or Mi Browser) the right to run a packet installer, which means that if you downloaded a file through a browser, you need to allow it to the browser, if you sent it over Bluetooth to the file manager.

HyperOS also tightened the confirmation requirements, and there was a 10-second delay before the Set button, during which the user must read the warnings carefully, and you can't get around the timer with standard means, it's a system restriction.

πŸ“Š How do you most often transmit APK-phone-file?
Through USB-cable
Through Telegram/WhatsApp
Downloading right in the phone browser
Using cloud storage.

Step-by-step instructions: how to allow the installation of applications

The process of activating the ability to install third-party programs on Xiaomi requires several steps to be performed in sequence. First of all, you need to download the installation file itself or have it in the device memory. Without the.apk file, the system may not show the necessary menu items.

Once you try to open the downloaded file, the system will automatically redirect you to the desired menu or give you a pop-up warning. If you see a message "Disallow installation", click on the "Settings" button in the same window, which is the fastest way to solve the problem.

If you don't automatically transition, follow the manual algorithm, go to Settings, then select Application Protection (or Privacy in newer versions), then look for Special Opportunities or Install Unknown Applications.

β˜‘οΈ Checklist before installation

Done: 0 / 4

In the list that opens, you will see all the applications that can initiate the installation. Find your browser (Chrome, Yandex) or file manager (File Manager) in the list. Click on it and activate the Allow Installation switch.

Once the tumbler is turned on, the system may require you to enter the unlock password or fingerprint to confirm it, which is the final step, and now, once you go back to the file and re-run it, you can continue the installation.

Solving Packet Installer Problems and Errors

A common problem on Redmi and POCO smartphones is that the package installer itself has blocked the packages, and even if you have given permission to the browser, a Package Installer window pops up to request that you limit the installation, and you need to find the Package Installer in the application list and also give permission to it.

Sometimes cleaning the installer cache helps. β†’ Annexes β†’ All applications, find in the list "Package Installer" (may be hidden in system processes, turn on the system in the menu of three points). β†’ Clear the cache.

If you encounter an β€œApplication not installed” error, check if the new version conflicts with the existing one. Often the system prohibits installing an older version on top of the new one or a version with a different digital signature, in which case you need to completely remove the old version of the application.

⚠️ Warning: If you have a red window with a timer and a risk text when you install it, don't panic. MIUI. Wait until the countdown ends (10 seconds) and click "Still set".

Set up exceptions in the Security app

The embedded Security app is the main guardian of the system, which can block the launch of an already installed application or interrupt the installation by marking the file as dangerous, and to avoid constant notifications from trusted sources, they can be added to exceptions.

Open the Security app (green icon with shield). Click on three dots in the top right corner and select Settings. Under Antivirus or Security Scanner, find the option to Ignore Risks or add the app to a whitelist.

Also in the Security app, there's a cleanup function, sometimes it removes the installations. APK-In the cleaner settings, you can turn off scanning the download folder or add specific files to exceptions so that they are not automatically deleted.

Hidden settings for advanced users
From the phone menu, dial ##8888## (not working on all firmware) to get into the extended testing menu, where you can see the status of the application signature verification. Be careful, changing the settings here can lead to unstable system operation.

Table: Comparison of menu paths in different versions of MIUI

Navigation by settings may vary depending on the shell version and firmware region (Global, China, EEA). Below is a table to help you navigate where to look for the right switches on different versions of the software.

MIUI/HyperOS versionThe path to settingsFeatures
MIUI 12 / 13Settings β†’ Passwords and security β†’ Privacy β†’ Special. access β†’ Install unknown applicationsThere's a global tumbler.
MIUI 14Settings β†’ Application Protection β†’ Installation of Unknown ApplicationsOnly selecting a specific application
HyperOS 1.0Settings β†’ Privacy β†’ Installation of unknown applicationsEnhanced verification of certificates
Chinese version (CN)Security β†’ Settings (cogs) β†’ Installation from unknown sourcesRequires login to Mi Account

As you can see from the table, in recent firmware versions, the path has become shorter but functionally more limited, with global resolution replaced by individual trust, which forces the user to consciously choose which application they trust to install software each time.

πŸ’‘

The main conclusion: In new versions of HyperOS, you can not simply β€œenable” the installation for all at once, you need to give permission to a specific source application (browser or conductor).

What to do if the installation button is inactive or gray

The situation where the "Install" button is displayed in gray and does not respond to clicks is often encountered when installing system updates or applications with high access rights. This can be due to the Mi Unlock mode enabled or the developer rights activated that block system changes.

Try to shut down the Internet during installation. Sometimes Xiaomi antivirus can not check the hash amount of the file due to connection problems or blocking the verification servers, and falls into a stupor, blocking the button.

Also check if Child Protection or Guest Mode is enabled, and in these profiles, installing new apps is often prohibited at the device policy level.

πŸ’‘

Useful tip: If the standard installer is constantly giving out errors, try installing a third-party APK installer, such as "APKPure" or "Aurora Store." They have their own mechanisms to bypass standard system checks.

Frequently Asked Questions (FAQ)

Is it safe to keep unknown sources permanently allowed?
Constantly active access to the installation for the browser or messenger increases the risk of accidental installation of malware if you click on the phishing link. It is recommended to enable permission only for the time of installation of the desired application, and then disable it in the settings.
Why Xiaomi writes β€œVirus” when the file is downloaded from the official website?
Xiaomi Antivirus uses Avast databases and its own heuristic algorithms. False Positive is a common occurrence, especially for applications modified by enthusiasts or rare utilities. If you are sure of the source, ignore the warning.
Can I remove the system "Package Installer"?
No, Package Installer is a critical system component of Android, and removing or disabling it will make it impossible to install any applications, including system updates, which may require reflashing the device.
How to allow installation if the screen is blocked by advertising?
Ad windows that override the install button are usually a sign of an already installed virus or aggressive application. Go to Settings β†’ Apps β†’ All apps, sort by usage time, and remove suspicious programs without a name or icon that have recently launched.