Xiaomi smartphone owners are regularly faced with a problem: banner ads suddenly appear on top of all open applications, blocking the screen and interfering with work. It is not just an annoying bug, this is how the monetization of the MIUI brand shell works, which shows ads even in the system menus. But the good news is that most of these pop-ups can be disposed of without root rights or complex manipulation.
In this article, we will look at all the working methods, from disabling ads in MIUI settings to using third-party tools like ADB or alternative launchers. It is important to understand that some methods may differ depending on the firmware version (for example, MIUI 12 vs MIUI 14) and regional build (global, Chinese, European).
If you're tired of banners that pop up when you unlock the screen, in the settings menu, or even during games, read on. Spoiler: The most radical solutions (like completely removing system applications) require unlocking the bootloader and may be unwarranted. But first, let's try the safe options.
Why does Xiaomi have ads on top of all windows?
Pop-up ads in MIUI are not a virus or a system failure, but a conscious strategy of the company. Xiaomi monetizes its firmware through integrated advertising modules that are loaded through system applications:
- ๐ฑ Launcher (MIUI Home) โ is responsible for the desktop and the application menu, and it is he who most often shows banners when swiping down or unlocking.
- ๐ Security โ the application scans the system and simultaneously displays ads in notifications.
- ๐ Mi Browser, Mi Video, Mi Music โ branded applications with built-in ad units.
- ๐ Cleaner โ A memory freeing utility that often shows promo content.
The thing about MIUI is that it can even appear in places where it's not logically supposed to be.
- ๐ When unlocking the screen (the banner covers the pin code or print).
- โ๏ธ Settings menu โ Accounts or Settings โ Connections.
- ๐ฎ While playing games or watching videos (pop-up with a suggestion to install the application).
- ๐ฑ On the lock screen (advertising over time and notifications).
Important: Chinese versions of MIUI typically have more ads than global or European builds, and if you bought a phone in China or stitched it with Chinese firmware, the problem may be more acute.
Method 1: Disabling Advertising in MIUI Settings (without root)
The easiest and safest method is to deactivate the ad units through system settings, which works on most models (Redmi Note 10/11/12, POCO X3/X4/X5, Mi 11/12/13), but may vary depending on the version of MIUI.
Follow the instructions:
- Open the Settings. โ Xiaomi Account (or Mi Account).
- Go to Account Settings โ Advertising (or Personalized Ad Recommendations).
- Turn off Personalized Advertising (or Recommendations) slider.
- Go back to the main Settings menu and select About Phone.
- Tap the MIUI version several times until the message โYou are a developer!โ appears.
- Return to Settings โ Additional settings and select Developer.
- Find the option to Turn off MIUI ads (or Turn off MIUI ads) and activate it.
If you don't have a "Disable MIUI Advertising" option, your firmware version doesn't support this option, so move on to the next one.
โ๏ธ Preparing for the Advertising Disconnection
โ ๏ธ Note: On some models (POCO F3, Redmi K40) After disabling personalized advertising, banners may disappear not immediately, but after 1-2 reboots. If the ad remains, clear the Launcher cache (Settings) โ Annexes โ Application management โ Launcher โ Clear the cache).
Method 2: Block ads via ADB (without root but with PC)
If system settings donโt work, the next step is to use Android Debug Bridge (ADB). This method does not require superuser rights, but requires a computer and a computer. USB-The idea is to disable permissions for system applications that display ads.
Step-by-step:
- Download and install ADB Tools on your PC (Windows, macOS or Linux).
- On your phone, activate USB Debugging (Settings โ About Phone โ MIUI Version โ 7 taps โ For developers โ USB Debugging).
- Connect the phone to the PC and confirm the debugging permission.
- Open the command prompt (or Terminal) in the adb.exe folder and type:
adb shell pm hide com.miui.systemAdSolutionIf the team doesnโt work, try an alternative:
adb shell pm disable-user --user 0 com.miui.systemAdSolutionThen, execute commands to disable ads in other system applications:
adb shell pm hide com.xiaomi.midrop
adb shell pm hide com.miui.analytics
adb shell pm hide com.miui.cloudservice
adb shell pm hide com.miui.cloudbackup
adb shell pm hide com.miui.yellowpageOnce you've done the commands, restart your phone. The ads should disappear.
What if the ADB canโt see the device?
โ ๏ธ Attention: MIUI 14 and later, the pm hide command may not work - use pm disable-user. Also note that after resetting the phone to factory settings, all changes through the ADB They will fly and the procedure will have to be repeated.
Method 3: Use of an alternative launcher
If the ads appear primarily on the desktop or in the app menu, the radical solution is to install a third-party launcher, which will not remove the ads from system applications (for example, from Security or Cleanup), but will eliminate banners when swiping and unlocking.
The best options for Xiaomi:
- ๐ Nova Launcher is flexible, no advertising, gesture support. POCO redmi.
- ๐จ Lawnchair โ open source launcher, imitates Pixel Launcher, but without advertising.
- โก Hyperion Launcher โ Optimized for performance, blocks system pop-ups.
- ๐ง Smart Launcher 6 โ automatically sorts apps and doesnโt show banners.
How to install and configure:
- Download the launcher from Google Play.
- When you first start, select it as the default launcher.
- In the launcher settings, disable all options related to recommendations and news (for example, in Nova Launcher it is Nova Settings โ Desktop โ Disable Google Discover).
- Remove or hide MIUI widgets that may show ads (such as a weather or calendar widget).
The downside is that some MIUI features (like Dual App or Game Mode) may become less accessible, and system advertising in Settings or Security will remain.
๐ก
If after installing an alternative launcher, some system applications (such as Camera or Gallery) stopped opening, go back to Settings โ Applications โ By default and reset the launcher settings to standard.
Method 4: Remove system applications (requires unlocking the bootloader)
This is the most radical method, which is guaranteed to remove advertising, but has serious consequences:
- ๐ Requires unlocking the bootloader (will result in a phone reset and loss of warranty).
- ๐ ๏ธ Need root rights (for example, through Magisk).
- โ ๏ธ The risk of โbrickingโ the phone with incorrect actions.
If you are ready for this, follow the instructions:
- Unlock the bootloader through the official Mi Unlock Tool (instructions on the Xiaomi website).
- Install Custom Recavers (TWRP) and get root through Magisk.
- Download Titanium Backup or SD Maid to remove system APKs.
- Remove the following apps (return the following first!):
| Title of the annex | Package (APK) | What is responsible for? |
|---|---|---|
| MIUI System Ads | com.miui.systemAdSolution | The main module of advertising display |
| Mi Browser | com.android.browser | Browser with built-in advertising |
| Cleaner | com.miui.cleanmaster | Cleaning utility with banners |
| Mi Video | com.miui.videoplayer | Video player with ads |
| Analytics | com.miui.analytics | Collection of statistics and display of targeted advertising |
After deleting, restart your phone. Ads should disappear completely, but some features (such as themes or cloud backup) may not work properly.
โ ๏ธ Note: Removal of system applications may result in inability to obtain OTA-To return the ability to update "over the air", before deleting, back up the deleted APK (For example, use Titanium Backup and restore them before upgrading.
Method 5: Blocking Advertising via DNS or VPN
If previous methods have not helped or seem too complicated, you can block Xiaomi ad servers at the network level.
- ๐ Private DNS (Android tuning).
- ๐ VPN Ad-blocking (e.g. AdGuard) VPN or Blokada).
- ๐ก Locked router DNS (Like a Pi-hole).
Instructions for Private DNS:
- Open Settings โ Connections โ Private DNS
- Select the host name of the Private DNS provider.
- Enter one of the addresses:
dns.adguard.com
one.one.one.one
dns.googleTo block via VPN:
- Download AdGuard VPN or Blokada from Google Play.
- Enable the option of blocking advertising in the application settings.
- Activate. VPN-linkage.
This method blocks not only Xiaomi ads, but also third-party banners in apps and the browser.
๐ก
DNS/VPN locking is the only method that works even after the phone is reset to factory settings, as it does not affect system files.
What to do if the advertisement remains?
If none of the methods worked, check the following:
- Update your firmware. Newer versions of MIUI (like MIUI 14 or HyperOS) may have less advertising. Check for updates in Settings โ About Phone โ System Update.
- Check regional firmware. There are more ads on Chinese versions -- if you have one, consider reflashing to a global or European version.
- Remove suspicious apps. Sometimes, ads are caused by viruses. Scan your phone through Malwarebytes or Dr.Web.
- Reset. The last option is Settings โ Additional โ Restore and Reset โ Reset. This will delete all data, but return the system to a "clean" state without advertising.
If the problem persists, maybe the ads are not shown by the system, but by a specific application, to figure out who is responsible:
- Start Settings โ Applications โ Application Management.
- Sort the applications by the date of last use.
- Check if the ads appear after opening a specific APK.