How to disable antivirus on Xiaomi Redmi: 5 proven ways

The built-in MIUI Security antivirus on Xiaomi Redmi smartphones is a two-way sword. On the one hand, it protects the device from malicious applications and phishing, and on the other hand, it can block legitimate files, slow down the system or interfere with the installation of APKs from third-party sources. If you encounter false positives, persistent notifications about โ€œvirusesโ€ in downloaded files, or just want to temporarily suspend scanning, this instruction will help you do this without risk to security.

It is important to understand that completely disabling the antivirus deprives the device of basic protection. We recommend using alternative methods - for example, adding trusted files to exceptions or disabling scanning only for specific folders. In this article, we will consider all the available methods, including hidden MIUI settings, which are not obvious to most users.

The instructions are valid for all modern Redmi models (including Redmi Note 12/13 Pro, Redmi 10/11, POCO X5, etc.) based on MIUI 12-14 and HyperOS. If your device runs on an older version of the firmware, some menu items may differ - we will warn you about this separately.

1. Temporary disabling of antivirus through security settings

The easiest and safest way is to suspend the antivirus for a limited period of time, which does not require super-user rights (root) and is suitable for most tasks, such as installing an antivirus. APK-files from unknown sources.

Open the Security app (the shield icon) and go to the Antivirus section. Here you will see the three dots in the upper right corner โ€” click on them and select Settings. In the menu that opens, find the Auto Scan option and turn off the slider. This will stop background file verification, but manual scanning will still be available.

  • โณ Validity: until the next device reboot or manual activation.
  • ๐Ÿ”„ Recovery: Antivirus is automatically activated after update MIUI.
  • ๐Ÿ“ฑ Models: Works on all Redmis with MIUI 10+.

โš ๏ธ Warning: If you notice suspicious device behavior after turning off the automatic scan (such as overheating, fast battery drain, or unauthorized payments), run manual checks immediately or return settings to the original state.

๐Ÿ“Š Why you should turn off antivirus on Xiaomi?
I install APKs from third-party sources
It blocks legitimate files.
Interfering with applications
Slowing down the smartphone
Other

2. disable scanning of specific folders or files

If the antivirus only blocks certain files (such as modified APKs or games), it makes no sense to disable it completely, instead adding problematic files or folders to exceptions, which will preserve protection for the rest of the system.

To do this:

  1. Open Security. โ†’ Antivirus โ†’ Settings (โ‹ฎ) โ†’ Exceptions.
  2. Click Add Exception and select File or Folder.
  3. Specify the path to the desired object (for example, /storage/emulated/0/Download/modded_apks/).
  4. Confirm the addition by clicking Ready.

Note that MIUI limits the number of exceptions, usually no more than 20 files or 10 folders, and if the limit is reached, you will have to delete old records or use alternative methods.

Check the path to the file in the file manager

Make sure the file does not contain real threats

Remember the limit on the number of exceptions

Reboot the device after adding (optional)

-->

Type of exceptionMax, the number.Example of use
File.20APK games with modifications
folder10Directory with working projects
Annex5Emulators or tools for developers

3. Completely disabling the antivirus through the developer settings

For power users who want to completely deactivate the built-in MIUI antivirus without root rights, there is a method through developer mode, which is more radical and requires caution, since it deprives the device of basic protection.

First, activate the developer mode:

  1. Go to Settings. โ†’ The phone.
  2. Click on the MIUI version 7 times in a row until you become a developer!
  3. Go back to the main settings menu and open a new section for developers.

Next:

  1. In the For Developers section, find the option to Disable MIUI (or Disable MIUI Optimization in English firmware).
  2. Activate it and restart the device.
  3. After the reboot, open Security โ†’ Antivirus โ†’ Settings and disable all scan options.

โš ๏ธ Attention: Disabling optimization MIUI It can cause some system functions to function in an unstable way, such as navigation gestures or dark theme. If you notice bugs, return the settings to their original state.

What if the option to โ€œDisable MIUI Checkโ€ is not available?
On some firmware (e.g. global versions for Europe), this option is hidden: 1. Install. ADB-PC drivers. 2. Connect your smartphone and execute the command: adb shell settings put global miui_optimization_disabled 1 3. Restart the device. After that, the antivirus can be disabled through standard settings.

Disabling the antivirus via ADB (for advanced users)

If previous methods have failed (e.g., custom firmware or enterprise versions of MIUI), you can use Android Debug Bridge (ADB), which requires a connection to a computer but gives you more control over system processes.

You'll need:

  • ๐Ÿ–ฅ๏ธ Computer with installed ADB-tool.
  • ๐Ÿ“ฑ Included debugging by USB on a smartphone (Settings) โ†’ For developers โ†’ Debugging by USB).
  • ๐Ÿ”Œ USB-cable (preferably original).

