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

Advertising in Xiaomi, Redmi and POCO smartphones has become one of the most annoying features of MIUI firmware. Even after buying the device, users encounter banners in the settings menu, notifications about "recommended apps" and pop-ups in system utilities. The manufacturer has integrated ad modules so deeply that standard shutdown through settings often works incompletely - ads return after updates or resets.

This article will not just list the obvious menu items, but will reveal all possible methods: from basic settings to advanced ones. ADB-We tested each method on devices with MIUI 12-14 (including global and Chinese versions) so you can choose the best option - whether it is temporary concealment of banners or complete removal of advertising services without root rights.

Basic MIUI settings: what can be turned off without additional tools

To start with, the basics are built-in MIUI options that reduce the amount of ads, but don’t remove them completely, which work on all devices, including the Xiaomi 13/14, Redmi Note 12, and POCO F5, but their effectiveness depends on regional firmware.

First, check the following points:

  • πŸ“± Advertising in the Settings menu: go to Settings β†’ The phone. β†’ Version. MIUI (tap 7 times to activate the developer mode, then return to Settings β†’ Additionally. β†’ Special facilities β†’ Advertising recommendations and disable slider.
  • πŸ”” Push notifications: Settings β†’ Notifications β†’ Additionally. β†’ Advertising notifications (turn off all switches).
  • 🌐 Personalized Advertising: Settings β†’ Google β†’ Advertising (turn off Personalized Advertising and reset advertising) ID).
  • πŸ“¦ Mi App Store Recommendations: Open the Mi App Store, go to Profile β†’ Settings β†’ Recommend and deactivate all options.

Important: after the MIUI update, some of these settings may reset, for example, in the firmware for India (MIUI INDIA), advertising notifications are automatically turned on every 30 days. To avoid this, use automation through Tasker (we will discuss this below).

πŸ“Š What Advertising in Xiaomi Irritates You the Most?
Banners in settings
Pop-up windows in apps
Push notifications
Advertising in the Mi App Store
other

2. Disabling Advertising through Mi Account: Hidden Options

Many users are unaware that some of the ad modules are linked to a Mi Account, and even if you are not logged in, the system may display "general" banners, but after you log in, additional settings appear.

  1. Sign in to Mi Account through Settings β†’ Accounts β†’ Mi Account.
  2. Go to account.xiaomi.com (open in your browser on your PC or phone).
  3. In Privacy β†’ Ad Preferences, disable all personalization-related switches.
  4. Return to your device and check Settings β†’ Sync β†’ Advertising Preferences – additional options should appear here to disable.

