How to remove ads in applications on Xiaomi: all working methods

Advertising in mobile apps has become a real scourge for users of Xiaomi, Redmi and POCO. Banners, pop-ups and videos not only annoy, but also slow down the smartphone, consume traffic and battery power. Especially annoying advertising in free games, social networks and even system utilities MIUI. Fortunately, there are several effective ways to block it โ€“ from built-in firmware functions to third-party solutions.

In this article, we will discuss 7 proven methods, including settings. MIUI, utilization DNS-It's important that not all methods are equally safe, some can disrupt Xiaomi system services if they are used thoughtlessly. Therefore, we will describe in detail the pros and cons of each option, as well as give recommendations on choosing the optimal solution for your smartphone model.

Why is there so much advertising on Xiaomi?

The company has aggressively monetized MIUI, Xiaomiโ€™s branded shell, integrating advertising SDKs even into system applications (Security, Themes, Music) to offset the low price of smartphones, and many free apps from Google Play and Mi App Store show ads themselves through AdMob, Unity Ads or AppLovin networks.

Xiaomi ads appear more often than on pure Android because of:

  • ๐Ÿ”น Built-in advertising modules in MIUI (For example, in the settings โ†’ The phone)
  • ๐Ÿ”น Pre-installed apps (Mi Browser, Mi Video, GetApps)
  • ๐Ÿ”น Aggressive. SDK in games (for example, Free Fire, PUBG Mobile)
  • ๐Ÿ”น No default blockers (unlike iOS)

Interestingly, the flagship models (Xiaomi 13, Mix Fold) have less advertising than the budget models (Redmi Note 12, POCO M5), due to different monetization policies for different segments.

๐Ÿ“Š How often do you get annoyed by ads in apps?
Constantly.
Often
Sometimes.
There's almost no advertising.
I don't care.

Method 1: Disabling personalized advertising in MIUI

The easiest and safest method is to disable targeted advertising in the settings MIUI. This won't remove all banners, but it will significantly reduce the number of banners, especially in system applications. MIUI 12/13/14:

  1. Open Settings โ†’ Google โ†’ Advertising
  2. Click Disable Personalized Ads and Confirm the Choice
  3. Go back to the basic settings and go to Settings โ†’ Applications โ†’ Application Management
  4. Slip on the three points in the upper right corner and select Show Systems
  5. Find Msa (or Miui Daemon), open its settings and turn off the app

This method works on all Xiaomi, Redmi and POCO smartphones, but has limitations:

  • โœ… Remove advertising in Settings, Themes, Browser
  • โŒ Does not block advertising in games and third-party applications
  • โš ๏ธ After updating MIUI settings may reset

๐Ÿ’ก

If your firmware does not have the "Msa" option, try disabling the "msa" application via ADB-team:

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

Method 2: Use of alternative DNS

Blocking Advertising at Level DNS โ€” One of the most effective methods that doesn't require root rights is that you redirect requests to ad servers to empty servers" IP-address, for this purpose:

  1. Go to Settings โ†’ Connections and Sharing โ†’ Private DNS
  2. Select the host name of the private DNS provider
  3. Enter one of the addresses: dns.adguard.com (AdGuard DNS) doh.centraleurope.cloudflare-dns.com (Cloudflare) dns.nextdns.io (NextDNS)

Save the settings and restart the smartphone

For more flexible settings, you can use the NextDNS or AdGuard app:

DNS-serviceBlocking adsTracker protectionSpeed.Setting up
AdGuard DNSโญโญโญโญโญโญโญโญโญโญโญโญโญSimple.
NextDNSโญโญโญโญโญโญโญโญโญโญโญโญโญDifficult.
CloudflareโญโญโญโญโญโญโญโญโญโญโญSimple.

Important: Some banners may still skip, as modern advertising networks use the same. HTTPS round DNS-This will only help if you lock it. VPN Filtering traffic (in the following way).

๐Ÿ’ก

DNS-Blocking does not require root rights and does not affect performance, but does not work with 100% advertising.

Method 3: Blocking applications (without root)

If system methods don't work, you can install specialized utilities.

  • ๐Ÿ›ก๏ธ AdGuard โ€“ blocks ads in the browser and applications through local VPN. There is a free version with limitations.
  • ๐Ÿ”’ Blokada is open source software that supports user filters. It works without registration.
  • ๐Ÿš€ DNS66 โ€” Lightweight blocker with support for DNS-over-HTTPS.
  • ๐Ÿ“ฑ NetGuard โ€“ firewall with the function of blocking advertising domains.

Instructions for AdGuard:

  1. Download the app from Google Play or from the official website
  2. Launch and press Start, then select Set up manually
  3. Enable AdGuard Protection in the Notification Panel
  4. In the settings, activate the filters: AdGuard Base filter AdGuard Mobile Ads filter EasyList

โš ๏ธ Note: Some blockers (e.g. Blokada in mode) VPN) If SberBank or Tinkoff stop working, add them to exceptions or use them. DNS-regimen VPN.

Activate protection in the notification panel|Enable EasyList and Mobile Ads filters|Add user rules to the MIUI|Disable "Showing Admissible Advertising"|Reboot the smartphone after setting up-->

Method 4: Manually edit the hosts file (requires root)

To completely remove advertising at the system level, you can edit the hosts file, which is responsible for matching domain names and IP-This method requires root rights and is suitable for advanced users.

