Advertising on Xiaomi smartphones is one of the most annoying features of MIUI firmware, which the manufacturer has integrated into the system at the kernel level. Even after buying premium models like the Mi 13 Ultra or Redmi K60 Pro, users are faced with banners in the settings menu, notifications from msa (Mobile Services Analytics) and ad units in standard applications, and the problem is exacerbated after each major update of MIUI, advertising mechanisms become more aggressive, and methods of disabling them require more and more deep intervention.
In this article, we will analyze all the current ways to clean Xiaomi from advertising β from basic settings to advanced methods using the use of advertising. ADB It is important to understand that some methods can lead to loss of warranty or unstable operation of the device, so we will describe in detail the risks and alternatives. MIUI 14/15 (Android 13/14) and adapted for models 2020β2026 year-end.
1. Basic settings: disable ads without root
To start with, the safest methods that donβt require superuser rights or PC connectivity are suitable for most Redmi Note 12, Poco X5, and other modern hardware on standard firmware.
The first step is to deactivate personalized ads in your Mi Account settings. Go to: Settings β Xiaomi Account β Mi Advertising and disable the Personalized Recommendations slider. This will reduce the number of targeted banners, but it wonβt eliminate them completely.
- π§ Disabling advertising in MIUI: Settings β The phone. β Version. MIUI (Tap 7 times to unlock Additional Settings, then go back to Settings β Special facilities β Additional settings β Show ads and deactivate all sliders).
- π± Cleaning the cache of advertising services: Go to Settings β Annexes β Application management β Three dots (menu) β Find msa (Mobile Services Analytics), MiuiDaemon and AnalyticsCore, clear the cache and data.
- π« Blocking notifications: C Settings β Notifications β Disable notifications from Mi Video, Mi Browser, Cleaner and Themes.
These actions will reduce the amount of ads by 40 to 60 percent, but they won't remove them completely, like Security banners or Themes banners, and they will require more radical measures to remove them.
2. ADB-Teams: Deep Shutdown of Advertising Services
If the basic settings didnβt work, the next step is to use Android Debug Bridge (ADB), a method that doesnβt require root rights, but requires connecting the smartphone to a computer, and has the advantage of blocking ads at the system application level, including msa and MiuiDaemon.
First, enable USB debugging: Settings β About Phone β MIUI version (tap 7 times until the developer mode notification appears). Then go back to Settings β Additional β Developer and activate USB Debugging.
Install. ADB-drivers on PC, connect the phone and execute in the command line:
adb devices
adb shell pm hide com.miui.analytics
adb shell pm hide com.xiaomi.ab
adb shell pm hide com.miui.systemAdSolution
adb shell pm hide com.miui.msa.global- βοΈ What Teams Do: Hide System Applications That Collect Analytics and Show Ads.
- β οΈ Restriction: After rebooting or updating MIUI Some of the services may be activated again.
- π Solution: Create a.bat file with these commands and run it after each update.
Install ADB-PC drivers
Enable debugging over USB on your phone
Connect your phone over cable (not Wi-Fi!)
Check the connection with the adb device team
Make a backup copy of the data-->
For models on MIUI 14+ (for example, Xiaomi 13T or Redmi Note 12 Pro+) you may need an additional command:
adb shell settings put global hidden_api_policy 1It unlocks hidden APIs that Xiaomi restricts in new firmware versions.
3. Root access: complete removal of advertising modules
If you're willing to take drastic measures, getting root rights will remove the ad modules permanently, a method that is suitable for power users because it carries risks:
- β οΈ Loss of warranty (if the device is under warranty).
- β οΈ Risk of "Brike" (inability) in case of an error.
- β οΈ Disruption of certain features (for example, Mi Pay or Face Unlock).
To get root, use Magisk (recommended version - 26.4+).
- Remove the following packages via Magisk or Root Explorer: com.miui.analytics β analytics collection. com.xiaomi.ab β advertising SDK. com.miui.systemAdSolution β system banners. com.miui.msa.global β the main advertising service. com.android.browser β if you use Mi Browser.
/system/build.prop
ro.miui.has_real_blur=1
ro.miui.has_handy_mode_sf=1
ro.config.nocheckin=1This will disable update checks and some analytics.
For dynamic partition models (e.g. Poco F5 or Redmi K50) do the following before removing packets:
su
mount -o rw,remount /system
mount -o rw,remount /vendorWhat happens if you remove the system application?
4. Alternative firmware: MIUI without advertising
If standard methods don't work, consider installing custom firmware. There are several options:
| Firmware | Features | Support for models | Risks. |
|---|---|---|---|
| MIUI EU | Official European version without ads, weekly updates | Most of the Xiaomi/Poco/Redmi models | No Russian in some versions, possible bugs with NFC |
| Xiaomi.eu (unofficial) | Maximum clean MIUI, optimized performance | All models except the newest (delayed porting) | Loss of loss OTA-Updates, there may be problems with Widevine L1 |
| LineageOS | Pure Android without MIUI, high stability | Limited list (mostly flagships) | No branded features (e.g. Always-on Display) |
| Pixel Experience | Android with Google Pixel chips, no ads | Popular models (Redmi Note 10, Poco X3, etc.) | No support for some camera modules |
For custom firmware installation:
- Unlock the bootloader through the Mi Unlock Tool (requires an account to be linked to the device and wait 7-30 days).
- Install TWRP or OrangeFox Recovery for your model.
- Sweep through the firmware through recovery, then Magisk (if root is needed).
π‘
Even after cleaning standard apps, ads can come back after updates. Solution: disable automatic updates for system apps in Google Play β Settings β Auto-Update apps β Do not update automatically.
7. Additional measures: protection against reappearance of advertising
To prevent ads from returning after a MIUI update or reset, follow these guidelines:
- Turn off automatic MIUI update: Go to Settings β About Phone β System Update β Three Points β Update settings and deactivate Autoboot and AutoInstall.
- Block Advertising Domains via Hosts: Download a modified hosts file (e.g. Steven Black) and replace it with a standard one via Root Explorer or ADB: adb push hosts /system/etc/hosts
- Use Xposed modules (for advanced users): Install LSPosed and MIUI Ad Away or DisableFlagSecure modules to block advertising at the framework level.
- Regularly check active processes: With Simple Task Killer or ADB, track the launch of msa and MiuiDaemon: adb shell ps -A | grep -E 'msa|ad'
If you use Xiaomi with Google Mobile Services (GMS), further disable personalized ads in your Google account: Settings β Google β Advertising β Disable ad personalization.