How to permanently remove ads on Xiaomi with MIUI 10: from system banners to push notifications

Upgrading to MIUI 10 brought Xiaomi users not only new features, but also aggressive advertising integration. Banners in settings, push notifications from system applications, advertising in the β€œSecurity” menu have become an integral part of the firmware. If you are tired of intrusive advertising that interferes with the comfortable use of your smartphone, this article will help you turn it off completely without losing functionality.

Unlike later versions of MIUI, where some of the advertising mechanisms have been simplified, MIUI 10 requires a comprehensive approach: it does not help to simply disable personalized advertising in the settings, you need to jam advertising services at the system level. We will look at both software methods (without root) and radical solutions for advanced users, including modification of system files.

It's important to understand that some ways can affect the stability of the device, for example, disabling msa service will lead to the termination of Xiaomi cloud functions, and blocking ad domains through hosts can break application updates, we will analyze in detail all the consequences of each method so that you can choose the best option.

1. disable personalized advertising in MIUI settings

The easiest and most secure way to do this is to use built-in privacy settings, which won't remove ads completely, but will reduce them significantly, especially in system applications like Security or Topics.

Go to: Settings β†’ Mi β†’ Mi Cloud Account β†’ Synchronization β†’ Advertising

Turn off the Personalized Ads slider. Then go back to the basic settings and select:

Settings β†’ Additional β†’ Privacy β†’ Advertising Services

Disable all available options here, including β€œShow recommendations” and β€œUse Analysis”.

  • πŸ” What it does: reduces the number of targeted banners in the system menu.
  • ⚠️ Restriction: Advertising in apps (e.g., in Music or Video) will remain.
  • πŸ“± It works on: all devices with MIUI 10, including the Redmi Note 5/6 Pro, Mi 8, POCO F1.

After applying the settings, restart the device to speed up the update of the advertising profile, and the effect will be noticeable in 12-24 hours, as the system needs time to synchronize the changes with the Xiaomi servers.

πŸ“Š Which advertisements annoy you the most?
Banners in settings
Push notifications
Advertising in Mi apps
Advertising Notifications from Games
All of the above.

2. Blocking Advertising Domains via Hosts File

The method involves editing the hosts system file, which is responsible for redirecting domain names, adding the addresses of Xiaomi ad servers to it will block the loading of banners at the network level, which does not require root rights, but requires the use of ADB.

First, download the ready list of domains to lock. Then connect the smartphone to the PC, turn on USB Debugging (Settings β†’ About Phone β†’ MIUI version – tap 7 times, then return to Additional β†’ For developers) and execute the commands:

adb shell


su




mount -o rw,remount /system




echo "127.0.0.1 ad.xiaomi.com" >> /system/etc/hosts



Add the remaining domains from the downloaded file



mount -o ro,remount /system




reboot

domainAppointmentThe blocking effect
ad.xiaomi.comMain advertising serverRemove banners in settings and push notifications
tracker.ai.xiaomi.comStatistics collectionStops analyzing the use of applications
sdkconfig.ad.xiaomi.comConfiguration of the advertising SDKBreaks the loading of ads in third-party apps

⚠️ Warning: Incorrect editing of the hosts file can lead to loss of Internet access.Before making changes, back up the original file with the adb pull command /system/etc/hosts.

If some apps (such as Mi Video or Mi Browser) stop opening after the reboot, you have blocked critical domains, in which case restore the original hosts or delete the last lines added from it.

β˜‘οΈ Preparation for editing hosts

Done: 0 / 5

3. Disabling system applications via ADB

Many of the advertising modules in MIUI 10 are built into system applications, such as com.miui.analytics (statistics collection) or com.xiaomi.midrop (push notifications), which can be disabled without deleting, which will reduce the load on the system and remove some of the advertising.

List of safe to disable packets:

pm disable-user --user 0 com.miui.analytics


pm disable-user --user 0 com.xiaomi.midrop




pm disable-user --user 0 com.miui.systemAdSolution




pm disable-user --user 0 com.miui.bugreport




pm disable-user --user 0 com.miui.hybrid

To return applications back, replace disable-user with enable.

  • πŸ›‘οΈ com.miui.analytics – responsible for collecting data on phone usage.
  • πŸ“’ com.xiaomi.midrop – sends push notifications, including advertising.
  • 🎯 com.miui.systemAdSolution – the main module of displaying banners in the MIUI.

⚠️ Warning: Disabling com.miui.hybrid can break the widgets on the home screen. If the weather or calendar icons are missing after the commands, return this package back.

The effect will be noticeable immediately after the reboot. This method does not require root, but requires re-executing commands after resetting settings or updating the firmware.

What happens if you disable all system applications?
Massively shutting down packets without understanding their purpose can result in a β€œbootloop” or loss of camera functionality, calls, mobile internet, for example, disabling com.android.phone will render the phone inoperable for calls.

4. Install custom ROM without advertising

