How to Disable and Remove Security on Xiaomi: Expert Guide

Many Xiaomi smartphone users face intrusive notifications from the system application "Security". Built-in antivirus and optimizer often block the installation of third-party programs or forcibly close the background processes, which prevents comfortable use of the device. The owner of the gadget may wonder whether it is possible to completely get rid of this component or at least minimize its impact on the system.

Removing system components is a precautionary procedure, as the Security application is deeply integrated into the MIUI and HyperOS shell. It is not only responsible for virus scanning, but also for managing permissions, filtering calls and cleaning memory. Complete removal can lead to unstable interfaces, so it is important to understand the difference between disabling functions and completely uninstalling through ADB.

In this article, we will look at all the legal and secure ways to manage this application. You will learn how to configure exceptions so that the system does not interfere with the work of the desired programs, and how to radically remove the component if you are confident in your actions. Complete removal of the system application "Security" through ADB is irreversible without flashing the device and can disrupt the GetApps store and system updates.

Why Users Should Remove Security Application

The main reason for the discontent lies in aggressive memory optimization policies: MIUI algorithms often perceive the background processes of messengers or gaming launchers as a threat to performance and force them to terminate, which leads to notifications coming with a delay, and games are overloaded again every time they start.

The second factor is false positives when installing applications from unknown sources, and the built-in virus scanner can label perfectly safe modified programs or utilities as malicious, blocking their installation without the possibility of simply ignoring the warning, which becomes a serious obstacle for experienced users.

In addition, the application consumes the CPU resources in the background, periodically running checks. On devices with a small amount of RAM, this can be noticeable. Disabling unnecessary services allows you to free up resources and slightly increase battery life, although in modern versions of the OS this effect is less noticeable.

โš ๏ธ Warning: Before any manipulation of system components, be sure to create a complete backup of data.Removing critical system applications can lead to a cyclical smartphone reboot.

It is also worth noting that some users simply prefer third-party security solutions such as Kaspersky or ESET, and consider the presence of two active antiviruses redundant.

Set up exceptions instead of complete removal

Before you take any drastic measures, you should try to configure the built-in tool correctly, which will keep the system stable, but remove annoying limitations, and first of all, you need to add the right applications to the exception list so that the optimizer stops killing them.

To do this, open the Security app and go to Permissions, where you can set up auto-start and background work for each program separately, a safer path than complete removal, as you maintain a basic level of protection against real threats.

๐Ÿ’ก

Use Game Turbo mode to add apps to the exceptions, and the system will automatically stop restricting their background activity while running in this mode.

Another important aspect is to disable the verification when installing applications from unknown sources, and you can do this in the settings of the Security app itself by finding the Virus Scanner and disabling the "Verify When Install" option, which will speed up the installation process. APK-file.

  • ๐Ÿ”’ Open the Security app and select Permissionsยป.
  • ๐Ÿš€ Find the โ€œAutoStartโ€ item and activate the desired applications.
  • ๐Ÿ›ก๏ธ In the Security section, turn off Real-Time Monitoring to reduce load.
  • โš™๏ธ In the scanner settings, remove the tick from "Check when installingยป.

Remember that even after setting up exceptions, the system can periodically remind you of potential risks, which is normal behavior for HyperOS and MIUI, aimed at protecting inexperienced users, and you can only completely disable notifications through special notification settings in the application itself.

Using ADB to remove system components

If the soft methods don't help, the only way to completely remove the application is to use USB debugging and the ADB (Android Debug Bridge) tool.This method doesn't require Root rights, but requires a connection to a computer. It allows you to remove system packages for the current user, effectively hiding them from the system.

Before starting the procedure, activate the developer mode. To do this, click on the build number seven times in the About Phone section. After the corresponding notification appears, go to Advanced Settings and turn on USB Debugging. You may also need to turn on USB Debugging (Security Settings).

โ˜‘๏ธ Preparation for removal through ADB

Done: 0 / 4

Connect your smartphone to your computer and open the command line in the ADB tool folder. Make sure the device is determined by the adb device command. If a window appears on your phone asking for debugging permission, confirm it. You can now start searching for the packet name.

adb shell pm list packages | grep security

