How to permanently close ads on Xiaomi phone: from system settings to root rights

Advertising on Xiaomi smartphones is one of the most talked-about topics among brand owners. Even in top-end models of Redmi, POCO or Black Shark, users encounter intrusive banners in the settings menu, notifications from MIUI and built-in advertising in system applications. The manufacturer explains the need to monetize budget devices, but for users this approach is often an annoyance.

In this article, we will look at all the available ways to disable ads, from standard MIUI settings to radical methods using ADB and root rights. It is important to understand that some decisions can affect the stability of the phone or deprive you of warranties, so we will describe in detail the pros and cons of each option, as well as provide recommendations for security.

If you use Xiaomi on the base MIUI 14/15 Or a newer version, some of the instructions may be different, which we'll mention, too. POCO Launcher or HyperOS (new shell from Xiaomi) added separate tips.

๐Ÿ“Š Which advertisements annoy you the most?
Banners in settings
Notification from MIUI
Advertising in system applications (Weather, Music)
Pop-up windows when connecting to Wi-Fi
All of the above.

1. disable personalized advertising in MIUI settings

The easiest and safest way to reduce the number of ad impressions is to disable personalization through the settings menu.This method will not remove banners completely, but will significantly reduce their number. POCO base MIUI 12 and newer.

Instructions:

  • ๐Ÿ“ฑ Open the Settings. โ†’ Google โ†’ Advertising.
  • ๐Ÿ”„ Switch the switch toggle "Switch off personalized advertising" in the active position.
  • ๐Ÿ” Go back to the main settings and go to Settings โ†’ Memory. โ†’ Clean, then click โ€œCleanโ€ to remove the cache of advertising services.
  • ๐Ÿ”ง For MIUI 14+ Check the Settings section further. โ†’ Special facilities โ†’ Services MIUI and disable the option "Show recommendations".

This method works at the Google Mobile Services (GMS) level, so some of the ads (like Google Play) will still be displayed.

โš ๏ธ Note: After disabling personalization, some features (such as recommendations in Google Discover) may not work correctly, and this method does not affect advertising in Xiaomiโ€™s branded services (Mi Browser, Mi Music, etc.).

2. Remove advertising through MIUI settings (hidden options)

MIUI contains hidden options that allow you to disable some of the system advertising without using third-party tools, which are not officially documented, but work on most devices.

Step-by-step:

  1. Open the Security app (shield icon).
  2. Go to Settings โ†’ Advertising (or Privacy โ†’ Advertising Services for MIUI 15).
  3. Turn off all tumblers: ๐Ÿ“ข "Personalized recommendations" ๐Ÿ” "Showing interest-based advertising" ๐ŸŒ "Browser advertisingโ€ (if any)

Save the changes and restart the phone.

For devices with HyperOS (the new shell from Xiaomi, which debuted in 2026), the path can look like this: Settings โ†’ Accounts and sync โ†’ MIUI โ†’ Advertising services.

Personalized recommendations disabled

Interest-based advertising is turned off

Notifications from MIUI Ads are disabled

Security cache cleared

-->

MIUI versionThe Way to Advertising SettingsEfficiency of the method
MIUI 12โ€“13Security โ†’ Settings โ†’ AdvertisingRemove ~60% of banners
MIUI 14Settings โ†’ Privacy โ†’ Advertising servicesRemove ~70% of banners
MIUI 15 / HyperOSSettings โ†’ Accounts โ†’ MIUI โ†’ AdvertisingRemove ~50% of banners (new restrictions)
POCO LauncherSettings โ†’ Additional โ†’ AdvertisingRemove ~40% of banners (depending on model)

On regional firmware devices (such as India or China), some options may be blocked, in which case switching to Europe or Russia via settings will help. SIM-map.

3.Using ADB to Deeply Disable Advertising

If system settings donโ€™t work, you can use Android Debug Bridge (ADB), a tool for debugging Android devices, which allows you to disable advertising services at the system level, but requires you to connect your phone to your computer.

