How to permanently remove ads in the Xiaomi browser on Android: a step-by-step guide

The standard Mi Browser browser on Xiaomi, Redmi and POCO smartphones is known for not only speed, but also aggressive advertising. Banners on the home page, pop-ups when scrolling, ad blocks in search results all spoil the user experience. The reason for the problem lies in the integration of Xiaomi’s advertising SDK and partner services, which are included in MIUI firmware by default.

Many users mistakenly believe that the ads are caused by viruses or malicious extensions, in fact, it is legitimate monetization by the manufacturer. However, it can be turned off - in whole or in part - without root rights and complex manipulation. In this article, we will discuss 5 proven ways, including hidden MIUI settings, changing DNS and installing alternative browsers.

It is important to understand that some methods may require rebooting the device or resetting the browser settings. We recommend that bookmarks and history be saved before changes through export to Settings β†’ Additional β†’ Export data.

1. disable personalized advertising in MIUI settings

The easiest way to reduce the amount of ads is to deactivate personalized ads in system settings, which does not remove the ads completely, but reduces the number of ads by 40-60% by disabling targeted banners.

Instructions:

  1. Open the phone settings.
  2. Go to Google β†’ Advertising (or Memory and Apps β†’ Advertising in older versions of MIUI).
  3. Turn off the slider Personalized advertising.
  4. Click Reset Advertising ID and confirm the action.

After that, the ads in the browser will become less intrusive, but the banners on the Mi Browser home page will remain.

πŸ“Š Which advertisements annoy you the most?
Pop-ups
Banners on the main
Advertising in search results
Video Advertising Before Downloading Pages

2. Hidden settings Mi Browser: disabling advertising modules

Mi Browser has hidden parameters that are not displayed in the standard interface. To get to them, you need to enter a secret code in the address bar of the browser:

about:config

After you enter, you will open a menu with advanced settings, and you need to find and change the following settings:

  • πŸ” adblock.enable – set the value true (includes built-in ad blocker).
  • πŸ“΅ Homepage.ad.enable – change to false (remove ads on the homepage).
  • 🚫 newsfeed.enable – set false (disables the newsfeed with advertising).
  • πŸ”„ preload.enable – change to false (prevents downloading of advertising scripts).

Warning: After changes, restart the browser by closing it through Task Manager. In some versions of MIUI, these settings are reset after the browser update.

Enter about:config in the address bar |

All 4 parameters from the list |

Values modified according to instructions |

Browser rebooted-->

3.DNS Change: Blocking Advertising Servers at the Network Level

If the ads keep appearing, you can block them at the DNS level, which works for all browsers and doesn't require root rights, and the point is that requests to the ad servers are redirected to empty addresses.

How to set up:

  1. Open the Settings. β†’ Wi-Fi (or Mobile Network).
  2. Click on the current network and select Change Network β†’ Additional settings.
  3. In the field DNS enter one of the addresses: πŸ›‘οΈ 1.1.1.3 (Cloudflare with malware locking) πŸ”’ 94.140.14.14 (AdGuard DNS) 🌍 84.200.69.80 (DNS.WATCH)

Save the changes and reconnect to the network.

To check your performance, go to the DNS Leak Test site, and if the results show your chosen DNS, the settings are applied correctly.

