How to remove ads in the β€œSecurity Xiaomi” app: all the ways of 2026

Why does Xiaomi Security have ads and can it be turned off?

Security is the standard MIUI firmware component that is responsible for virus protection, performance optimization, and permission control. However, many Xiaomi, Redmi, and POCO users are faced with intrusive ads right in the tool’s interface: banners in the β€œScanner” section, pop-up notifications about β€œproblems” with memory or battery, and sometimes even full-screen offers to install third-party apps.

The reason is simple: Xiaomi monetizes its firmware through integrated advertising, especially in budget and mid-budget models. But the good news is that in most cases, ads can be turned off without root rights using hidden settings or third-party tools. In this article, we will discuss all the current ways for MIUI 12-14, including methods for users with an unlocked bootloader.

It is important to understand that some methods may conflict with system updates, for example, after a major update to MIUI, the ad settings may reset and the procedure will have to be repeated, and it is also worth considering that models for the Chinese market (China ROM) traditionally have more advertising than in global versions (Global ROM).

Method 1: Disabling personalized advertising in MIUI settings

The easiest and safest way to do this is to deactivate personalized recommendations through the settings menu, which won't take away all the ads, but will significantly reduce the number of banners targeted.

Instructions:

  • πŸ“± Open the Settings. β†’ Google β†’ Advertising.
  • πŸ”„ Switch the slider "Personalized advertising"** to the position Off.

This works on all devices with MIUI 12+, but has a limitation: it only removes personalized ads, and static banners (for example, in the Optimization section) can remain.

πŸ“Š What version? MIUI you have installed?
MIUI 12
MIUI 13
MIUI 14
Another version
I don't know.

Method 2: Using ADB to Deeply Disable Advertising

If standard settings don’t work, you can use Android Debug Bridge (ADB) debugging, which doesn’t require root rights, but requires connecting your smartphone to your computer.

Step-by-step:

  1. Download and install Google’s Platform Tools (includes adb.exe).
adb devices

(Your device should appear)

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


adb shell pm disable-user --user 0 com.xiaomi.midrop




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

These commands disable Xiaomi's analytics and ad modules, and after you reboot the device, the ads in Security should disappear. If they don't, try adding another command:

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

⚠️ Warning: Disabling com.miui.securitycenter may disrupt some security features (e.g. virus scanner) and use this method only if you are prepared for the consequences.

Download Platform Tools|Enable debugging on USB|Connect the phone to the PC|Check the visibility of the device in ADB|Make a backup copy of the data-->

Method 3: Remove ads through region settings (for global firmware)

One little-known trick is to change the firmware region to the European Union (EEA), where the EU versions of MIUI have adverts turned off by default due to local data protection laws.

How to change the region:

  • πŸ‡ͺπŸ‡Ί Select a country from the EU list (e.g. Germany or France).

After the region changes, the ads in Security and other system applications should be gone.

  • βœ… The method works without root and ADB, does not violate the guarantee.
  • ❌ Cons: Pre-installed services may change (for example, Xiaomi Assistant for the EU will appear instead of Google Assistant).
What if the EU is not on the list?
If your firmware doesn't have EU countries, you have China ROM or a modified version, and if you do, changing your region won't help, you'll need to reflash your device on Global ROM or use other methods in this article.

Method 4: Install custom firmware (for advanced users)

If you are willing to take drastic measures, installing custom firmware (like LineageOS, Pixel Experience or Xiaomi.eu) will completely remove all MIUI advertising modules.

  • πŸ”“ Unlocked bootloader (bootloader unlock).
  • πŸ› οΈ Installations of custom recaveri (TWRP).
  • πŸ“± Compatible firmware for your model.

Advantages:

  • 🚫 Complete lack of advertising in the system.
  • πŸ†• Regular security updates.
  • πŸŽ›οΈ More opportunities to set up.

Risks:

  • ⚠️ Loss of warranty (if the bootloader is unlocked).
  • πŸ”‹ Possible bugs (unstable operation of the camera, sensors, etc.).
  • πŸ”„ Difficulty rolling back to stock firmware.