If you're tired of not only advertising, but also the other limitations of MIUI 10, the radical solution is to switch to custom firmware.

  • πŸ“± LineageOS is pure Android without unnecessary services, but may not support some features (for example, IR-port).
  • πŸ”§ Pixel Experience – firmware with interface from Google Pixel, stable and fast.
  • πŸš€ Havoc-OS - customizable firmware with a large number of settings.
  • πŸ”„ MIUI EU β€” modified MIUI Advertising free and with extended settings.

The installation process includes unlocking the bootloader, installing custom recovery (TWRP) and flash firmware. For MIUI 10, firmware versions based on Android 9 Pie or Android 10 will suit, depending on the device model.

FirmwarePlusesCons
LineageOSMaximum stability, security updatesNo Xiaomi features (e.g. Second Space)
Pixel ExperienceGoogle Pixel interface, optimized performanceSome sensors may not work (e.g., a gyroscope)
MIUI EUIt keeps all the features of Xiaomi, but without advertisingRequires weekly updates for stability

Installing custom ROM voids warranty and can lead to data loss.Be sure to make a full backup through TWRP before the procedure and check the firmware compatibility with your model (for example, the firmware for the Redmi Note 5 Pro will not work for the Redmi Note 5).

πŸ’‘

Before installing custom firmware, check your model support on the XDA Developers forum. For example, for POCO F1, the section [https://forum.xda-developers.com/poco-f1](https://forum.xda-developers.com/poco-f1) will suit.

5.Use of Magisk modules to block ads

If you have root rights and Magisk installed, you can use dedicated modules to block ads.The best options for MIUI 10 are:

  • πŸ›‘οΈ AdAway – Blocks Advertising at Level DNS, It works without editing hosts.
  • πŸ” Xiaomi Debloater – Removes unnecessary system applications and advertising services.
  • 🚫 NoAds for MIUI β€” Specialized module for blocking advertising in MIUI.
  • πŸ”„ Universal AdBlock is a universal blocker for all types of advertising.

The installation of the modules is done through Magisk Manager:

  1. Download the module in.zip format.
  2. Open Magisk Manager and select Modules.
  3. Click "Install" and select the downloaded file.
  4. Reset the device.

For maximum effect, combine modules. For example, AdAway + Xiaomi Debloater will remove both network advertising and system banners. After installation, check the Internet - some modules may conflict with VPN or proxy settings.

⚠️ Attention: NoAds for module MIUI If you can’t log in to Xiaomi after installation, delete the module and use alternatives.

πŸ’‘

Magisk modules are the most effective way to block ads on rooted devices, but require caution when choosing compatible versions.

6 Manual removal of ad APKs through root

For advanced users willing to work with system files, there is a way to completely remove ad APKs. This is a radical method that requires root rights and accuracy, since deleting the wrong files can bring the system down.

List of safe to remove APKs (located in /system/priv-app/ or /system/app/):

AnalyticsCore.apk


MSA.apk (com.miui.msa.global)




MiuiDaemon.apk




MiuiSystemAdSolution.apk




XiaomiServiceFramework.apk

You can remove them through any root conductor (such as Root Explorer) or command:

adb shell


su




rm -f /system/priv-app/AnalyticsCore/AnalyticsCore.apk

  • πŸ—‘οΈ AnalyticsCore.apk β€” basic module of analysis.
  • 🌍 MSA.apk β€” push notifications and advertising.
  • πŸ‘Ή MiuiDaemon.apk β€” background process showing banners.

Removing XiaomiServiceFramework.apk will disable all Xiaomi cloud services, including synchronizing contacts and notes. If you use these features, it is better not to delete this file, but only to limit its activity through AppOps.

How to recover remote APKs?
If the system becomes unstable after removal, download the original firmware for your model, extract the deleted APKs (for example, through an archiver) from it, and return them back to /system/priv-app/ with the correct rights (644).

FAQ: Frequent questions about removing ads in MIUI 10

Can I remove ads without root?
Yes, but not completely. A combination of disabling personalized ads in settings, blocking domains through hosts, and disabling system applications via ADB will yield ~70-80%. Complete removal of ads requires root or custom firmware.
Why did some apps stop working after the hosts were blocked?
You have blocked critical domains such as api.account.xiaomi.com or sdk.mi.com. Restore the original hosts or remove the strings associated with authorization and updates from it.
Will Google Pay work after removing the system APK?
If you haven’t touched files related to the Google Services Framework (like Phonesky.apk), yes, but some Magisk modules (like Universal SafetyNet Fix) may be required to pass the SafetyNet certification.
How to check if advertising is still in the system?
Use the PCAPdroid app to analyze network traffic, run the capture and check if there are still requests for domains like ad.xiaomi.com or tracker.ai.xiaomi.com. Also open the Security menu - if banners are missing, the lock is triggered.
Can I get it back if something goes wrong?
Yes, if you backup. Restore: Return the original hosts. Enable the disabled system applications with pm enable. Remove the installed Magisk modules. Reset the settings if necessary. β†’ Additionally. β†’ Recovery and discharge).