How to disable antivirus on Xiaomi phone: safe ways and hidden settings

Why Users Want to Disable Antivirus on Xiaomi and When Itโ€™s Really Needed

The built-in MIUI Security (or Security App in newer versions) is a standard component of Xiaomiโ€™s firmware that automatically scans files, apps, and network activity. For most users, it works unnoticed, but sometimes its behavior becomes annoying: blocking secure files, false positives on modified APKs, or simply constantly notifying about โ€œpotential threats.โ€

Disabling the antivirus may be necessary in several cases:

  • ๐Ÿ”ง Install custom firmware or modified applications (for example, through Magisk or Lucky Patcher) that the antivirus mistakenly identifies as malicious.
  • ๐Ÿ“ฑ Working with debugging tools (ADB, Fastboot, where the antivirus blocks execution of commands.
  • ๐ŸŽฎ Using emulators or gaming clients (e.g. Genshin Impact or PUBG Mobile with modifications that require disabling protection.
  • โšก Resource savings: on weak models (Redmi) 5A, Redmi 7: Antivirus can slow down the system.

However, completely disabling the antivirus deprives the phone of basic protection from real threats โ€“ Trojans, spyware and phishing attacks. If your goal is simply to get rid of intrusive notifications, set exceptions or reduce the level of protection, in this article we will discuss all the ways from temporary shutdown to complete removal (where possible).

๐Ÿ“Š Why do you want to disable antivirus on Xiaomi?
I'm installing custom firmware.
Disrupting False Threat Notifications
Need to work with ADB/debugging
Savings in battery charge
Other

Method 1: Temporary disabling of antivirus via MIUI settings

The easiest and safest method is to suspend the antivirus for a limited period of time, which does not require super-user rights (root) and is suitable for most models (Xiaomi 13, Redmi Note 12, POCO X5, etc.).

Instructions:

  1. Open the Security app (the shield icon).
  2. Go to Antivirus (or Virus Protection in newer versions of MIUI).
  3. Press on. โš™๏ธ Settings in upper right corner.
  4. Select Automatic Scan and turn off the slider.
  5. Go back and click Scan Manual โ†’ Cancel to stop the current check.

This method does not disable the antivirus completely, but only suspends automatic verification. Manual scanning will still be available, and the system can start checking when new applications are installed.

Start the test installation APK (for example, [APKMirror](https://apkmirror.com/))|Make sure there is no scan notification|Try opening a file with the.apk extension from the file manager|Restart your phone and check if your settings are still in place.-->

โš ๏ธ Note: On some models (Xiaomi) 12T, Redmi K50) post-refresh MIUI before version 14.0.5+ Temporary shutdown of the antivirus is reset after restarting, in which case you will need to repeat the procedure or use alternative methods.

Method 2: Disconnect through developer settings (without root)

If the standard method didn't work, you can try disabling the application installation check through the developer menu, and this won't remove the antivirus, but it will allow you to install it. APK-file-lock.

Step-by-step:

  1. Activate Developer Mode: Go to Settings โ†’ About Phone. Press 7 times on MIUI Version until the notification "You've become a developer" appears.

Settings โ†’ Additional โ†’ For Developers

Checking through MIUI

Verify apps over USB

Turn it off.

Verification of application installation

Verify app installations

This method does not disable the antivirus completely, but removes the main restrictions when installing third-party APKs. However, MIUI can continue to scan files in the background.

๐Ÿ’ก

If the โ€œVerify via MIUIโ€ item is not in the developer menu, try updating MIUI Security through Google Play first or clearing the app cache in Settings โ†’ Applications โ†’ Application Management โ†’ Security.

Method 3: Completely disabling the antivirus with ADB (without root)

For users who donโ€™t want root access but need to completely disable the antivirus, the ADB (Android Debug Bridge) method works on most Xiaomi devices with MIUI 12-14.

What you need:

  • ๐Ÿ–ฅ๏ธ Computer with installed Xiaomi drivers and tool ADB (You can download from the official Android website).
  • ๐Ÿ“ฑ Included debugging by USB on the phone (Settings) โ†’ For developers โ†’ Debugging by USB).
  • ๐Ÿ”Œ Cable USB Type-C (preferably original).

Instructions:

  1. Connect the phone to the PC and confirm the debugging permission.
  2. Open the command prompt (CMD or Terminal) in the ADB folder.
  3. Enter the command to check the connection: Adb devices must appear serial number of your device.
  4. Execute the command to disable the antivirus: adb shell pm disable-user --user 0 com.miui.securitycenter For new versions of MIUI (14+) an additional command may be required: adb shell pm uninstall -k --user 0 com.miui.antivirus
  5. Reboot the phone.

After these commands are executed, the antivirus will stop working, but its icon will remain in the application menu.

adb shell pm enable com.miui.securitycenter

โš ๏ธ Note: On some models (POCO F4, Xiaomi 11T) after-out ADB Google Play system and services may stop working. Create a backup before you run!

Method 4: Removing antivirus with root rights (for power users)

If you are willing to take drastic measures and your phone has root access (e.g., via Magisk), you can completely remove the antivirus from the system.

  • ๐Ÿ› ๏ธ They've already installed custom Recovery (TWRP).
  • ๐Ÿ”“ They have an unlocked bootloader (bootloader).
  • ๐Ÿ“ฆ Use alternative antiviruses (for example, Bitdefender or Kaspersky).

Instructions:

  1. Install a file manager with root support (such as Root Explorer or Solid Explorer).
  2. Go to /system/priv-app/MiuiSecurityCenter or (for newer versions of MIUI): /system/app/SecurityCenter
  3. Remove or rename the folder (for example, in the SecurityCenter_bak).
  4. Go to /system/priv-app/AntiVirus and delete the content.
  5. Clear the cache and data of the "Security" application in the settings.
  6. Reboot the phone.

After that, the antivirus will disappear from the system, but there may be side effects:

  • โŒ Updates will stop working MIUI airborne (OTA).
  • โŒ The "Security" section in the settings will disappear.
  • โŒ Google Play Protect services may be broken.
How to return the antivirus after removal?
In order to restore the antivirus, it is necessary: 1. Download the original firmware for your model from the site [Xiaomi Firmware Updater](https://xiaomifirmwareupdater.com/). 2. Extract files SecurityCenter.apk and AntiVirus.apk firmware-archive. 3. Move them back to the /system/priv-app/ right-handed (644 file-wise, 755 folder). 4. Reboot the phone.

Alternatives to the built-in antivirus Xiaomi: what to install instead

If you have disabled the standard antivirus, don't leave your phone unprotected. Here are proven alternatives that don't conflict with MIUI:

AntivirusAdvantagesDeficienciesCompatibility with MIUI
Bitdefender Mobile SecurityMinimal battery impact, cloud scanningPaid version for full functionalityโœ… Great.
Kaspersky Internet SecurityHigh efficiency against Trojans, blocking phishingIt can be a problem with Google Play Protect.โœ… Good.
MalwarebytesSpecializes in Advar and SpywareThere is no real-time protection in the free version.โœ… Good.
Google Play ProtectBuilt into Google services, does not require installationWeak protection against new threatsโš ๏ธ Medium (can block modified ones) APK)

For maximum safety, we recommend:

  • ๐Ÿ”’ Install two antiviruses: one for real-time scanning (Bitdefender), the other for periodic checks (Malwarebytes).
  • ๐Ÿšซ Disable installation from unknown sources in security settings.
  • ๐Ÿ”„ Regularly update Google Play services and MIUI.

๐Ÿ’ก

Even with an alternative antivirus, donโ€™t disable Google Play Protect, which is the minimum level of protection that works on all Android devices.

Frequent problems after disabling the antivirus and how to solve them

Disabling MIUI's built-in protection can have unexpected consequences, and here are the most common problems and ways to fix them:

1. Apps from Google Play have stopped installing

Reason: Disabling app verification via ADB or root can break Google Play Services.

Decision:

  • Go to Settings โ†’ Applications โ†’ Application Management.
  • Find Google Play Store and Google Play Services.
  • Clear the cache and data for both applications.
  • Reboot the phone.

2. MIUI (OTA) Updates are not working

Reason: Removing SecurityCenter through root breaks the update verification mechanism.

Decision:

  • Download the full firmware for your model from the official Xiaomi website.
  • Install it via TWRP or Fastboot.
  • Or restore deleted antivirus files (see spoiler above).

3. Permanent notifications "Protection disabled"

Reason: MIUI tries to reclaim protection after a temporary shutdown.

Decision:

  • Open Settings โ†’ Notifications โ†’ System Notifications.
  • Find Security and turn off notifications.
  • Or use ADB to disable notifications: adb shell dumpsys notification stop com.miui.securitycenter

โš ๏ธ Warning: If after turning off the antivirus, the phone began to overheat or discharge faster, check it for hidden mining or spyware using Malwarebytes or Dr.Web CureIt!. MIUI Sometimes it blocks such processes, and after it is turned off, they can be activated.

FAQ: Answers to Frequent Questions

โ“ Can you turn off antivirus on Xiaomi without a computer?
Yes, but only temporarily through the Security settings (see Method 1).
โ“ Will Google Play Protect work if I turn off the antivirus? MIUI?
Yes, Google Play Protect is a separate service from Google that continues to work independently of Xiaomiโ€™s antivirus, but its protection is not enough to be completely secure.
โ“ Why Google Pay Pay Pay Pay stopped working after the antivirus was turned off?
This is due to a system integrity breach (e.g., after removing the antivirus through root) to return functionality: Restore deleted antivirus files, or run the phone with the original firmware through the Mi Flash Tool, and check SafetyNet status with the SafetyNet Test app.
โ“ How to Disable Antivirus for Only One Application?
V MIUI There is no direct exception function, but you can: Add the application to Battery Optimization Exceptions (Settings) โ†’ Battery โ†’ Battery optimization: Use Island or Shelter to isolate the application. APK-file before installation (e.g. in.zip, and after installation return extension).
โ“ Will the antivirus return after resetting the phone to factory settings?
Yes, in hard reset, all system applications, including antivirus, are restored. To avoid this, before reset: Back up your data. If you have root, delete the antivirus files after reset (see Method 4).