FirmwareAdvertising supportNeed root?Complexity of installation
Xiaomi.eu❌ No advertising.❌ No.Medium
LineageOS❌ No advertising.❌ No.Tall.
Pixel Experience❌ No advertising.❌ No.Tall.
Stock Global ROMβœ… There's adverts.❌ No.Low.

⚠️ Attention: Installing custom firmware can result in the blocking of your Mi Account (if the device is tied to your Xiaomi account).Be sure to untie your account in the settings before the procedure!

Method 5: Manual removal of advertising packages (requires root)

If you have root rights, you can manually remove the apps and services responsible for displaying ads, and any root-enabled file manager (such as Root Explorer or Mixplorer) will do.

List of disposal packages:

  • πŸ“¦ com.miui.analytics – an analytics system.
  • πŸ“¦ com.xiaomi.midrop – Advertising push notifications.
  • πŸ“¦ com.miui.systemAdSolution – the main advertising module.
  • πŸ“¦ com.miui.bugreport – error reports (sometimes containing ads).
  • πŸ“¦ com.miui.hybrid – Hybrid services (may affect stability).

How to delete:

  1. Open Root Explorer and go to /system/priv-app/ or /system/app/.
  2. Find the folders with the package names from the list above.
  3. Remove folders or rename them (e.g. add at the end of.bak).
  4. Reset the device.

After removal, the ads will disappear, but some system features may not work properly, for example, without com.miui.hybrid, the theme of the design may disappear.

πŸ’‘

Before you delete packets, back up via TWRP or Titanium Backup, which will help restore the system if something goes wrong.

What if the advertisements returned after the update?

Xiaomi regularly releases updates that can restore remote ad modules or reset settings. If after the update, the ad appeared again, try:

  • πŸ”„ Repeat the method with ADB (section).
  • 🌍 Check out the region - sometimes it's dropped on "ChinaΒ».
  • πŸ“΅ Turn off the automatic update of the Security app in Settings β†’ Annexes β†’ Security β†’ Threefold β†’ Turn off auto-update.
  • πŸ›‘οΈ Install Xiaomi. ADB/Fastboot Tools (tool for mass disabling of advertising).

If the problem is repeated too often, consider switching to Xiaomi.eu or other custom firmware – they are devoid of system-level advertising mechanisms.

πŸ’‘

MIUI updates often restore ad modules, and to avoid this, disable automatic updates to system applications or use tools like Xiaomi ADB/Fastboot Tools to permanently block ads.

FAQ: Frequent questions about advertising in Xiaomi's "Security"

❓ Why After Disabling Advertising Through ADB It reappears?
This is due to system application updates. Xiaomi can restore disabled packages when installing new versions of MIUI. Solution: Freeze packages via Titanium Backup or App Quarantine. Disable Auto Update for the Security app. Use Xiaomi ADB/Fastboot Tools to automatically apply settings after updates.
❓ Can you turn off advertising without a computer?
Yes, but the choice of methods is limited: change region to EU country (mode 3); disable personalized advertising in settings (mode 1); use applications like App Inspector to manually disable ad module activity (requires root); to completely remove ads without a PC, root rights will still be required.
❓ Is it harmful to disable "Security" through ADB?
Disabling the com.miui.securitycenter application itself may result in: πŸ” Loss of virus scanning function. πŸ“Š Incorrect operation of the memory optimizer. πŸ”‹ Battery display problems: It is better to turn off only the advertising modules (com.miui.systemAdSolution, com.miui.analytics) rather than the entire application.
❓ Why Xiaomi.eu doesn’t have ads?
Xiaomi.eu is an unofficial firmware created by enthusiasts based on China ROM, s: 🚫 Remote advertising modules. 🌐 Full localization (including Russian language). πŸ†• Weekly updates, however, are not certified by Google, so some services (like Google Pay) may not work smoothly.
❓ How to Check Which Packets Show Ads?
Use the Package Name Viewer or App Inspector app: Install one of the apps from Google Play. Open Security and wait for the ads to appear. Launch the App Inspector and click on the banner, the app will show which package displays it, and then you can point-off or delete the problem package.