Why Google Ads Appear on Xiaomi Redmi and How to Deal With It
Xiaomi Redmi smartphone owners often face Googleβs intrusive ads that pop up in the search box, on the home screen, or in apps, and the reason lies in the aggressive monetization of the companyβs services: even basic Android features now contain ad units, especially on Redmiβs budget models, where the manufacturer further integrates its own advertising SDKs.
It is important to understand that there are two types of advertising: system (built into MIUI and Google services) and application (shown inside installed programs). The first can be disabled through settings, the second can only be blocked at the DNS level or special utilities. In this article, we will discuss all the current ways to remove Google ads on Xiaomi Redmi without losing functionality, including methods for devices without root rights and with them.
Method 1: Disabling personalized advertising in Google settings
The easiest way to do this is to deactivate targeted ads directly in your Google account, which wonβt remove all banners, but will significantly reduce the number of banners you have, as the system will stop picking ads based on your data.
Instructions:
- π± Open the Google Settings app (or go to Settings) β Google)
- π Select the Google Account Management section
- π Go to the Data and Personalization tab
- π« Find the Advertising Settings block and disable the Personalized Advertising option
After that, the system will stop using your search history, location and other data to display ads, but banners in Google search and some apps (such as YouTube) will remain β more radical measures will be needed to remove them.
π‘
If there is no Advertising Settings section, update Google Play to the latest version via the Play Store
Method 2: Block Advertising via Private DNS (without root)
The Private DNS method allows you to filter advertising domains at the network level, it is an effective solution for blocking banners in the browser, Google search and some applications, suitable for all Redmi models on MIUI 12 and later.
How to set up:
- Go to Settings β Connections and Sharing β Private DNS
- Select the host name of the Private DNS provider
- Enter one of the addresses: π‘οΈ dns.adguard.com (AdGuard DNS) π dot-de.blahdns.com (BlahDNS) π dns.nextdns.io (NextDNS)
Save the settings and restart the device
This method blocks up to 80% of advertising domains, but can conflict with some banking applications. If payment services stop working after setting up, return the Private DNS settings to Automatic.
Method 3: Removing embedded advertising services (ADB required)
Xiaomi and Redmi pre-instal several system applications responsible for displaying ads on their devices, which can be deactivated via ADB (Android Debug Bridge) without obtaining root rights, a method that works on all devices with an unlocked bootloader.
Steps required:
- Enable USB Debugging in Settings β About Phone β MIUI Version (click 7 times on the line with the version, then go back to Additional Settings β For Developers)
- Connect your phone to your PC and execute the commands:
adb shell
pm uninstall -k --user 0 com.miui.systemAdSolution
pm uninstall -k --user 0 com.xiaomi.midrop
pm uninstall -k --user 0 com.android.browser
pm uninstall -k --user 0 com.miui.analyticsThese commands will remove the main MIUI advertising modules. For a complete list of advertising packages on your Redmi model, use the command adb shell pm list packages | grep -i ad.
Install ADB on PC
Enable debugging over USB
Connect your phone to the original cable
Allow debugging on the smartphone screen-->
β οΈ Note: Removing system packages may cause some functions to function unstable MIUI. Before executing commands, create a backup through Settings β Additionally. β Backup and reset.
Method 4: Use of alternative firmware (for advanced users)
If standard methods don't work, consider installing custom firmware that doesn't have ad modules, and the most popular options for Xiaomi Redmi are:
| Firmware | Features | Complexity of installation | Support for OTA |
|---|---|---|---|
| LineageOS | Clean Android without ads and Bloatware | Medium | Yes. |
| Pixel Experience | The interface is like Google Pixel, without ads | Tall. | Yes. |
| MIUI EU | Official MIUI without advertising and Chinese services | Low. | Yes. |
| Havoc-OS | Maximum customization, no advertising | Tall. | No. |
To install custom firmware will require:
- π Unlock the bootloader through the Mi Unlock Tool
- π₯ Install custom recovery (TWRP Or OrangeFox)
- π¦ Switch to your selected firmware and GApps (if you need Google services)
β οΈ Attention: Installing custom firmware voids warranty and can lead to a device blink if you do not do the right thing. Before firmware check compatibility with your Redmi model on the forum XDA Developers.
What is a device brick?
Method 5: Ad-blocking apps (with and without root)
For users who donβt want to mess with the system settings, there are specialized applications, which fall into two categories: those that do not have root rights (limited functionality) and those that require root (complete lock).
Best solutions:
- π‘οΈ AdGuard β blocks ads in the browser and applications through VPN, work-in
- π Blokada β open source software for blocking ads and trackers, supports custom block lists
- π« DNS66 β level-locker DNS, It does not require root, but is less effective for embedded advertising.
- π± Luck Patch β removes ads from apps (requires root and patching) APK)
For maximum effect, combine AdGuard (for the browser) with Blokada (for system locking). On root-enabled devices, you can use AdAway, which edits the hosts file to block ad domains at the system level.
π‘
Applications without root rights create VPN-a tunnel that may conflict with some banking applications. DNS or ADB.
Additional measures: optimizing MIUI to reduce advertising
In addition to direct blocking methods, you can optimize the MIUI to show less advertising:
- π΅ Turn off the Recommendations MIUI In Settings β Main screen screen β Recommendations MIUI
- π Limit background activity for Google Play Services and Google App apps in Settings β Annexes β Application management β Battery
- π± Install an alternative launcher (like Nova Launcher or Lawnchair) to remove ads from the home screen.
- π Use alternative ad-blocking browsers (Brave, Firefox with uBlock Origin)
These measures will not eliminate ads completely, but combined with the basic methods will significantly improve the user experience, especially the transition to an alternative launcher β this removes banner ads in the app menu and Xiaomi widgets.
Frequent Mistakes and How to Avoid Them
When trying to disable ads, users often face typical problems:
- After Private's shutdown DNS Internet is not working β check that you have entered the correct address DNS-If the problem persists, return the settings to Automatic and try another server.
- ADB-commands are not executed β make sure that the debugging USB switched on, drivers ADB It's on a PC, and the phone is connected to the original cable. ADB and Fastboot.
- After removing the system applications, Google services stopped working β restore the deleted packages through the adb shell cmd package install-existing <name packet> command.
- Banking apps stopped working after blocking ads β add them to the exceptions in VPN or Private DNS settings.
If after all the manipulations, the ads continue to appear, check the device for malware with Malwarebytes or Bitdefender. DNS-settings and showing your advertisements.