How to completely clean Xiaomi from advertising: a step-by-step guide

Advertising in Xiaomi, Redmi and POCO smartphones has become one of the most annoying features of MIUI firmware. Banners in settings, pop-up notifications from system applications, advertising blocks in the menu - all this not only spoils the user experience, but also slows down the device by 15-20% due to background activity of trackers.

In this article, we will discuss 7 proven ways to remove ads on any Xiaomi device, from standard MIUI settings to deep cleaning of system applications. The methods are suitable for all current firmware versions (including MIUI 14/15 and HyperOS), and do not require superuser rights (ROOT) in most cases, paying special attention to hidden triggers that return ads after updates, and legal ways to block without violating warranty.

Why Xiaomi is showing ads and can it be removed forever?

MIUI firmware initially contains built-in advertising modules that load banners through system applications:

  • πŸ“± Security – the main source of pop-up notifications
  • πŸ›’ Mi Browser – shows ads on the homepage and in search
  • πŸ“Š Cleaner – β€œoptimization” banners after memory cleaning
  • 🎡 Music and Video - Advertising in Players
  • πŸ“± Themes – imposes themes and wallpapers with promo content

The manufacturer claims that advertising helps reduce the cost of smartphones, but in practice it appears even in flagship models (for example, Xiaomi 13 Ultra or POCO F5 Pro).It can be completely removed, but this will require a combination of methods: disabling through settings, blocking network requests and removing unnecessary system applications.

