How to permanently remove security notifications on Xiaomi: the complete guide

Security Notifications on Xiaomi, Redmi and Smartphones POCO They can be a real headache. They come in when you install them. APK-Unlike standard alerts, these alerts often lock the screen and require explicit confirmation, which annoys many users.

Compounding the problem, MIUI aggressively controls security, sometimes mistaking legitimate actions for potential threats, such as trying to install an application from an unknown source or activating a USB debugging can trigger a warning pop-up. In this article, we’ll look at all the ways to disable these notifications, from simple settings to advanced ADB methods.

It is important to understand that disabling some security features can increase the risk of malware infection, but if you are confident in your actions and the source of the files being installed, these instructions will help get rid of intrusive alerts.

Why are security notifications coming to Xiaomi?

The MIUI system is integrated with multiple layers of protection that interact with the user, and the main reasons for notifications are:

  • πŸ“± Installation APK from unknown sources – even if you downloaded a file from an official website, the system can block the installation.
  • πŸ”§ Change of system settings - activation of the developer mode, debugging USB or unlock the loader.
  • πŸ›‘οΈ The work of antivirus MIUI β€” The built-in scanner can mistakenly identify secure files as threats.
  • πŸ”„ Security Updates – New checks may be activated after firmware update.
  • πŸ“² Advanced permission applications – programs that request access to system functions (e.g., automatic change) DNS).

On Xiaomi 12/13/14, Redmi Note 11/12 and POCO F4/F5, these notifications may appear more frequently due to tightened security policies in new versions of MIUI 14/15. For example, when you try to install a modified firmware or use Magisk for root rights, the system will issue warnings at each stage.

⚠️ Note: On some devices (e.g. Xiaomi Mi) A3 or POCO X3 NFC with Android One, some methods may not work due to the limitations of Google's stock firmware.

Method 1: Disabling the Installation Check of Unknown Applications

The easiest method is to allow APK installation from any source, which won't remove all security notifications, but will significantly reduce their number.

Instructions:

  1. Go to Settings β†’ Applications β†’ Application Management.
  2. Click on the three dots in the top right corner and select Special Access.
  3. Select Install Unknown Applications.
  4. Find a browser or file manager (such as Chrome or Files) in the list and activate the switch.

After that, when you install an APK through the selected application, the system will not issue warnings, but this method does not disable virus testing, only allows installation.

Make a backup copy of important data|Check the version. MIUI In Settings β†’ The phone.|Battery charge of at least 50%|Turn it off. VPN (It can block access to settings)-->

Method 2: Deactivation of the built-in MIUI antivirus

MIUI has a security scan that scans files and applications, and it can be disabled, but it will affect the overall level of protection.

Steps:

  1. Open the Security app (the shield icon).
  2. Go to the Antivirus section.
  3. Click on the three dots in the top corner and select Settings.
  4. Turn off the options: πŸ” Scan new applications πŸ“‚ Scan files in real time πŸ”„ Automatic database updates

On some firmware (e.g. MIUI Global for Redmi Note 10 Pro), these settings may be hidden, in which case disabling the Security app via ADB (the method described below) will help.

Model of the deviceMIUI versionCan I turn off the antivirus through settings?
Xiaomi 13 ProMIUI 14.0.5Yes, partly.
Redmi Note 12MIUI 13.0.8Yeah, totally.
POCO F4 GTMIUI 14.0.3 (Global)No, just through ADB.
Xiaomi Mi 11 LiteMIUI 12.5.7Yeah, but it needs a reboot.
πŸ“Š What kind of Xiaomi model do you have?
Xiaomi 13/14 Series
Redmi Note 10/11/12
POCO F/X series
Another Xiaomi model
I'm not Xiaomi.

Method 3: Using ADB to Deeply Disable Notifications

If standard methods don’t work, you can use ADB (Android Debug Bridge), which requires connecting the device to the computer and activating the developer mode.

Preparation:

  1. Activate Developer Mode: Go to Settings β†’ About Phone and click on MIUI Version 7 times.
  2. Return to Settings β†’ Additional β†’ For developers and enable USB debugging.
  3. Connect the phone to the PC and confirm the debugging permission.

ADB teams:

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


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




adb shell pm disable-user --user 0 com.android.packageinstaller

The first command removes the Security application, the second one disables the security provider, and the third one blocks the standard package installer (after which the APK can be installed through third-party managers, such as SAI or App Installer).

