How to permanently remove ads on your phone Xiaomi: 7 proven ways

Advertising in Xiaomi smartphones has become one of the most annoying features of MIUI firmware. Banners in settings, push notifications from system applications, advertising blocks in the menu – all this not only spoils the user experience, but also collects data about your preferences for targeted advertising. Unlike other manufacturers, Xiaomi builds advertising mechanisms at the system level, which makes their removal a non-trivial task.

In this article, we will discuss all the current ways to disable advertising, from basic MIUI settings to advanced methods using ADB and third-party tools. It is important to understand that some methods require developer rights or even unlock the bootloader, so before you start, check out the possible risks. All instructions are tested on the latest versions of MIUI 14/15 and are relevant to Xiaomi 13/14, Redmi Note 12/13, POCO F5/X5 models.

1. disable personalized advertising in MIUI settings

The easiest way to reduce the amount of ads is to deactivate personalization in system settings, which will not remove the ads completely, but will significantly reduce the amount of ads, especially in Xiaomi applications (Theme, Security, Music).

Go to: Settings β†’ Google β†’ Advertising (or Settings β†’ Additional β†’ Privacy β†’ Advertising in some versions).

Turn off the option β€œPersonalized Ads” and reset the advertising ID (Reset Ad ID button) here, which will prevent you from collecting data about your actions for targeted advertising.

  • πŸ”Ή Pros: does not require root rights or ADB, It works on all models.
  • ⚠️ Cons: does not remove advertising in system applications completely, only reduces its number.
  • πŸ“Œ Note: after resetting advertising ID Some applications may request it again.

⚠️ Note: In the latest versions MIUI 15 The path to the ad settings may be different. If the Ads item is not in the Google menu, try searching for it in the settings (the magnifier icon at the top).

2. Manual disabling of advertising in system applications

Many of Xiaomi’s standard apps (Theme, Security, Music, Video) have built-in ad modules that can be turned off individually:

Open an app, such as a Theme, go to its settings (three dots in the upper right corner) and find items like: Recommendations β†’ Disable recommendations or Personalization β†’ Disable personalized content.

In the Safety app, the path will be as follows:

Settings β†’ Additional β†’ Advertising and recommendations β†’ Disable

AnnexThe Way to Turn Off AdvertisingEfficiency
ThemeProfile β†’ Settings β†’ Recommendations β†’ DisableRemove banners in the main menu
SecuritySettings β†’ Additional β†’ Advertising and recommendationsRemove push notifications
Music.Settings β†’ Personal recommendations β†’ DisableRemoves advertising blocks between tracks
VideoProfile β†’ Settings β†’ Recommendations β†’ DisableRemoves ads before rollers

If there is no explicit option in the app to disable ads, try limiting background activity: Settings β†’ Apps β†’ App Management β†’ [Select App] β†’ Battery β†’ Limit background activity.

This will not eliminate the ads completely, but it will reduce the number of impressions.

Delete recommendations in the β€œTheme"|Limit background activity "Safety"|Reset the advertising ID Google-settings|Check the settings of each system application manually-->

3.Using ADB to Deeply Disable Advertising

If system settings don’t work, the next step is to use Android Debug Bridge (ADB), a method that allows you to disable system-level advertising services, but requires you to connect your phone to your computer and enable developer mode.

First, activate USB debugging: Settings β†’ About Phone β†’ MIUI version (click 7 times until the notification β€œYou became a developer”).

Then go back to Settings β†’ Additional β†’ For developers and enable USB debugging.

Install ADB on your computer (instructions for Windows/Linux/macOS), connect your phone and execute the commands:

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.miui.msa.global

These commands disable the main Xiaomi advertising modules. After completing, restart the phone. If the pm hide command does not work (on some firmware), use the alternative:

adb shell pm uninstall --user 0 com.miui.systemAdSolution


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

⚠️ Note: Disabling system packages may cause some functions to work unstable (e.g. miDrop is responsible for fast file transfer).If you have problems after disabling, return the packet with the command: adb shell pm uninstall --user 0 []

List of all MIUI advertising packages
com.miui.systemAdSolution – the main advertising module com.xiaomi.midrop – advertising in miDrop com.miui.analytics – analytics collection for targeted advertising com.miui.msa.global – push notification service com.miui.player – advertising in the music player com.miui.video – advertising in the video player com.android.browser – advertising in the MIUI browser

4. Install custom ROM or patch through Magisk

For users willing to take drastic measures, the best solution is to install custom firmware (e.g. LineageOS, Pixel Experience) or use the Magisk module to block ads, which requires an unlocked bootloader and can be unwarranted.

If you do not want to change the firmware, install the module through Magisk. Disable_MIUI_Ads:

1. Install Magisk (instructions on the official website).

2. Download the module. Disable_MIUI_Ads Install it with Magisk Manager.

3. Reboot the phone.

The module automatically blocks all known advertising domains and disables system services responsible for displaying ads, the advantage of this method is the complete removal of ads without loss of functionality.

  • βœ… Pros: Removes ads 100%, does not require manual disabling of each module.
  • ⚠️ Cons: Requires root rights, may conflict with some banking applications.
  • πŸ”§ Alternative: Universal AdBlock for Magisk (blocks ads in all apps).

