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.
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| domain | Appointment | The blocking effect |
|---|---|---|
| ad.xiaomi.com | Main advertising server | Remove banners in settings and push notifications |
| tracker.ai.xiaomi.com | Statistics collection | Stops analyzing the use of applications |
| sdkconfig.ad.xiaomi.com | Configuration of the advertising SDK | Breaks 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
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.hybridTo 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?
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.
| Firmware | Pluses | Cons |
|---|---|---|
| LineageOS | Maximum stability, security updates | No Xiaomi features (e.g. Second Space) |
| Pixel Experience | Google Pixel interface, optimized performance | Some sensors may not work (e.g., a gyroscope) |
| MIUI EU | It keeps all the features of Xiaomi, but without advertising | Requires 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:
- Download the module in.zip format.
- Open Magisk Manager and select Modules.
- Click "Install" and select the downloaded file.
- 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.apkYou 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.