The company's mobile devices Xiaomi are famous for their functionality, but often raise questions from users when setting up for the first time. The most common problem is the inability to run the installation file .apkdownloaded from the Internet, bypassing the official store Google Play. The security system blocks startup by default, considering any third-party sources potentially dangerous.

This is not a failure, but a protective measure that does not allow malicious software to penetrate into Android. However, for advanced users or if you need to install specific utilities, this restriction must be removed. In this article we will look in detail at where exactly the permission to install from unknown sources is hidden in modern versions of the shell MIUI.

Finding the desired menu item can be confusing due to the deep nesting of settings. We'll go all the way from the main screen to the final switch, explain the differences between the interface versions and give tips on how to use this feature safely.

Security architecture in MIUI and Android

Starting with Android 8.0 OreoGoogle has radically revised its approach to the security of third-party applications. If in older versions there was a single global “Unknown sources” switch, now the system works on the principle of individual trust. This means that you do not give permission to the entire system, but allow it to a specific application.

For example, if you download a file through a browser Chrome, then you must give permission to it. If you use a file manager Explorer or messenger Telegram to transfer the installation package, then you need to configure the rights for these apps. This isolation significantly increases the level of protection of the device.

Shell MIUI from Xiaomi supplements the standard settings Android with its own layers of protection. In addition to the standard system resolution, there is often an additional barrier in the form of “Mi Protection” or a special scan before installation. Understanding this multi-level structure is critical for successful installation of the software.

Key point is that after updating the system, settings may be reset. You will have to re-confirm your trust in the file managers you use. This is done so that even when updating the firmware, the user does not forget about potential risks.

⚠️ Attention: Granting rights to install unknown applications reduces the overall level of security of the smartphone. Do this only for trusted sources and files whose authenticity you are 100% sure of.

Search for settings through the main security menu

Smartphone owners Xiaomi, Redmi i POCO often look for the desired switch in the general settings of the phone, but in new versions MIUI the logic has changed. The fastest and most reliable way to get to the desired section is to use the proprietary “Security” application. It comes pre-installed on every device and has a green icon with a shield.

Launch the application Security on the home screen. In the interface that opens, scroll down the list of tools to the “Tools” section or immediately look for the gear icon in the upper right corner. By clicking on it, you will be taken to the antivirus and system protection settings menu.

Here you will need to find an item that may be called “Install unknown applications” or “Special permissions”. Depending on the firmware version (Chinese or global), the name may differ slightly, but the essence remains the same. The system will offer a list of applications to which you can delegate the rights to run installers.

📊 Which method do you most often download APK files?
Via the Chrome browser
Via Telegram
Via a file manager
Through a torrent client

Select from the list the application through which you plan to run the installation. Most often this is Chrome, MIUI Explorer or Telegram. Click on the name of the app and you will see a detailed description of the risks, as well as a switch to activate the permission.

Alternative path through system settings

If you prefer the classic path through settings Android, it is also available, although the path to the goal has become longer. This method is universal and suitable for any devices based on Android, not only for Xiaomi. It is useful if the Security application shortcut has been removed or hidden.

Go to the menu Settings of your smartphone. Scroll to the bottom of the list and find the “Passwords and Security” section (in some versions it may simply be called “Device Security” or “Advanced Settings”). Inside this section, look for the “Privacy” item.

In the privacy menu, find the “Special Permissions” subsection. This is where all the specific access rights settings are hidden and not brought to the fore. Tap on the line “Install unknown applications”. You will see the same list of apps as in the “Security” application.

Click on the desired application and activate the toggle switch Allow installation from this source. The system may require confirmation of the action by entering a screen unlock password or fingerprint. This is another level of protection against accidental activation of the function.

☑️ Check before installation

Completed: 0 / 4

Features of working with files on different media

The situation becomes more complicated if you are trying to install an application not from the phone’s memory, but from an external one drive. Connecting a flash drive via an adapter OTG or using a memory card requires special attention. In this case, the system file manager may not have default rights.

When you try to open .apk a file from an external drive, the system will generate an error or simply nothing will happen. At this point, you need to go to the permissions settings and find the application that you use to view files. If this is a standard Explorer, make sure that it has a permission checkbox.

