How to permanently remove advertising after watching videos on Xiaomi smartphones

You just watched a video on Xiaomi, you shut down the player, and instead of the desktop you're expecting, you're met with annoying ads from MIUI. Familiar situation? This problem has been haunting owners of Redmi smartphones, POCO and other brands for several years. Advertising comes not only after YouTube or TikTok, but also when you exit any video applications, including Netflix, Twitch and even the standard Gallery player.

The reason is the aggressive monetization of MIUI’s branded shell, which sticks banner ads wherever possible. The good news is that you can turn off these ads in a number of ways, from standard settings to deep system tampering. Bad news: Xiaomi regularly blocks workarounds in new versions of MIUI, so some methods may need to be updated. In this article, we’ve compiled the 2026-relevant ways tested on the latest firmware (including MIUI 14/15 and HyperOS).

Why Ads Are Coming After Xiaomi Videos

The banner ads after the video is closed are part of the MIUI Ads ecosystem built into the firmware, and the mechanism works in two main scenarios:

  • 🎬 Content type trigger: The system tracks you’ve watched a video (even in third-party apps) and displays ads when you return to the home screen).
  • 📊 Behavioral Targeting: If you use video applications frequently, the algorithm increases the frequency of ads showing, considering you to be the target audience".
  • 🔄 Cached banners: Some advertising modules are downloaded in advance and shown at the first opportunity (for example, after a video).

It’s important to understand that post-video ads are not a bug, but a feature. Xiaomi officially says they’re “personalized recommendations,” but in practice, users receive banners of games, credit offers, and other irrelevant services. Moreover, in some regions (such as India), advertising may be more aggressive due to partnerships with local advertisers.

⚠️ Note: On devices with HyperOS (new firmware for flagships in 2026), the advertising mechanism is integrated deeper. Standard disconnection through settings may not work - additional steps will be required, described in the section on the specifics of HyperOS.

Method 1: Disabling personalized advertising in MIUI settings

The easiest and safest method is to use the built-in system options, which is suitable for most Xiaomi, Redmi and POCO models on MIUI 12-15:

  1. Open Settings → Google → Advertising.
  2. Turn off the option of Personalized Ads (or Ad ID on some versions).
  3. Go back to the main settings and go to Settings → Applications → Application Management.
  4. Click on the three dots in the upper right corner and select "Show System Processes".
  5. Find the msa (Miui System Ads) app and disable the permission to “Show over other windows” from it.

This method reduces the amount of advertising by 60 to 70 percent, but it doesn't eliminate it completely, because msa is just one component of an advertising system, and it would take a combination of several ways to completely shut down.

☑️ What to check after disabling advertising

Done: 0 / 4

Method 2: Blocking Advertising through ADB (no root rights)

If the standard settings don’t help, the next step is to use the ADB (Android Debug Bridge. This method doesn't require root rights, but it requires connecting the phone to a computer. MIUI 13/14/15 HyperOS:

  1. Turn on Developer Mode: Go to Settings → About Phone and click on MIUI Version 7 times.
  2. Return to Settings → Additional → For developers and enable “Debugging by USB”.
  3. Connect your phone to your PC, install ADB Tools, and execute the command:
adb shell pm disable-user --user 0 com.miui.systemAdSolution

To block additional advertising modules, execute two more commands:

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


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

After the reboot, the ads after the video should disappear. If not, check if the system is back on the right after the update, in which case, repeat the procedure.

💡

If ADB doesn’t recognize the device, try reinstalling drivers through the MiFlash Tool or use Google’s universal drivers.

Method 3: Using third-party ad blockers

If you don't want to mess around with the system settings, you can install specialized applications.

  • 🛡️ Blokada – Blocks Advertising at Level DNS, Effective against banners after videos, but may conflict with some applications (e.g. banking).
  • 🚫 AdGuard – supports filters for MIUI The free version has a limited number of rules, but it will be enough to block ads after the video.
  • 🔒 DNS66 — Open source software to block ads through change DNS. It works on all versions of Android, including HyperOS.

Instructions for Blokada:

  1. Download the app from the official website (not from Play Market!).
  2. Enable the lock and select the filter list: EasyList + MIUI Ads.
  3. Activate Always On (VPN permission may be required).

⚠️ Note: Some blockers (e.g. AdAway) require root rights, and installing them on non-rooted devices may result in blocking updates. MIUI or failures in system applications.

AnnexDemands a rut?Effectiveness against advertising after videoCons
Blokada❌ No.⭐⭐⭐⭐ (85%)Could be slowing down the internet
AdGuard❌ No (premium)⭐⭐⭐⭐⭐ (95%)Paid filters for MIUI
DNS66❌ No.⭐⭐⭐ (70%)Tough setup
AdAway✅ Yes.⭐⭐⭐⭐⭐ (99%)I need root rights.

Method 4: Features of disabling advertising on HyperOS

HyperOS is Xiaomi’s new firmware that replaced MIUI on 2026 flagship models (e.g. Xiaomi 14, Redmi K70) and has a deeper integrated ad system, so standard methods may not work.

  1. Go to Settings → Privacy → Advertising and disable all options.
  2. Use ADB to block new services: adb shell pm disable-user --user 0 com.xiaomi.hyperos.ads
  3. Install the Magisk HyperOS Debloater module (requires a root) that removes system-level advertising components.

HyperOS also aggressively restores ad services after updates, and if the ad returns, repeat the blocking via ADB or use automated scripts (e.g., MIUI Debloater from XDA Developers).

What happens if you turn off all advertising services?
On some Xiaomi models (especially HyperOS), a complete shutdown of ad modules can cause a malfunction of proprietary applications such as Theme, Music or Gallery. In extreme cases, the system may offer to “restore default settings.” However, in practice, 90% of users do not face serious problems – the most that can happen is the disappearance of weather widgets or promotions on the home screen.

Method 5: Root Methods for Total Ad Removal

If you're willing to take drastic measures, root access gives you maximum control over the system.

  • 🔧 Remove system applications: com.miui.systemAdSolution com.xiaomi.midrop com.miui.analytics com.miui.player (use Root Explorer or adb shell pm uninstall) -k --user 0 [packet])
  • 📝 Edit the file. /system/etc/hosts, adding ad domain blocking: 127.0.0.1 ad.mi.com 127.0.0.1 track.miui.com 127.0.0.1 sdkconfig.ad.xiaomi.com
  • 🔄 Install the Magisk module MIUI Debloater or Universal AdBlock.

