How to permanently disable ads on Xiaomi: Full Guide 2026

Advertising in smartphones Xiaomi, Redmi and POCO It was one of the most annoying features of the firmware. MIUI. Even after buying the device, users are faced with banners in the settings menu, notifications from system applications and intrusive advertising in branded services. The manufacturer explains this by β€œpersonalized offers”, but in practice it looks like aggressive marketing that interferes with the comfortable use of the phone.

In this article, we’ll look at all the ways you can disable ads, from standard settings to deep system changes, how to remove banners in Security, Themes, Music, and other apps, and how to permanently block impressions through the Internet. ADB and modification of system files. MIUI 12/13/14 Newer versions, including global and Chinese firmware.

Some methods require superuser rights or system files to be changed, which can lead to a loss of warranty.If you are not sure about your actions, use only the safe ways in the first sections.

1. Standard settings MIUI: What can be turned off without risk

To start with, the built-in options that Xiaomi officially allows to be changed are not root-rights or warranty-breaking, but their effectiveness depends on the firmware version and the region of the device.

The first thing you need to do is turn off personalized ads on your Mi Account, which will reduce the number of banners targeted, but will not eliminate them completely:

  • πŸ“± Open the Settings. β†’ Xiaomi account β†’ Mi Account
  • πŸ” Find Advertising Personalization (or Advertising Preferences)
  • πŸ”„ Turn off the slider Personalized advertising
  • πŸ—‘οΈ Click Reset Advertising ID (if there is such a clause)

Next, we move on to the settings of individual applications. the most "advertising" services Xiaomi:

  • 🎡 Music – Turn off the Recommendations in the app settings
  • πŸ“± Topics - Ban impressions in Settings β†’ Topics β†’ Promotional notices
  • πŸ›‘οΈ Security – Turn off Advertising Notifications in the Cleanup section
  • πŸ“Š Mi Browser – Ban personalized content in your browser settings

⚠️ Note: On Chinese firmware (China) ROM) Many menu items may be missing or hidden, in which case move on to the next sections with more radical methods.

πŸ“Š What Xiaomi Ads Are The Most Irritating To You?
Banners in settings
Notifications from system applications
Advertising in the annex β€œThemes”
Promotional push messages
All of the above.

2. Hidden settings MIUI: How to Find and Disable Advertising Modules

Xiaomi hides some of the settings that drive ad impressions in special menus for developers or through secret combinations, settings that are not officially documented, but work on most devices.

The most effective way is to disable the mobile services analytics (MSA), which is responsible for collecting data and displaying personalized advertising.

  1. Open the phone app and enter the combination: ##4636##
  2. In the menu that appears, select Phone Information (or Usage Statistics)
  3. Find the msa string and click on it.
  4. Turn off all sliders related to analytics and advertising

Another hidden section – Advertising settings ID. To get there:

  • πŸ”§ Go to Settings. β†’ The phone.
  • πŸ‘† 5 times tap on the line version MIUI, activate the developer mode
  • πŸ”™ Return to the main settings menu and open additionally β†’ Special facilities β†’ Advertising ID
  • πŸ”„ Turn off Advertising Personalization and Reset ID

On some firmware (MIUI 13+) These items can be hidden deeper. If you don't find them, try searching by settings (the magnifier icon in the upper right corner).

What is msa and why should it be turned off?
Mobile Services Analytics (MSA) is a system component of Xiaomi that collects device usage data: what apps you open, how often you use them, your location, and even the interface style, which is used to show targeted ads not only in system applications, but also shared with Xiaomi partners. Disabling msa not only reduces the amount of advertising, but also increases privacy.

3. ADB-Teams: Radical Disconnection of Advertising Without Root

If standard methods don’t work, the next step is to use Android Debug Bridge (ADB). This method does not require root rights, but will require connecting the phone to the computer and enabling debugging. USB.

The advantage of the method: you completely block the ability to display ads at the system level, without violating the integrity of the firmware. MIUI repeat the procedure.

Instructions:

  1. πŸ–₯️ Install. ADB Fastboot Tools on the computer
  2. πŸ“± On the phone, activate the Developer Mode (5 taps according to the version) MIUI phone)
  3. πŸ”Œ Connect your phone to your PC and select File Transfer Mode
  4. 🐍 In the command line (Windows) or terminal (Mac/Linux) execute:
