Advertising in Xiaomi smartphones has become one of the most annoying features of MIUI firmware β it pops up in the settings menu, on the lock screen, in standard applications and even in notification panels. The manufacturer positions this as βpersonalized recommendationsβ, but users perceive it as intrusive spam. The good news is that all types of advertising can be turned off completely, including hidden banners in system services, without root rights or complex manipulation.
In this article, we will discuss 7 working methods β from basic settings to advanced tricks with ADB It is important to understand that Xiaomi regularly updates the mechanisms of displaying ads, so some ways may require adaptation to the current version. MIUI 14/15 (momentarily 2026 All instructions tested on Xiaomi models 13 Pro, Redmi Note 12 and POCO F5, But suitable for most of the brandβs devices.
Basic MIUI settings: what can be turned off without additional tools
The first step is to turn off the obvious sources of advertising through the standard menu, which is not going to remove all the ads, but it's going to reduce the number of ads by 60-70%.
- π± Lock screen: Go to Settings β Lock screen β Additional settings and deactivate the "Recommendations" option. On some models (Redmi 10 and older), this item may be called "Show recommendations on the lock screen".
- βοΈ Settings menu: In Settings β The phone. β Version. MIUI Tap 7 times on the line with the version to unlock Advanced Settings. Then go back to the main settings menu and turn off Show Recommendations in the upper right corner (cog icon).
- π Standard Apps: In Mi Video, Mi Music and Themes, go to the settings of each app and deactivate the "Personalized Recommendations" and "Show Ads" items".
Pay special attention to GetApps (aka Mi App Store) is the main source of advertising. Go to its settings and turn off:
- "Home screen recommendations"
- βNotifications of new annexesβ
- "Personalized Advertising" (may be hidden under the "Privacy" section).
β οΈ Warning: After disabling ads in GetApps, some users experience a "No Internet connection" error when trying to update apps. β Annexes β Application management β GetApps β Warehouse.
Hidden MIUI settings: how to disable ads via "MSA" and "Analytics"
MSA (Miui System Ads) and Analytics are system services that collect data and display personalized ads, which cannot be removed without root rights, but can be deactivated.
- Open Settings β Memory β Applications (or Settings β Applications β Application Management).
- In the upper right corner, click on three dots and select "Show all apps" (or "Show system").
- Find and open in turn: com.miui.systemAdSolution (or MSA) com.xiaomi.midrop (responsible for notifications) com.miui.analytics
In each of them, click "Disable" (if the button is inactive, first click "Stop").
On some firmware (MIUI 13 and below), these applications may be called differently:
- π System Ads (com.miui.systemAdSolution)
- π Analytics MIUI (com.miui.analytics)
- π Push service (com.xiaomi.xmsf)
| Service | Packet name | What's off? | Risk of shutdown |
|---|---|---|---|
| MSA | com.miui.systemAdSolution | Advertising in the settings menu and on the lock screen | Low (theme synchronization may be lost) |
| Analytics | com.miui.analytics | Data collection for personalized advertising | Medium (Can stop working "Fast Optimization") |
| Push-service | com.xiaomi.xmsf | Spam Notifications from Xiaomi | High (may not receive important notifications from system applications) |
β οΈ Note: Disabling com.xiaomi.xmsf may cause problems with receiving notifications from banking applications and instant messengers. SMS or push notifications, return settings back and use alternative methods (see Section 4).
3. ADB-Teams: How to disable advertising without root rights
If previous methods didn't work, it's time to connect ADB (Android Debug Bridge), which is Google's official tool that lets you manage system settings without rooting.
- π₯οΈ Computer with Windows/macOS/Linux
- π± Cable USB (preferably original)
- π§ Included debugging by USB phone-on
Step-by-step:
- Turn on USB debugging: Go to Settings β About Phone and tap 7 times on MIUI Version to become a developer. Go back to Settings β Additional β For Developers and activate USB Debugging.
ADB Tools
adb devicesIf the device is displayed, enter:
adb shell pm hide com.miui.systemAdSolutionThis will hide the MSA service without it being completely shut down.
To completely remove the ads, follow all the commands from the list:
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.xmsf
adb shell settings put global hidden_api_policy 1USB debugging enabled
ADB drivers installed
The phone is connected in the "File Transfer" mode.
Command Prompt Opened on behalf of the Administrator
Backup of important data is made-->
If you have left the ad after you run the commands, check if the settings have reset after you reboot. In this case, use an alternative method with appops:
adb shell cmd appops set com.miui.systemAdSolution RUN_ANY_IN_BACKGROUND ignore
adb shell cmd appops set com.xiaomi.midrop RUN_ANY_IN_BACKGROUND ignore4.Alternative methods: DNS blocking and host file
If you don't want to mess with ADB, you can block Xiaomi's ad servers at the network level.
Method 1: Changing the DNS
Use it. DNS-servers that filter advertising domains, for example:
- π AdGuard DNS: 176.103.130.130 and 176.103.130.131
- π‘οΈ NextDNS: Create a free account on nextdns.io and add a Xiaomi Ads blocklist.
To apply:
- Go to Settings. β SIM-maps and mobile networks β Private DNS.
- Select βHost Name of Private DNS Providerβ and type dns.adguard.com.
- Reboot the phone.
Method 2: Editing a host file (requires root rights)
If you have root, open /etc/hosts file through any file manager (like Root Explorer) and add at the end:
127.0.0.1 ad.mi.com
127.0.0.1 globalapi.ad.xiaomi.com
127.0.0.1 sdkconfig.ad.xiaomi.com
127.0.0.1 tracking.miui.com
127.0.0.1 api.ad.xiaomi.comβ οΈ Note: Editing a host file without root rights can cause the system to crash.If the phone stops connecting to Wi-Fi or mobile network after the changes, restore the original file or reset settings.
π‘
If some applications (e.g. banking) have stopped working after changing the DNS, add their domains to the exceptions in AdGuard or NextDNS settings.
5. Resetting Advertising ID: Why It Works and How to Do It
Each Xiaomi device is assigned a unique advertising ID (Advertising ID), It's used for targeted advertising, and resetting it causes the system to create a new profile, which temporarily reduces the number of impressions:
- Go to Settings β Google β Advertising (or Settings β Additional β Privacy β Advertising on new versions of MIUI).
- Click "Reset Advertising ID".
- Turn off the option of "Personalized Advertising".
This method does not work on all devices, as Xiaomi uses its own identification mechanism (MIUI ID). For a complete reset, also clear the Mi Account application data:
- Go to Settings β Applications β Application Management β Mi Account.
- Press "Storage" β "Clear the data".
- Reboot the phone.
After reset, the adverts may return in 1-2 weeks, as the system will collect data about your actions again. To avoid this, combine this method with blocking the MSA (see section 2).
What happens if you delete your Mi Account?
6. Advanced methods: debloating and custom firmware
If you're willing to take drastic measures, consider debloating (removing system applications) or installing custom firmware. These are the most effective ways, but they require unlocking the bootloader and potentially disenfranchising warranties.
Method 1: Debloating through ADB (without root rights)
List of safe packets to remove (donβt delete whatβs not in your system!):
pm uninstall -k --user 0 com.miui.systemAdSolution
pm uninstall -k --user 0 com.xiaomi.midrop
pm uninstall -k --user 0 com.miui.analytics
pm uninstall -k --user 0 com.xiaomi.xmsf
pm uninstall -k --user 0 com.miui.bugreport
pm uninstall -k --user 0 com.miui.hybridMethod 2: Castom firmware without advertising
Popular firmware for Xiaomi, devoid of advertising:
- π± Xiaomi.eu β modified MIUI without advertising or Chinese services. OTA-update.
- π LineageOS β pure Android without branded bells and whistles Xiaomi.
- β‘ Pixel Experience β firmware with interface from Google Pixel.
| Firmware | Pluses | Cons | Complexity of installation |
|---|---|---|---|
| Xiaomi.eu | Close to the stock MIUI, stable as possible | There are no Google services in the basic version | Medium (needs an unlocked bootloader) |
| LineageOS | Clean Android, no ads, frequent updates | Some functions may not work (NFC, IR-blaster) | High (requires rut and experience) |
| Pixel Experience | The interface is like Google Pixel, optimized | Less customization than MIUI | Tall. |
β οΈ Attention: Installing custom firmware voids the warranty and can lead to a "brick" of the device.Be sure to unlock the bootloader through the official Xiaomi website before the procedure (en.miui.com/unlock) And make a full backup through TWRP.
7 What to do if the ad returns after the MIUI update
Xiaomi regularly releases updates that reset ad settings. If banners reappear after the update, follow the following steps:
- Check Service Versions: After updating MIUI, some system applications (e.g. com.miui.systemAdSolution) can update and activate again. Go to Settings β Applications and turn them off again.
- Update. ADB-Teams: New versions MIUI Current list for 2026: adb shell pm hide com.miui.systemAdSolution adb shell pm hide com.xiaomi.mipicks adb shell pm hide com.miui.hybrid.accessory
- Reset the cache: Go to Settings β Memory β Cleanup and select βDeep Cleanup.β This will delete temporary files that may contain advertising modules.
If the problem recurs after each update, consider the following options:
- π Turn off automatic updates MIUI In Settings β The phone. β Updating the system β Settings (cog icon) β Auto-update.
- π΅ Install Xiaomi.eu β This firmware blocks updates containing ad modules.
- π‘οΈ Use Blokada or AdGuard to block ad domains at the level VPN.
π‘
After each major MIUI update (e.g., version 14 to version 15), check your ad settings again β Xiaomi often adds new ad mechanisms that are not blocked by the old methods.