How to permanently remove ads on Xiaomi: 7 proven ways (including hidden ones)

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:

  1. "Home screen recommendations"
  2. β€œNotifications of new annexes”
  3. "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.

πŸ“Š Which Advertising Irritates You the Most?
On the lock screen
Settings menu.
In standard applications (Music, Video)
Notifications.
All of the above.

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.

  1. Open Settings β†’ Memory β†’ Applications (or Settings β†’ Applications β†’ Application Management).
  2. In the upper right corner, click on three dots and select "Show all apps" (or "Show system").
  3. 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)

ServicePacket nameWhat's off?Risk of shutdown
MSAcom.miui.systemAdSolutionAdvertising in the settings menu and on the lock screenLow (theme synchronization may be lost)
Analyticscom.miui.analyticsData collection for personalized advertisingMedium (Can stop working "Fast Optimization")
Push-servicecom.xiaomi.xmsfSpam Notifications from XiaomiHigh (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:

  1. 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 devices

If the device is displayed, enter:

adb shell pm hide com.miui.systemAdSolution

This 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 1

USB 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 ignore

4.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:

  1. Go to Settings. β†’ SIM-maps and mobile networks β†’ Private DNS.
  2. Select β€œHost Name of Private DNS Provider” and type dns.adguard.com.
  3. 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:

  1. Go to Settings β†’ Google β†’ Advertising (or Settings β†’ Additional β†’ Privacy β†’ Advertising on new versions of MIUI).
  2. Click "Reset Advertising ID".
  3. 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:

  1. Go to Settings β†’ Applications β†’ Application Management β†’ Mi Account.
  2. Press "Storage" β†’ "Clear the data".
  3. 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?
Deleting your Mi Account will result in loss of access to cloud data (photos, notes, backups), and the inability to use Find Device and synchronize themes. However, this will drastically reduce the amount of advertising, since most of it is tied to the account, and if you decide to do this, save all the important data manually.

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.hybrid

Method 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.
FirmwarePlusesConsComplexity of installation
Xiaomi.euClose to the stock MIUI, stable as possibleThere are no Google services in the basic versionMedium (needs an unlocked bootloader)
LineageOSClean Android, no ads, frequent updatesSome functions may not work (NFC, IR-blaster)High (requires rut and experience)
Pixel ExperienceThe interface is like Google Pixel, optimizedLess customization than MIUITall.

⚠️ 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:

  1. 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.
  2. 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
  3. 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.

FAQ: Frequent questions about advertising on Xiaomi

❓ Why after the shutdown MSA The advertisement is still on display?
Most likely, the ads are not coming through MSA, but through other services, such as com.xiaomi.mipicks (responsible for app recommendations) or com.miui.hybrid (pop-up banners). Check all system applications in Settings β†’ Apps and disable suspicious ones. Also make sure that the Personalized Recommendations option is disabled in the Mi Account settings.
❓ Can you turn off advertising without a computer?
Yes, but the effectiveness will be lower. Use a combination of methods: Turn off all ad settings manually (section 1). Install Blokada or AdGuard from Google Play - they block ad domains at the VPN level. Change the DNS to 176.103.130.130 (AdGuard DNS). Without ADB or root rights, you can't completely remove system ad services, but the number of banners will be reduced by 80-90%.
❓ Why After Resetting Advertising ID The advert hasn't gone away?
Xiaomi uses not only Google Advertising ID, but also its own identifier (MIUI ID). To reset it, you need to: Delete your Mi Account account in Settings β†’ Accounts. Clear the Mi Account application data in Settings β†’ Apps. Reboot your phone. Note that this will lead to loss of access to Xiaomi cloud services (for example, synchronizing notes and photos).
❓ Will Xiaomi work without advertising services?
The phone will work well even after the shutdown. MSA But there are some small bugs: πŸ”„ No weather updates will be made on the lock screen (fixed by manual update in the Weather app). πŸ“Š The β€œFast Optimization” feature in the security menu may stop working. πŸ”” Some notifications from system applications may not come (e.g., update reminders) MIUI). These changes are not critically important, the phone will remain operational.
❓ How to get it all back if something goes wrong?
If, after the manipulation of the settings, or ADB problems (notifications are not coming, Wi-Fi is not working, etc.), follow the following steps: ADB-Commands: perform adb shell pm uninstall -k --user 0 com.miui.systemAdSolution (replace uninstall with enable if the application has been disabled rather than deleted). For host file: restore the original file via TWRP For custom firmware, go back to the stock room. MIUI In the extreme case, make a complete reset to Settings. β†’ Additionally. β†’ Recovery and discharge β†’ Resetting settings.