How to disable antivirus on Xiaomi smartphones: all working ways

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

The built-in MIUI Security (formerly the Security App) has become an integral part of the firmware of all Xiaomi, Redmi and POCO smartphones since the version of MIUI 8. By default, it is active on all devices, scans installed applications, checks files for threats and even blocks suspicious processes.

The main reasons why Xiaomi owners are looking for ways to disable antivirus:

  • ๐Ÿ”‹ Increased battery consumption โ€“ background scanner activity can eat up to 5-12% Charge per day (according to tests on the Redmi Note) 12 Pro+).
  • โšก Slowing down the system on weak chipsets (e.g. Snapdragon) 4xx Or Helio Gxx, a real-time scan that creates lags.
  • ๐Ÿšซ False positives โ€“ Antivirus often blocks legitimate ones APK (including F-Droid or APKMirror, interferes with the work ADB-commands and modified applications.
  • ๐Ÿ”“ Conflict with alternative solutions โ€“ if you use Kaspersky, Dr.Web or Bitdefender, duplicate protection only slows down the system.

It's important to understand that completely disabling the antivirus reduces the level of protection of the device, and this is only justified in three cases:

  1. You install custom firmware (like LineageOS or Pixel Experience) and plan to use another antivirus.
  2. You need to test your own software (for example, APK-files in Android Studio, and antivirus prevents debugging.
  3. The device is used on an isolated network (such as a media player or a smart home controller) without access to the Internet.

In all other cases, it is recommended not to turn off the protection completely, but only to adjust it to your needs - we will talk about this in the following sections.

๐Ÿ“Š Why do you want to disable antivirus on Xiaomi?
Battery savings
Acceleration of work
Installation of blocked APKs
Conflict with another antivirus
Other

Method 1: Temporary shutdown of real-time scanning

If you need to disable the antivirus one time (for example, to install an application), you just need to deactivate the scan in real time. This method does not require root rights and works on all versions of MIUI 12-14.

Instructions:

  1. Open the Security app (the shield icon).
  2. Go to Antivirus (or Virus Protection on new versions).
  3. Push the gear. โš™๏ธ top-right.
  4. Turn off the real-time Scan Switch.
  5. Confirm the action in the dialog window.

โš ๏ธ Warning: Once the device is restarted, the scan can be turned on again:

โ˜‘๏ธ How to fix the scanning shutdown

Done: 0 / 3

This method does not disable the antivirus completely - it only suspends background check. Manual scanning will still be available in the menu Antivirus โ†’ Check.

Method 2: Completely disabling the antivirus via MIUI settings (without root)

Starting with MIUI 13, Xiaomi hid the possibility of completely disabling the antivirus in the standard interface. However, it can be deactivated through hidden developer settings or ADB-team.

๐Ÿ”น Method for MIUI 12 and older:

  1. Activate Developer Mode: Go to Settings โ†’ About Phone and click on MIUI Version 7 times.
  2. Back to Settings โ†’ Additionally. โ†’ For developers.
  3. Find the option to Disable MIUI (or Disable MIUI Optimization) and activate it.
  4. Reset the device.
  5. Now in the application Security will be able to completely disable the antivirus through the Settings โ†’ Antivirus menu.

๐Ÿ”น Method for MIUI 14 (if the previous one didn't work):

Use it. ADB-Team (requires a computer and debugging bridge):

adb shell pm disable-user --user 0 com.miui.securitycenter


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

After these commands are executed, the antivirus will be disabled until the next reset or manual firmware update.

What if the ADB does not recognize the device?
Make sure that the phone is on debugging. USB (Settings โ†’ For developers โ†’ Debugging by USB). Install Xiaomi drivers ADB Interface from the official website. Try using the original USB-cable (not all cables support data transmission).

โš ๏ธ Attention: Disconnection through ADB It can lead to unstable work. MIUI, Especially on devices with HyperOS (new firmware from Xiaomi.

Method 3: Disconnect via Magisk (for root devices)

If your smartphone is unlocked and Magisk is installed on it, you can completely remove the antivirus without any consequences for the system.

Instructions:

  1. Install Magisk Manager and make sure root access works.
  2. Download the module. Disable_MIUI_Security.apk (available on the XDA-Developers forum or 4PDA).
  3. Install the module through Magisk โ†’ Modules โ†’ Install from storage.
  4. Reset the device.

After the reboot:

  • ๐Ÿ“ฑ Security will remain, but antivirus features will be disabled.
  • ๐Ÿ” Background scanning and verification APK when installed, stop.
  • ๐Ÿ”„ Updates MIUI The antivirus will not be returned if the module remains active.

โš ๏ธ Warning: Removing system components via Magisk may disrupt the operation OTA-Before updating the firmware, temporarily disable the module in Magisk Manager.

๐Ÿ’ก

If the antivirus is still active after installing the module, try manually removing packets via Termux with the command su pm uninstall -k --user 0 com.miui.antivirus.

Method 4: Disable via build.prop file editing (for experienced)

This method requires root rights and knowledge of working with system files, and is suitable for completely removing antivirus without using Magisk.

Step-by-step:

  1. Install any file manager with root support (such as Solid Explorer or FX File Explorer).
  2. Go to /system/build.prop.
  3. Open the file in the text editor and add the following line at the end: ro.miui.antivirus=false
  4. Save the changes and restart the device.

๐Ÿ“Œ Important: Not all versions MIUI On some devices (for example, Xiaomi 13 Pro with HyperOS), it may be ignored.

The alternative is removal. APK-hand-file:

  • Go to /system/priv-app/MiuiSecurityCenter.
  • Remove or rename the folder (for example, in the MiuiSecurityCenter_bak).
  • Clear the cache and data of the Security app.

โš ๏ธ Warning: Incorrect editing of build.prop can lead to bootloop ( looped reboot.

What happens if you completely disable the antivirus on Xiaomi

Disabling the antivirus completely has both pros and cons. Let's take a closer look at the consequences:

The spectacleAfter disabling the antivirusRisks.
Productivityโ†‘ Increased speed of work by 10-25% (model)No.
Autonomyโ†‘ Saving the battery up to 3-8% day-to-dayNo.
APK installationโœ… The ability to install any files without blockingโš ๏ธ Risk of installing malware
Data protectionโŒ No verification of downloaded files and applicationsโš ๏ธ Vulnerability to phishing and Trojans
OTA-updateโš ๏ธ There may be failures in the update MIUIโš ๏ธ Risk of "bricking" of the device

๐Ÿ” Real cases:

  • ๐Ÿ“Š Nana POCO F4 GT After disabling the antivirus, the time spent in Genshin Impact increased by 18% (test from GSMArena).
  • ๐Ÿšจ In 2023, users of Redmi Note 11 faced with the virus FluBot after disabling protection โ€“ Trojan steals bank card data.

๐Ÿ’ก Conclusion: Disable the antivirus only if you are confident in the sources of the installed files and use alternative protection (for example, Malwarebytes or Avast).

๐Ÿ’ก

Disabling the antivirus is only justified for experienced users who understand the risks and are willing to take responsibility for the security of the device.

How to return the antivirus if something goes wrong

If you have problems after turning off the antivirus (for example, the device has slowed down or no updates are installed), it can be returned.

๐Ÿ”น If you're offline through settings:

  1. Launch the Security app.
  2. Go to Settings. โ†’ Antivirus.
  3. Turn on the Scan Switch in real time.
  4. Perform manual check through Antivirus โ†’ Check.

๐Ÿ”น If it's been cut off ADB:

Follow the command:

adb shell pm enable com.miui.securitycenter


adb shell pm install-existing com.miui.antivirus

๐Ÿ”น If removed through Magisk:

  1. Open Magisk Manager.
  2. Find the module. Disable_MIUI_Security and turn it off.
  3. Reset the device.
  4. If the antivirus is not back, install it manually from APKMirror (look for the latest version of MIUI Security).

๐Ÿ”น If you edited build.prop:

  1. Go back to /system/build.prop.
  2. Delete ro.miui.antivirus=false.
  3. If you have deleted the MiuiSecurityCenter folder, restore it from the backup or download the original APK.

โš ๏ธ Note: If the device does not update after returning the antivirus, try it:

  • ๐Ÿ”„ Reset the settings to factory (Settings) โ†’ The phone. โ†’ Resetting settings).
  • ๐Ÿ“ฅ Install the update manually through MIUI bootloader or XiaomiTool.

Frequently Asked Questions (FAQ)

โ“ Can you turn off antivirus on Xiaomi without root?
Yes, but only partially. You can turn off the real-time scan through the settings. MIUI Security, but completely remove antivirus without ADB It's impossible to root. Some firmware, like HyperOS, even ADB-Teams may not work due to increased protection.
โ“ Will Google Play Protect work after Xiaomi shuts down its antivirus?
Yes, Google Play Protect is a separate protection system from Google that works independently of MIUI Antivirus.It will still scan apps from the Play Market, but will not be able to check files downloaded from other sources.
โ“ Why Xiaomi Antivirus is Blocking Legal APK?
Antivirus MIUI It uses a cloud-based signature database and heuristic analysis, often blocking it: ๐Ÿ“ฆ Modified APK (For example, with Lucky Patcher or Revanced). ๐Ÿ”ง Debugging applications (ADB AppControl, Tasker). ๐ŸŽฎ Emulators and cheats for games (GameGuardian, PPSSPP). If you are confident in file security, add it to exceptions via Security. โ†’ Antivirus โ†’ Exceptions.
โ“ How to disable antivirus on Xiaomi with HyperOS?
On the new firmware HyperOS (installed on Xiaomi) 14, Redmi K70 Standard methods may not work. Try: Disable optimization MIUI In the developer settings. Use ADB-Adb shell cmd package disable-user --user 0 com.miui.antivirus Install Magisk and Universal SafetyNet Fix (can help circumvent restrictions). If nothing works, only manual removal remains. APK through TWRP (requires an unlocked loader).
โ“ Are there any alternative antiviruses for Xiaomi?
Yes, but their effectiveness depends on the device model: Antivirus Pros of Bitdefender โœ… Minimum effect on the battery โŒ Pay after 14 days of Malwarebytes โœ… Good detects advar and spyware โŒ No real-time protection for Kaspersky โœ… High accuracy of detection โŒ It's a heavy load on the processor. ๐Ÿ’ก Tip: Before installing an alternative antivirus, disable the built-in one to avoid conflicts.