How to permanently disable ads on Xiaomi: the full guide

Advertising in Xiaomi smartphones is one of the most annoying features of MIUI firmware. Banners in settings, pop-up notifications about โ€œrecommended applicationsโ€, advertising blocks in standard utilities (for example, in the Browser or Music) can spoil the impression even of the flagship models of Redmi, POCO or Black Shark. The good news is that most ad modules can be turned off without root rights โ€“ just know where to look for the right switches.

In this article, weโ€™ll look at 5 proven ways to block ads, from standard MIUI settings to advanced methods using ADB and alternative DNS. All instructions are relevant for MIUI 12-14 firmware (including global and Chinese versions) and work on models from 2020-2026. If youโ€™re tired of intrusive banners in Topics, Security or Mi Video, this guide will help clean the interface once and for all.

Xiaomi has openly stated that MIUI advertising is part of a business model to keep device prices low, and according to the company, up to 30 percent of revenue comes from targeted ads on branded services, which means that:

  • ๐Ÿ“ฑ Global firmware (EEA, Global has fewer ads than Chinese (China) ROM), But she still has it.
  • ๐Ÿ”„ Advertising modules are updated through Xiaomi servers, so even after resetting the settings, banners can return.
  • ๐Ÿ“Š Some of the ads are personalized: the system analyzes your actions (for example, frequent use of the Camera can lead to banners with offers of photo applications).

From a legal point of view, Xiaomi does not violate the laws: when you first turn on your smartphone, the user agrees to the Privacy Policy, which mentions โ€œpersonalized recommendations.โ€ However, in the European Union (EEA), there are more stringent rules: here you can turn off advertising completely through the Settings menu โ†’ Password and Security โ†’ Authorization and Review โ†’ Personalized recommendations.

โš ๏ธ Note: On Chinese firmware (China) ROM) Some of the ad modules are locked at the system level. ADB or file modifications may result in a Mi Account being blocked or a device being reset. DNS-filtration (section 4).

Method 1: Disabling Advertising in Standard MIUI Settings

The easiest method is to deactivate ad modules through the settings menu, which is suitable for 90% of users and does not require technical knowledge, and important, the paths to settings may vary slightly depending on the version of MIUI and the firmware region.

Follow this algorithm:

  1. Open Settings โ†’ About your phone and tap 7 times on the line version of MIUI to activate the Developer Mode.
  2. Return to the main settings menu and go to Additional โ†’ Special Features โ†’ Advertising Services (on some models, the path: Settings โ†’ Password and Security โ†’ Authorization and Review โ†’ Personalized Recommendations).
  3. Turn off all switches related to advertising: ๐Ÿ”˜ Show recommendations ๐Ÿ”˜ Personalized announcements ๐Ÿ”˜ Advertising identification (if any)

Reset the device.

After this action, most of the banners in:

  • ๐Ÿ“ File Manager (Installation "Recommended")
  • ๐ŸŽต Music and Video
  • โš™๏ธ Settings (section "Recommendations")

There are no banners in "Themes"|No notifications from "Mi Browser"|The "Security" recommendations have disappeared"|Disappeared advertising blocks in the "Calendar"-->

If the ads are left in separate apps (for example, Mi Browser or Mi Video), go to the next method.

Method 2: Manually disabling ads in each application

Some standard Xiaomi utilities (e.g. Browser, Music, Video) have their own advertising modules that do not turn off through general settings.

Here is a list of ads and how to remove them:

AnnexThe path to settingsWhat to turn off
Mi Browserโ‹ฎ โ†’ Settings โ†’ Additionally. โ†’ Advertising preferences๐Ÿ”˜ Personalized recommendations๐Ÿ”˜ Showing the news on the main
Mi Videoโ‹ฎ โ†’ Settings โ†’ Recommendations๐Ÿ”˜ Showing Recommended Content๐Ÿ”˜ Promotional notices
TopicsProfile โ†’ โš™๏ธ โ†’ Settings โ†’ Advertising preferences๐Ÿ”˜ Personalized themes๐Ÿ”˜ Showing ads
Securityโš™๏ธ โ†’ Settings โ†’ Promotional notices๐Ÿ”˜ Optimization recommendations๐Ÿ”˜ Notifications of new functions
Calendarโ‹ฎ โ†’ Settings โ†’ Notifications๐Ÿ”˜ Holidays and Events (disables sponsored content)

There are no ads for Notes and Calculator apps, but Mi Browser and Mi Video may still have banners from third-party services (e.g. Google AdSense) that require blocking. DNS-filters (method 4) or ADB (3-way).

๐Ÿ’ก

If there is still advertising in Mi Browser, try changing the default search engine to DuckDuckGo or Startpage โ€“ they donโ€™t show targeted ads.

Method 3: Disabling Advertising through ADB (for Advanced Advertising)

If standard methods fail, you can block system-level ad packages using Android Debug Bridge (ADB), which requires connecting your smartphone to your PC and basic command line knowledge, but gives 100% results โ€“ ads disappear forever, even after updates.

Step-by-step:

  1. Download and install ADB Tools on PC (Windows/Linux/Mac).
  2. On your smartphone, activate USB Debugging: Go to Settings โ†’ About Phone โ†’ MIUI Version (tap 7 times). Go back to Settings โ†’ Additional โ†’ For Developers. Enable USB Debugging and confirm permission.
adb devices

(A device with a serial number must appear).

adb shell pm hide com.miui.systemAdSolution


adb shell pm hide com.xiaomi.midrop