adb shell


pm uninstall --user 0 com.miui.systemAdSolution




pm uninstall --user 0 com.xiaomi.midrop




pm uninstall --user 0 com.android.browser




pm hide com.miui.analytic

These commands remove or disable the main ad modules. Add more to the full effect:

settings put global captive_portal_detection_enabled 0


settings put global captive_portal_server false

Once done, restart your phone. Advertisements should disappear from:

  • πŸ“± Settings menu (banners at the top)
  • πŸ”’ Security applications
  • 🎨 Annexes Topics
  • πŸ“° Weather and calendar widgets

⚠️ Note: On some devices (POCO F3, Redmi Note 10 Pro) pm hide may not work. In this case, use the alternative: pm disable-user --user 0 packet.

Install ADB PC-only|Enable debugging on USB phone-on|Connect the phone in file transfer mode|Check the connection with the team `adb devices`|Make a backup copy of the data-->

Modification of system files: for advanced users

If you're willing to take more radical measures and have experience with root rights or custom firmware, you can completely remove the ad modules from the system, which is 100% effective, but you need to be careful.

The most reliable way is to remove APK-Advertising service files via root-access file manager (e.g. Root Explorer or Mixplorer:

Annex/ServiceThe path to APKWhat's he doing?
SystemAdSolution/system/priv-app/SystemAdSolutionThe main module of advertising display in MIUI
AnalyticsCore/system/app/AnalyticsCoreStatistics collection and advertising personalization
MiuiDaemon/system/bin/miui_daemonBackground process that manages advertising notifications
Msa/system/priv-app/MsaAnalytics and Targeted Advertising

Deletion procedure:

  1. Make a backup copy of the system through TWRP Or OrangeFox.
  2. Open a file manager with root access
  3. Follow these paths and delete folders from APK-file
  4. Clear the cache in /data/data/ bound-package
  5. Reset the device

For devices with a locked bootloader, an alternative method is to replace files with blank stubs, such as creating an empty file. SystemAdSolution.apk It's going to prevent the system from crashing, but it's going to completely shut down the ad module.

⚠️ Attention: Removal of system APK This can cause the firmware to work unstable on some devices (Xiaomi). 12T, Redmi K50) This causes problems with updates. OTA. Before experimenting, check compatibility on forums. 4PDA or XDA-Developers.

5.Castom firmware: the final solution to the problem

If you are ready to abandon the official firmware, switch to custom MIUI or AOSP β€” The most reliable way to get rid of advertising forever:

  • πŸ“± Xiaomi.eu – modified MIUI Advertising-free and Chinese-based
  • πŸ€– LineageOS – pure Android without unnecessary modules
  • πŸ”₯ PixelExperience – firmware with interface from Google Pixel
  • ⚑ ArrowOS – Lightweight and optimized build AOSP

Advantages of custom firmware:

  • 🚫 Total absence of advertising at the system level
  • πŸ”„ Regular security updates
  • ⚑ Improved performance (no background Xiaomi processes)
  • 🎨 Ability to fine-tune the interface

Disadvantages:

  • ⚠️ Loss of official guarantee
  • πŸ”Œ The need to unlock the bootloader (bootloader)
  • πŸ“± Risk of "bricking" if installed incorrectly
  • πŸ”„ Possible problems with the camera or sensors (on some models)

Instructions for installing Xiaomi.eu (on the example of Redmi Note 11 Pro)+):

  1. Unlock bootloader through the official tool Xiaomi
  2. Install TWRP Recovery for your model
  3. Download the latest version of Xiaomi.eu from the official website
  4. Boot in. TWRP And make a full backup.
  5. Flip the firmware through Install β†’ Select ZIP
  6. Clean it up. Dalvik/ART Cache and reboot.

πŸ’‘

Before installing custom firmware, check compatibility with your model on the forum 4PDA. Certain devices (e.g, POCO X3 NFC) have separate builds for the global and Indian versions.

6. Alternative methods: blocking through DNS firewall

If you don't want to interfere with system files, you can block Xiaomi's ad servers at the network level.

  • 🌐 Change of change DNS β€” Redirecting requests to advertising domains to β€œnowhere"
  • πŸ”₯ Firewall – blocking network activity of advertising applications
  • πŸ›‘οΈ VPN with traffic filtering, such as AdGuard or Blokada