System settings|ADB-team|Magisk modules|Custom firmware|I don't know, I need help.-->

5. Blocking Advertising via DNS or VPN

If you don't want to interfere with system files, you can block ad domains at the network level. DNS-filtering VPN advertising-blocking.

Method 1: Change the DNS on your phone

Go to Settings β†’ Wi-Fi β†’ [Click on your network] β†’ Change the network β†’ Additional β†’ IP settings β†’ Static.

In the DNS field 1 enter 1.1.1.1 (Cloudflare) or 94.140.14.14 (AdGuard DNS), in DNS 2 - 1.0.0.1 or 94.140.15.15.

Method 2: Use a VPN with ad blocking

Install applications like AdGuard, Blokada, or NextDNS, which filter traffic and block ad domains at the network level, for example, AdGuard just enable the option to block ads in settings.

MethodEfficiencyDeficiencies
AdGuard DNSBlock 80% of adsIt doesn’t work in some applications.
NextDNSBlock 90% of adsRegistration, traffic restriction
BlokadaBlock 95% of adsCould slow down the internet

⚠️ Note: Some banking applications (e.g. Sberbank Online) may block your work when using the service. VPN custom-made DNS. In this case, add them to the exceptions in the settings. VPN-applications.

6. disable push notifications from system applications

Even after the ad has been turned off in the settings, MIUI can continue sending push notifications. To remove them, follow the following steps:

Go to Settings β†’ Notifications and Status bar β†’ Notification management.

Find Security, Theme, Mijia, Mi Video in the app list and turn off notifications for them either completely or selectively (Important Notifications option).

To completely disable push advertising through ADB, execute the command:

adb shell dumpsys deviceidle whitelist -com.miui.systemAdSolution

This will prevent the launch of the advertising service in the background.

  • πŸ“± Annexes-violators: Security, Theme, Mi Community, Mi Video.
  • πŸ”• How to check: Open Settings β†’ Annexes β†’ Application management β†’ [Annex] β†’ Notifications.
  • ⚑ Quick way: B MIUI 14+ You can massively turn off notifications: pinch your finger on the notification β†’ Shut down.

πŸ’‘

If they keep coming after disabling notifications, clear the cache and security app data (Settings β†’ Apps β†’ Security β†’ Warehouse β†’ Clear the data).

7.Alternative methods: disabling Mi Account and resetting settings

In some cases, the ads are linked to your Mi Account account. If you are not using Xiaomi cloud services (contact sync, backup), you can try to log out or create a new one without being tied to your phone.

Go to Settings β†’ Accounts β†’ Mi Account β†’ Sign out.

Once it's out, it can suggest that you create a local profile -- OK, that won't take away all the ads, but it will reduce the number of ads that are targeted.

If nothing works, the last resort is factory reset. Make sure to back up your data before you do it! Don't log in to Mi Account and turn off customization immediately, and this method helps 60% of the time when the ads are sewn into the firmware at the update level.

πŸ’‘

Disabling Mi Account can deprive you of access to cloud data (photos, notes, contacts).

FAQ: Frequent questions about removing ads on Xiaomi

❓ Why After Disabling Advertising Through ADB It reappears?
This is due to automatic updates to system applications. To prevent ad returns: Turn off auto-update for system applications on Google Play. Freeze ad packages through the App Quarantine (requires root). Use the module Disable_MIUI_Ads Magisk – it blocks updates to advertising services.
❓ Can you remove advertising without rooting and ADB?
Yes, but not completely. The combination of the following methods gives ~80% effectiveness: disable personalization in the settings of Google and MIUI; use AdGuard DNS or NextDNS; manually disable notifications and background activity of system applications; 100% removal of ads will require ADB or Magisk.
❓ Will the ad blocker work after the update? MIUI?
No, the firmware update resets all changes made through ADB or Magisk. After the update: Repeat ADB commands to disable ad packages. Update Magisk modules (if you use them). Check DNS and VPN settings. In some cases, Xiaomi changes the names of ad packages - watch for updates in the themes on XDA Developers.
❓ Why Ads Stay In Some Apps Even After All Manipulations?
Some apps (e.g. Mi Browser, Mi Video) have built-in advertising SDKs that are not blocked by standard methods. Solutions: Remove the problem app via ADB: adb shell pm uninstall --user 0 com.android.browser Use alternatives: Google Chrome instead of Mi Browser, VLC instead of Mi Video. Install Blokada or AdGuard to block ads at the network level.
❓ Is it safe to disable system packets through ADB?
Disabling most ad packages (com.miui.systemAdSolution, com.xiaomi.midrop) is safe, but there are exceptions: ❌ Do not disable: com.miui.securitycenter (responsible for security), com.android.settings (system settings). ⚠️ Careful: com.miui.gallery (gallery), com.miui.player (music) – disabling them will remove standard apps. βœ… You can disable: all packages from the spoiler with a list of advertising modules. If after disabling the package the phone began to work unstable, return it with the command: adb shell cmd package install-existing]