⚠️ Note: If you are using Chinese firmware (MIUI China, some of these settings can be blocked, in which case only a change of region or a change of location will help. ADB-Teams (see next section).

πŸ’‘

After you turn off the ads in your Mi Account, clear the cache of the Mi Account and Miui Daemon apps through Settings β†’ Apps β†’ App Management. This will speed up the application of changes.

3. ADB-Teams: complete disabling of advertising without root rights

The most effective way to remove ads on Xiaomi is to use Android Debug Bridge (ADB), which does not require superuser rights, but requires a computer and 10 minutes of time. We tested commands on MIUI 14 (Android 13) β€” they work on 90% of devices, except for some Chinese versions with blocked ADB.

First, prepare the device:

Enable Developer Mode (7 taps according to MIUI version)

Activate USB Debugging in Settings β†’ Additional β†’ For Developers

Connect your phone to your PC and confirm your debugging permission

Download ADB Tools (or use Minimal ADB)

-->

Now run the following commands in cmd (or Terminal on Mac/Linux):

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




adb shell pm hide com.miui.player




adb shell settings put global captive_portal_detection_enabled 0




adb shell settings put global captive_portal_server false

These teams:

  • 🚫 Disable the system module of advertising (systemAdSolution).
  • πŸ“΅ Block analytics and data sending (analytics, msa.global).
  • 🎡 Remove ads in the standard player (miui.player).
  • 🌐 Stop checking for β€œinternet connection” (often used to display ads).

⚠️ Attention: on certain devices (e.g, POCO X5 Pro MIUI 14.0.6) pm hide may not work. In this case, use the alternative:

adb shell pm uninstall -k --user 0 com.miui.systemAdSolution
What to do if ADB is not working?
If after completing the commands, the advertisement remained, check: 1. MIUI: Chinese-made (MIUI China) some packages are protected. Try changing region to Global or EEA. 2. Rights ADB: Some devices (e.g. Redmi Note 11 Pro)+ 5G) Require additional permission in the settings β†’ Additionally. β†’ For developers β†’ Debugging by USB (System updates: after major updates (e.g. with MIUI 13 on MIUI 14) ad packages can recover. Repeat commands after update.

Modification of system files (for advanced users only)

If ADB-The most radical method is editing system files, which requires an unlocked bootloader and super-user rights, but it is guaranteed to remove ads forever.

You'll need:

  • πŸ”“ Unlocked bootloader (instructions for Xiaomi: official website).
  • πŸ“± Installed by Magisk (to obtain root rights).
  • πŸ–₯️ Programme MT Manager or Root Explorer for file editing.

Instructions:

  1. Download and install MT Manager from Uptodown.
  2. Open the app, provide root access, and follow the path /system/etc/hosts.
  3. Add the following lines at the end of the file: 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 tracker.ai.xiaomi.com 127.0.0.1 stat.pandora.xiaomi.com
  4. Save the file and restart the device.

This method blocks access to Xiaomi’s ad servers at the system level, but be careful:

⚠️ Note: improper editing of the hosts file may cause loss of Internet connection. Before changing, back up the original file. Also, some banking applications (such as SberBank Online) may block work on devices with modified hosts.

5. Alternative firmware: how to get rid of advertising forever

If you’re willing to take drastic measures, installing custom firmware (like LineageOS, Pixel Experience or Xiaomi.eu) completely solves the problem of advertising. These firmwares are stripped of all MIUI advertising modules and offer a β€œclean” Android.

Comparison of popular firmware for Xiaomi:

FirmwareAdvertising supportUnlocking requiredComplexity of installationCons
Xiaomi.eu❌ No advertising.βœ… Yes.MediumNo Google Pay (on some models)
LineageOS❌ No advertising.βœ… Yes.Tall.There may be no camera support
Pixel Experience❌ No advertising.βœ… Yes.Tall.There are no MIUI features (e.g. Second Space)
MIUI Global (EEA)⚠️ Minimum advertising❌ No.Low.Updates come with a delay

For custom firmware installation:

  1. Unlock the bootloader (see official instructions).
  2. Install TWRP Recovery for your model (for example, for Redmi Note 10 Pro, use this version).
  3. Download the firmware (e.g. Xiaomi.eu from the forum) and install via TWRP.

⚠️ Attention: Installing custom firmware will void warranty and may result in a device blink. Before the procedure, check the firmware compatibility with your model (for example, check the firmware compatibility with your model, POCO F4 redmi K40 use different versions TWRP!).

πŸ’‘

Custom firmware is the only way to guarantee that ads will be permanently removed, but it is only suitable for advanced users. ADB-commands or change of region of firmware.

6 Automation: How to Block Ads Without Manual Intervention

If you don't want to constantly check your settings after updates, you can automate the process with Tasker or MacroDroid, which lets you create rules that will turn off ads automatically.

MacroDroid macro example (blocks advertising notifications):

  1. Create a new macro with a trigger Notice received.
  2. In the filter, specify the packages: com.miui.systemAdSolution, com.xiaomi.midrop.
  3. Add the action Close the notification.
  4. Activate the macro.

For Tasker, use this profile:

Profile: Event β†’ System β†’ Device Boot


Task:




1. Run Shell: pm hide com.miui.systemAdSolution (with root or ADB rights)




2. Run Shell: settings put global captive_portal_detection_enabled 0




3.Wait: 30 seconds




4. Run Shell: pm clear com.miui.systemAdSolution

These rules will be followed every time the phone is turned on, ensuring that the ad modules remain disabled even after updates.

You can also use DNS-level blockers, such as NextDNS or AdGuard. Set up a private DNS in Settings β†’ Connections β†’ Private DNS and specify the address:

  • πŸ”’ dns.adguard.com (blocks most of Xiaomi’s advertising domains).
  • πŸ›‘οΈ security.cloudflare-dns.com (less aggressive but reliable).

7. Frequent problems and solutions

Even after all the methods are applied, users face the return of advertising.

Problem 1: Advertising returns after the MIUI update.

  • πŸ”„ Repeat. ADB-Teams after each major update.
  • πŸ“΅ Turn off automatic updates in Settings β†’ The phone. β†’ Updating the system β†’ Settings (βš™οΈ) β†’ Auto-update.

Problem 2: They don't work. ADB-chinese.

  • 🌍 Change the firmware region to Global or EEA through settings β†’ Additionally. β†’ Region (resetting will be required).
  • πŸ”§ Use Xiaomi. ADB/Fastboot Tools for mass disabling of advertising packages.

Problem 3: Advertising appears in standard apps (Mi Video, Mi Music).

  • 🎬 Remove or freeze applications via adb shell pm uninstall -k --user 0 com.miui.video.
  • 🎡 Use alternatives: VLC or musicolet.

Problem 4: After editing hosts, the Internet doesn’t work.

  • πŸ“‘ Check the syntax of the file (each line should end with a line translation).
  • πŸ”„ Restore the original hosts from backup.

πŸ’‘

If the ad returns after resetting, execute adb backup -f backup.ab -apk -obb -shared -all -system before resetting to save the current ADB settings.

FAQ: Answers to Frequent Questions

❓ Can you turn off advertising without a computer?
Yes, but with limitations. You can: Use basic MIUI settings (article 1); Install AdGuard or Blokada to block ad domains; Apply MacroDroid to automate disabling (section 6); however, root rights will be required to completely remove ads without a computer.
❓ Why does it appear again after the ad is turned off in the settings?
This is related to: Updates MIUI: Some packages are reset by updates. Mi Account sync: if you're logged in, settings can be reset. Regional features: Chinese and Indian firmwares are forced to turn on ads. Solution: use ADB-Automation or command (Sections 3 and 6).
❓ Is it safe to remove system applications through ADB?
Removing most ad packages (com.miui.systemAdSolution, com.xiaomi.midrop) is safe, but it is safe to do so: ⚠️ Do not delete com.miui.home or com.android.systemui, it will lead to the collapse of the system. πŸ”„ Always back up before making changes (adb backup). πŸ“± On some models (e.g. Xiaomi) 12T) Deleting com.miui.analytics can disrupt Mi Account. For reliability, use pm hide instead of pm uninstall – it only hides the application without removing it completely.
❓ Are these methods working on POCO redmi?
Yes, all of the methods described are applicable to: POCO F5/F4/X5 (MIUI firmware for POCO); Redmi Note 12/11/10 (including Pro versions); Redmi K50/K60 (Chinese and global versions); Exception: on devices with MIUI China (e.g., Redmi K40 Gaming), some methods may require region change.
❓ How to Check if Advertising is Actually Disabled?
Follow the following steps: Open Settings β†’ About the phone and scroll down -- there shouldn't be banners. Check the Download folder -- there shouldn't be any files. recommend_*.Start Mi App Store – the Recommended tab should be empty. Follow the command adb shell dumpsys package com.miui.systemAdSolution – the output should be hidden=If the ad remains, check the logs through Logcat (adsolution keyword filter).