How to remove antivirus from your Xiaomi phone: 5 proven ways

Antivirus programs on Xiaomi smartphones often cause conflicts: they slow down the system, block legitimate applications or just annoy with constant notifications. If you decide to get rid of unnecessary antivirus β€” whether it is an embedded solution MIUI Security or third-party software like Avast, Kaspersky β€” it is important to do it correctly. Incomplete removal can leave tails in the system that will continue to consume resources or interfere with the work of other programs.

In this article, we will look at all possible ways to remove antivirus from Xiaomi, Redmi and POCO phones, from a simple uninstallator to radical measures like resetting to factory settings. We will focus on the nuances of working with MIUI, where some system components cannot be removed by standard methods. You will also learn how to check if there are any traces of antivirus in the system, and what to do if the program β€œdoes not want” to be removed.

1. Standard removal through Android settings

The most obvious way is to remove the antivirus as a regular application, which is suitable for third-party programs (for example, Dr.Web, ESET NOD32), but will not work for built-in Xiaomi solutions (for example, Security or Cleaner).

Instructions:

  • πŸ“± Open the Settings. β†’ Annexes β†’ Application management.
  • πŸ” In the search box, type the name of the antivirus (for example, β€œAvastΒ»).
  • πŸ—‘οΈ Click on the app. β†’ Delete (or Deinstall).
  • βœ… Confirm the action if required.

If the Remove button is inactive or not, then the antivirus is a system application (for this in the next section).

⚠️ Note: If the antivirus has administrator rights, standard removal will not work. First revoke the rights to Settings β†’ Passwords and security β†’ Device administrators.

Disable autostart in the application settings

Remove Administrator Rights

Clear cache and application data

Check for the presence of β€œdoubles” of antivirus in the list of applications-->

2. remove the built-in antivirus MIUI (Security, Cleaner)

Xiaomi smartphones are equipped by default with the Security app, which includes an antivirus scanner, optimizer and other tools. Completely remove it without root rights is impossible, but you can disable unnecessary functions or hide the application from the eyes.

Ways to combat built-in antivirus:

  • πŸ›‘ Disabling Autostart: Settings β†’ Annexes β†’ Application management β†’ Security β†’ Auto-start β†’ Turn off all switches.
  • πŸ”• Hiding from the menu: Keep your finger on the Security icon on your desktop β†’ Remove from the screen (the application will remain in the system, but will not interfere with the system).
  • 🧹 Clean up data: In the Security app settings, click Storage β†’ Clear the data (this will reset the scanner settings).
  • πŸ”§ Scanning Disconnect: Open Security β†’ Settings (βš™οΈ) β†’ Antivirus β†’ Turn off the automatic scan.

If you are critically important to get rid of Security completely, you will need to unlock the bootloader and install custom firmware - but this is risky and deprives of warranties. ADB-Deactivation commands (more on this below).

What happens if you turn off MIUI Security?
The Security app is responsible not only for antivirus, but also for memory optimization, control of application resolution and protection against phishing. Its disabling can lead to: - Increase the background activity of other applications (the system will no longer limit them). - Loss of the Blacklist function for blocking calls. - No warnings about potentially dangerous sites in the Mi Browser browser. However, this almost does not affect the performance of the phone - it is antivirus scans that create the main "brakes".

3. Removal of antivirus via ADB (for power users)

If the antivirus isn't removed in the standard way, but you have an ADB debugging bridge, you can try to uninstall it forcibly. This method works for most third-party antiviruses, but not for the system components of MIUI.

Step-by-step:

  1. Turn on Developer Mode: Settings β†’ About Phone β†’ MIUI version (click 7 times).
  2. Activate USB Debugging: Settings β†’ Additional β†’ For Developers β†’ Debugging by USB.
  3. Connect your phone to your PC and open Command Prompt (Windows) or Terminal (macOS/Linux).
  4. Enter the commands: adb devices (should appear your device) adb shell pm uninstall --user 0 com. title.package For example, for Avast: adb shell pm uninstall --user 0 com.avast.android.mobilesecurity

To find out the exact package name of the antivirus, use the command:

adb shell pm list packages | grep -i "anti"

or check the name of the package in Settings β†’ Applications β†’ [antivirus name] β†’ Additional.

⚠️ Attention: Misuse of the right ADB Do not delete Xiaomi system packages (starting with com.miui. or com.xiaomi.) – this is fraught with a β€œbrick” of the device.

MIUI Security (built-in)

Avast/Kaspersky (third-party)

360 Security

McAfee

Other-->

4. factory reset (last resort)

If the antivirus has been ingested so much that it cannot be removed by other means, it is a complete reset, a radical method that will remove all data from the phone, including apps, photos and settings. Use it only as a last resort!

How to reset:

  • πŸ”„ Go to Settings. β†’ The phone. β†’ Resetting settings.
  • πŸ“± Select Erase All Data (or Reset to Factory Settings).
  • πŸ” Enter a password (if required) and confirm the action.
  • ⏳ Wait for the reboot (it will take 5-10 minutes).