⚠️ Attention: On devices with MIUI China these commands can cause system services to fail. Check the firmware region in Settings before executing β†’ The phone. β†’ Version. MIUI. For Chinese versions, it is better to use an alternative method with Magisk.

What to do if ADB is not working?
If the team returns the Failure error [DELETE_FAILED_INTERNAL_ERROR], try: 1. Reboot the device and repeat the command. 2. Use adb shell pm clear com.miui.securitycenter instead of deleting. 3. Check to see if it's blocked. ADB in the developer settings (option Revocation of permissions) USB).

Method 4: Disconnect via Magisk (for rooted devices)

If you have Magisk installed on your device, you can use modules to deactivate security notifications, which is suitable for advanced users.

Instructions:

  1. Install Magisk Manager and check the root rights status.
  2. Download the module. Disable_MIUI_Optimization or MIUI Debloater from the Magisk repository.
  3. Install the module through Magisk β†’ Modules β†’ Install from storage.
  4. Reset the device.

After installation of the module:

  • πŸ›‘οΈ Security Notifications Will Stop Blocking the Screen.
  • πŸ“₯ All installations of any kind are permitted. APK without warning.
  • πŸ”§ System integrity checks will be disabled (useful for modified firmware).

Some devices (such as Xiaomi 12T or POCO F4) may require additional configuration of the module via the config.prop file.

DISABLE_SECURITY_CENTER=true


DISABLE_PACKAGE_INSTALLER=true

πŸ’‘

If the device stopped booting after installing the module, press Power + Volume up to log into Recovery and remove the module through Magisk in manual mode.

Method 5: Reset security settings (last resort)

If none of these things worked, you can reset your security settings, and that will bring all the settings back to factory settings, but it won't affect user data.

How to do this:

  1. Go to Settings β†’ Memory β†’ Backup and Reset.
  2. Select Reset application settings.
  3. Confirm the action.

After discharge:

  • βš™οΈ All permissions for applications will be reset.
  • πŸ”“ Security Notifications Will Temporarily Disappear (Until Next Trigger).
  • πŸ“± You will have to reconfigure access to the camera, microphone, etc.

⚠️ Attention: On devices with MIUI 14+ This method may not work because of the integration of security into the core of the system, and then you only have the firmware of the custom recaveri (TWRP) and manual removal of system APK.

πŸ’‘

Resetting security settings is a temporary solution, and combine it with disabling it via ADB or Magisk for permanent effect.

Frequent Mistakes and How to Avoid Them

When trying to remove security notifications, users often face typical problems.

  • πŸ”Œ ADB Does not see the device – check the drivers (use Mi) PC Suite) and cable (preferably original).
  • πŸ”„ Settings are reset after the update - after the update MIUI Some parameters return to default.
  • 🚫 bootloader locking on new devices (Xiaomi 13 Ultra, Redmi) K60) You may need to unlock through the Mi Unlock Tool.
  • πŸ“΅ Loss of communication after security outage – some system applications (e.g. com.miui.guardprovider) are responsible for the operation of the mobile network.

If after manipulation the device began to work unstable (for example, overheats or discharges quickly), do:

adb shell pm enable com.miui.securitycenter


adb shell pm install-existing com.miui.guardprovider

This will bring back the standard security settings.

Can I turn off security notifications without root rights?
Yes, but not completely. You can turn off file scanning through standard settings (Security β†’ Antivirus), and remove system applications without root through ADB, but some notifications (such as when you unlock the bootloader) will remain.
Why did the MIUI updates come back?
Updates to MIUI often restore system applications, including com.miui.securitycenter. After the update, you need to re-execute ADB commands or reinstall Magisk modules.
Is it safe to delete com.miui.securitycenter?
Removing this package will disable the built-in antivirus and some of the features MIUI, But you won't disrupt the system, but you'll lose access: πŸ”’ Password-blocking applications. πŸ“Š Traffic monitoring. πŸ›‘οΈ Protection against phishing in the browser. To compensate, install a third-party antivirus (for example, Malwarebytes).
How to return notifications if you need them?
Follow the command: adb shell cmd package install-existing com.miui.securitycenter or reflash the device via Fastboot with data storage (fastboot flash system.img).
Does this work for POCO and Redmi?
Yes, since POCO and Redmi run on MIUI, the exception is Android One devices (like the Mi A3), where some of the security features are managed by Google, not Xiaomi.