How to permanently remove ads on Xiaomi TV: from simple settings to radical methods

Xiaomi TVs have long gained popularity due to the ratio of price and quality, but many users are faced with one unpleasant feature – aggressive advertising in the interface. Menu banners, promotional pop-ups, content recommendations from partners all distract from viewing and spoil the experience of the device, and it is especially annoying that ads appear even in premium paid models such as the Mi. TV Q2 Xiaomi TV A Pro.

In this article, we’ll look at all the ways you can disable ads on Xiaomi TVs, from official settings to alternative methods for advanced users. It’s important to understand that the manufacturer makes money from displaying ads, so some features can be hidden or limited. However, with our instructions, you can, if you don’t remove ads completely, at least minimize them.

Why Xiaomi TV is getting ads and can it be removed forever?

Advertising on Xiaomi TVs is built into PatchWall firmware, a proprietary shell that replaces the standard Android TV. Advertising sources are divided into three types:

  • πŸ“Ί System banners – appear in the main menu, recommendations section and when you launch applications.
  • πŸ”” Push notifications – pop-ups with offers to update the software, buy accessories or watch content from partners (for example, Netflix or Prime Video).
  • 🎬 Content Recommendations – Personalized selections of movies and TV series that are actually ads for streaming services.

Is it possible to remove ads forever? Technically, yes, but it would require the complete removal of system applications through ADB or flashing to a custom version of Android TV. However, such methods are suitable only for advanced users and can be insecure. For most owners, a combination of official settings and blocking through the router is enough.

⚠️ Note: On Xiaomi TVs with PatchWall 4.0 and later (released after 2022), some advertising services are integrated into the core of the system.

Method 1: Turn off advertising through standard TV settings

To start with, the most basic features are built-in options that are available without any further manipulation. Most Xiaomi TV models (including Mi TV 4A, Mi TV 5, Redmi Smart TV) allow you to partially limit the display of ads through the settings menu.

Instructions:

  1. Open Settings (cog in the upper right corner of the main screen).
  2. Go to the Account and Security section β†’ Advertising.
  3. Turn off the sliders: πŸ”˜ Personalized advertising (disables targeted banners) πŸ”˜ Content recommendations (removes movie offers) πŸ”˜ Push notifications (blocks pop-up windows)

Applications β†’ Application management

Mi Video

Mi Home

PatchWall

This method reduces the amount of ads by 30 to 50 percent, but doesn't eliminate them completely. - Banners on the main menu and recommendations from Amazon Prime or Disney+ may remain.

Push notifications are disabled in Mi Video|Are permits for PatchWall reset|Is personalization of ads in Xiaomi account turned off?|Reload the TV to apply changes-->

Method 2: Reset the TV to factory settings

If the ad comes after a firmware update or new apps are installed, a full reset will help, which returns the TV to the β€œout of the box” state by removing all settings, accounts and cache of advertising services.

How to reset:

  1. Open Settings β†’ About TV β†’ Reset to factory settings.
  2. Select Delete all data (do not Reset settings!).
  3. Confirm the action with a password from the Xiaomi account (if attached).
  4. Wait for the reboot (it will take 5-10 minutes).

⚠️ Attention: On Xiaomi models TV A2 And a new reset can return the firmware to the factory version, which will lead to loss of features (for example, Google Assistant). β†’ On TV.

| Never | Once a year | Only in critical failures |I don't know how to do it-->

Method 3: Blocking Ads via MIUI Optimizing (for Advanced)

Xiaomi TVs run a hidden utility MIUI Optimizing, which allows you to disable system services, including advertising.This method requires access to ADB (Android Debug Bridge) and is suitable for models based on Android TV 9.0+.

Step-by-step:

  1. Turn on USB Debugging on your TV: Go to Settings β†’ About TV. Tap 7 times on the Android TV version until the message "You're a developer" appears. Go back to Settings β†’ Additional β†’ Developer Settings and enable USB Debugging.

USB 3.0

ADB Tools

adb connect [IP- TV address]:5555


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




adb shell pm disable-user --user 0 com.xiaomi.mitv.advertise




adb shell pm disable-user --user 0 com.xiaomi.mitv.appstore

adb shell reboot

This method removes up to 80% of ads, including banners in the main menu and push notifications, but on some models (for example, Xiaomi TV Q1E) after updating the firmware services can turn on again.

What to do if ADB is not connected?
If the adb connect command returns the "unable to connect" error, check it: 1. Is debugging on-line USB TV. 2. Do you use the original cable (not all) USB-cables support data transmission). 3. Is it allowed to access debugging on the TV screen (pop-up window). 4. Try to connect to Wi-Fi: Adb connect [IP-address]:5555 (know IP You can set up β†’ Network).

Method 4: Blocking Advertising Domains via Router

One of the most effective methods is to block the domains through which ads are loaded, and you can do this at the router level so that the ban applies to all devices on the network.

List of domains to block (add to the DNS blacklist or router hosts file):