What happens if the DNS doesn’t change?
If the changes are reset after saving, it means that your operator uses a forced DNS (DNS In this case, the application 1.1.1.1: Faster Internet from Cloudflare or setting up will help. VPN custom-made DNS.

4. Installation of an alternative browser with ad blocking

If none of the previous methods worked, the most radical solution would be to replace Mi Browser with another browser.

browserFeaturesCons
BraveBlocks ads and trackers by default, supports Tor modeIncreased battery consumption
Firefox FocusMinimalist interface, automatic history cleaningNo synchronization with desktop
Kiwi BrowserChrome extensions (including AdBlock)Closed source code
DuckDuckGoPrivate search, blocking trackersSlower loading of heavy sites

For installation:

  1. Download. APK-file from the official website of the selected browser (for example, Brave).
  2. Allow installation from unknown sources in Settings β†’ Applications β†’ Special Access β†’ Install unknown applications.
  3. Install your browser and make it standard in Settings β†’ Applications β†’ By default.

Important: Once you have installed an alternative browser, Mi Browser can be disabled or deleted (if MIUI allows). Go to Settings β†’ Applications β†’ Application Management β†’ Mi Browser β†’ Disable.

πŸ’‘

If system links (e.g. from messages) stop working after removing Mi Browser, install any other browser and make it standard.

5. Reset browser settings to factory

If the ad appears after the MIUI update or changes the settings, a full reset of the Mi Browser will help.This method deletes all user data, including history, bookmarks and cache, but returns the browser to the post-purchase state.

Instructions:

  1. Open Settings β†’ Applications β†’ Application Management.
  2. Find the Mi Browser and click on it.
  3. Select Warehouse. β†’ Clear the data.
  4. Confirm the action and restart the phone.

After discharge:

  • πŸ”„ Homepage ads will disappear (but may return after sync with your Mi Account).
  • πŸ“ Restore bookmarks from backup (if you have exported).
  • βš™οΈ Re-apply the settings from about:config (section 2).

⚠️ Note: Browser data reset does not remove advertising modules integrated into the browser MIUI System-level, they'll require root access to shut them down completely.

Additional methods for experienced users

If you are willing to take more drastic measures, consider the following options:

  • πŸ“± Disabling System Applications: Through ADB You can deactivate the services com.miui.systemAdSolution and com.android.browser, responsible for displaying ads. --user 0 com.miui.systemAdSolution adb shell pm disable-user --user 0 com.android.browser
  • πŸ”§ Installation of custom firmware: firmware on the basis AOSP (LineageOS or Pixel Experience completely remove advertising modules MIUI, but require unlocking the loader.
  • πŸ›‘οΈ Use of the VPN Ad-blocking: Services like ProtonVPN or Windscribe have built-in filters for advertising.

⚠️ Note: Disabling system applications through ADB This can cause unstable phone operation. Before executing commands, back up your data via Settings. β†’ Additionally. β†’ Backup and reset.

πŸ’‘

The most reliable way to get rid of advertising forever is a combination of changed DNS (section) + Alternative browser (section 4).

Root Access: Complete removal of ads (for advanced ones)

If you have root rights, you can remove the ad modules at the system level, which requires a root-enabled file manager (like Root Explorer) and knowledge of the MIUI structure.

Steps:

  1. Open /system/app/MiBrowser or /system/priv-app/MiBrowser.
  2. Delete the files with the.apk and.odex extensions associated with advertising (usually contained in the name ad or msa).
  3. Reboot the phone.

List of dangerous files to delete (they can not be touched):

  • MiBrowser.apk – the main browser file;
  • libmiui.so – System Library
  • com.android.browser.odex is an optimized cache.

⚠️ Warning: Incorrectly deleting system files can lead to bootloop.If you are not sure about your actions, use the less risky methods from the previous sections.

FAQ: Frequent questions about advertising in Mi Browser

Why did the MIUI update reappear?
When you update your firmware, you reset your custom about:config settings and return the standard DNS values. To avoid this, re-apply the instructions in Section 2 and Section 3 after the update.
Can I remove Mi Browser without root rights?
In most versions of MIUI, the browser is a system application and cannot be removed. However, it can be disabled through Settings β†’ Applications β†’ Mi Browser β†’ Disable. After that, it is recommended to install an alternative browser.
Does cleaning the browser cache help from advertising?
Cache cleaning (Settings β†’ Applications β†’ Mi Browser β†’ Clear cache) temporarily removes downloaded banner ads, but does not turn them off. For permanent effect, use the methods from Section 2 or Section 4.
Why is Brave or Firefox still showing ads?
If advertising appears in alternative browsers, the problem lies in the DNS Check if you're using customized DNS (Section 3); Are there any active VPN-leakage DNS; Are there any malicious applications installed (check out Malwarebytes).
How to return Mi Browser after shutdown?
If you have disabled your browser through settings, you can return it by: Go to Settings β†’ Applications β†’ Application Management. Click on the three dots in the upper right corner and select Show System Processes. Find Mi Browser and click Enable.