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:
- Go to Settings β Applications β Application Management.
- Click on the three dots in the top right corner and select Special Access.
- Select Install Unknown Applications.
- 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:
- Open the Security app (the shield icon).
- Go to the Antivirus section.
- Click on the three dots in the top corner and select Settings.
- 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 device | MIUI version | Can I turn off the antivirus through settings? |
|---|---|---|
| Xiaomi 13 Pro | MIUI 14.0.5 | Yes, partly. |
| Redmi Note 12 | MIUI 13.0.8 | Yeah, totally. |
| POCO F4 GT | MIUI 14.0.3 (Global) | No, just through ADB. |
| Xiaomi Mi 11 Lite | MIUI 12.5.7 | Yeah, but it needs a reboot. |
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:
- Activate Developer Mode: Go to Settings β About Phone and click on MIUI Version 7 times.
- Return to Settings β Additional β For developers and enable USB debugging.
- 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.packageinstallerThe 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?
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:
- Install Magisk Manager and check the root rights status.
- Download the module. Disable_MIUI_Optimization or MIUI Debloater from the Magisk repository.
- Install the module through Magisk β Modules β Install from storage.
- 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:
- Go to Settings β Memory β Backup and Reset.
- Select Reset application settings.
- 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.guardproviderThis will bring back the standard security settings.