How to permanently remove ads on Xiaomi: the full guide 2026

Advertising in Xiaomi smartphones has become one of the most talked-about issues among brand users. Even after buying the device, many face intrusive banners in system applications, notifications and on the desktop. The manufacturer has integrated advertising modules deep into MIUI firmware, making removing them a non-trivial task. In this article, we will examine all the current ways to disable advertising, from standard settings to advanced methods for experienced users.

It is important to understand that Xiaomi uses several types of advertising: built-in system applications (for example, Security or Themes), push notifications from Mi Account services, as well as contextual banners in the settings menu. Each type requires a separate approach. We tested all methods on the latest versions of MIUI 14/15 (including global and Chinese builds) and selected only working solutions.

If you're tired of pop-ups and want to get back to a clean interface, this is the guide for you, and let's start with the simplest ways and gradually move on to more complex ones, including options for root-enabled users.

1. disable personalized advertising in MIUI settings

The first and most secure way is to use built-in privacy options, where Xiaomi provides the ability to limit data collection for targeted advertising, which reduces the number of impressions, and this method does not remove ads completely, but significantly reduces their intrusiveness.

Go to the menu:

  • πŸ“± Settings β†’ Google β†’ Advertising
  • πŸ”„ Turn off the option of β€œPersonalized Ads” (or Ads) ID)
  • 🚫 In the Settings section β†’ Memory. β†’ Cleaning off "Recommendations"

For Chinese firmware, the path may be different:

  • 🌐 Settings β†’ Additionally. β†’ Confidentiality β†’ Advertising
  • πŸ“΅ Disable "Show recommendations" and "Personalized services"

⚠️ Note: On some models (Redmi Note) 12, POCO X5) After disabling these options, advertising may disappear not immediately, but through 24-48 This is about caching the ad modules.

πŸ“Š Which advertisements annoy you the most?
Pop-up banners in apps
Notifications in the curtain
Advertising on the desktop
Recommendations in settings

2. Manual disabling of advertising in system applications

Many of Xiaomi’s standard apps have hidden settings to disable ads, and consider the most problematic ones:

AnnexThe path to settingsWhat to turn off
SecuritySettings (βš™) β†’ AdvertisingπŸ“› "Show recommendations"πŸ“› "Personalized advertising"
TopicsProfile β†’ Settings β†’ Advertising🎨 "Recommendations to the topics"🎨 "Partner content"
Music.Settings β†’ Additional🎡 "Show recommendations"
Weather.Settings β†’ Notifications☁️ "Newsfeed"

Pay special attention to the GetApps app (Xiaomi store), where the ads are turned off like this:

  1. Open GetApps
  2. Slip on the profile avatar in the upper right corner
  3. Select Settings β†’ Advertising
  4. Disable all switches: "Personalized recommendations", "Partner content", "Push notifications"

πŸ’‘

After disabling ads in GetApps, clear the app's cache through Settings β†’ Apps β†’ App Management β†’ GetApps β†’ Clear the cache. This will remove previously downloaded advertising materials.

3.Use of ADB-deep-switch

For users willing to go beyond standard settings, there is a method using ADB (Android Debug Bridge), which allows you to disable the system components responsible for displaying ads without obtaining root rights.

Step-by-step:

  1. Download and install Google’s Platform Tools
  2. Turn on the phone Developer Mode (7 times tap the MIUI version in Settings β†’ About phone)
  3. Activate USB Debugging in Settings β†’ Additional β†’ For Developers
  4. Connect your phone to your PC and execute in the command line:
adb shell pm disable-user --user 0 com.miui.systemAdSolution


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




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




adb shell pm disable-user --user 0 com.xiaomi.market

These commands are off:

  • πŸ›‘οΈ System module of display of advertising (systemAdSolution)
  • πŸ“€ Xiaomi Analytics (analytics)
  • πŸ“¦ App Store (market), which often displays ads

⚠️ Note: On some models (Xiaomi 13, Redmi) K60) Disabling com.xiaomi.market can cause system application update errors, in which case use the adb shell pm hide command instead of disable-user.

Install Platform Tools on PC|

Enable the developer mode on the phone |

Activate debugging via USB|

Connect the phone with the original cable |

Check the connection with the adb device command-->

4. Removing Advertising through Hosts File Editing

Another effective method is to block Xiaomi ad servers at the system level, and this is done by adding entries to the hosts file, which redirects requests to ad domains to a non-existent one. IP-The method works without root, but requires the use of ADB.

List of the main advertising domains Xiaomi (current for 2026):

127.0.0.1 ad.mi.com


127.0.0.1 data.mistat.xiaomi.com




127.0.0.1 sdkconfig.ad.xiaomi.com




127.0.0.1 track.ad.xiaomi.com




127.0.0.1 e.ad.xiaomi.com




127.0.0.1 globalapi.ad.xiaomi.com

To apply these rules:

  1. Download the file. miui_ad_hosts (or create your own)
  2. Put it in a folder with platform-tools
  3. Follow the commands:
adb push miui_ad_hosts /sdcard/


adb shell su -c "mount -o rw,remount /system"




adb shell su -c "cat /sdcard/miui_ad_hosts >> /system/etc/hosts"




adb shell su -c "mount -o ro,remount /system"




adb reboot

Once the device is restarted, ad requests will be blocked at the system level, a method that is particularly effective against push notifications and banners in Security.

What to do if hosts are not used?
If after executing the commands the advertisement remained, check: 1. Rights to write in /system (some firmware requires Magisk) 2. The presence of spaces at the end of the file hosts 3. Correctness of line transfers (must be in Unix, LF format) 4. No duplicate records

5. Complete removal of advertising through root rights

For users with an unlocked bootloader and installed Magisk, the most radical methods are available. Root allows you to remove system APK-files responsible for displaying ads, as well as modifying configuration files.