Warning: on certain models (e.g, POCO F5 or Redmi Note 12) removing system packages can lead to bootloop ( looped boot). TWRP Or Mi Flash Tool.

📊 What method you tried to remove ads on Xiaomi?
Standard settings of MIUI
ADB-team
Third-party blockers (Blokada, AdGuard)
Ruth methods
Nothing helps.

Method 6: Alternative firmware (for advanced users)

If neither method worked, the last option is custom firmware. The best options for Xiaomi are:

  • 🌍 LineageOS is a pure Android without ads and unnecessary services. Supports most Xiaomi models (for example, Redmi Note 10 Pro, POCO X3).
  • ⚡ Pixel Experience — firmware with Google Pixel interface, completely ad-free. Requires unlocked bootloader.
  • 🔄 MIUI EU — European MIUI No advertising and Chinese services.

Installation process:

  1. Unlock the bootloader through the Mi Unlock Tool (requires a wait of 7-30 days).
  2. Install TWRP Recovery for your model.
  3. Sweep through the selected firmware and GApps (if you need Google services).

⚠️ Note: Installing custom firmware voids warranty and may result in data loss.On some models (e.g. Xiaomi) 13T) unlocking the bootloader requires linking the Mi Account to the device - without this, the phone will turn into a "brick" after resetting.

💡

Custom firmware is the only way to get rid of ads on Xiaomi, but it’s only suitable for power users. For most, a combination of ADB + blockers is enough.

Frequent Mistakes and How to Avoid Them

Many users have trouble trying to remove ads, and these are the most common mistakes:

  • 🔄 Do not restart the phone after changes in the ADB Most changes only take effect after rebooting.
  • 📱 Use outdated teams ADB. For example, in MIUI 15 The com.miui.systemAdSolution package may be called differently (check through adb shell pm list packages). | grep -i ad).
  • 🔒 They're installing blockers from unverified sources" APK contain malicious code.
  • 📉 Xiaomi Advertising Domains Change Regularly – Update the Bases Every 1-2 Weeks.

If after all the manipulations the advertisement still appears, check:

  1. Is the option "MIUI Recommendations" included in Settings → Screen → Main screen?
  2. Are there any updates installed for msa or Miui System Ads (check Settings → Applications → Application Management).
  3. Does the blocker conflict with the VPN or antivirus (disable them for the duration of the test).

FAQ: Answers to Frequent Questions

❓ Why After Updating MIUI commercials are back?
Xiaomi regularly restores the rights of advertising services through the OTA-After the firmware update: Repeat the lock through ADB. Update the filters in the ad blocker, check if new ad packages have appeared (via adb shell pm list packages). | grep -i HyperOS recommends that you disable automatic updates of system applications in Settings → Annexes → Auto-update.
❓ Can you remove advertising without a computer?
Yes, but with limitations: Use mobile blockers (Blokada, DNS66). Turn off personalized advertising in Google settings and MIUI. Install Termux and execute. ADB-commands directly from the phone (requires root or special rights). However, to completely remove ads after the video you still need a PC (at least for one setting via the Internet). ADB).
❓ Why on some models (POCO X5, Redmi 12: Nothing works?
On budget and new models, Xiaomi often uses: ADB protection (blocks system packages); unique advertising service names (e.g. com.poco.ads instead of the standard msa); cloud-based ad binding (banners are loaded dynamically from Xiaomi servers); Solution: Try DNS-level blocking (e.g., via NextDNS with MIUI Ads filter); Use Magisk-modules like Disabler for MIUI. Write in support of Xiaomi asking to disable ads (sometimes it helps for European firmware).
❓Legal: Is it legal to block ads on Xiaomi?
From a legal perspective: 📜 Disconnecting through settings is completely legal (this is your device). ⚖️ Use of the ADB/Xiaomi can block an account for “unauthorized software change”, but in practice such cases are rare. 🔓 Ruth and custom firmware are in violation of the user agreement, but are not a criminal offense. In most countries (including Russia, the EU, the United States), blocking ads on your own device is not punishable by law. Block certain services (e.g. Mi Cloud).
❓ Is there a 100% way to remove ads forever?
There is no universal solution, but the closest result is a combination: ADB-Blocking all advertising packages: Install Blokada or AdGuard with filters for MIUI. Regular filter updates (every 2 weeks) Disable automatic updates to system applications. HyperOS will require: Install the HyperOS Debloater module. Block domains through hosts. Even in this case, after major updates MIUI It may be necessary to repeat the procedure.