Instructions:

  1. Connect your smartphone to your PC and confirm the debugging permission on the device screen.
  2. Open the command prompt (or Terminal on Mac/Linux) and execute: Adb devices Make sure your device appears in the list.
  3. Enter the command to disable the antivirus: adb shell pm disable-user --user 0 com.miui.securitycenter This deactivates the Security app, including the antivirus.
  4. To return to standard settings, use: adb shell pm enable com.miui.securitycenter

The advantage of this method is that the antivirus is turned off at the system level, and it can not be accidentally enabled through the interface, but it also disables all security features, including phishing protection and control of application permissions.

adb backup -apk -obb -shared -all -f backup.ab

-->

5. Removal of antivirus with root rights (extreme method)

If you are willing to take drastic measures and have root access (e.g., through Magisk), you can completely remove the system antivirus application, which is irreversible and only suitable for advanced users, as it can disrupt the stability of MIUI.

For removal:

  1. Install a file manager with root support (such as Root Explorer or FX File Explorer).
  2. Go to /system/priv-app/SecurityCenter or /system/app/SecurityCenter (the path may vary depending on the version of MIUI).
  3. Delete the SecurityCenter folder or rename it (for example, in the SecurityCenter_bak).
  4. Reset the device.

After that, the antivirus will disappear from the menu, but system updates can restore deleted files. To prevent this, use tools like Magisk Module to block automatic recovery.

MethodDo you need root rights?ReversibilityRisk to the system
Temporary shutdownโŒ No.โœ… Yes.โš ๏ธ Low.
File exclusionsโŒ No.โœ… Yes.โš ๏ธ Low.
ADB-teamโŒ No.โœ… Yes.โš ๏ธ Medium.
Removal through rootโœ… Yes.โŒ No (no backup)โ— High-pitched

6.Alternative solutions: replacing the standard antivirus

If the built-in MIUI antivirus does not suit you, but it is risky to completely disable protection, consider installing third-party antivirus software.

  • ๐Ÿ›ก๏ธ Bitdefender Mobile Security โ€“ Lightweight, with minimal impact on performance.
  • ๐Ÿ” Malwarebytes โ€“ specializes in spyware detection.
  • ๐Ÿ“ฑ Kaspersky Mobile Antivirus is a reliable protection, but it can conflict with the security of the mobile MIUI.
  • ๐Ÿ†“ Google Play Protect โ€“ built-in solution in Google Play (free, but less functional).

Before installing a third-party antivirus, be sure to turn off the built-in scanner to avoid conflicts, and note that some applications (such as Kaspersky) may require additional permissions that you will have to confirm manually.

The advantage of this approach is that you keep the protection, but you get more control over the settings. For example, in Bitdefender you can flexibly configure exceptions for files and folders, and schedule scans at a convenient time.

๐Ÿ’ก

Antiviruses are often more efficient than those built into MIUI, but consume more resources, and Bitdefender or Malwarebytes is the best choice for balancing protection and performance.

7. Frequent mistakes and how to avoid them

When you turn off antivirus, users often face typical problems, and here are the most common ones and how to solve them:

  • ๐Ÿ”„ "Antivirus is turned on itself after restarting" โ†’ It's normal behavior. MIUI. To secure the disconnect, use ADB-commands (section 4) or set exceptions.
  • ๐Ÿšซ "I can't find out. APK Even after the antivirus is turned off" โ†’ Check if Installation from Unknown Sources is enabled in the security settings for a specific browser or file manager.
  • โš ๏ธ "A notification of the virus appeared, but the antivirus is disabled" โ†’ Google Play Protect may be working. Turn it off in Google Play settings.
  • ๐Ÿ“ฑ "Security settings are not opened" โ†’ Restart the device or clear the Security app cache in Settings โ†’ Annexes.

If after turning off the antivirus, the smartphone started to slow down or overheat, it was probably not the problem with it, but with another system process. Use Settings โ†’ Battery โ†’ Using the battery to identify the โ€œgluttonousโ€ application.

Can you disable the antivirus on Xiaomi Redmi without root rights?
Yes, most of the methods in this article (temporary disabling, exceptions, ADB) do not require root rights, but the complete removal of system antivirus is possible only with root.
Will the smartphone be vulnerable to viruses after disabling the antivirus?
Yes, the risk of infection will increase, especially if you install APKs from unverified sources, and we recommend using alternative antiviruses (section 6) or at least Google Play Protect.
Why does MIUI Antivirus block legitimate files?
The built-in MIUI antivirus uses rigid heuristic rules that sometimes mistakenly recognize modified APKs or cheat games as threats, adding such files to exceptions (Section 2) solves the problem.
How to return the antivirus if it is missing from the menu?
If the antivirus was disabled via ADB or removed with root rights, it can be restored: Through ADB: adb shell pm enable com.miui.securitycenter Through settings reset: Settings โ†’ Additional โ†’ Reset (does not affect user data). Through firmware: install the original MIUI firmware through the Mi Flash Tool.
Does this work on POCO and Black Shark?
Yes, since POCO and Black Shark are based on MIUI (or HyperOS), all the instructions apply to these devices, except for custom firmware (such as Pixel Experience), where there may not be built-in antivirus.