Xiaomiโs built-in antivirus in MIUI firmware is a two-way sword: on the one hand, it protects the device from malicious applications and phishing, on the other hand, it can block legitimate files, slow down the system or conflict with third-party antiviruses such as Kaspersky or Dr.Web. The problem is especially urgent for users who install APKs from unverified sources, use modified firmware or develop Android applications.
In this article, we will discuss all possible ways to disable antivirus on Xiaomi, Redmi and POCO smartphones, from temporarily turning off scanning to completely removing the system component (for advanced users). It is important to understand that completely removing antivirus requires unlocking the bootloader and can disrupt MIUI Security, including device search and privacy functions, so we will start with the most secure methods.
The instructions are valid for MIUI 12, 13 and 14 (including global and Chinese builds), as well as for most models released after 2018: Xiaomi 13/12/11 Series, Redmi Note 10/11/12 Pro, POCO F4/F5 and others. If your device is running on an older version (for example, MIUI 10-11), please note the section with alternative methods.
1. Temporary disabling of antivirus through MIUI settings
The easiest and safest way is to deactivate the scanning of files manually, which does not require super-user rights (root) and is reversible: the antivirus will turn on automatically after restarting or after 24 hours (depending on the version of MIUI).
To temporarily disable the protection:
- Open the Security app (the shield icon).
- Go to the Antivirus section (or Scan in older versions).
- Press three points (โฎ) in the upper right corner and select Settings.
- Turn off the switches: ๐ Automatic scanning โ stops background file verification. ๐ฅ Scanning downloads - allows you to download APK lock-free. ๐ Updating databases in the background โ saves traffic and battery.
After this action, the antivirus will stop scanning new files, but the already installed applications will remain under surveillance.
๐ก
If you still see threat notifications after you turn off the antivirus, check Google Play Protection settings in Settings โ Google โ Security. This service works independently of MIUI and can also block files.
2. Stop the antivirus service through the "Task Manager"
Xiaomi Antivirus works as a system service called com.miui.guardprovider (or com.miui.securitycenter in older versions), which can be forcibly stopped, but the system can restart the service automatically - especially after a reboot or update to the MIUI.
Instructions for stopping:
- Open Settings โ Applications โ Application Management.
- Press three points (โฎ) and select to show all processes.
- In the search box, enter guardprovider or securitycenter.
- Select the app you find and click Stop (or Forced Stop).
- Confirm the action in the dialog window.
This method does not remove the antivirus, but only suspends it until the next start. For permanent effect, you will need to disable the auto-start service (see the next section).
3. disable auto-run antivirus (without root)
Even after a service stoppage, MIUI can automatically restart antivirus when connecting to the Internet or charging, and to avoid this, you need to limit the background activity of the application. This method does not require superuser rights, but can affect other security features (for example, device search).
How to turn off autostart:
- Go to Settings โ Applications โ Application Management.
- Find Security (or MIUI Security) in the list.
- Choose Battery (or Battery Use).
- Set a limit: ๐ Background activity โ Limit. ๐ Auto-start โ Shut down.
Return to the main settings of the application and turn off notifications (optional).
After these actions, the antivirus will not start automatically, but can be activated when manually scanning or updating MIUI.
Make a backup copy of the data|Check the version. MIUI (Settings โ The phone)|Disable automatic update of applications|Remember the password from Mi-account (in case of resetting)-->
4. Complete removal of antivirus with ADB (without root)
If temporary methods do not work, you can remove the antivirus through ADB (Android Debug Bridge) without obtaining superuser rights, which works on most Xiaomi devices with an unlocked bootloader, but requires a connection to a computer.
Pre-launch warnings:
โ ๏ธ Warning: Removing system applications can lead to unstable work MIUI, Update errors or loss of features like Find Device.Be sure to back up through Settings before the procedure โ Additionally. โ Backup.
Step-by-step:
- Turn on USB Debugging: Go to Settings โ About Phone. Tap 7 times on MIUI to activate Developer Mode. Go back to Settings โ Additional โ For Developers. Activate USB Debugging and confirm permission.
Windows
macOS/Linux
adb devices(Serial number of the device must be displayed).
adb shell pm uninstall --user 0 com.miui.guardproviderFor older versions of MIUI, you may need to:
adb shell pm uninstall --user 0 com.miui.securitycenterReset the device.
If the command is successful, the antivirus will disappear from the Security menu, but some functions (for example, garbage cleaning) may not work correctly. MIUI Recovery or resetting settings.
What if the ADB canโt see the device?
5. Removal of antivirus with root rights (for power users)
If you have a bootloader unlocked and you have Magisk or another root rights manager installed, you can completely remove the antivirus from the system partition. This method is irreversible without flashing and can disrupt MIUI, so it is recommended only for advanced users.
Methods of disposal:
- ๐ Through the file manager with root: Install Root Explorer or FX File Manager. Go to the /system/priv-app/GuardProvider or /system/app/SecurityCenter. Remove the entire folder or rename it (for example, in the GuardProvider_bak). Clear the cache in /data/data/com.miui.guardprovider.
- ๐ป Through TWRP: Boot in. TWRP Recovery. Select Advanced. โ File Manager: Find and delete antivirus files in /system. Reboot.
After deleting, it is recommended to disable automatic MIUI updates, as the system can restore deleted files on the next update, and check for alternative antiviruses in Google Play, as the device will become more vulnerable to threats.
๐ก
Removing root-righted antivirus can cause a com.android.phone (network loss) error on some Xiaomi models.Be sure you have a backup before the procedure EFS-section (IMEI).
6.Alternative methods for older versions of MIUI (up to 12)
If your device is running MIUI 9-11 (e.g. Xiaomi Mi A1/A2, Redmi 4X/5A), standard methods may not work due to differences in architecture.
| Method | Suitable for | Risks. | Instructions |
|---|---|---|---|
| Disconnect via ##4636## | MIUI 9-10 | Low (resetting network settings) | Enter the code in the dialer โ Phone Information โ disable Package Scanning. |
| Removal via Titanium Backup | Any version with root | Average (data loss) | Freeze or remove com.miui.securitycenter via Titanium Backup. |
| Firming on LineageOS | Xiaomi with an unlocked bootloader | High (loss of warranty) | Install custom firmware without built-in antivirus (such as LineageOS or Pixel Experience). |
On Android One devices (such as Xiaomi Mi A3), Xiaomi antivirus is not available โ instead, Google Play Protection is used, which can be disabled in Google settings.
7 What to do if an antivirus blocks a specific application
Sometimes you donโt have to turn off the antivirus completely โ just add the application to the exceptions, this is true for developers, testers or users installing modified APKs (for example, Lucky Patcher, GameGuardian).
How to add an exception:
- Open Security โ Antivirus โ Settings.
- Select the exceptions (or white list).
- Click Add App and select the desired APK from the list.
- Confirm the addition.
If the application is blocked anyway:
- ๐ง Check the Google Play Protection settings (can duplicate the lock).
- ๐ฆ Reinstall. APK from the official website of the developer.
- ๐ Update the antivirus database (Security) โ Antivirus โ Update).
Applications that require root (such as the Xposed Framework) may need to completely disable the antivirus, as MIUI blocks changes to system files.