Critical: Before you delete your system files, make a full backup through TWRP or another custom recap. Some APKs are linked to the basic MIUI functions.

List of safe packets to remove (checked on MIUI 14/15):

  • πŸ—‘οΈ com.miui.systemAdSolution – the main advertising module
  • πŸ—‘οΈ com.xiaomi.midrop – analytics service
  • πŸ—‘οΈ com.miui.analytics – statistics collection
  • πŸ—‘οΈ com.miui.bugreport – error reports (contains advertising messages) SDK)
  • πŸ—‘οΈ com.xiaomi.gamecenter.sdk.service – game notifications

Use Root Explorer or commands via adb shell to remove:

su


mount -o rw,remount /system




rm /system/priv-app/SystemAdSolution/SystemAdSolution.apk




rm /system/priv-app/Analytics/Analytics.apk




mount -o ro,remount /system




reboot

⚠️ Note: On devices with Dynamic RAM Expansion (Xiaomi 12T, Redmi Note 11 Pro+) Removing com.miui.analytics may cause the function to malfunction.In this case, use freezing via Titanium Backup instead of completely removing it.

6. Alternative methods: custom firmware and modules Magisk

If standard methods didn’t work, consider installing custom firmware or custom modules for Magisk.These solutions offer the most profound ad-free system.

Popular modules for Magisk:

  • πŸ”§ Xiaomi Debloater – Removes unnecessary system apps and advertising SDK
  • πŸ›‘οΈ AdAway – Blocks Advertising Domains at Host Level
  • 🧹 MIUI Optimizer – comprehensive optimization and removal of advertising
  • πŸ”„ Universal Ad Block – Blocks Ads in All Apps

For installation:

  1. Download the module in.zip format
  2. Open the Magisk Manager
  3. Select Modules β†’ Install from the Storage
  4. Reset the device

Custom firmware based on AOSP (for example, LineageOS, Pixel Experience) is completely devoid of Xiaomi advertising, but require unlocking the bootloader and have their own nuances:

  • βœ… Complete lack of advertising and bloatware
  • ⚠️ Possible Camera Issues (Ported GCams required)
  • ⚠️ Lack of official support for certain functions (IR Blaster, NFC on some models)

πŸ’‘

Using custom firmware is the most radical way to get rid of advertising, but it requires technical skills. ADB-commands and modules AdAway.

7. Additional Advice on Combating Advertising

In addition to the basic methods, there are several auxiliary techniques that will help to minimize advertising:

  • πŸ“΅ Disable notifications from system applications: Settings β†’ Notifications β†’ System notifications β†’ turn off MIUI System, Security, Cleaner
  • πŸ”„ Clean the cache regularly: In Settings β†’ Memory. β†’ Cleanup choose β€œDeep Cleanup” – this removes cacheted advertising materials
  • 🌐 Use alternative launchers: Nova Launcher or Lawnchair does not show desktop ads
  • πŸ›‘οΈ Set up. DNS-Filtering: Use 1.1.1.3 (Cloudflare Family) or 94.140.14.15 (AdGuard) DNS) In Settings β†’ Wi-Fi β†’ Additionally. β†’ Settings DNS

For users who frequently install new apps, we recommend:

  • πŸ“₯ Install APK Only from verified sources (APKMirror, APKPure)
  • πŸ” Before installation, check the applications through VirusTotal for the presence of advertising SDK
  • 🚫 Avoid β€œlight” versions of apps (e.g. Facebook Lite, Messenger Lite) – they often contain aggressive ads

FAQ: Frequent questions about advertising on Xiaomi

❓ Why does it appear again after the ad is turned off in the settings?
This is due to automatic updates to system applications. Xiaomi periodically resets ad settings through server commands.Solution: Disable auto-update for apps Security, Themes, GetApps in Play Market Use ADB-Install the App Systemizer module in Magisk to convert system applications to custom (this will prevent them from automatically updating)
❓ Can you turn off advertising without a computer?
Yes, but the options are limited. Without a PC, you can: Disable personalized ads in settings (section 1) Remove updates for system applications through Settings β†’ Apps Use apps like App Inspector to disable ad-related activities (root required) Complete removal of ads without a computer will require root and a file manager with superuser rights.
❓ Why there are more ads on Chinese firmware than on the global?
Chinese versions of MIUI contain additional advertising modules, as the main source of revenue Xiaomi in the domestic market is precisely targeted advertising. Global firmware (MIUI Global, MIUI EE) have less advertising due to other monetization models (sale devices at a higher price). Solution for Chinese firmware: Refuse the device to the global version (officially or through Xiaomi.eu) Use the China Apps Remover module for Magisk Block Chinese advertising domains through the hosts file (the list can be found on GitHub for "mid hosts ad")
❓ Does the removal of advertising affect the guarantee?
Standard methods (settings, ADB-commands) do not affect the warranty, as they do not require unlocking the bootloader: πŸ”“ Unlocking the bootloader and getting root resets the warranty (Xiaomi official position) πŸ“¦ Removing system applications without root (through ADB) warranty does not cancel, but may lead to unstable operation of the device πŸ”„ In most cases, the warranty can be restored by returning the device to factory settings If you are interested in warranty, use only methods from the sections. 1-3 article.
❓ How to check if the advertisement has been removed?
To make sure there are no ad modules: Check system applications (Security, Themes, GetApps) for banners Open Settings β†’ About Phone β†’ MIUI version and tap the logo several times - if there is no pop-up, systemAdSolution module is disabled Use Packet Capture or NetGuard to monitor network requests to ad domains (ad.mi.com, data.mistat.xiaomi.com) Check logs via adbcat | grep -i "ad" - if the output is empty, advertising SDK is not active