Once reset, the phone will be clean, as it is after purchase. Important: pre-backup data via Settings β†’ Google β†’ Backup or Mi Cloud.

  • πŸ“Έ Photo and video in DCIM They may be saved, but it is better to transfer them to the PC.
  • πŸ“± Google Play apps will automatically recover if sync is enabled.
  • πŸ”‘ Wi-Fi passwords and account data Xiaomi will have to re-enter.

πŸ’‘

Factory reset is the only way to guarantee that you will remove ALL traces of the antivirus, including the system components of MIUI. However, it will also delete all your data, so use the method only if other options have not helped.

5. Check for residual antivirus files

Even after removal, the antivirus can leave behind:

  • πŸ“ Residual files in folders /Android/data/ or /Android/obb/.
  • πŸ”„ Tasks in the scheduler (e.g. automatic scanning).
  • πŸ›‘οΈ Firewall rules or restrictions for other applications.

How to check the system for "tails":

  1. File Manager: Open Mi File Manager β†’ Go to Internal Drive β†’ Android β†’ Data and delete the folder with the name of the antivirus (for example, com.avast...).
  2. Task Manager: In Settings β†’ Applications β†’ Permissions β†’ Autorun, check if there are any mentions of antivirus.
  3. ADB (Advanced Method): Follow the command: adb shell dumpsys package com.name.packet If the answer is Package not found - the antivirus is removed completely.

If you find residual files but can’t delete them (for example, due to lack of rights), try using root conductor (Magisk is required) or repeat resetting to factory settings.

Type of residual filesWhere to findHow to remove
Cash and data.Settings β†’ Applications β†’ [antivirus] β†’ StorageClick Clear cache and Clear data
Application folders/Android/data/[package_name]Remove the folder manually through the file manager
Tasks in the plannerSettings β†’ Battery β†’ Energy saving modeDisable all tasks related to antivirus
Firewall rulesSettings β†’ SIM-maps and mobile networks β†’ firewallReset the firewall settings

6. Antivirus alternatives on Xiaomi: should I install another?

Many users, after removing the antivirus, wonder if it's dangerous to leave the phone unprotected? In fact, for most scripts, Android and MIUI are enough. Modern versions of the operating system have:

  • πŸ›‘οΈ Google Play Protect – Scanning Apps When Installed.
  • πŸ”’ Sandbox – isolates applications from each other.
  • πŸ”„ Automatic security updates from Google.

If you want more protection, consider the easy alternatives:

  • πŸ“± Bitdefender Mobile Security – Minimalistic Antivirus with Low Resource Consumption.

Important: Most heavy antiviruses (Avast, Kaspersky, 360 Security) consume more resources than they do. On Xiaomi with MIUI 12+, they often duplicate built-in features, creating extra workload.

Blocking the installation of applications from unknown sources (Settings β†’ Applications β†’ Special Access β†’ Installation of unknown applications).

Two-factor authentication for Xiaomi and Google accounts.

- Regular system updates (Settings) β†’ The phone. β†’ Updating the system).-->

FAQ: Frequent questions about removing antivirus from Xiaomi

Can I remove MIUI Security completely without root?
No, Security is a MIUI system application, and you can't completely uninstall it without unlocking the bootloader, but you can disable all of its features (scanning, optimization) and hide the icon from your desktop.
After the antivirus was removed, the phone started to slow down.
It's likely the antivirus masked real performance issues: πŸ“Š Loading the CPU to Settings β†’ The phone. β†’ Status of the system. πŸ—ƒοΈ Free storage space (less than 10% of free space slows down the system). πŸ”„ Background applications in Settings β†’ Annexes β†’ Application management β†’ Background. If the brakes are still, do a cache-wip (reset cache via Recovery).
The antivirus is gone, but the notifications keep coming. Why?
It is likely that the notifications will be sent: πŸ“± Other applications (such as Clean Master or DU Speed Booster). πŸ” Google Play Protect built-in scanner (check in Settings) β†’ Google β†’ Security). πŸ•΅οΈβ€β™‚οΈ Phishing software masquerading as antivirus (check the list of installed applications). Open Settings β†’ Notifications β†’ Latest notifications and find the source.
How to prevent MIUI from installing antivirus after resetting?
After resetting to factory settings MIUI It may offer to install Security or Mi Browser with antivirus features. To avoid this: When you first start, skip the "Recommended Apps" step. β†’ The phone. β†’ Updating the system β†’ Settings (βš™οΈ) β†’ Auto-update MIUI. Install an alternative launcher (like Nova Launcher) to hide system applications.
Is it safe to use ADB to remove antivirus?
Yes, if you only remove third-party apps (like Avast) and don't touch Xiaomi's system packages: 🚫 Removing important system components (e.g. com.miui.securitycenter) may cause your phone to fail. πŸ”„ Wrong team ADB It can reset settings or delete the wrong data. Always check the package name before deleting and back up.