The above command will help you find the exact name of the package, which usually looks like com.miui.securitycenter. This package is responsible for the operation of the Security application. Be careful, as removing the wrong package can disrupt telephony or messages.

โš ๏ธ Note: The uninstall command is instant and without further confirmation. An error in spelling the name of the package may result in the removal of a system component critical for the OS to boot.

Step-by-step instructions for uninstallation of the package

Once you have figured out the exact name of the packet, you can start deleting it. The command runs in the same command line window. It doesn't physically erase files from the system partition, but deletes them for the current user (user 0), making the application inaccessible.

adb shell pm uninstall -k --user 0 com.miui.securitycenter

If you do this, you'll lose the app icon and all of its services. Antivirus checks, memory optimization, and call blocker will stop working. If you want to get it back, you'll just have to run the reset command.

How to return a remote application?
To recover a remote package, use the command: adb shell cmd package install-existing com.miui.securitycenter. This will return the application to the state of โ€œout of the boxโ€.

It is important to understand that after removing this component, other dependent services may stop working, for example, cleaning the memory through the notification curtain or the SMS filter. In some cases, the system may begin to behave unstable, so monitor the behavior of the smartphone in the first hours after the modification.

If you have global firmware installed, uninstallation may be less critical than in the Chinese version of MIUI China, where dependencies between system applications are more stringent.

Alternative methods and third-party utilities

There are specialized uninstallation applications, such as System App Remover or NoBloat, which require Root rights. Using these utilities allows you to remove applications directly through the smartphone interface, without the need to connect to a computer and enter commands.

However, obtaining Root rights (via Magisk) will unlock the bootloader, which will result in a loss of warranty and the inability to use banking applications without additional settings (Masking).

Another option is to use global firmware versions, where the level of aggressiveness of the Security app is lower by default, and users often simply reflash the device on the international version of the software to get rid of excessive Chinese software and advertising.

MethodDifficultyRisks.Efficiency
Set-up of exceptionsLow.Absent.Medium
ADB (no Root)MediumAverage.Tall.
Root + RemovalTall.Tall.Maximum
Flip-flashingTall.Average.Tall.

The choice of method depends on your skills and goals. For most users, it is enough to adjust correctly through the standard menu to stop noticing the presence of Security in everyday use.

Possible problems after removal and their solution

After you force the system component to be removed, you may experience errors in the interface, such as the permission menu or the swipe memory cleaning, because other parts of the MIUI shell try to access the remote service and donโ€™t get a response.

In some cases, the battery icon may disappear or the brightness adjustments stop working if they were tied to the optimizer processes. If you notice critical failures, the best solution is to immediately reset to the factory settings or restore the package through ADB.

๐Ÿ“Š How you deal with restrictions MIUI?
Customizing exceptions
I'm using ADB.
I'll put in custom firmware.
I'm not touching it.

Also, when you upgrade your system over the air, deleted packets can be restored automatically, and youโ€™ll have to repeat the deletion procedure after every major Android or shell update, an inevitable inconvenience of modifying your system files.

If the phone has gone into a bootloop, try booting into Safe Mode (usually by pressing the volume button when turned on) or resetting through the Recovery menu, which will return the device to factory status, preserving the integrity of the system files.

Frequently Asked Questions (FAQ)

Can I delete Security without a computer?
Without a computer and Root rights, you can't completely delete a system application, you can only turn off notifications and settings, but the processes will remain in memory, and you need ADB or Root to completely remove it.
Is it safe to remove Xiaomi antivirus?
This is virus-safe if you control the installation of the applications, but it can disrupt the stability of the system, as many shell functions depend on Security services.
What to do if the Internet disappears after removal?
Rarely, network configs are removed. Try resetting your network settings (Settings โ†’ Connection & Sharing โ†’ Reset Wi-Fi, mobile networks and Bluetooth). If it doesn't work, restore the packet through ADB.
Does the removal affect Google Pay?
Deleting the Security app alone does not block Google Pay. However, if you received Root rights to delete, then Google Pay will not work without using Magisk Hide or Zygisk.
How to check if the package has been removed?
Enter adb shell pm list packages. If there is no com.miui.securitycenter in the list, the package has been deleted for the current user.