domainAppointmentThe blocking effect
ad.mi.comThe main advertising server XiaomiCleans banners at PatchWall
tracker.mi.comCollection of statistics for targeted advertisingStops Personalized Offers
api.ad.xiaomi.comAPI for downloading advertising materialsStops showing in Mi Video apps
sdkconfig.ad.xiaomi.comConfiguration of advertising SDKsBreaks the mechanism of showing push notifications
data.mistat.xiaomi.comUsage analysisReduces the number of β€œrecommendations”

How to add a lock (on the example of the router Keenetic):

  1. Go to the router's web interface (192.168.1.1).
  2. Go to Security. β†’ Blocking sites.
  3. Add domains from the table to the list of blocked.
  4. Save the settings and restart the router.

For routers with AdGuard Home or Pi-hole support, you can use ready-made lock lists, for example:

https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts


https://adaway.org/hosts.txt

πŸ’‘

If some features (such as the app store) have stopped working after domain blocking, temporarily unblock api.ad.xiaomi.com and check if it is his fault.

Method 5: Install an alternative launcher (without root)

PatchWall is the main source of advertising on Xiaomi TV, and can be replaced with a third-party launcher, such as an ATV Launcher or HalLauncher, which does not require superuser rights, but takes a little time to set up.

Instructions:

  1. Download. APK-a launcher file (e.g., HalLauncher) on USB-accumulator.
  2. Connect the flash drive to the TV and install the application through File Manager β†’ Install unknown applications.
  3. Launch the launcher and select it as the default launcher in the application settings.
  4. Disable PatchWall via ADB (if needed): adb shell pm disable-user --user 0 com.mitv.tvhome

Step-by-step process:

  1. Unlock the bootloader via Mi Unlock Tool (requires a Xiaomi account with a linked phone number).
  2. Install TWRP Recovery for your model.
  3. Download custom firmware (for example, LineageOS 19) and transfer it to the USB-accumulator.
  4. Boot in. TWRP (menu + Power when turned on) and slick ZIP-file.
  5. Run Wipe Dalvik/Cache and restart.

Warnings:

  • 🚨 Risk of "bricking" TV (turning into a "brick").
  • 🚨 Loss of Xiaomi-related features (such as Mi Remote or Mi Home).
  • 🚨 Lack of official security updates.
Which Xiaomi TV models support custom firmware?
At the moment, stable ports exist for: - Mi Box S (MDZ-22-AB) - Mi TV 4A (models 2018-2019) - Mi TV 4X (65" and 55") For new models (2022-2026), custom firmware is not yet due to a closed bootloader.

Method 7: Physically shutting down the Internet for advertising services

If you don’t need online features (like YouTube or Netflix), you can turn off the internet entirely for advertising apps, via network settings or firewall.

Option 1: Through settings of the TV

  1. Go to Settings β†’ Applications β†’ Application Management.
  2. Choose Mi Video, PatchWall and Mi Ad Service.
  3. Click Data β†’ Prohibit background data transfer.
  4. Turn off Wi-Fi or Ethernet in Settings β†’ Network.

Option 2: Through a firewall on a router

On routers with OpenWRT or DD-WRT firmware, you can create a rule that blocks Internet access for specific applications over their IP.

iptables -A FORWARD -d ad.mi.com -j DROP


iptables -A FORWARD -d tracker.mi.com -j DROP

This method removes online advertising by 100%, but deprives the TV of access to streaming services and updates.

FAQ: Frequent questions about advertising on Xiaomi TV

❓ Why did the new firmware update reappear?
The manufacturer regularly returns advertising services through updates. To avoid this: Turn off automatic updates in Settings β†’ About TV β†’ System Update. Block ad domains via router (see Method 4). Use ADB to disable services after each update.
❓ Can you remove advertising without losing your guarantee?
Yes, safe methods: Turn off ads in settings (Method 1). Block domains via router (Method 4); Install an alternative launcher (Method 5); Avoid unlocking the bootloader and flashing it - this voids the warranty.
❓ Why some models do not have an β€œAdvertising” item in the settings?
On PatchWall 3.0 and older TVs (e.g. Xiaomi TV A2 2023), the item may be hidden. Try: Use ADB to disable services (Method 3); Reset to factory settings (Method 2); Update firmware to the latest version (sometimes returns hidden options).
❓ How to return a standard launcher after installing an alternative?
To return to PatchWall: Go to Settings β†’ Applications β†’ Default Launcher. Select PatchWall from the list. If the launcher has disappeared from the list, turn it on via ADB: adb shell pm enable com.mitv.tvhome
❓Legal: Is it legal to block ads on Xiaomi? TV?
From a legal perspective: πŸ“œ Disconnecting through settings is completely legal (this is your device). πŸ“œ Domain blocking is a grey method, but there is no precedent for lawsuits from Xiaomi. πŸ“œ Flashing – may violate the license agreement, but in practice does not bear any consequences. Xiaomi does not block devices for disabling advertising, but may restrict access to branded services (for example, to Mi Video).