Are you tired of the annoying ads that suddenly appear at the end of every video on your Xiaomi TV? This problem is familiar to most Mi TV, Redmi TV and even Mi Box console owners. Commercials not only spoil the viewing experience, but also slow down the system, and sometimes even lead to a device freeze. Fortunately, there are several proven ways to get rid of them - from basic settings to radical methods for power users.
In this article, we will discuss all the current methods of removing ads on Xiaomi TVs (including models from 2023-2026), and explain why they appear and how to prevent them from returning after updates. You will learn how to circumvent the manufacturerβs restrictions legally and what to do if standard methods do not work. Importantly, some methods require disabling automatic updates or even manual editing of system files β we will describe in detail the risks and nuances of each approach.
Why does Xiaomi TV have ads at the end of the video?
The ads at the end of the video are not a random bug, but part of Xiaomiβs monetization strategy, integrating ad modules into PatchWallβs firmware and MIUI TV to offset the low price of the devices, and these are the key reasons why itβs coming:
- πΊ Built-in advertising SDK: The firmware contains pre-installed modules (e.g. com.miui.systemAdSolution) that download ads from Xiaomi servers.
- π Automatic Updates: Even if you manually remove the ad, it can come back after the software update β Xiaomi regularly restores advertising components.
- π― Personalized recommendations: The system analyzes your preferences (for example, through Mi Account) and selects targeted advertising.
- π¦ Pre-installed apps: Some services (such as Mi Video or Prime Video) have their own ad units that are displayed regardless of system settings.
Interestingly, Xiaomi TVs sold in Europe tend to have fewer ads, due to local data protection laws (GDPR), and in Russia, India and China, inserts are more common, and itβs worth noting that Google TV models (such as the Xiaomi TV A2 2023) may be advertising because of Google services, not just Xiaomi.
Method 1: Disabling Advertising through Standard Settings (without root)
If youβre not ready for radical measures, start with basic settings, which is suitable for most Xiaomi Mi TV, Redmi TV and Mi Box S/Mi Box 4 models. Importantly, after updating the firmware, some menu items may be reset β they will have to be reconfigured.
Here's the step-by-step instruction:
- Open Settings (cog in the upper right corner of the main screen).
- Go to Accounts and Security β Advertising (on some models, the path may differ: Settings β System β About TV β Advertising services).
- Turn off the following options: π Personalized Advertising (or Recommendations Based on Your Use) π Showing ads on the main screen π Advertising notices (if any)
Settings
Applications β Application management
Mi Video
PatchWall
Live TV
- π΅ Turn off autostart.
- π« Stop showing notifications.
- ποΈ Clear the cache and data (Clear the data button).
- In the DNS 2 field, you can enter a backup address (e.g., 176.103.130.131 for AdGuard).
- Save settings and restart the TV (Settings β Device β Reboot).
| DNS-server | Address | Effectiveness against advertising | Cons |
|---|---|---|---|
| AdGuard DNS | 176.103.130.130 | βββββ | It can slow down the loading of some websites. |
| Cloudflare Family | 1.1.1.3 | ββββ | Not blocking all Xiaomi ads |
| NextDNS | Registration is required | βββββ | Free traffic restrictions (300k requests/month) |
| Google DNS | 8.8.8.8 | ββ | It has almost no effect on advertising. |
After changing the DNS, the ads at the end of the video should disappear after 5-10 minutes (cache refresh time).If this does not happen, try clearing the app cache (Settings β Applications β Application Management β Mi Video β Clear the cache).
π‘
If some applications (such as Disney+ or OKKO) stop working after changing the DNS, return the standard DNS or use NextDNS with custom rules.
Method 3: Remove Advertising Applications via ADB (for Power Users)
If standard methods didnβt work, you can remove the system apps responsible for displaying ads using ADB (Android Debug Bridge), a method that requires connecting the TV to a computer and basic command line knowledge. It works on all Xiaomi models with Android TV (including the Mi Box 4K and Redmi Smart TV).
You'll need:
- π₯οΈ Computer with Windows/macOS/Linux.
- π USB-cable (for Mi Box) or access to the same Wi-Fi network (for TVs).
- π οΈ Utility. ADB Tools (download and unpack platform-tools).
Step-by-step:
- Turn on USB debugging on your TV: Go to Settings β About TV. Press 7 times on the build number (you will be a developer message). Go back to Settings β For developers and enable USB debugging and network debugging.
Settings β Network
platform-tools
adb connect [IP_ address television]:5555For example: adb connect 192.168.1.100:5555 (for Wi-Fi connection).
adb shell pm list packages | grep -i miuiadb shell pm uninstall --user 0 com.miui.systemAdSolution
adb shell pm uninstall --user 0 com.xiaomi.mitv.appstore
adb shell pm uninstall --user 0 com.miui.videoplayer
adb shell pm uninstall --user 0 com.mitv.tvhomeadb shell rebootList of dangerous bags for removal
After removing the com.miui.systemAdSolution and com.mitv.tvhome packages, the ads at the end of the video disappear forever, but some PatchWall features (such as content recommendations) may stop working. If the TV starts to glitches, restore the deleted packages via the command:
adb shell cmd package install-existing com.miui.systemAdSolutionβ οΈ Note: On TVs with Android 11 firmware+ (for example, Xiaomi TV A2 2023) some packets are protected from deletion, in which case use the command adb shell pm disable-user instead of uninstall.
Method 4: Disabling Advertising through Hosts (Alternative Root)
If you don't have root rights, but you want to block ads at the system level, you can edit the hosts file, which intercepts requests to the ad servers and redirects them to an empty address, suitable for all Xiaomi models, but requires an ADB connection.
Instructions:
- Connect to the TV via ADB (as in Method 3).
- Download the hosts file from your TV: adb pull /system/etc/hosts
- Open the downloaded file in any text editor (for example, Notepad++).
- Add the following lines at the end of the file (blocking Xiaomi ad domains): 127.0.0.1 ad.mi.com 127.0.0.1 sdkconfig.ad.intl.xiaomi.com 127.0.0.1 track.mi.com 127.0.0.1 data.mistat.intl.xiaomi.com 127.0.0.1 o2o.api.xiaomi.com
- Save the file and upload it back to the TV: adb push hosts /sdcard/adb shell su -c "mount -o rw,remount /system" adb shell su -c "cp /sdcard/hosts /system/etc/hosts" adb shell su -c "chmod 644 /system/etc/hosts" adb shell reboot
- Install Magisk to get root: Download Magisk and transfer it to a flash drive. In TWRP, select Install β Specify Magisk.zip β Swipe to Confirm Flash.
Method 3
After getting root, you can:
- π§Ή Remove all Xiaomi system applications (including PatchWall).
- π Install AdAway or Blokada to automatically block ads.
- π Disable Forced Firmware Updates.
β οΈ Note: On Xiaomi TVs with an Amlogic chip (such as the Mi Box S), the process of unlocking the bootloader may be different. TV X Series) may require a special cable to run through the UART.
How to prevent the return of advertising after updates?
Even if you managed to remove the ad, it can come back after the firmware update.
- π Turn off automatic updates: Go to Settings β On TV. β System Update. Turn off Automatic Update Download. If the option is not available, block the updates through ADB: adb shell pm disable-user --user 0 com.xiaomi.upnp
- π‘οΈ Use a firewall: Set a rule on the router to block Xiaomi domains (for example, through OpenWRT or Tomato). Add to the blacklist of addresses: ad.mi.com sdkconfig.ad.intl.xiaomi.com o2o.api.xiaomi.com
- π Check settings regularly: After each manual update, repeat the steps from Method 1 and Method 2. Watch for custom firmware (e.g. LineageOS for the first time). TV) β They're often devoid of advertising.
If you still decide to update the firmware, first make a backup of the current settings through ADB:
adb backup -apk -obb -shared -all -f backup.abThis will allow you to quickly restore the system if the ad returns.