Instructions:

  1. Install Root Explorer or Solid Explorer with root support
  2. Go to /system/etc/hosts and back up the file.
  3. Open the file in the text editor and add lines of the form: 127.0.0.1 ad.mi.com 127.0.0.1 tracking.miui.com 127.0.0.1 data.mistat.xiaomi.com
  4. Save the file, set the rights 644 (rw-r--r---)
  5. Reboot your smartphone

Ready-made lists of domains to block can be found on GitHub, for example, this list blocks ads in MIUI, Google and popular games:

Example of a domain list for hosts
127.0.0.1 ad.xiaomi.com 127.0.0.1 sdkconfig.ad.intl.xiaomi.com 127.0.0.1 track.uc.cn 127.0.0.1 adservice.google.com 127.0.0.1 pagead2.googlesyndication.com 127.0.0.1 pubads.g.doubleclick.net 127.0.0.1 app-measurement.com 127.0.0.1 graph.facebook.com

Warning: Incorrect editing of hosts can lead to loss of Internet access or failure of system applications.Always backup before changes!

Method 5: Disabling Advertising through ADB (without root)

If you donโ€™t have root rights but you have a computer, you can use ADB (Android Debug Bridge) to disable system advertising services, a method that works on most Xiaomi smartphones, including the Redmi Note 11, POCO X5 and other models with MIUI 13/14.

Step-by-step:

  1. Turn on USB Debugging in Settings โ†’ About Phone โ†’ MIUI Version (tap 7 times on version, then return to Additional โ†’ For Developers)
  2. Connect your smartphone to your PC and install it ADB-driver
  3. Open the command line in the folder with platform-tools and execute the commands: adb shell pm disable-user --user 0 com.miui.analytics pm disable-user --user 0 com.xiaomi.midrop pm disable-user --user 0 com.android.browser pm disable-user --user 0 com.miui.
  4. Reboot the phone.

Installation instructions:

  1. Unlock the bootloader via Mi Unlock Tool (requires a wait of 7-30 days)
  2. Install custom recovery (TWRP or OrangeFox)
  3. Download the firmware from XDA Developers and transfer to your smartphone
  4. Fly through recovery by running Wipe Dalvik/Cache

Important: Check firmware compatibility with your Xiaomi model before installing. For example, the firmware for the Redmi Note 10 Pro (sweet) will not work for the POCO X3 Pro (vayu).

Method 7: Blocking through a VPN with traffic filtering

If previous methods didn't work, there's still a VPN with built-in ad blocking.

VPN-serviceBlocking adsSpeed.Free fareSuitable for games.
AdGuard VPNโญโญโญโญโญโญโญโญโญ1 GB/monthYes.
Proton VPNโญโญโญโญโญโญโญโญUnlimitedly.No.
Windscribeโญโญโญโญโญโญโญ10 GB/monthYes.
1.1.1.1 (Cloudflare)โญโญโญโญโญโญโญโญUnlimitedly.No.

How to set up AdGuard VPN:

  1. Download the app from Google Play
  2. Register and select Ad Blocking in Settings
  3. Activate VPN and select the nearest server
  4. In Settings โ†’ Filters add: AdGuard DNS filter EasyPrivacy MobileAds filter

VPN-lock-in:

  • ๐ŸŽฎ Free Fire, Call of Duty Mobile)
  • ๐Ÿ“ฑ Social media (Facebook, Instagram)
  • ๐ŸŒ The Browser (Chrome, Mi Browser)

โš ๏ธ Note: Some banking applications (for example, VTB Online or Alpha-Click) block work when active. VPN. In this case, add them to the exceptions or disable them. VPN When using financial services.

FAQ: Frequent questions about ad blocking on Xiaomi

โ“ Can you completely remove advertising without root?
Yeah, but not 100%. DNS-lockdown (AdGuard) DNS) + Blocking application (Blokada) + Disabling personalized advertising in MIUI However, some games (such as Genshin Impact) use embedded advertising that can only be removed through modification. APK root.
โ“ Why After Updating MIUI commercials are back?
When you update the firmware, reset: Private DNS settings Disabled System Applications (Msa, Miui Daemon) Blocker Rules (if they haven't been updated) Solution: After updating, repeat the settings from Methods 1, 2 and 5 of this article.
โ“ Ad blockers eat the battery?
Depends on the method: ๐Ÿ”‹ DNS-The locking has almost no effect on the battery. ๐Ÿ”‹ VPN-blockers (AdGuard) VPN) spend up 5-10% day-load ๐Ÿ”‹ Local applications VPN (Blokada - before 3-5% ๐Ÿ”‹ Manual editing of hosts does not affect the battery Advice: Use DNS66 instead of full-fledged VPN, If you want to save money.
โ“ What Xiaomi apps show the most ads?
Top.-5 "advertising MIUI: GetApps (branded store Xiaomi) Mi Browser (built-in browser) Mi Video (video player) Topics (menu of design topics) Security (antivirus and cleaning) Recommendation: Disable or remove these applications through ADB (see method 5).
โ“Legal: Is it legal to block advertising?
From a legal perspective: โœ… Ad blocking does not violate the law in Russia, Europe and the United States โš ๏ธ Some apps (such as YouTube) may block accounts for using blockers. โŒ It is forbidden to modify APK-Application files to remove ads (license violation) Conclusion: Use legal methods (DNS, VPN, system settings, but be prepared for the fact that some services may limit functionality if you detect a blocker.