adb shell pm hide com.android.browser




adb shell settings put global captive_portal_detection_enabled 0

Reset the device.

These teams:

  • ๐Ÿšซ Block the system module of advertising com.miui.systemAdSolution.
  • ๐Ÿšซ Disable ads in Mi Browser and Mi Drop.
  • ๐Ÿšซ Stop checking the โ€œprisoner portalโ€ (which sometimes shows ads when connecting to Wi-Fi).

โš ๏ธ Attention: On some firmware (MIUI 14 China) pm hide may not work. In this case, use the alternative: adb shell pm uninstall -k --user 0 But remember: this will only remove the package for the current user, not completely from the device.

What if the ADB canโ€™t see the device?
Make sure you have drivers installed for your Xiaomi model (you can download it from the official website). If you are using Windows, try running ADB on behalf of the administrator. Also check that the developer settings have enabled USB Debugging (security options) and have selected Allow Always from that computer.

Method 4: Blocking Advertising via DNS (without root)

If you don't want to mess with ADB, Alternative method: redirecting advertising requests to โ€œempty" DNS-It works at the network level and blocks banners in all applications, including Mi Browser, Facebook and even in games.

The most effective DNS for blocking ads:

DNS-serverIPv4IPv6Features
AdGuard DNS176.103.130.1302a00:b580:bad::ad:guardBlocking Ads + Tracking
NextDNS45.90.28.1672a07:a8c0::45:9028:167Customizable filters
Cloudflare Family1.1.1.32606:4700:4700::1113Blocking Adult Content + Advertising

How to set up:

  1. Go to Settings โ†’ Wi-Fi (or Mobile Network โ†’ Access Point).
  2. Tap on the current network โ†’ Change the network โ†’ Additional โ†’ IP settings.
  3. Select Static and enter the selected DNS in the DNS 1 and DNS 2 fields.
  4. Save and reconnect to the network.

To check the health, use the DNS Leak Test service. If the results show the DNS you selected, the setup was successful.

AdGuard DNS|NextDNS|Cloudflare|My version |Do not use-->

Method 5: Installation of alternative firmware (for experienced)

If none of these methods worked, the radical solution is to reflash the device on custom firmware without advertising.

  • ๐Ÿ“ฑ LineageOS โ€“ โ€œcleanโ€ Android without unnecessary modules.
  • ๐Ÿ“ฑ Pixel Experience โ€“ firmware with Google Pixel interface.
  • ๐Ÿ“ฑ Xiaomi.eu โ€“ modified MIUI Advertising free (only for unlocked bootloader).

Warnings before firmware:

  • โš ๏ธ The warranty on the device will be cancelled.
  • โš ๏ธ Risk of โ€œbrickingโ€ (turning into a โ€œbrickโ€) when making mistakes.
  • โš ๏ธ Certain functions (e.g, NFC or IR-blaster) may not work properly.

If you decide to do this, follow the official instructions on the forums:

  • XDA Developers (for LineageOS/Pixel Experience)
  • Xiaomi.eu (for Xiaomi.eu firmware).

๐Ÿ’ก

Xiaomi.eu is the only way to completely remove ads on Chinese versions of smartphones (such as the Redmi Note 12 Pro+ 5G China), where standard methods do not work.

What if the advertisements returned after the update?

After the MIUI update, some advertising modules may be activated again to avoid this:

  1. Before updating, back up your settings through Settings โ†’ System โ†’ Backup.
  2. After the update, re-execute steps from Method 1 and 2 (check the ad settings in each application).
  3. If you use ADB, re-enter commands to block packets.
  4. For DNS-Filtering set up static DNS on the router - this will eliminate the need to reconfigure each gadget.

The Chinese firmware (China ROM) may be notified of a โ€œviolation of MIUI policyโ€ after the update.

  • Ignore the notification โ€“ it will disappear in 1-2 days.
  • Donโ€™t click Fix or Restore, it will bring back the ad.

FAQ: Frequent questions about ad blocking on Xiaomi

โ“ Can I turn off advertising without root rights?
Yes, most ad modules are blocked through standard settings (Method 1) or ADB (Method 3). Root is only required to manually remove system packages, but it is risky and not recommended.
โ“ Why did you turn off the ads in the settings, she stayed in Mi Browser?
Mi Browser uses separate advertising mechanisms to remove banners: Open your browser โ†’ โ‹ฎ โ†’ Settings โ†’ Optional. Turn off Personalized Recommendations and News on the main. Install the uBlock Origin extension (available in Settings) โ†’ Additionally. โ†’ Expansion).
โ“ Will the ad blocker work on POCO?
Yes, all the techniques in this article apply to POCO smartphones (e.g., POCO X6 Pro or POCO F5), as they run on MIUI for POCO. Except for the POCO Launcher firmware models, where the path to ad settings may differ: Settings โ†’ POCO Launcher โ†’ Advertising Preferences.
โ“ Can you block ads in games (e.g. Genshin Impact)?
Advertising in games (banners, videos between levels) is blocked only through the DNS-Filters (Method 4) or specialized applications like Blokada, and system methods (Method 1-3) do not affect it, since the ads are downloaded from the game's servers, not Xiaomi.
โ“ Is it legal to turn off ads on Xiaomi?
Yes, disabling ads through settings or ADB does not violate the user agreement. Xiaomi provides such options in the interface (for example, in Personalized Recommendations).However, modification of system files (for example, removing packets through root) can be considered a violation of warranty terms.