How to permanently remove advertising on Xiaomi smartphones: system and hidden methods

Xiaomi smartphone owners regularly encounter one of the most annoying features of MIUI firmware, the annoying ads that appear in the settings menu, on the lock screen, in system applications and even in notification panels, and the problem is relevant for budget models (Redmi 9A, Poco M3) and for flagships (Xiaomi 13 Ultra, Mix Fold 3).

In this article, we'll look at all the ways you can remove ads, from basic MIUI settings to radical methods like disabling system services through ADB or installing custom firmware. It's important to understand that some methods require unlocking the bootloader or superuser rights, which can affect warranty. We'll highlight these cases separately. We'll start with the simplest and most secure solutions.

๐Ÿ“Š What kind of Xiaomi model do you have?
Redmi Note 12/13
Poco X5/F5
Xiaomi 13/14
Redmi 10/9
Another model

1. disable personalized advertising in MIUI settings

The first step is to deactivate the collection of data for targeted advertising, which will not remove all banners, but will reduce their number and make them less intrusive. MIUI 12โ€“14:

  1. Open Settings โ†’ Google โ†’ Advertising.
  2. Click Reset Advertising ID and confirm the action.
  3. Go back to the basic settings, find the Memory โ†’ Cleanup section.
  4. Slap the icon. โš™๏ธ in the upper right corner and disable the Recommendations option.

Check your Mi Account settings:

  • ๐Ÿ” Go to Settings. โ†’ Xiaomi account โ†’ Mi Cloud.
  • ๐Ÿ“ฑ Disable Data Synchronization and Personalization of Services.
  • ๐Ÿ›ก๏ธ In the Privacy section, deactivate Personalized Recommendations.

Why doesn't it always work? Because Xiaomi uses multiple channels to display ads, some of the banners come through Google services (disables in the first paragraph), and some through Miui's own servers (requires additional action), if after this manipulation, the ads remain, move to the next section.

๐Ÿ’ก

After resetting the advertising ID, restart your smartphone โ€“ this will speed up the application of changes.

2. Manual disabling of advertising in system applications

Many of Xiaomiโ€™s standard programs (Mi Browser, Mi Video, Music, Themes) have built-in ad modules, which can be turned off individually:

AnnexThe path to settingsWhat to turn off
Mi Browserโ‹ฎ โ†’ Settings โ†’ Additionally.Recommended on the main, show the news
Mi VideoProfile โ†’ Settings โ†’ GeneralRecommendations, Auto-reproduction
ThemesProfile โ†’ SettingsShow recommendations, Notifications on new topics
Security (Security)โš™๏ธ โ†’ Settings โ†’ CleanupRecommendations, Virus Notifications (often containing advertisements)

Important: Even after you turn off your settings, the Mi Browser app can still have a โ€œnews feedโ€ advertisement on the home page, so to remove it, install a third-party browser (like Firefox or Kiwi Browser) and make it the default browser.

Another source of advertising is home screen widgets, remove all unnecessary widgets (weather, news, promotions) and replace them with minimalist alternatives, such as using AccuWeather or Yr.no instead of the standard Xiaomi weather widget.

Remove widgets from the main screen|Disable recommendations in Mi Browser|Deactivate Autoplay in Mi Video|Remove Notifications from Security App-->

3.Using ADB to Deeply Disable Advertising

If manual settings haven't helped, it's time to move on to more radical methods. - Android Debug Bridge (ADB) It allows you to disable the system components that are responsible for displaying ads, which does not require root, but requires a computer and a computer. USB-cable.

Instructions for Windows/macOS/Linux:

  1. Download ADB Tools and unpack it into a separate folder.
  2. On your smartphone, activate Developer Mode (7 times tap the MIUI version in Settings โ†’ About phone).
  3. Enable USB debugging in Settings โ†’ Additional โ†’ For developers.
  4. Connect your phone to your PC and type in the command line (in the folder with ADB):
adb devices

(Your device should appear. If not, install Xiaomi USB Drivers.)

adb shell pm hide com.miui.systemAdSolution
adb shell pm hide com.xiaomi.ab

These commands disable two key components responsible for integrating advertising into MIUI. Once executed, restart your smartphone. The effect will be noticeable in 5-10 minutes.

โš ๏ธ Note: Disabling system packages through ADB This can cause some features to function unstable (such as registration themes or cloud backups).If you notice a failure, return it back to the adb shell pm uninstall command. -k --user 0 name(s) of the package (replace with the original name).

List of all MIUI advertising packages
com.miui.analytics com.miui.bugreport com.miui.cloudservice com.miui.cloudbackup com.miui.miservice com.xiaomi.midrop com.xiaomi.mipicks com.xiaomi.payment com.android.browser (unless you use Mi Browser)

4. Removal of advertising through superuser rights (root)

If you're willing to take drastic measures, getting root rights will give you access to the complete removal of ad modules, which is suitable for advanced users, because:

  • ๐Ÿ”“ Requires unlocking the bootloader (resets all data!).
  • ๐Ÿ›ก๏ธ Cancellation of the guarantee (if it is still valid).
  • ๐Ÿ”„ It can cause some features to fail (e.g. Mi Pay or Face Unlock).