⚠️ Attention: After update MIUI Some of the settings may reset. We recommend fixing the changes through the Settings. β†’ The phone. β†’ Version. MIUI (Press 7 times to activate developer mode and disable automatic updates of system applications.

According to a study by XDA Developers (2023), up to 30% of the traffic on Xiaomi devices is spent on analytics and ad downloads, which is not only annoying, but also consumes Internet traffic (up to 500 MB per month) and speeds up battery life. Below we will look at ways to combat each of these problems.

πŸ“Š How often do you get annoyed by Xiaomi ads?
All the time, on every menu.
Sometimes, in separate applications
There's almost no advertising.
Didn't notice the commercials.

Method 1: Disabling personalized advertising in MIUI settings

The easiest and safest method is to deactivate advertising triggers through standard settings, which does not require ROOT rights and is suitable for all models, including the Redmi Note 12, POCO X5 and Xiaomi 12T.

Instructions:

  1. Go to Settings β†’ Google β†’ Advertising (or Settings β†’ Additional β†’ Privacy β†’ Advertising Services on New Versions).
  2. Turn off the option β€œPersonalized Ads” and reset the advertising ID (Reset Identity button).
  3. Return to the basic settings and open Settings β†’ About Phone β†’ MIUI version. Click 7 times on the line with the version to activate the developer mode.
  4. Now go to Settings β†’ Additional β†’ For developers and find the item β€œDebugging by USB”. Activate it (this will be needed for further methods).

This method reduces the amount of targeted ads, but does not eliminate them completely, and you will need to work with system applications to completely remove them.

πŸ’‘

If the β€œAdvertising Services” option is not in the settings, try changing the device region to the European Union (Settings β†’ Additional β†’ Region). The EU has stricter data protection regulations, and some of the advertising modules are automatically disabled.

Method 2: Blocking Advertising through ADB (without ROOT)

The ADB (Android Debug Bridge) tool allows you to disable system applications without superuser rights. The method works on all Xiaomi devices with an unlocked bootloader (default unlocked on most models, except for the Chinese versions).

Step-by-step:

  1. Download ADB Tools for Windows/macOS/Linux and unpack the archive.
  2. Connect your smartphone to your PC via USB, select File Transfer mode and confirm debugging on your phone screen.
  3. Open the command prompt (or Terminal) in the adb.exe folder and enter it one by one:

adb shell


pm uninstall --user 0 com.miui.analytics




pm uninstall --user 0 com.xiaomi.midrop




pm uninstall --user 0 com.miui.systemAdSolution




pm uninstall --user 0 com.android.browser




pm hide com.miui.cleanmaster

These commands are deleted:

  • πŸ“Š Xiaomi Analytics (com.miui.analytics)
  • πŸ”„ Background synchronization (com.xiaomi.midrop)
  • πŸ›‘ Advertising module (com.miui.systemAdSolution)
  • 🌐 Standard browser with advertising
  • 🧹 Appendix "Cleaning" (hidden but not completely removed)

⚠️ Note: Do not remove applications marked com.android or com.qualcomm, which can lead to unstable system operation. Also avoid pm uninstall commands for com.miui.home (launcher) and com.miui.securitycenter (security center).

β˜‘οΈ Preparation for work with ADB

Done: 0 / 4

Method 3: Removing Advertising through MIUI Hidden Settings Editor

MIUI Hidden Settings (available on 4PDA) allows you to manage hidden firmware options, including ad modules, a method that is suitable for users who do not want to work with ADB.

How to use:

  1. Download and install. APK-file MIUI Hidden Settings (version should match your firmware).
  2. Open the application and give permission to access the settings.
  3. Go to Advertisements and turn off all switches:

ParameterDescriptionRecommendation
msa_global_switchGlobal Advertising Switch❌ Shut down.
personalized_ad_switchPersonalized announcements❌ Shut down.
recommend_app_switchRecommendations of the annexes❌ Shut down.
browser_ad_switchBrowser advertising❌ Shut down.
video_recommend_switchRecommendations in the video player❌ Shut down.

After applying the changes, restart the device, and the effect will be noticeable immediately: banners in the settings, notifications from Security and advertising in standard applications will disappear.

What to do if MIUI Hidden Settings is not working?
If the application gives an error "Incompatible version of MIUI", try: 1. Install an older version of the utility (for example, 2.4.1 for MIUI 12-13). 2. Manually change the firmware version in the build.prop file (requires ROOT). 3. Use the alternative - Activity Launcher to access hidden settings.

Method 4: Blocking Advertising Domains via Hosts File

The hosts file in Android is responsible for redirecting network requests, and if you block the domains from which the ads are loaded, the system will stop showing them, and this method works without ROOT, but requires the use of third-party applications.

Instructions:

  1. Download the DNS66 or Blokada app from F-Droid (they don't require ROOT).
  2. In the application settings, select Hosts-block mode.
  3. Add the following domains to the blacklist (or import a ready-made list for Xiaomi):

127.0.0.1 ad.mi.com


127.0.0.1 data.mistat.xiaomi.com




127.0.0.1 sdkconfig.ad.xiaomi.com




127.0.0.1 tracker.ai.xiaomi.com




127.0.0.1 api.brs.intl.miui.com




127.0.0.1 globalapi.ad.xiaomi.com

Once you have setup, reboot your device, which blocks up to 80 percent of your ad requests, including analytics and personalized banners, but some system notifications may continue to appear, requiring a combination of other methods to remove them.

⚠️ Note: Blocking api.brs.intl.miui.com and sdkconfig.ad.xiaomi.com domains may disrupt some features, such as push notifications from Mi Cloud. If you notice problems, delete these lines from the hosts file.

Method 5: Remove system applications with ads (requires ROOT)

If you have ROOT rights (e.g., through Magisk), you can completely remove unnecessary system applications that display ads, which gives 100% results, but requires caution – removing critical components can lead to a device β€œbrick”.

List of safe applications to remove:

  • πŸ—‘οΈ com.miui.analytics – Xiaomi Analytics
  • πŸ—‘οΈ com.xiaomi.midrop - background synchronization
  • πŸ—‘οΈ com.miui.systemAdSolution – Advertising Module
  • πŸ—‘οΈ com.android.browser – the standard browser
  • πŸ—‘οΈ com.miui.cleanmaster β€” β€œCleaning up"
  • πŸ—‘οΈ com.miui.videoplayer - video player with advertising
  • πŸ—‘οΈ com.miui.player - Music player

Use Root Explorer or Titanium Backup to remove:

  1. Open a file manager with ROOT support.
  2. Go to /system/app or /system/priv-app.
  3. Find the folders with the names from the list above and delete them (or rename them by adding.bak at the end).
  4. Clear the cache in Settings β†’ Applications β†’ Application Management.

πŸ’‘

Before you uninstall system applications, make sure to back up via TWRP or OrangeFox Recovery, which will allow you to restore the system in case of an error.

Method 6: Use of alternative firmware (for advanced)

If none of the methods worked, the radical solution is to install custom firmware without advertising.

  • πŸ“± LineageOS – pure Android without unnecessary modules
  • πŸ“± Pixel Experience – firmware with Google Pixel interface
  • πŸ“± ArrowOS – Optimized for Performance
  • πŸ“± MIUI EU β€” official firmware without advertising (only for European regions)

Installation process:

  1. Unlock the bootloader through the Mi Unlock Tool (requires a Mi Account binding and a wait of 7-14 days).
  2. Install custom Recovery (TWRP or OrangeFox).
  3. Download the firmware from the XDA Developers website (choose the version for your model!).
  4. Sweep through the recovery by first doing wipe of the Dalvik, Cache, System and Data partitions.

Advantages of custom firmware:

  • βœ… No advertising and analytics
  • βœ… Faster system operation
  • βœ… Regular security updates
  • βœ… Possibility of fine tuning

⚠️ Note: Installing custom firmware voids warranty and may result in data loss.On some models (e.g. Xiaomi) 12S Ultra) unlocking the bootloader blocks the wide-angle camera - check compatibility before firmware.

Method 7: Disabling notifications from system applications

If the ads appear as pop-up notifications, you can turn them off for specific apps, a method that doesn't remove banners from the menu, but eliminates annoying alerts.

How to turn it off:

  1. Go to Settings β†’ Notifications and Status bar β†’ Notification management.
  2. Find it in the app list: πŸ›‘οΈ Security (Security) 🧹 Cleaner (Cleaning up) 🌐 Mi Browser 🎡 Music and Video

"Show notifications"

"Sound"

β€œNotification categories”

Recommendations

Promotions

Additionally, you can prohibit the background activity of these applications:

  1. Open Settings β†’ Applications β†’ Application Management.
  2. Select an application (such as Security) and press Battery β†’ Background Activity.
  3. Select "Limit."

This will reduce battery load and reduce the number of advertising notifications, but it will not remove them completely.

FAQ: Frequent questions about advertising on Xiaomi

πŸ” Why After Updating MIUI commercials return?
When you update your firmware, some settings are reset and system applications (such as Security or Cleaner) restore their permissions. To avoid this: Before updating, back up your settings via MIUI Hidden Settings. After updating, re-apply ADB commands or manually disable ads. Use Blokada to permanently block ad domains.
πŸ“΅ Can you remove advertising without ROOT and ADB?
Yes, but not completely. The combination of the following methods yields ~70%: disabling personalized ads in settings; blocking notifications from system applications; using DNS66 to filter traffic; installing an alternative launcher (e.g., Nova Launcher); and completely removing ads will require ADB or ROOT.
πŸ”„ What to do if Google services stop working after removing system applications?
This happens if you have removed critical components, such as: com.google.android.gms (Google Play Services) com.android.vending (Google Play Market) Solution: Install the missing ones APK-Manual files (download from APKMirror) Use the adb install command to restore. If the system doesn't start, run the stock firmware through Fastboot.
πŸ›‘οΈ Is it safe to use? MIUI Hidden Settings?
The MIUI Hidden Settings app is safe if: Download it from trusted sources (e.g. 4PDA); do not change settings you don't understand (especially in the Developer and System sections); back up via TWRP before making changes; Risks: Incorrect settings can lead to bootloop ( looped boot). On some models (e.g. Xiaomi 13 Pro), the application may not work due to MIUI protection.
πŸ“± Which Xiaomi models show the least advertising?
According to the data XDA Developers (2026), least advertising in the world: πŸ“± Xiaomi 13T Pro (European firmware) πŸ“± POCO F5 (global) πŸ“± Redmi Note 12 Pro+ 5G (blacked-out China) πŸ“± All devices with MIUI EU (The worst advertising in Europe: πŸ“± Redmi 10A (Asia’s fiscal model) πŸ“± POCO M5 (china-fix) πŸ“± Xiaomi Civi 3 (model for the domestic market of China)