How to Get Rid of Advertising on Xiaomi: From System Banners to Push Notifications

Advertising in Xiaomi smartphones is one of the most annoying features of the MIUI branded shell. Even after buying the device, users encounter banners in settings, push notifications from Mi Browser, ad units in standard apps and pop-ups from Xiaomi services. The manufacturer has integrated advertising mechanisms so deeply that simply disabling the Personalized Ads option in settings often doesn't solve the problem.

In this article, we will analyze all possible sources of advertising on Xiaomi, Redmi, Poco and Black Shark devices, and provide 5 proven ways to completely remove them โ€“ from standard settings to radical methods like flashing. We will pay special attention to hidden advertising services, which continue to work even after all visible options are turned off. MIUI 12-14 or more new versions, including global and Chinese builds.

1. Where does Xiaomi advertising come from: all sources

Before you take down ads, you need to understand what the mechanisms are, and MIUI is responsible for that.

  • ๐Ÿ“ฑ System services โ€“ msa (Miui System Ads), analytics and mipush, which collect data and show banners in settings, notification menus and on the lock screen.
  • ๐ŸŒ Standard apps โ€“ Mi Browser, Mi Video, Music, File Manager and even Calendar โ€“ contain built-in ad modules.
  • ๐Ÿ“ฒ Push notifications โ€“ come from Xiaomi services (e.g. Mi Community, Mi Store) and partners (e.g. Booking.com, AliExpress).
  • ๐Ÿ”„ Updates and recommendations โ€“ pop-ups with a suggestion to update the software, install new applications or activate functions (Mi Pay, Mi Cloud).
  • ๐ŸŽฏ Personalized offers โ€“ advertising based on your activity (search queries, browsing history, geolocation).

It is important to understand that even after disabling all visible options in the settings, some ads may remain in the background, for example, msa continues to work in the background, and some applications (for example, Mi Browser) load ad units through their own channels, so a comprehensive approach will be required to completely remove them.

โš ๏ธ Note: On devices with Chinese firmware (for example, Xiaomi 13 Ultra) CN) There are many more ads than the global versions. Some methods (e.g., disabling through the Internet) ADB) They may not work without first unlocking the loader.

2. Method 1: Disabling Advertising through MIUI Settings

So, to start with, the simplest method is to manually disable ad options in your settings, which is not going to remove ads completely, but it's going to cut ads by 60 to 70 percent, and it's going to be good for users who don't want to go into technical detail.

Instructions for MIUI 12-14 (may vary slightly depending on the model):

  1. Go to Settings โ†’ Xiaomi Account โ†’ Mi Account.
  2. Choose Personalization and Advertising (or User Experience Program in Global Versions).
  3. Turn off all switches: ๐Ÿ”˜ Personalized recommendations ๐Ÿ”˜ Interest-based advertising ๐Ÿ”˜ Participation in the improvement programme MIUI

Settings โ†’ Additional โ†’ Special features โ†’ Advertising Notices

Mi Browser

Mi Video

  • ๐Ÿ“ฐ Recommended content
  • ๐Ÿ”” Push notifications
  • ๐ŸŒ Personalized advertising

After this, ads in settings and some apps will disappear, but push notifications from Xiaomi services and banners in Mi Browser may remain, and this method does not block advertising in games and third-party applications.

๐Ÿ“Š Which advertisements annoy you the most?
Banners in settings
Push notifications
Advertising at Mi Browser
Advertising blocks in applications
All of the above.

Method 2: Blocking Advertising through ADB (without root)

A more effective method is to disable advertising services via Android Debug Bridge (ADB), which does not require root rights, but requires connecting a smartphone to a computer.

What you need:

  • ๐Ÿ–ฅ๏ธ Computer with Windows, macOS or Linux.
  • ๐Ÿ”Œ Cable USB Type-C (preferably original).
  • ๐Ÿ› ๏ธ Utility. ADB (You can download from the official website of Android Developers).
  • ๐Ÿ“ฑ Included debugging by USB smartphone.

Step-by-step:

  1. Activate Developer Mode: Go to Settings โ†’ About Phone. Press 7 times on MIUI Version until the notification โ€œYou are a developerโ€ appears.

USB-debugging

  • Back to Settings โ†’ Additionally. โ†’ For developers.
  • Activate the debugging switch over USB.
  • Connect your smartphone to your computer and confirm your trust in the device.
  • Open the command prompt (or Terminal on macOS/Linux) in the ADB folder.
  • Follow the commands in turn (after each press Enter): adb shell pm hide com.miui.systemAdSolution adb shell pm hide com.xiaomi.midrop adb shell pm hide com.miui.analytics adb shell pm hide com.xiaomi.market adb shell hide pm hide com.miui.msa.global adb shell settings put global shell settings hidden_api_policy 1
  • Reboot your smartphone.