Advantages of the method:

  • โœ… Remove Advertising in All System Applications.
  • โœ… Doesn't require root rights.
  • โœ… Works on MIUI 12-15 and HyperOS.

Disadvantages:

  • โš ๏ธ If used incorrectly, it can disrupt some functions.
  • โš ๏ธ After resetting the settings or updating the firmware, the procedure will have to be repeated.

Instructions:

  1. Download and install ADB Tools on your computer.
  2. Turn on Developer Mode on your phone: go to Settings โ†’ About Phone and click on MIUI Version 7 times.
  3. Return to Settings โ†’ Additional โ†’ For developers and activate โ€œDebugging by USBโ€.
  4. Connect the phone to your PC and type in the command line: adb shell pm uninstall --user 0 com.miui.systemAdSolution Then execute: adb shell pm uninstall --user 0 com.xiaomi.midrop

For MIUI 14+, an additional command may be required:

adb shell settings put global hidden_api_policy 1

This command unlocks the hidden APIs that Xiaomi uses to display ads.

๐Ÿ’ก

Before using ADB, back up your data via Settings โ†’ Additional โ†’ Backup and Reset. In rare cases, disabling system packages can lead to shell errors.

4. Install custom firmware (for advanced users)

The most radical way to get rid of advertising is to install custom firmware (for example, LineageOS, Pixel Experience or Xiaomi.EU), which is only suitable for advanced users, as it requires unlocking the bootloader and can be unwarranted.

The advantages of custom firmware:

  • ๐Ÿš€ Complete absence of advertising and bloatware (pre-installed applications).
  • ๐Ÿ”„ Regular security updates.
  • ๐Ÿ› ๏ธ Ability to fine-tune the interface.

Cons:

  • โš ๏ธ Loss of warranty (if the bootloader is unlocked).
  • โš ๏ธ Risk of "bricking" of the device when installed incorrectly.
  • โš ๏ธ Certain functions (e.g, IR-blaster NFC) They may not work properly.

Recommended firmware for Xiaomi:

FirmwareFeaturesSupport for devices
Xiaomi.EUOfficial MIUI without advertising and Chinese servicesMost of the Xiaomi/Redmi/POCO models
LineageOSClean Android without BloatwareLimited list (check out the official website)
Pixel ExperienceThe interface is like Google PixelPopular models (Redmi Note 10 Pro, POCO X3, etc.)

The process of installing custom firmware includes:

  1. Unlock the bootloader via Mi Unlock Tool (requires a Mi Account and wait 7-15 days).
  2. Install custom recovery (TWRP or OrangeFox)
  3. Flash (firmware) of the selected firmware through recovery.

โš ๏ธ Note: On devices with MediaTek processor (e.g. Redmi) 9A, POCO M3) Unlocking the bootloader may not be possible without official permission from Xiaomi. XDA Developers.

5. Blocking ads through the hosts file (without root)

Another effective way is to edit a hosts file that blocks access to ad servers, which doesn't require root rights, but instead requires ADBs or special applications like AdAway.

Instructions for non-rooted devices:

  1. Download the ready-made hosts file with ad blocking (select the hosts version without porn sites).
  2. Connect your phone to your PC and execute the command: adb push path to file/hosts /sdcard/
  3. Install the Hosts Go app from Google Play.
  4. In the app, select Import from SD Card and activate the new hosts file.

For rooted devices, it is easier to use AdAway:

  • ๐Ÿ“ฑ Install AdAway from F-Droid.
  • ๐Ÿ”„ Click "Download and apply" - the application will update the hosts file itself.
  • ๐Ÿ”ง In the settings, enable the option "System hosts" to block ads at the OS level.

On devices with MIUI 15 and HyperOS, Xiaomi has begun blocking editing hosts files without root, in which case only rooting or using an ad-blocking VPN (such as Blokada) will help.

6.Alternative methods: VPNs and third-party launchers

If the previous methods are not suitable, you can use VPN-services with advertising blocking or replace the standard launcher with an alternative.

