Xiaomi, Redmi and POCO smartphone owners often face aggressive ads in the standard Mi Browser browser, from banners at the bottom of the screen to pop-ups when opening new tabs. The manufacturer integrates ad modules at the MIUI firmware level, making it difficult to remove them completely. However, there are legal and illegal ways to minimize or completely remove ads without resorting to root.
The problem is compounded by the fact that even after personalized ads are turned off in Mi Account settings, banners continue to appear, which is because Xiaomi uses several monetization channels: its own MSA (Miui System Ads), partner integrations with Google AdMob, and direct agreements with advertisers. In this article, we will analyze all the current methods of combating, from standard settings to radical solutions for advanced users.
Itโs worth noting that Xiaomi periodically updates its ad-show mechanisms, so some ways may stop working after major MIUI updates. For example, MIUI 14 removed a separate switch to disable ads in the browser that was present in MIUI 12, which means that there is no universal solution โ you have to combine several approaches.
1. Disabling Advertising through Mi Browser Settings
The most obvious and safe way is to use the built-in browser options, and even though Xiaomi hides some settings, some of the settings are still available.
Open the Mi Browser and go to the โฎ (Menus) โ Settings โ In addition, you're interested in two key points here:
- ๐ Recommended Content โ Disables banners with news and promotions on the homepage.
- ๐ Personalized recommendations โ reduces the amount of targeted advertising (but does not completely remove it).
Also check Settings โ Privacy and deactivate the โShow Recommended Contentโ option, which will reduce the frequency of ad units, but does not guarantee their complete disappearance.
โ ๏ธ Note: After disabling these settings, the ads may not disappear immediately, but after 12-24 hours.
Delete "Recommended Content"|Deactivate โPersonalized recommendations"|Check the section "Confidentiality"|Restart your browser after the changes-->
2. Use of alternative browsers
If standard settings donโt help, the most reliable solution is to install a third-party browser. Xiaomi canโt control the display of ads in third-party apps, so this is the only way to get rid of banners.
Recommended browsers without advertising:
- ๐ฆ Mozilla Firefox โ open source, support for extensions (e.g. uBlock Origin).
- ๐ก๏ธ Brave Browser โ Blocks Ads and Trackers by Default.
- ๐ Kiwi Browser โ Chromium-based, supports extensions from Chrome Web Store.
- ๐ DuckDuckGo Privacy Browser โ Focus on Privacy, Blocks Most Trackers.
After installing an alternative browser, make it the default application:
- Go to Phone Settings โ Applications โ Application Management.
- Find Mi Browser and click "Open by Default".
- Select "Clear the default settings."
- When you next open the link, select a new browser and confirm the choice.
Mi Browser (standard)|Google Chrome|Mozilla Firefox|Brave Browser|Other-->
3. Blocking Advertising through DNS
Change of change DNS-And in the case of servers on the phone, you can filter ad domains before they're loaded, and this works at the system level, and it blocks ads not only in the browser, but also in other applications.
Instructions for setting:
- Go to Settings โ Connections and Sharing โ Private DNS.
- Select "Host Name of Private DNS Provider".
- Enter one of the addresses: dns.adguard.com โ filters ads and trackers (AdGuard DNS). family.adguard-dns.com โ blocks ads + adult content. doh.centraleu.pi-dns.com โ an alternative option with open source.
Save the settings and restart the phone.
To check your health, open your browser and go to the AdGuard DNS Test site. If the lock works, you will see green checkmarks opposite the blocked domains.
| DNS-server | Blocking ads | Locks down trackers. | Blocking malicious websites | Speed (ms) |
|---|---|---|---|---|
| dns.adguard.com | โ Yes. | โ Yes. | โ Yes. | ~30โ50 |
| 1.1.1.1 (Cloudflare) | โ No. | โ No. | โ Yes (option) | ~10โ20 |
| dns.nextdns.io | โ Yeah (tuning in) | โ Yes. | โ Yes. | ~40โ60 |
| doh.centraleu.pi-dns.com | โ Yes. | โ Yes. | โ No. | ~50โ70 |
โ ๏ธ Note: Some banking applications and services (e.g. SberBank Online or Tinkoff) may block access when using third-party services DNS. In this case, temporarily return the standard settings.
4.Remove Mi Browser via ADB (no root)
If you're willing to take drastic measures, you can disable (but not remove completely) the Mi Browser using ADB (Android Debug Bridge).This doesn't require superuser rights, but requires connecting the phone to a computer.
Step-by-step:
- Activate Developer Mode: Go to Settings โ About the phone. Press 7 times on "Version." MIUI", Notice: โYou have become a developer!".
USB debugging
Settings โ Additional โ For Developers
ADB Tools
cmd
adb devicesMake sure the device is identified (should appear its serial number).
Mi Browser
adb shell pm disable-user --user 0 com.android.browserRedmi/POCO may require an alternative package:
adb shell pm disable-user --user 0 com.miui.browserAfter completing the command, the browser icon will disappear from the application menu, and all links will open in the default browser. To return the Mi Browser, use the command:
adb shell pm enable com.android.browserWhat happens if you completely remove the Mi Browser?
5. Set up the hosts file (requires root)
For users with unlocked bootloader and root rights, the most effective method available is editing the hosts file, which is responsible for matching domain names with the hosts file. IP-Adding advertising domains to it will allow you to block them at the system level.
Instructions:
- Install a file manager with root support (such as Root Explorer or Solid Explorer).
- Go to /system/etc/hosts and back up the original file.
- Open the edit file and add the following lines at the end (blocking the main Xiaomi ad domains): 127.0.0.1 ad.mi.com 127.0.0.1 track.miui.com 127.0.0.1 api.ad.xiaomi.com 127.0.0.1 api.ad.xiaomi.com 127.0.0.1 sdkconfig.ad.xiaomi.com 127.0.0.1 globalapi.ad.xiaomi.com 127.0.0.1 data.mistat.xiaomi.com
- Save the changes, set the rights to 644 (rw-r--r---) and restart the phone.
To automate the process, you can use ready-made hosts files from the community, for example, from the StevenBlack/hosts project, which contain the blocking of thousands of advertising and tracking domains.
โ ๏ธ Attention: Incorrect editing of the hosts file can lead to loss of Internet access. Always back up before changes! MIUI The file can be reset to a standard.
๐ก
If some sites stopped opening after editing hosts, check the file for duplicate entries or syntax errors. Each line should end with a line translation (without spaces).
6. Reset browser settings and MIUI
If the ad appears even after all the manipulations, the problem may lie in cached data or misplaced MIUI settings.
Option 1: Resetting the Mi Browser settings
- Go to Settings โ Applications โ Application Management.
- Find Mi Browser and select "Storage".
- Click on "Clear Cache" and "Clear Data".
- Reboot the phone.
Option 2: Resetting advertising identifiers
- Open Settings โ Google โ Advertising.
- Click "Reset Advertising ID".
- Turn off the option of "Personalized Advertising".
This will reduce the amount of advertising by 80-90%, but it will not eliminate it completely.