Sometimes users use third-party file managers, such as Total Commander or ES Explorer. For them, the procedure is similar: you need to grant permission to this particular application. It is impossible to give global permission for all file managers at once for security reasons Google.

Always scan external drives before launching executable files.

File source Launch application Where look for permission Risk level
Browser (download) Chrome / Yandex Settings → Applications Medium
Messenger Telegram / WhatsApp Special. resolution Low (if the contact is familiar)
Internal memory MIUI Explorer Security application Low
External flash drive (OTG) Third-party file manager Privacy settings High

Additional barriers: Mi protection and scanning

Even after you have found and enabled the installation permission, Xiaomi may show another warning. This is a proprietary Mi Protect function, which scans the installed package for viruses and malicious code in real time. It checks the application signatures against the database Avast or AVL.

If the system detects a potential threat, the installation will be blocked with a red warning. In this case, you have two options: delete the file or ignore the warning. To skip the lock, you usually need to press the “Install Anyway” button and hold it for a few seconds until the countdown appears.

Sometimes users encounter a situation where the install button is inactive. This can happen if strict verification mode is enabled in the Mi Protection settings. To temporarily disable it, go to the application Security, go to the antivirus settings and uncheck the "Scan before installation" item.

Why is the installation button gray?

The button may be inactive if the file is damaged, not downloaded completely, or if you have the "Not downloaded" mode enabled. disturb" in some older versions of MIUI, blocking installer pop-ups. Also check to see if the power saving mode is enabled, which limits background processes.

You should not completely disable protection on a permanent basis. It is better to turn it on only while installing the desired application, and then return the settings to their original state. This is a balance between ease of use and the security of your personal data.

Solving problems when installing APK

There are times when all permissions have been granted, but the installation still does not start or is interrupted with the error “Application not installed.” This may be due to a version conflict. If a app with a developer signature different from the one in the new file is already installed on the phone, the system will block the update.

In such a situation, you must first completely remove the old version of the application. Only after clearing the memory from the previous instance will it be possible to install a new modification. Also, the problem may lie in the lack of space in the system partition, even if there are many gigabytes free on the memory card.

Another common reason is an attempt to install an application that is not compatible with the version Android or processor architecture of your Xiaomi. For example, 64-bit applications will not run on older 32-bit systems without emulation, which does not always work correctly.

💡

Before installing modified applications (mods), make a backup copy of your important data. Third-party software may be unstable and cause system crashes.

If the error persists, try clearing the cache of the Package Installer application. To do this, go to Settings → Applications → All applications, find “Package Installer” in the list (may be hidden, turn on display of system processes) and click “Clear cache”.

⚠️ Attention: Menu interface and The names of the items may differ depending on the MIUI version (12, 13, 14) and the firmware region (Global, China, EEA). If you do not find the specified item, use the search in the settings.

Frequently asked questions (FAQ)

Is it safe to install applications from unknown sources on Xiaomi?

It is safe only if you download files from trusted sources, such as the official developer website or large trusted ones repositories like APKMirror. Installing files from dubious forums or telegram channels carries a high risk of infecting the device with miner viruses or spyware.

Why is the permission reset again after rebooting the phone?

In some versions MIUI with enhanced protection (especially in Chinese firmware), the system can automatically revoke rights from applications that have not been used for a long time for installation, or after a major security update. This is normal behavior and requires reactivation of the switch.

Is it possible to give permission to all applications at once, so as not to configure each one?

No, the security architecture Android starting from version 8 does not support global permission for all applications at once. You must manually confirm trust for each individual application (browser, instant messenger, explorer) that tries to launch the installation file.

What to do if the “Install unknown applications” item is inactive (gray)?

If the switch is inactive, it is possible that superuser rights (Root) with certain security settings are activated on the device, or the phone is in Enterprise Management Mode (MDM). Also check if Guest mode or Second Space mode is enabled, where rights may be limited.

Does enabling this feature affect the warranty of the smartphone?

Enabling permission to install third-party applications itself does not affect the warranty. The warranty is void only if you obtain root access, unlock the bootloader, or physically tamper with the device. However, if you install a virus that disables the phone, this will be considered a non-warranty case.

💡

Permission to install is not given to the system as a whole, but to the specific application that is the source of the file. This is a fundamental security principle of modern Android.