VPN for blocking ads:

  • ๐Ÿ›ก๏ธ Blokada โ€“ Blocks Advertising at Level DNS, work-in.
  • ๐ŸŒ AdGuard VPN โ€” It has a built-in filter for advertising Xiaomi.
  • ๐Ÿ”’ 1.1.1.1 (Cloudflare) - free of charge DNS base-locked.

Third-party launchers:

  • ๐Ÿ  Nova Launcher โ€“ allows you to hide system widgets with advertising.
  • ๐ŸŽจ Lawnchair โ€“ lightweight launcher with Pixel themes support.
  • ๐Ÿ”„ POCO Launcher (not even on the-POCO Devices โ€“ has less built-in advertising.

When using a VPN, consider:

  • โœ… No changes to the system are required.
  • โš ๏ธ It can slow down the internet speed.
  • โš ๏ธ Some banners (such as Mi Browser) will still be displayed.

๐Ÿ’ก

VPNs and third-party launchers are the only methods that do not require any system intervention or warranty, but their effectiveness is lower than that of ADB or custom firmware.

7.What to do if the ad returns after the update?

After updating MIUI or resetting, some advertising services can be activated again.

  • ๐Ÿ”„ Repeat steps with ADB (section).
  • ๐Ÿ“ฑ Check the settings in Security โ†’ Advertising.
  • ๐Ÿ”ง Install the App Inspector app and check which packages (com.miui.*) have been updated.
  • ๐Ÿ›ก๏ธ Use Blokada or AdGuard to permanently lock.

If the ad appears in a specific app (such as Mi Browser or Mi Music), try:

  1. Clear the application cache in Settings โ†’ Applications.
  2. Disable notifications from this application.
  3. Install an alternative (e.g. Google Chrome instead of Mi Browser).

List of Xiaomi apps with built-in advertising
Mi Browser is banners at the bottom of the screen and pop-ups. Mi Music is ads between tracks. Mi Video is preview videos. Cleaner is offers to install other apps. Themes are banners in the Recommended section. Mi Community is promotional posts in the feed.

FAQ: Frequent questions about removing ads on Xiaomi

โ“ Can you remove ads on Xiaomi without rooting and ADB?
Yes, but not completely. With MIUI settings (section 1โ€“2), you can disable ~50โ€“70% of banners, and the rest will require ADB or third-party apps like Blokada.
โ“ Why the Advertising Returns After the Reset?
When reset, all system settings return to factory settings, including advertising services. To avoid this, before reset: Back up via Settings โ†’ Additional โ†’ Backup. Save a list of disabled packets (if you used ADB). After reset, repeat all the steps from this article.
โ“ Will Xiaomi.EU block advertising completely?
Xiaomi.EU firmware removes all built-in MIUI ads, but: Advertisements on Google Play and other Google services will remain. Some features (e.g. Mi Pay) may not work. Requires unlocking the bootloader. For 100% blocking, additionally use AdAway or Blokada.
โ“ How to remove ads in Mi Browser?
In the Mi Browser browser, you can turn off advertising as follows: Open the browser, click โ‹ฎ โ†’ "Settings. Go to Additional โ†’ Advertisements and disable all toggles. Clear the browser cache in Settings โ†’ Annexes โ†’ Mi Browser โ†’ Memory: If you still have ads, install an alternative browser (Chrome, Firefox) or use uBlock Origin in Kiwi Browser.
โ“ Is it legal to turn off ads on Xiaomi?
From a legal perspective: ๐Ÿ”น Disconnection through settings MIUI โ€” legally. ๐Ÿ”น Use of the ADB โ€” gray method (does not violate laws, but can be considered circumvention of restrictions). ๐Ÿ”น Installation of custom firmware - violates the warranty conditions, but is not a crime. ๐Ÿ”น Blocking through hosts or VPN โ€” Xiaomi does not block devices for disabling ads, but may limit functionality (for example, refuse updates) on unofficial firmware.