Method 1: Blocking through DNS

Use public DNS-ad-filtering servers:

  • 1.1.1.3 – Cloudflare (blocks malicious websites and ads)
  • 94.140.14.14 β€” AdGuard DNS
  • 176.103.130.130 – Control D (with lock settings)

To change the DNS to Xiaomi:

  1. Open the Settings. β†’ Connections and sharing β†’ Private DNS
  2. Select the host name of the private DNS provider
  3. Enter dns.adguard.com or another address from the list

Method 2: Firewall through ADB

With help. ADB Internet access for advertising applications can be blocked:

adb shell cmd appops set com.miui.systemAdSolution android:data_network_access deny


adb shell cmd appops set com.xiaomi.midrop android:data_network_access deny




adb shell cmd appops set com.android.browser android:data_network_access deny

Method 3: Blocking applications

Install one of these applications (permission is required) VPN):

  • πŸ›‘οΈ AdGuard – Blocks Advertising at Level DNS and HTTP
  • πŸ”₯ Blokada – open blocker without registration
  • 🚫 NetGuard – Firewall with manual configuration

πŸ’‘

Network-level blocking (DNS/firewall) β€” The only way to disable ads in apps that cannot be modified (e.g. Mi Browser or Mi Video).

7. Frequent problems and their solutions

Even after all these methods have been applied, advertising can continue to appear, and let's look at typical situations and ways to fix them.

Problem.Possible causeDecision
Advertising returns after MIUI updateSystem applications are being restoredRepeat. ADB-Install the Magisk module or install the Magisk module Disable_Miui_Ads
Banners in Settings don't disappearNot all advertising packages are disabledCheck the list through the pm list packages | grep miui and remove the extras
Apps stain after removal APKCritical system component removedRestore the file from the backup or reflash the firmware
Push notifications are not working.Blocked Mi Push ServiceAllow access in battery settings for com.xiaomi.xmsf

If the advertisement appears in a particular app:

  1. Open Settings β†’ Applications β†’ Application Management
  2. Find a problem app (such as Topics or Music)
  3. Turn off notifications and auto-start
  4. Clear the cache and app data

If after all the manipulations, the advertising remains:

  • πŸ” Check if third-party launchers or widgets with ads are installed
  • πŸ“± Install an alternative launcher (e.g. Nova Launcher)
  • πŸ›‘οΈ Use AdGuard in Local Mode VPN
  • πŸ”„ Reset your phone to factory settings and repeat the instructions

FAQ: Answers to Frequent Questions

❓ Why After Disabling Advertising Through ADB She's coming back?
This is due to automatic recovery of system applications when updating. MIUI. Solutions: Install the Magisk module Disable_Miui_Ads, which blocks recovery Disable automatic application updates in Settings β†’ Annexes β†’ Update applications Use script to automatically execute ADB-teams after reboot
❓ Can you turn off advertising without a computer?
Yes, but the options are limited. Try: Disable personalization in Mi Account (section 1) Install AdGuard or Blokada from Google Play Use launchers like Nova Launcher that hide system widgets To completely remove ads without a PC, root rights and a file manager like Mixplorer will be required.
❓ Will the way to work with ADB on POCO?
Yes, devices. POCO (for example, POCO X4 Pro, POCO F4) They're running on the same firmware. MIUI, so ADB-commands and settings are applicable. Exceptions are models POCO Launcher, where some of the ads can be embedded in the shell, in which case the replacement launcher will help.
❓ How to turn off advertising in Mi Browser?
The Mi Browser app is particularly aggressive in showing ads.Methods: Remove it via ADB: pm uninstall --user 0 com.android.browser Install an alternative browser (Chrome, Firefox, Brave) Disable notifications and background activity in the application settings Use AdGuard to block ad browser domains
❓ Will I lose my warranty if I use it? ADB root?
Xiaomi will not cancel the warranty for use ADB, Because it's a legitimate developer tool. If you delete system files without root, but this will lead to unstable work - the service center may refuse repairs under warranty Unlock bootloader and install custom firmware uniquely removes the warranty Using Magisk to hide root (for example, the MagiskHide module) can help bypass the check, but does not guarantee 100% success We recommend before visiting the service center to return the phone to factory condition.