These commands disable the main ad services and hide them from the system, and if after the reboot some features (like Mi Drop) stopped working, thatโ€™s OK, because they were part of the ad infrastructure.

Download Platform Tools from the official website

Unpack the archive into a separate folder

Enable the developer mode on Xiaomi

Activate debugging over USB

Connect your phone to your PC with the original cable-->

โš ๏ธ Note: Some models (e.g. Xiaomi) 12T The pm hide command may not work due to limitations. MIUI 14+. In this case, use an alternative method with pm uninstall. -k --user 0 (Example: Adb shell pm uninstall -k --user 0 com.miui.analytics).

Method 3: Removing Advertising Using Root Rights

If you're willing to take drastic measures, getting root rights will remove ads at the system level, which is the most effective method, but it has risks:

  • ๐Ÿšซ Loss of warranty (if the device is under warranty).
  • ๐Ÿ”“ Risk of disrupting the system when incorrect actions.
  • ๐Ÿ”„ Need to be re-unblocked after updates.

To obtain root rights to Xiaomi, you will need:

  1. Unlock the bootloader through the official Mi Unlock Tool (requires Xiaomi account binding and waits 7-30 days).
  2. Install custom Recovery (e.g., TWRP).
  3. Switch to Magisk for root rights management.

After obtaining root rights, follow the following steps:

  1. Install an application to remove system components, for example: ๐Ÿ“ฑ SD Maid (SystemCleaner section) ๐Ÿ“ฑ Root App Deleter ๐Ÿ“ฑ Titanium Backup (for freezing applications)
com.miui.systemAdSolution


com.xiaomi.mipicks




com.miui.analytics




com.miui.msa.global




com.xiaomi.market




com.miui.hybrid




com.miui.hybrid.accessory




com.xiaomi.midrop

Settings โ†’ Applications

DNS-level ad blocker

AdGuard

Blokada

This method removes ads by 95 to 99 percent, including hidden banners and push notifications, but after the MIUI update, some services may be restored and removed again.

What happens if you remove system applications without root?
Without root rights, you can only disable apps through Settings โ†’ Apps, but that wonโ€™t remove them completely. System services (like msa) will continue to run in the background, and after resetting or updating, they will be activated again.

5. Method 4: Installation of custom firmware (radical method)

If you want to get rid of MIUI and all its advertising mechanisms, the best option is to install custom firmware based on Android (for example, LineageOS, Pixel Experience or ArrowOS).

  • ๐Ÿ”“ Unlocked loader.
  • ๐Ÿ“ฅ Compatible firmware for your model.
  • ๐Ÿ”ง Ability to work with TWRP fastboot.

Advantages of custom firmware:

  • โœ… Complete absence of advertising and system restrictions MIUI.
  • โœ… Cleaner and faster Android without unnecessary services.
  • โœ… Regular security updates (unlike Xiaomi, which often delay patches).

Disadvantages:

  • โŒ Loss of some functions MIUI (Always-on Display, Game Turbo).
  • โŒ Risk of โ€œbrickingโ€ the device with incorrect firmware.
  • โŒ No official support (guarantee removed).

List of popular firmware for Xiaomi:

FirmwareFeaturesXiaomi support
LineageOSMaximum clean Android, stable operationMost of the models (except new ones)
Pixel ExperienceGoogle Pixel interface, optimized performanceMany devices, including Poco
ArrowOSBalance between customization and stabilityA wide list of supported models
Havoc-OSMaximum interface configurationMostly old and medium-sized models
MIUI EUModified MIUI without advertising and Chinese servicesAlmost all Xiaomi devices

You can find instructions for installing custom firmware on the XDA Developers or 4PDA forums. The process may be different for each model, so itโ€™s important to follow a specific guide for your device.

๐Ÿ’ก

Custom firmware is the only way to get rid of advertising forever, but it requires technical skills and removes the warranty.

Method 5: Blocking Advertising at the DNS and Network Levels

If you do not want to interfere with system files, but want to block advertising at the level of Internet traffic, use the following: DNS-filter VPN It's ad-blocking. It works for you:

  • ๐ŸŒ Advertising banners in the browser and applications.
  • ๐Ÿ“ฑ Push notifications from advertising networks.
  • ๐ŸŽฎ Advertising in games (partially).