To remove ads from root, use the AdAway or Blokada app (with Hosts enabled) which blocks ad domains at the system level, and the alternative is to manually delete packets via Titanium Backup or Root Explorer:

/system/priv-app/MiuiSystemAdSolution


/system/app/Analytics




/system/app/MiuiDaemon

Warning: Deleting system files without a backup can lead to bootloop (locked boot).Always create a backup through TWRP before making changes!

๐Ÿ’ก

Root rights give you maximum control over the system, but you need to be careful. For most users, the methods in Section 3 (ADB) are sufficient.

5. Installation of custom firmware without advertising

The most radical way to get rid of advertising is to reflash your smartphone on alternative firmware.

  • ๐Ÿ“ฑ LineageOS โ€“ โ€œcleanโ€ Android without unnecessary add-ons.
  • ๐Ÿ”„ Pixel Experience โ€“ firmware with Google Pixel interface.
  • ๐Ÿ›ก๏ธ MIUI EU โ€” modified MIUI Advertising-free and Chinese-based.

The installation process shall include:

  1. Unlock the bootloader via Mi Unlock Tool (requires an account to be linked to Mi and wait 7-15 days).
  2. Installation of custom TWRP Recovery.
  3. Formatting data, system, cache sections.
  4. The firmware of the selected build and GApps (if you need Google services).

Advantages of custom firmware:

  • โœ… No advertising at the system level.
  • โœ… Regular security updates.
  • โœ… Ability to fine-tune the interface.

โš ๏ธ Note: Some Xiaomi features (e.g, IR Blaster for control equipment or Always-on Display may not work correctly on custom firmware. Before installing, check the compatibility of your model on the forum XDA Developers or 4PDA.

6. Alternative methods: VPNs and blockers

If you don't want to interfere with system files, you can block ad domains at the network level.

  • ๐ŸŒ VPN Ad-blocking: AdGuard VPN, Proton VPN (with NetShield option, 1.1.1.1 from Cloudflare.
  • ๐Ÿ›ก๏ธ Local Blockers: Blokada (works without root), DNS66 (changer DNS-server).
  • ๐Ÿ“ก Change of change DNS: Use it. 1.1.1.3 (Cloudflare Family or 94.140.14.14 (AdGuard DNS) customized Wi-Fi/mobile.

Example of AdGuard VPN configuration:

  1. Download the app from Google Play.
  2. Enable the option of blocking ads in the settings.
  3. Select a server with minimal ping (e.g., Russia or Netherlands).
  4. Activate a VPN and check for no ads in the Mi Browser or Security App.

The downside of this method is increased battery consumption (VPN runs in the background) and possible slowdown of the Internet on some sites, but it does not require any intervention in the system and is reversible.

7 What to do if the ad returns after the MIUI update

Xiaomi regularly releases updates that can restore disabled ad modules, if after the update banners appeared again:

  1. Repeat the steps in Section 3 (disconnect via ADB).
  2. Reverse to the previous version of MIUI (if the update brought more advertising than features).
  3. Turn off automatic updates in Settings โ†’ The phone. โ†’ Updating the system โ†’ โš™๏ธ โ†’ Auto-update.
  4. Use the Mi Flash Tool to manually firmware the stable version (e.g. MIUI 13 instead of MIUI 14 if it has less advertising).

Follow the news on thematic forums โ€“ users often share information about โ€œadโ€ updates. For example, in MIUI 14.0.4 for Redmi Note 11, many people noticed an increase in the number of banners in the Security App.

๐Ÿ’ก

Before updating MIUI, always read reviews on 4PDA or XDA to discuss hidden changes, including ad modules.

FAQ: Frequent questions about advertising on Xiaomi

Can you remove ads without a computer?
Yes, but the options are limited. You can: Turn off personalized ads in the settings (section 1); Remove widgets and replace system applications with alternatives (section 2); Use blockers like Blokada (does not require root); ADB root.
Why did the ads reappear after the reset?
Factory resets return all system applications to their original state, including the ad modules. After reset: Repeat steps from section 1 and 2 (disable settings and applications). If you used ADB, execute commands again. Install an ad blocker (AdGuard or Blokada) before your first Internet connection.
Is it safe to disable system packages through ADB?
Disabling com.miui.systemAdSolution and com.xiaomi.ab packets usually doesn't cause critical failures: ๐Ÿ”ด Donโ€™t disable packages like com.android.systemui or com.miui.home, it will cause the interface to crash. ๐ŸŸก Before experimenting, back up your backup via adb backup or TWRP. ๐ŸŸข If something goes wrong, you can return the packet with the command adb shell pm uninstall. -k --user 0 Packet name (replace uninstall with enable).
How to check which apps show ads?
Use Packet Capture (requires root) or NetGuard (no root, but with limitations). These programs show which apps are accessing ad domains (e.g. googleads.g.doubleclick.net or sdkconfig.ad.xiaomi.com).
Does changing the region help in settings?
Partially, if you change the region to the European Union (EEA) In Settings โ†’ Additionally. โ†’ Region, some of the ads will disappear (due to laws) GDPR). However: โœ… Banners in Security App and Themes will disappear. โŒ There will be no ads from Mi Browser and Mi Video. โš ๏ธ Some features (e.g. Mi Pay) may become unavailable, and it is better to combine region change with other methods (e.g., Mi Pay, ADB).