Owners of Xiaomi, Redmi and Poco smartphones often face aggressive security built-in. MIUI Securityβs smart algorithms can force background processes to close, block notifications or delete installation files, considering them potentially dangerous, especially for specialized applications, mod games or remote access programs that require constant activity.
The solution is not to turn off the security, which would be unsafe, but to correctly configure exceptions. Android on the shell of MIUI allows you to flexibly manage the rights of each installed package. You need to go through several stages of configuration to the operating system stops strangling the application you want. In this article, we will discuss all the nuances of the built-in virus scanner and energy saving mechanisms.
The correct configuration of exceptions ensures that the software runs smoothly without the risk of infection. It is important to understand the difference between locking the installation (the scanner prevents the APK from running) and blocking work (the system unloads the process from memory). For each case, there are separate settings in the Security menu that require careful attention. Ignoring these steps can lead to incorrect display of messages or stop downloads.
Understanding the MIUI security architecture
The MIUI shell and its new HyperOS use a layered security system that relies on Avast or the companyβs own work, and unlike pure Android, it controls applications more tightly, and it analyzes not only virus signatures, but also the behavior of the program: network access rates, battery usage, and auto-start attempts.
The main problem with users is that they're looking for one "Add to Exceptions" button that doesn't exist explicitly. Instead, the functionality is scattered across different submenus. The antivirus scanner is responsible for checking files, and Battery Saver monitors background activity. If an application is labeled as dangerous, it's locked at the installer level. If it's just "glutty," it's killed by a memory optimizer.
False positives often occur with applications that have access to system files or use non-standard communication methods. Xiaomi seeks to protect the inexperienced user from itself, so by default prohibits many actions. Understanding this logic helps to properly configure the device without violating its integrity.
β οΈ Note: By adding an application to exceptions, you confirm that the source of its download is reliable. Never exclude from the verification programs downloaded from dubious sites or forums, as this can lead to identity theft.
Effective security management requires knowing where key switches are located, and the following is a table describing the main security components and what they are responsible for in the context of exceptions.
| System component | Function | Affects the installation | Affects background work |
|---|---|---|---|
| Security Scan | Verification APK-virus-file | Yeah (blocks launch) | No. |
| Battery Saver | Energy control | No. | Yeah (unloads the process) |
| App Lock | Blocking access to applications | No. | Yes (password required) |
| Install Monitor | Monitoring of the package installer | Yes (warning) | No. |
Set up exceptions in the Security app
The central element of protection is the standard Security application with a green shield icon, and this is where the main scanner, which most often blocks the installation of third-party devices, is located. APK-To add a file or folder to an exception, you need to go to the scanner menu. Open the application and select Antivirus.
In the upper right corner of the screen is the settings icon (cogs), clicking on it, you will be taken to the scanner configuration menu. Here you need to find the option to ignore errors or Add exceptions. MIUI This item may be called a "White List." Adding it does not guarantee that the application will not be unloaded from memory, but it will allow you to install it. APK-file without system warning.
Also on this menu, you should pay attention to the Scan When Install switch, which means that if you often install apps that are not from Google Play, you can temporarily disable this feature, but you should just add the necessary files to the exceptions, which will maintain a basic level of protection against really dangerous threats.
π‘
If the application is still deleted immediately after installation, check the Quarantine folder in the Security app. The installation file may have already been placed there and deleted.
The process of addition is as follows:
- π Click the Add button or plus in the exclusion menu.
- π Select a file or folder that you want to exclude from the check.
- β Confirm the action by accepting the risks.
They don't give priority to the process. If your application requires constant work in the background (for example, a GPS tracker or a messenger for business), settings alone will not be enough.
Energy saving management for background processes
The most common reason applications disappear is an aggressive energy-saving policy: MIUI seeks to save battery power by forcibly closing processes that are not on the screen. For an application to work steadily, it must be taken out of the control of the optimizer.
Go to Settings β Applications β All apps. Find the program you want in the list. From the menu that opens, select Activity Control (or Battery Savings). The default is βBattery Savings.β You need to change it to No Restrictions.
This setting allows the application to:
- π Working in the background without restrictions.
- π‘ Use mobile internet and Wi-Fi in the background.
- π Show notifications on time.
- π Start automatically after restarting.
βοΈ Checklist of application settings
Once you change this, the system will stop killing the process, even if it consumes a lot of resources. However, this can lead to a faster battery discharge. Balance the settings depending on the importance of the application. For the navigator or the Mi Band smartwatch, this is critical, and for a game you play only during the day, you can leave the standard settings.
β οΈ Warning: Setting βNo Limitsβ mode for a large number of applications will result in a marked reduction in the battery life of the device. Use this feature selectively only for mission-critical software.
Working with package installer and unknown sources
When trying to establish APK-A file downloaded from a browser or received via a messenger, Xiaomi blocks the action by citing security policies.The system requires explicit permission for each installation source.This is not a bug, but a feature of Android Security.
When you see a window that says "Installation locked," don't panic. This window usually has a Settings button or a link to settings. When you click on it, you'll be taken to the Install Unknown Apps menu, and you'll find the source you're downloading the file from (like Chrome, Telegram, or Explorer) and let it install.
Algorithm of action:
- Get a warning when installing.
- Click Settings in the warning window.
- Activate the Allow switch from this source.
- Go back and click "Install".
Why is Xiaomi so strict about APK?
If you install a lot of apps from third-party sources, it makes sense to turn on the developer mode and find the Verify Apps option. Disabling it will remove most warnings, but reduce the overall security level of the device.
Auto-start and special features
Many users forget about the AutoRun menu. Even if you set up the battery and antivirus, the app may not start after you reboot the phone unless it is added to this list. You can find it through a search in the settings or in the Security app β Permissions β AutoRun.
In addition, some applications require access to Accessibility to work properly (e.g., ad blockers, automatizers, or screen readers). Without that permission, they may or may not fly out. Path to setup: Settings β Advanced Settings β Special Features.
Caution is important here. Giving these rights gives the app full control over the actions on the screen. Add to the exceptions and allow access only to verified programs. The special features list also includes the Notification Access option, which is necessary for smartwatches and wristbands to synchronize messages.
π‘
Comprehensive exception settings require changes in three places: Antivirus (for files), Battery (for background work), and AutoRun (for start-up after reboot).
Frequent problems and methods of their solution
Despite the correct setup, there may be situations where the application continues to behave unstable, such as notifications arriving with a delay, or the application βflying outβ when the windows are rolled up. In such cases, it is worth checking whether Full Cleanup mode is included in the multitasking menu. By closing applications with a swipe, you force them to stop, ignoring the exception settings.
Also worth mentioning is the theft protection feature, which, if activated, can be blocked at the Mi Account level from removing some system or secure applications, so adding antivirus to the exceptions wonβt help, but you need to turn off protection in your cloud account settings.
Sometimes it helps to reset the settings of the application itself Security. To do this, go to Settings β Apps β All Apps β Find Security β Memory β Clear Data. This will not delete your files, but will return the scanner settings to factory settings, which can remove erroneous locks.
β οΈ Warning: Cleaning up the data from the Security app will reset all the exceptions and whitelists you created. You will have to reconfigure them. Use this method only if other methods have not worked.
In conclusion, the right exception setting is a balance between convenience and security. Xiaomi provides powerful tools for control, but requires the user to understand the logic of their work. Follow the instructions, check the sources of files and enjoy the stable operation of your smartphone.