Owners of Xiaomi Redmi smartphones regularly face one unpleasant feature of MIUI firmware: aggressive advertising from Google, which appears in the search bar, on the home screen and even in system notifications, and the problem is relevant for both budget models (Redmi 9A, Redmi Note 10) and flagships (Redmi K50, Redmi Note 12 Pro+).
It's important to understand that some of the ads are embedded in Google services (like Google Discover or Google Play Services), and another in the branded shell MIUI. So to get rid of banners, you need to combine several methods. We tested each method on the current versions of MIUI 14 and HyperOS (2026), so the instructions are guaranteed to work on modern firmware.
1. Disable personalized advertising in Google settings
The safest and most official way is to limit data collection for targeted advertising, which won't remove all banners, but will significantly reduce their number, and works on all Redmi models, including the Redmi 13C, Redmi Note 12 and older devices.
Instructions:
- π± Open the Google Settings app (not to be confused with the phone's basic settings!) If it's not on the home screen, search through a search system.
- π Go to the Google Account Management section β Data and confidentiality.
- π‘οΈ Scroll to the Advertising Settings block and select Disable Ad Personalization.
- π Reboot your smartphone to make changes take effect.
This method blocks impressions based on your search queries and location, but does not remove MIUI system ads (such as banners in Security or Topics).
2. Remove unnecessary system applications (without root)
Many of the advertising modules in MIUI are tied to pre-installed applications that can be disabled or removed without superuser permission.
| Annex | Type of advertisement | Can I remove it? |
|---|---|---|
| Msa (MIUI System Ads) | Banners in settings, notifications | Yes (via ADB) |
| Cleaner | Advertising in the "Cleaning" section | Yeah (offline) |
| Mi Video / Mi Music | Banners in players | Yes (total removal) |
| Google Play News News | Google Discover Tape | Yeah (offline) |
To remove without root, use ADB (Android Debug Bridge). Connect Redmi to your PC, enable USB Debugging (Settings β About Phone β MIUI Version β 7 times press to unlock developer mode), then follow the commands:
adb shell pm uninstall --user 0 com.miui.cleanmaster
adb shell pm uninstall --user 0 com.miui.videoplayer
adb shell pm uninstall --user 0 com.google.android.apps.magazinesFor applications that cannot be removed (such as Msa), use the Disabled:
adb shell pm disable-user --user 0 com.miui.systemAdSolutionEnable debugging over USB in the developer settings
Install Xiaomi drivers on PC
Download the ADB platform (for example, from Google)
Connect your phone to your PC with the original cable
-->
β οΈ Note: Deleting system applications may cause some functions to work unstable (e.g., cleaning a cache or video player). β Additionally. β Backup.
3. Blocking ads via DNS (without root)
Change. DNS-So you can block the loading of ad domains, and it works at the network level, and it doesn't require any interference. DNS plug-in:
- π‘οΈ AdGuard DNS: 176.103.130.130 and 176.103.130.131
- π NextDNS: 45.90.28.167 (requires registration for customization)
- π Cloudflare Family: 1.1.1.3 (Blocking Malware) + promotion)
How to set up:
- Go to Settings. β SIM-maps and mobile networks β Private DNS.
- Select the Private DNS Host Name and type dns.adguard.com.
- For Wi-Fi: Go to network settings β Change network β Additional β DNS β Specify static IP (e.g. 176.103.130.130).
The method is effective: ~60-70% ad blocking.It does not work for built-in MIUI banners (for example, in Topics), but removes ads in the browser and some applications.
π‘
To check the DNS, use your browser and go to dnsleaktest.com. If the results show your selected DNS (e.g. AdGuard), the settings are applied correctly.
4.Use of blocking applications (with and without root)
Specialized utilities allow you to flexibly configure ad blocking, and let's consider two options: for devices without root and with root.
No root:
- π± Blokada (Free Version): Creates a Local VPN, filtering ad domains, not requiring superuser rights, but can slow down the Internet.
- π‘οΈ AdGuard: Offers a browser with built-in lock + System filter (requires settings) HTTP-manually).
From root:
- π§ AdAway: blocks ads at the hosts file level. Requires superuser rights, but works as efficiently as possible.
- π΅ XprivacyLua: restricts the access of applications to advertising SDK (For example, Google AdMob).
For Redmi with an unlocked bootloader and Magisk installed, we recommend the Universal Ad-Blocker module, which combines locking via hosts and DNS.
β οΈ Note: Blocking applications may conflict with banking programs (e.g., SberBank Online or Tinkoff) If payment services stop working after installation, add them to exceptions or temporarily disable them. VPN/proxy.
5. Manual editing of hosts file (for advanced)
The hosts file in Android is responsible for matching domain names with IP-Adding ad domain entries to 127.0.0.1 completely blocks them from downloading.
Instructions:
- Install a file manager with root support (such as Root Explorer or Mixplorer).
- Go to /system/etc/hosts and back up the original file.
- Open the edit file and add lines (example to block Google Ads): 127.0.0.1 googleads.g.doubleclick.net 127.0.0.1 pagead2.googlesyndication.com 127.0.0.1 adservice.google.com
- Save the file, set the rights 644 (rw-r--r---).
Critical! Incorrect editing of the hosts file can lead to loss of Internet access. If the Internet is lost after the changes, restore the original version of the file.
Where to get the current list of domains to block?
6.Resetting of advertising ID and restriction of access to data
Each Android device is assigned a unique Advertising ID (AAID) that is used for targeted advertising, and its reset and access restriction reduces the number of impressions.
How to reset AAID:
- Go to Settings β Google β Advertising.
- Click Reset Advertising ID.
- Activate the option to disable advertising personalization.
For full control, use App Ops (requires ADB or root) to restrict access to ad permissions:
- π Find the Google Play Services app in the list.
- π« Disable permissions: Show system windows, run when booting.
- π± For MIUI: Restrict access to Notices for Msa and Cleaner.
π‘
Resetting an advertising ID is only effective in combination with other methods (DNS, blockers), which by itself does not remove ads, but only makes them less personalized.
7. Alternative firmware: transition to AOSP or custom software
If none of the methods worked, the radical solution is to install custom firmware based on AOSP (like LineageOS, Pixel Experience or ArrowOS), which lacks built-in MIUI advertising and offers a clean Android.
Pros:
- β Complete absence of system advertising.
- β Regular security updates.
- β Ability to fine-tune the interface.
Cons:
- β Loss of branded functions MIUI (Second Space or Game Turbo).
- β Risk of "bricking" if installed incorrectly.
- β The need to unlock the bootloader (leads to a data reset).
Installation instructions:
- Unlock bootloader via Mi Unlock Tool (requires Xiaomi account binding and waits 7-14 days).
- Install custom recovery (TWRP or OrangeFox).
- Sweep through the selected firmware (e.g. Pixel Experience for Redmi Note 11).
β οΈ Note: Installing custom firmware will void Xiaomiβs warranty and may cause some modules to fail (e.g, NFC or IR-Before you run the firmware, check the compatibility on the forum. XDA Developers.