How to completely remove ads on Android: block ads on Xiaomi and other smartphones

Why Advertising Appears on Your Smartphone and How to Deal With It

Advertising on Android smartphones is not just an annoying interface element, but an entire ecosystem built into the operating system, applications and even system services. This problem is especially acute on Xiaomi, Redmi and POCO devices, where the MIUI branded shell actively monetizes user attention through banners in settings, notifications and even on the lock screen. But advertising is not only targeting Xiaomi owners: it penetrates through browsers, games, social networks and even system updates on any Android device.

The problem is that there are dozens of sources of advertising, from legitimate Google services (like Google Play Services) to aggressive adware programs that are installed along with free apps. Many users mistakenly believe that it is enough to turn off personalized advertising in the settings of Google β†’ Advertising – but this is only the tip of the iceberg. In fact, removing ads completely requires a comprehensive approach: from manual cleaning of system applications to using specialized tools like Blokada or AdGuard.

In this article, we will discuss all the current ways of blocking advertising – from simple (without root rights) to advanced (with unlocking the bootloader and installing custom firmware). Particular attention will be paid to Xiaomi devices where advertising is sewn into the shell of MIUI, but the methods will also be suitable for other brands: Samsung, Realme, Oppo, etc. We warn in advance: some methods can violate the warranty or lead to unstable system operation – so read the warnings carefully!

Method 1: Disabling Advertising in MIUI without root (official settings)

If you own Xiaomi, Redmi or POCO, check the built-in MIUI shell settings first. The manufacturer provides limited but workable tools to reduce the amount of advertising.

Go to Settings β†’ About Phone and tap the MIUI version several times to unlock the advanced developer settings. Then go back to the basic settings and open a new section Additional β†’ Special Features β†’ Advertising. Here you will find two key switches:

  • πŸ”΄ Personalized recommendations – disables the collection of data about your actions for targeted advertising.
  • πŸ“΅ Showing advertisements in MIUI β€” main tumbler, which theoretically should remove banners in system applications (for example, in the Browser, Music or Themes).

Even after these options are turned off, however, ads may still be in some apps, because Xiaomi is working with partners like Alibaba or Tencent to implement their ad SDKs directly into firmware, and additional measures will be needed to block them.

⚠️ Note: On some regional versions MIUI (For example, for India or China, the Advertising option may not be available in the settings. In this case, try changing the region of the device to Europe (EEA) through settings β†’ Additionally. β†’ Region.

πŸ’‘

If banners continue to appear after disabling ads in MIUI, clear the cache of system applications (Settings β†’ Applications β†’ Application Management β†’ Three Points β†’ Clear the cache for everyone).

Method 2: Blocking Advertising via DNS (without root)

One of the most effective and safest ways to fight advertising is redirection. DNS-This method works at the network level, so it blocks ads in all applications, including browsers, games and system services.

To set up:

  1. Go to Settings. β†’ Connections and sharing β†’ Private DNS (or settings β†’ SIM-maps and mobile networks β†’ Private DNS version MIUI).
  2. Select the host name of the private provider DNS and enter one of the addresses: πŸ›‘οΈ dns.adguard.com – AdGuard server, blocking ads and trackers. 🌍 doh.centraleu.pi-dns.com – alternative server with DoH support (DNS-over-HTTPS). πŸ”’ security.cloudflare-dns.com – Cloudflare with malicious domain filtering.

Save the settings and restart the device.

The advantage of this method is that it doesn't require any additional applications to be installed and it works at a system level, but it has limitations.

PlusesCons
βœ… It works without root.❌ Do not block ads in some apps (such as Facebook or Instagram)
βœ… It does not affect productivity.❌ It can slow down the loading of some websites.
βœ… Compatible with any version of Android❌ Some mobile operators are blocking the change DNS
πŸ“Š What kind of ad blocking you have tried before?
Through MIUI settings
DNS-server
Blocking applications
Root methods
I've tried nothing.

Method 3: Blocking applications (without root)

If system methods didn't work, it's time to turn to third-party apps, and there are several proven solutions on the market that work without superuser rights and effectively filter ads.

Top.-3 Applications for blocking ads on Android:

  • πŸ›‘οΈ Blokada is the most popular open source solution. it blocks ads at the level VPN, It does not require root. It supports custom filter lists (e.g. EasyList or AdAway.
  • πŸ”’ AdGuard is a powerful blocker with advanced settings. There is a free version with basic filters and a paid version with support. HTTPS-It's a local filter. VPN.
  • πŸš€ DNS66 β€” Easy application to block advertising through DNS. Supports multiple profiles and custom domain lists, ideal for weak devices.

Installation and configuration (on the example of Blokada):

  1. Download APK from the official website (not from Google Play – there is a stripped-down version).
  2. Allow installation from unknown sources (Settings β†’ Applications β†’ Special Access β†’ Install Unknown Applications).
  3. Launch Blokada and activate the lock (the app will request permission to create). VPN-linkage).
  4. Select active filter lists (we recommend EasyList + AdAway).
  5. Reset the device.

⚠️ Note: Some banks and instant messengers (for example, Sberbank Online or Telegram) can block work when active. VPN. In this case, add them to the exceptions in the Blokada settings or disable the blocker temporarily.

β˜‘οΈ Preparation for the installation of the blocker

Done: 0 / 5

Method 4: Remove system applications with advertising (root required)

If you're willing to take drastic measures, the surest way to get rid of ads is to remove the system apps that show them. It requires root rights and can disrupt system stability, but it gives you 100% results. Especially true for Xiaomi, where ads are built into Msa (MIUI System Ads), Browser, Music and other system utilities.

List of Xiaomi apps that can be safely removed (or frozen) to block ads:

Package nameAnnexWhat's blocking
com.miui.systemAdSolutionMIUI System AdsThe main module of advertising display in MIUI
com.android.browserMIUI browserAdvertising in a standard browser
com.miui.playerMusic.Banners in the Music app
com.xiaomi.midropMi DropAdvertising in the file transfer service
com.miui.analyticsMIUI AnalyticsCollection of statistics for targeted advertising

To remove system applications:

  1. Get root rights (for example, through Magisk).
  2. Install Root Explorer or Titanium Backup.
  3. Find the apps from the list above and remove them (or freeze them if you fear the consequences).
  4. Clear the cache and data of the remaining system applications.
  5. Reset the device.
What happens if you remove the wrong app?
Removing critical system components (e.g. com.android.phone or com.miui.home) can result in a bootloop or complete device failure. Always backup your TWRP before removing packets!

⚠️ Note: On some Xiaomi devices (especially HyperOS), removing system applications may cause update errors. In this case, restore deleted packages from the backup before the firmware update.

Method 5: Custom firmware (for advanced users)

If you’re willing to sacrifice official firmware for full control of your device, installing custom firmware (like LineageOS, Pixel Experience, or ArrowOS) will solve the problem of advertising once and for all, devoid of built-in ad modules and offering a clean Android without unnecessary services.

Advantages of custom firmware:

  • 🧹 Total absence of advertising at the system level.
  • πŸš€ Higher performance (no background Xiaomi processes).
  • πŸ”„ Regular security updates (unlike official firmware, which are often updated with a delay).
  • πŸ› οΈ Ability to fine-tune the interface and functions.

However, there are also disadvantages:

  • ⚠️ Loss of warranty (if the device is under warranty).
  • πŸ”§ Installation difficulty (requires unlocking the bootloader, installation) TWRP etc.).
  • πŸ“± Possible bugs (not all functions can work correctly, for example, NFC camera).

