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.
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).
- Tap the three-point menu (โฎ) top-right.
- Select Settings.
- Turn off the Recommendation slider (or Show ads in some firmware).
- 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:
- Connect your phone to your PC via USB (select File Transfer Mode).
- Open the command prompt (Win + R โ enter cmd) and go to the folder with ADB:
cd C:\platform-tools- Enter a command to check the connection:
adb devicesIf the device is displayed, do:
adb shell settings put global hide_ad 1This 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 0adb 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 name | What is responsible for? | Can I remove it? |
|---|---|---|
| com.miui.systemAdSolution | Systemic Advertising in MIUI | โ Yes. |
| com.xiaomi.midrop | Advertising in Mi Drop (file transfer) | โ Yes. |
| com.miui.analytics | Collection of statistics and banner displays | โ ๏ธ Could be disrupting work. MIUI |
| com.miui.bugreport | Error Reports (sometimes shown by advertisements) | โ No. |
| com.android.browser | Mi Browser with built-in advertising | โ Yes, if you use Chrome) |
To remove the packet, follow the command:
adb shell pm uninstall --user 0 Name PackageExample 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 packetMethod 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:
- Go to Settings. โ SIM-maps and mobile networks โ Private DNS.
- Select the hostname of the private DNS.
- 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?
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:
- Reset to factory settings: Settings โ About phone โ Reset. Attention: all data will be deleted!
- Flashing through Mi Flash Tool: download the official firmware for your model from the Xiaomi website and flash the phone in Fastboot mode.
- 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:
- Install Nova Launcher from Google Play.
- Press your finger on your desktop โ Launcher settings โ Apps and widgets โ Hide applications.
- Check Security, Mi Browser, Cleaner and other advertising sources.
You can also disable notifications from advertising applications:
- Go to Settings โ Applications โ Application Management.
- Find Security, Mi Browser, Cleaner, etc.
- 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.