How to permanently remove full-screen advertising on Xiaomi smartphones: a step-by-step guide

You open the Xiaomi Redmi Note 12 or POCO X5 Pro to check the notifications โ€” and suddenly the whole screen is filled with a bright banner offering to install the game or buy a discounted item. Close it, but after 10 minutes the ad appears again. Familiar situation? Owners of Xiaomi smartphones based on MIUI often face aggressive advertising that not only annoys, but also prevents the use of the device. In this article, we will examine why this happens and how to turn off full-screen advertising once and for all, from standard methods to advanced tricks with ADB.

The problem lies in Xiaomiโ€™s monetization policy, where it integrates ad modules into system applications (Security, Mi Browser, Themes) and even settings menus. In some regions (such as India or China), there are more ads than in European firmware. But the good news is that most banners can be turned off without root rights.

Why Xiaomi is getting full-screen ads

There are three types of pop-up ads on Xiaomi, and each has its own โ€œrootsโ€:

  • ๐Ÿ” Systemic advertising MIUI: It's embedded in firmware and it shows up in the settings menu, the notification center, or the lock screen.
  • ๐Ÿ“ฑ Third-party ads: banners from Google AdMob or other networks that show games, social networks, and even some system utilities (for example, Mi Browser).
  • ๐Ÿฆ  Malware: If the ad appears even after resetting, the fault is the application installed bypassing Google Play (often masquerading as โ€œoptimizersโ€ or โ€œlaunchersยป).

The most insidious option is an ad in the Security app, which has administrator rights and can display banners on top of other windows, such as after scanning the device for viruses or cleaning up garbage, and in some versions of MIUI 13/14, you can't turn off this ad through the interface, you need to edit the configuration files.

Another nuance: the budget models (Redmi 10A, POCO M4 Pro) have more advertising than the flagships (Xiaomi 13 Ultra), which is because Xiaomi compensates for the low price of the device by displaying banners, and there are fewer ads in firmware for Europe (EEA) than in the global or Chinese versions.

๐Ÿ“Š What kind of Xiaomi model do you have?
Redmi (Note/A/Prime series)
POCO (F/X/M)
Xiaomi (digital series)
Black Shark
other

Method 1: Disabling Advertising in MIUI Settings

Letโ€™s start with the simplest, the standard MIUI options, which in most cases is enough to remove 70-80% of banners.

Go to Settings โ†’ Memory โ†’ Cleanup (or Security โ†’ Cleaner in older versions).

  1. Tap the three-point menu (โ‹ฎ) top-right.
  2. Select Settings.
  3. Turn off the Recommendation slider (or Show ads in some firmware).
  4. Go back and check if the banners are still in the Security section.

Next, close all system applications that may display ads:

  • ๐ŸŒ Mi Browser: Settings โ†’ Additionally. โ†’ Advertising and recommendations โ†’ Turn off all sliders.
  • ๐ŸŽต Mi Music or Mi Video: Settings โ†’ Recommendations โ†’ Take the boxes off the personalized ads.
  • ๐Ÿ“ฑ Themes (Subjects): Profile โ†’ Settings โ†’ Recommendations โ†’ Turn off the ads.

If after these actions, the advertisement continues to pop up, move on to the next method.

Disable recommendations in Security|Close ads in Mi Browser|Check your Mi Video/Mi Music |Switch off banners in Themes|Reboot your phone-->

Method 2: Use of โ€œAdvertlessโ€ mode (for EEA firmware)

In European firmware (MIUI EEA), there is a hidden Ad-Free Mode feature that blocks system advertising, which can be activated via ADB (Android Debug Bridge), which works on Xiaomi, Redmi and POCO with MIUI 12-14.

You'll need:

  • ๐Ÿ–ฅ๏ธ Computer with installed Xiaomi drivers (download from the official website).
  • ๐Ÿ“ฑ Included debugging by USB on the phone (Settings) โ†’ The phone. โ†’ Version. MIUI โ†’ tap 7 times on the build number, then return to the Additional settings โ†’ For developers โ†’ Debugging by USB).
  • ๐Ÿ”ง Utility. ADB (download).

Instructions:

  1. Connect your phone to your PC via USB (select File Transfer Mode).
  2. Open the command prompt (Win + R โ†’ enter cmd) and go to the folder with ADB:
cd C:\platform-tools
  1. Enter a command to check the connection:
adb devices

If the device is displayed, do:

adb shell settings put global hide_ad 1

This command permanently disables system ads in MIUI, but does not affect banners in third-party applications. Once executed, restart your phone. To return ads (if something goes wrong), use:

adb shell settings put global hide_ad 0

adb shell pm disable-user --user 0 com.miui.systemAdSolution

This will disable the service responsible for displaying banners in MIUI 13/14.-->

Method 3: Remove Advertising Packages via ADB

If the previous method didn't work, you can manually remove the apps responsible for displaying ads. This is a more radical way, but it eliminates banners by 100%.

List of "advertising" packages in MIUI:

Package nameWhat is responsible for?Can I remove it?
com.miui.systemAdSolutionSystemic Advertising in MIUIโœ… Yes.
com.xiaomi.midropAdvertising in Mi Drop (file transfer)โœ… Yes.
com.miui.analyticsCollection of statistics and banner displaysโš ๏ธ Could be disrupting work. MIUI
com.miui.bugreportError Reports (sometimes shown by advertisements)โŒ No.
com.android.browserMi Browser with built-in advertisingโœ… Yes, if you use Chrome)