If you’re considering this step, follow the official instructions for your model on the XDA Developers or 4PDA forums. For Xiaomi, the process usually looks like this:

1. unlock the bootloader through the Mi Unlock Tool


2. Install TWRP Recovery




3. Swipe custom firmware (for example, LineageOS)




4. Install Magisk for root rights (optional)




5. Switch Gapps (if you need Google services)

πŸ’‘

Custom firmware is the only way to permanently get rid of system-level advertising, but it requires technical skills and can void the warranty.

Method 6: Blocking Advertising in the Browser and Applications

Even if you block system ads, they can still be used through browsers and apps, like Google Chrome or Youtube, and they show ads regardless of MIUI settings, and there are some special solutions to block them.

Browsers with built-in ad blocking:

  • 🦊 Firefox + uBlock Origin extension (the most reliable version).
  • πŸ›‘οΈ Brave Browser – Blocks Ads and Trackers Out of the Box".
  • 🌐 Kiwi Browser – Supports Chrome extensions including AdBlock).

Blocking YouTube ads:

  • πŸŽ₯ Vanced MicroG – Modified YouTube without ads (requires installation via adverts) APK).
  • πŸ”„ ReVanced – a patcher for the official YouTube, removing ads and adding features like background playback.
  • πŸ“± NewPipe – an alternative client for YouTube without ads and with support for video downloads.

For installation of ReVanced:

  1. Download the latest version of YouTube in APK format (for example, with APKMirror).
  2. Install ReVanced CLI or ReVanced Manager.
  3. Select patches to block ads and apply them to APKs.
  4. Install the modified application.

⚠️ Note: Using modified versions of YouTube (such as Vanced or ReVanced) can lead to a ban on your account for violating the rules of the service. Google actively fights such tools, so use them at your own risk.

FAQ: Frequent questions about Android ad blocking

πŸ” Why After Advertising Is Shut Down MIUI She still shows up?
It’s likely that ads are not shown by Xiaomi’s system services, but by third-party apps (like Facebook, AliExpress, or games), check the settings of those apps, or use blockers like Blokada.
πŸ“± Can I block ads without root and without third-party apps?
Use the DNS method (Section 2) and turn off personalized ads in the Google β†’ Advertising settings, but this will not give 100% results.
⚠️ Is it safe to remove system applications on Xiaomi?
Removing most apps from our list (Section 4) is safe, but always backup through TWRP before making changes.Removing critical components (e.g. com.android.phone) can bring the device down.
πŸ”„ How to return everything back if after blocking ads stopped working some functions?
If you've used root methods, restore remote applications from the backup. If you've changed DNS, return the default settings. To reset all changes, reset to factory settings (Settings β†’ About Phone β†’ Reset).
πŸ“΅ Why ad blockers don’t work in some apps (like banking)?
Many banking applications (such as Sberbank Online or Tinkoff) block VPNs and local proxies because it is against their security policies, in which case temporarily disable the blocker or add the application to exceptions.