The best tools for blocking:

  • ๐Ÿ›ก๏ธ AdGuard โ€“ an application with support DNS-System-level filtering and locking. You can set custom rules to block Xiaomi domains (e.g. api.ad.xiaomi.com, tracker.ai.xiaomi.com, tracker.ai.xiaomi.com).
  • ๐Ÿ”’ Blokada is an open source ad blocking and tracker without root. VPN, but not encrypting traffic.
  • ๐ŸŒ NextDNS or Control D โ€“ Cloud DNS-services with customizable filters. You can add blocklists for advertising Xiaomi.
  • ๐ŸฆŠ Brave Browser โ€“ a browser with built-in ad and tracker blocking (alternative to Mi Browser).

Example of AdGuard configuration:

  1. Download AdGuard from the official website (not from Google Play, as there is a stripped-down version).
  2. Activate the module. DNS-filtering.
  3. Add custom rules to block Xiaomi domains: ||api.ad.xiaomi.com^ ||tracker.ai.xiaomi.com^ ||sax.sina.com.cn^ ||ad.mi.com^ ||data.mistat.xiaomi.com^
  4. Turn on the filter for mobile applications in the settings.

This method does not remove system advertising (banners in settings), but effectively blocks network requests related to displays of ads in apps and browsers.

๐Ÿ’ก

If some apps stop working after setting up AdGuard (for example, images are not loaded in Mi Community), add their domains to the whitelist in the filtering settings.

7. Additional tips: how to avoid ad returns

Even after successfully removing the advert, it may return after:

  • ๐Ÿ”„ Updates MIUI (System services are being restored).
  • ๐Ÿ”ง Resetting settings (all changes are reset).
  • ๐Ÿ“ฅ Installation of new applications (some of them contain advertising) SDK).

To prevent the return of advertising:

  • ๐Ÿ”• Turn off automatic updates MIUI: Go to Settings. โ†’ The phone. โ†’ Update System. Click on three dots in the upper right corner and select Update Settings. Turn off Auto Boot over Mobile and Auto Install.
  • ๐Ÿ“ต Freeze system app updates: Use App Freezer (requires root) or disable updates for Mi Browser, Mi Video and other standard apps on Google Play.
  • ๐Ÿ” Check Active Services Regularly: ADB Execute the adb shell dumpsys package | grep "com.miui" to find working advertising modules.
  • ๐Ÿ›ก๏ธ Use alternative apps: Replace Mi Browser on Chrome or Firefox.Install VLC Instead of Mi Video, use Google Files instead of File Manager.

If the ad does return, repeat the steps from Method 2 (ADB) or Method 3 (root).

FAQ: Frequent questions about removing ads on Xiaomi

โ“ Can you remove ads from Xiaomi without rooting and ADB?
Yeah, but not completely. MIUI You will turn off 60-70% of ads (banners in settings, personalized offers), but push notifications and ads in standard applications (Mi Browser, Mi Video) will remain. ADB root.
โ“ Why is it still showing up after you turn off the ad in the settings?
Because MIUI It uses several independent advertising mechanisms: ๐Ÿ“Œ System services (msa, analytics) โ€“ work in the background. ๐Ÿ“Œ Built-in modules in apps โ€“ for example, Mi Browser uploads ads through its own channels. ๐Ÿ“Œ Push notifications โ€“ come from Xiaomi servers and partners, and disabling the Personalized Ads option only blocks some of them.
โ“ Will the method of using ADB on new Xiaomi models (13/14 series)?
On most models yes, but there are nuances: ๐Ÿ”น Xiaomi. 13/14 s MIUI 14+ The pm hide command may not work โ€“ use pm uninstall -k --user 0. ๐Ÿ”น On some devices (e.g. Xiaomi) 13 Ultra) pre-unlocking of the loader is required. ๐Ÿ”น In Chinese firmware (CN ROM) Some advertising services are protected from removal. ADB-Teams are not working, try root or custom firmware.
โ“ Can I return standard applications after removal ADB/root?
Yes, but the process depends on the method of removal: ๐Ÿ”„ If you use pm hide or pm uninstall --user 0, The following commands can be used to return the applications: adb shell cmd package install-existing com.miui.analytics ๐Ÿ”„ If you delete it through root (for example, Titanium Backup), you have to reflash the system or restore the backup.
โ“ What is the best custom firmware for Xiaomi, so that there is no advertising?
Best Options for the Balance of Stability and No Advertising: ๐Ÿฅ‡ Pixel Experience โ€“ pure Android with minimal improvements, maximum stability. ๐Ÿฅˆ LineageOS - time-tested firmware without unnecessary functions. ๐Ÿฅ‰ MIUI EU โ€” modified MIUI No advertising or Chinese services (suitable if you like the Xiaomi shell) for newer models (Xiaomi) 13/14, Redmi Note 12) Pixel Experience or ArrowOS is recommended as they get updates faster.