Why Xiaomi is showing ads in apps and can it be removed forever
Xiaomi, Redmi and POCO smartphones based on MIUI have long been known for their aggressive advertising policies, and even in standard applications β from Weather to Files β users encounter banners, pop-ups and βrecommendationsβ from partners, with ads appearing not only in China, but also in global firmware for the European and Russian markets.
The reason for this approach is rooted in Xiaomiβs business model: it makes money from the service ecosystem, not just selling devices. However, for users, it means constant distractions, slowing down the system and leaking personal data (ad SDKs often collect behavioral information). The good news is that most advertising can be turned off β both by regular MIUI tools, and through deep customization or third-party tools.
In this article, we will look at 7 proven ways, from simple (through the settings menu) to advanced (using ADB and modified firmware). Importantly, some methods require unlocking the bootloader or superuser rights, which can affect the warranty. Let's start with the safest options.
Method 1: Disabling personalized advertising in MIUI settings
The most obvious and safe method is to deactivate options associated with displaying ads in the MIUI menu, which will not remove ads completely, but will significantly reduce the amount of advertising, suitable for all modern versions of the shell (from MIUI 12 to MIUI 14).
Instructions:
- Open Settings β Google β Advertising.
- Activate the switch to Turn off personalized advertising.
- Return to the main settings menu and go to Settings β Applications β Application Management.
- Click on the three dots in the upper right corner and select Show System Processes.
- Find the MSA (msa) application (or Miui System Ads in global firmware), open it and click Disable.
These actions will block data collection for targeted ads and disable the main module of its display, but banners in some applications (for example, in Mi Video or Mi Browser) may remain.
π‘
If your firmware doesnβt have an MSA option, try looking for Analytic or MiuiDaemon β disabling them also helps reduce the amount of advertising.
Method 2: Manually disabling ads in each Xiaomi app
Many standard MIUI utilities have built-in settings for managing ads, and you have to set them up separately for each application, and here's a list of the most "advertising" services and how to clean them.
- π± Mi Browser: Go to Settings β Additionally. β Recommend and disable all switches.
- π΅ Mi Music: Deactivate App Settings Show recommendations and Online services.
- πΊ Mi Video: Open Settings β Recommend and remove check marks from all points.
- π File Manager: Turn off Recommendations and Cloud Services in settings.
- π¦οΈ Weather: Go to Settings β Notifications and Prohibit Advertising.
After this manipulation, the ads in these apps should disappear, but some banners (such as in Themes or Mi Community) may remain β they are removed only by radical methods.
What to do if there are no necessary items in the settings?
Method 3: Using ADB to Deeply Disable Advertising
If the system settings didnβt work, the next step is to disable advertising services via ADB (Android Debug Bridge), which does not require root rights, but you need to unlock the bootloader (on some models) and a computer with drivers installed.
Instructions:
- Turn on USB Debugging in Settings β About Phone β MIUI version (click 7 times to activate Developer Mode), then go back to Settings β Additional β For Developers.
- Connect the phone to the PC and confirm the debugging permission.
- Download ADB Tools and unpack the archive.
- Open the command line in the adb.exe folder and enter it one by one:
adb shell pm hide com.miui.systemAdSolution
adb shell pm hide com.xiaomi.midrop
adb shell pm hide com.miui.analytics
adb shell pm hide com.xiaomi.ab
adb shell settings put global captive_portal_detection_enabled 0These commands will disable the main ad modules, analytics and background connection checks. Once you do, reboot the device, and the effect will be noticeable immediately: banners in Settings, Themes and other system applications will disappear.
Install Xiaomi drivers on PC
Enable debugging over USB on your phone
Download ADB Tools from the official website
Connect your phone to the original cable
Start the command line on behalf of the administrator-->
Yeah, it helped 100%.
Yeah, but the effect was temporary.
No, I'm afraid to break something.
What is it? ADB?-->
Method 4: Installation of modified firmware without advertising
For the most determined users, there is a radical method of firmware, customized version of MIUI without advertising, and there are several projects that remove all advertising modules, analytics and unnecessary services from the official firmware.
- π οΈ MIUI Mix β Optimized version with remote Chinese services and advertising.
- π Xiaomi.eu β European build with advanced privacy settings.
- π§ Revanced MIUI β firmware with patches to block advertising at the system level.
The installation process requires an unlocked bootloader and knowledge of working with Fastboot or TWRP. Detailed instructions are available on the 4PDA or XDA Developers forums.
- There is no advertising in all applications.
- Improved performance (excess software removed).
- Regular updates from the community.
Cons: there may be bugs (especially in the first builds after the release of the new version of MIUI) and loss of warranty if the bootloader was unlocked unofficially.
π‘
Custom firmware is the only way to remove ads forever, but itβs only suitable for power users who are prepared for potential risks.
Method 5: Blocking Advertising via DNS or VPN
If you don't want to interfere with system files, you can block ad domains at the network level.
- Private DNS (Android 9+): Go to Settings. β Connections β Private DNS and enter the address dns.adguard.com or 1dot1dot1dot1.cloudflare-dns.com.
- VPN with ad blocking: apps like AdGuard VPN or Blokada filter traffic and remove banners even in system utilities.
- Hosts file: With the AdAway application (requires root), you can replace the hosts file and block Xiaomi advertising domains.
These methods work at the network level, so they block ads not only in MIUI, but also in third-party applications, but they will not help against built-in banners (for example, in Topics), as they are downloaded from local resources of the phone.
| Method | Root is required. | Efficiency | Cons |
|---|---|---|---|
| Private DNS | β No. | Medium | Do not block local advertising |
| VPN (AdGuard) | β No. | Tall. | Could slow down the internet |
| Hosts (AdAway) | β Yes. | Very high. | You need to update the domain database |
Method 6: Disabling Advertising via Xiaomi Cloud (for global firmware)
In global versions of MIUI (e.g., for Redmi Note 12 or POCO X5), some of the ads are managed via Xiaomi Cloud to disable:
- Go to Settings β Accounts β Mi Account.
- Open the Cloud Settings β Synchronization.
- Turn off sync for Ads and Recommendations (if any).
- Return to the main account settings and click Out (this will not delete data, but will reset personal ad settings).
After that, restart your phone. This method is particularly effective for banners in Settings and Control Center, but it doesn't work on all models -- Chinese firmware may not have ad sync options.
π‘
If the ads are gone after leaving your account, but you want to keep access to the cloud, go back to Mi Account, but do not enable synchronization of advertising data.
Method 7: Remove Advertising Applications via TWRP (for Advanced)
The most radical way is to physically remove ad modules from the system, which requires an unlocked bootloader and an installed custom recovery (TWRP) list of applications that can be safely removed (without affecting system stability):
com.miui.analytics
com.xiaomi.ab
com.miui.systemAdSolution
com.xiaomi.midrop
com.miui.msa.global
com.miui.player
com.xiaomi.gamecenter.sdk.serviceInstructions:
- Download. TWRP For example, for the Redmi Note. 11 will twrp-3.7.0_vayu.img).
- Load the phone to recovery mode (Power + Volume up).
- In TWRP, select Mount β System.
- Connect your phone to your PC and use ADB or file manager to remove the folders from /system/priv-app/ and /system/app/.
- Wipe your cache (Wipe β Cache) and restart.
π‘
Removing system applications can cause the phone to malfunction. Backup via TWRP before the procedure!
β οΈ Note: On some models (Xiaomi 13, Redmi) K60) Deleting com.miui.systemAdSolution may cause errors in the operation of Settings. In this case, restore the file from the backup.