To remove the packet, follow the command:

adb shell pm uninstall --user 0 Name Package

Example for removing system advertising:

adb shell pm uninstall --user 0 com.miui.systemAdSolution

โš ๏ธ Note: Do not remove packets marked โŒ โ€” This can lead to errors in the work. MIUI. Before deleting, make a backup copy of the data!

If after removing the packets, the phone began to slow down or errors emerge, restore them with the command:

adb shell cmd package install-existing name packet

Method 4: Blocking Advertising via DNS or VPN

If you see ads in your browser or apps, you can block them at the network level.

  • ๐ŸŒ Private DNS: change the settings DNS on dns.adguard.com or 1.1.1.3 (Cloudflare with ad blocking). โ†’ Connections โ†’ Private DNS.
  • ๐Ÿ”’ VPN Ad-blocking: for example, AdGuard VPN Blokada (available on Google Play).
  • ๐Ÿ›ก๏ธ Third-party blockers: AdAway (requires root rights) or DNS66 (work-in).

To configure Private DNS:

  1. Go to Settings. โ†’ SIM-maps and mobile networks โ†’ Private DNS.
  2. Select the hostname of the private DNS.
  3. Enter dns.adguard.com and save.

This method blocks ads in the browser and some applications, but does not affect MIUI system banners.

How to check if the DNS lock is working?
Open your browser and go to dnsleaktest.com, and if you see AdGuard or Cloudflare in the results, you're set up correctly.

Method 5: Resetting settings or flashing

If the advertisement appears even after all the manipulations, it may be the fault:

  • ๐Ÿฆ  Malware installed from unverified sources.
  • ๐Ÿ“ฆ Damaged firmware (especially if the phone was bought with hands).
  • ๐Ÿ”„ Residual files after updating MIUI.

In this case, it will help:

  1. Reset to factory settings: Settings โ†’ About phone โ†’ Reset. Attention: all data will be deleted!
  2. Flashing through Mi Flash Tool: download the official firmware for your model from the Xiaomi website and flash the phone in Fastboot mode.
  3. Installing custom firmware (like LineageOS or Pixel Experience) is a radical method, but it completely removes ads and improves performance.

โš ๏ธ Note: Flashing through the Mi Flash Tool erases all data and can lead to brick if the wrong firmware version is selected. Use this method only if you are confident in your actions!

If you decide on a custom firmware, we recommend:

  • ๐Ÿ”ง First, unlock the bootloader through the official Xiaomi tool.
  • ๐Ÿ“ฅ Download the firmware from a verified source (for example, XDA Developers).
  • โš™๏ธ Use it. TWRP fitting.

Method 6: Alternative launchers and workarounds

If nothing works, you can simply hide the ad by replacing the standard MIUI launcher with a third-party one.

  • ๐Ÿ  Nova Launcher โ€“ allows you to hide system applications and disable notifications from them.
  • ๐ŸŒˆ Lawnchair โ€“ lightweight launcher with gesture support and no advertising.
  • ๐Ÿ” Microsoft Launcher โ€“ blocks pop-ups from system applications.

To hide advertising applications:

  1. Install Nova Launcher from Google Play.
  2. Press your finger on your desktop โ†’ Launcher settings โ†’ Apps and widgets โ†’ Hide applications.
  3. Check Security, Mi Browser, Cleaner and other advertising sources.

You can also disable notifications from advertising applications:

  1. Go to Settings โ†’ Applications โ†’ Application Management.
  2. Find Security, Mi Browser, Cleaner, etc.
  3. Slip notifications โ†’ turn off all sliders.

This will not eliminate the advertising completely, but it will make it less intrusive.

๐Ÿ’ก

Replacing the launcher is the safest way to hide the ad, but it doesn't remove the source. To solve the problem, combine this method with disabling the system banners through ADB.

FAQ: Frequent questions about advertising on Xiaomi

โ“ Why After Updating MIUI Advertising has increased?
Xiaomi regularly adds new ad modules in updates. For example, MIUI 14 has banners in the Settings โ†’ Accounts menu. To avoid this, turn off automatic firmware updates or install only stable versions from forums (for example, xiaomi.eu).
โ“ Can you remove advertising without ADB and root-right?
Yeah, but not completely. MIUI you're off. ~70% of banners, but system notifications (e.g. from Security) will remain. ADB root.
โ“ Why After Removing Packets Through ADB commercials are back?
Some system applications (com.miui.analytics, com.miui.systemAdSolution) are restored after the MIUI update. To avoid this, block them using the App Quarantine (requires a root) or regularly check the package list through adb shell pm list packages.
โ“ How to Check Which App Shows Ads?
Install App Inspector from Google Play. When the banner appears, open the App Inspector and tap the pop-up window to show which app triggered it. Alternative: turn on Developer Mode and Settings โ†’ For developers โ†’ Activity Monitor, see which app is active when the ad is shown.
โ“Legally disable advertising on Xiaomi?
Yes, this does not violate the user agreement. Xiaomi provides the ability to disable personalized advertising in settings, and removing system packages through ADB is a legal method for power users. However, changing the firmware (for example, installing custom MIUI) can take away the warranty.