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:
- Open Settings → Google → Advertising.
- Turn off the option of Personalized Ads (or Ad ID on some versions).
- Go back to the main settings and go to Settings → Applications → Application Management.
- Click on the three dots in the upper right corner and select "Show System Processes".
- 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
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:
- Turn on Developer Mode: Go to Settings → About Phone and click on MIUI Version 7 times.
- Return to Settings → Additional → For developers and enable “Debugging by USB”.
- Connect your phone to your PC, install ADB Tools, and execute the command:
adb shell pm disable-user --user 0 com.miui.systemAdSolutionTo 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.analyticsAfter 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:
- Download the app from the official website (not from Play Market!).
- Enable the lock and select the filter list: EasyList + MIUI Ads.
- 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.
| Annex | Demands a rut? | Effectiveness against advertising after video | Cons |
|---|---|---|---|
| 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.
- Go to Settings → Privacy → Advertising and disable all options.
- Use ADB to block new services: adb shell pm disable-user --user 0 com.xiaomi.hyperos.ads
- 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?
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.
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:
- Unlock the bootloader through the Mi Unlock Tool (requires a wait of 7-30 days).
- Install TWRP Recovery for your model.
- 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:
- Is the option "MIUI Recommendations" included in Settings → Screen → Main screen?
- Are there any updates installed for msa or Miui System Ads (check Settings → Applications → Application Management).
- Does the blocker conflict with the VPN or antivirus (disable them for the duration of the test).