How to permanently remove ads on Xiaomi Smart TV: disable banners in PatchWall and MIUI TV

Why is Xiaomi Smart TV Advertising and Can It Be Removed?

Xiaomi’s PatchWall TVs (or MIUI TVs for new models) are initially marketed as budget-friendly, advanced devices, but many users are faced with intrusive ads that appear on the home screen, in the app menu, and even while watching content, due to monetization of firmware: Xiaomi integrates advertising modules into the shell to compensate for the low price of the devices.

The good news is that most ads can be turned off without rooting or manipulating them. The bad news is that some banners (such as those built into system apps like Mi Video or Mi Home) are only removed by radical methods. 5 proven methods, including hidden settings, disabling services through ADB, Important: the effectiveness of the methods depends on the model of the TV and the firmware version (relevant to Mi). TV 4/4A/4C/4S/5/5X, Redmi Smart TV, Xiaomi TV A/A Pro 2020–2026).

Before you start, consider that some actions may result in a reset or warranty violation. If your TV was purchased less than a year ago, check the warranty terms and conditions - in some regions, changing your firmware on your own is considered a violation.

πŸ“Š What type of advertising annoys you the most?
Banners on the main screen
Pop-up windows in apps
Advertising in MI Video/MI Home
Content recommendations (inappropriate)
Another option

Method 1: Disabling Advertising through PatchWall Standard Settings

The easiest method is to use the built-in PatchWall shell options.It is suitable for most Xiaomi Mi TV and Redmi Smart TV models based on Android TV 9-11. You do not need additional devices or programs, but the effectiveness is limited: this method removes only a part of the banners (for example, content recommendations on the home screen).

Instructions:

  1. Open Settings (cog in the upper right corner of the main screen).
  2. Go to Accounts and Security section β†’ Advertising.
  3. Turn off the sliders: πŸ“’ Personalized advertising (removes targeted banners) 🎬 Content recommendations (hidden lines with movies/series) πŸ”„ Content updates (stops downloading new banners)

Settings β†’ Applications β†’ Notifications

Mi Video

Mi Home

PatchWall

After applying the changes, restart the TV (Settings β†’ Device β†’ Reboot).Please note: this method does not remove ads in the apps themselves (for example, on YouTube or Netflix), nor does it block system banners that appear when you connect to the Internet.

β˜‘οΈ What to do before turning off advertising

Done: 0 / 4

Method 2: Resetting Advertising ID via ADB (for power users)

If standard settings don’t work, the next step is to reset your Advertising ID via ADB (Android Debug Bridge), which requires connecting your TV to your computer, but removes most of the targeted ads, including banners in Mi Video and PatchWall.

What you need:

  • πŸ–₯️ Computer with Windows/macOS/Linux and installed Android SDK Platform-Tools.
  • πŸ”Œ Cable USB-A β†’ USB-A (or USB-C, depending on the TV model).
  • βš™οΈ Included debugging by USB TV-wise.

Step-by-step:

  1. Activate USB debugging: Go to Settings β†’ About TV. Click 7 times in a row on the Build Number bar until you become a developer notification appears. Go back to Settings β†’ Additional β†’ For developers and enable USB debugging.

cmd

adb devices

(A device should be displayed, e.g. 192.168.x.x:5555)

adb shell settings put global development_settings_enabled 1


adb shell settings put secure user_setup_complete 1




adb shell pm clear com.miui.systemAdSolution

Reboot the TV.

Critical: After resetting your ad ID, some system applications (such as Mi Video) may stop updating content or showing network errors. This is not critical for the TV to work, but be aware that functionality will be limited.

What if ADB can’t see TV?
1. Check that the cable supports data transfer (not all) USB-charging cables are suitable). 2. Try to connect via Wi-Fi: enter in ADB adb connect IP_TV address:5555 (know IP You can set up β†’ Network). 3. Turn off the firewall/antivirus on your computer – they can block the connection.

Method 3: Installation of an alternative launcher (without root rights)

One radical but effective way is to replace the standard PatchWall launcher with a third-party one (such as an ATV Launcher or HalLauncher), which completely removes the ads on the home screen, but requires pre-tuning and can conflict with Xiaomi’s proprietary features (such as voice control).

Advantages of the method:

  • βœ… Complete removal of banners and recommendations on the home screen.
  • βœ… Possibility of customization of the interface (themes, icons, layout).
  • βœ… Compatibility with most models Xiaomi/Redmi TV Android TV.

Disadvantages:

  • ⚠️ Loss of access to some PatchWall features (e.g., quick application launch via a button on the remote).
  • ⚠️ Manual installation required APK through ADB file manager.

Instructions for installing ATV Launcher:

  1. Download. APK-Launcher file from the official website (for example, ATV Launcher).
  2. Transfer the file to USB-drive and connect it to the TV.
  3. Install any file manager (such as FX File Explorer) through Google Play.
  4. Open the APK through the manager and install the launcher.
  5. Launch the ATV Launcher and select it as the default launcher in the application settings.

⚠️ Note: After installing an alternative launcher, you may lose access to Xiaomi’s proprietary widgets (weather, calendar) and you will have to return them to the standard PatchWall through resetting.

Method 4: Blocking Advertising Servers via Hosts File

This method is suitable for users who are ready to manually edit system files. It blocks the TV from accessing Xiaomi ad servers, which removes most banners, but requires access to the root file system.

List of blocked domains (current for Xiaomi Mi TV 2020-2026):

domainAppointmentThe blocking effect
api.ad.xiaomi.comMain advertising serverRemove banners on the main screen
sdkconfig.ad.xiaomi.comConfiguration of Targeted AdvertisingStops collecting data for personalization
data.mistat.xiaomi.comStatistics and analyticsReduces the number of recommendations
api.brs.intl.miui.comInternational advertising campaignsBlocking regional advertising

How to edit hosts:

  1. Connect to the TV via ADB (see Method 2).
  2. Download the current hosts file: adb pull /system/etc/hosts
  3. Open the file in the text editor and add the lines: 127.0.0.1 api.ad.xiaomi.com 127.0.0.1 sdkconfig.ad.xiaomi.com 127.0.0.1 data.mistat.xiaomi.com
  4. Save the file and download back: adb push hosts /system/etc/hosts adb reboot

Important: Some Xiaomi TV A Pro models have the hosts file protected from recording, in which case Magisk will be required to obtain root rights (see next section).

πŸ’‘

If after editing hosts TV stopped connecting to the Internet, check the syntax of the file – extra spaces or the lack of line transfer can cause errors.

Method 5: Completely remove ads using Magisk (root)

The most effective, but also the riskiest, method is to obtain root rights through Magisk and remove the system applications responsible for displaying ads, which will remove all ads, including those built into Mi Video and PatchWall, but will deprive you of warranties and can lead to unstable TV performance.

What will be required:

  • πŸ“ Firmware for your model (download from xiaomifirmwareupdater.com).
  • πŸ”§ Magisk Manager (last version for Android) TV).
  • πŸ’Ύ USB-storage device (formatted in FAT32).

Step-by-step:

  1. Unpack the firmware and find the boot.img file.
  2. Transfer it to a phone with Magisk Manager installed and create a patch: Open Magisk Manager β†’ Install β†’ Select and fix the file. Select boot.img and wait for the creation magisk_patched.img.

Copy the patch file to USB-drive and connect it to the TV.

Updating the system

Settings β†’ About TV β†’ Software Update β†’ Local Update

magisk_patched.img

Magisk Manager

ADB

adb shell


su




pm uninstall --user 0 com.miui.systemAdSolution




pm uninstall --user 0 com.xiaomi.mitv.appstore




pm uninstall --user 0 com.miui.videoplayer

⚠️ Attention: On Xiaomi TVs TV A Pro 2023+ Android-based firmware 12+ The method may not work due to the enhanced protection of the bootloader, in which case the only option is to roll back to an older version of the software (with the risk of loss of functionality).

πŸ’‘

Getting root rights voids the warranty and can lead to a TV breeze, and use this method only if other methods have not worked and you are prepared for the possible consequences.

How to reduce the amount of advertising without technical manipulation

If you don’t want to mess with settings or risk the stability of the TV, use these recommendations:

  • πŸ”„ Clean the cache regularly: Go to Settings β†’ Annexes β†’ All apps, select PatchWall, Mi Video and click Clear Cache. This will temporarily reduce the number of ad impressions.
  • 🌐 Use it. VPN: Some ad servers are blocked when connected to VPN (For example, ProtonVPN or Windscribe. VPN-App from Google Play and connect to a server in Europe.
  • πŸ“΅ Turn off data collection: In Settings β†’ Confidentiality β†’ Diagnostics and reviews, stop sending statistics. It won't take away the ads completely, but it will reduce their personalization.
  • πŸ›’ Install alternative apps: Replace Mi Video with VLC Or Kodi, and Mi Home is on Google Home. Xiaomi's branded apps are most often advertising.

Also worth paying attention to the remote control: on some models Xiaomi Mi TV long press on the Home button opens the menu without ads. Try using this technique for quick access to applications.

FAQ: Frequent questions about advertising on Xiaomi Smart TV

Can I turn off ads on Xiaomi TV without a computer?
Yes, but the effectiveness will be limited. You can: Disable personalized advertising in the settings (see Method 1). USB-the storage device (see Method 3). VPN However, it will be necessary to completely remove ads (for example, in Mi Video) ADB root-right.
Why did the ads reappear after the reset?
When you reset your TV to factory settings, all system applications, including ad modules, are restored. To avoid this: Before resetting, write down a list of services disabled (see Method 1). After reset, immediately turn off Personalized Ads and Content Updates. If you use ADB, repeat the commands to reset your advertising ID.
Will Smart TV work without connecting to Mi Account?
The TV will work, but with limitations: πŸ”΄ Branded services are not available (Mi Video, cloud management). 🟒 All basic functions work (YouTube, Netflix, IPTV). 🟑 There may be problems with software updates (some firmware requires authorization). If you don’t use the Xiaomi ecosystem, you can safely untie your account, which will reduce the amount of targeted advertising.
How to return a standard PatchWall after installing an alternative launcher?
To return to the branded shell: Go to Settings β†’ Applications β†’ Launcher by default. Select PatchWall (if it doesn't show, clear the alternative launcher data). If necessary, reset (Settings β†’ Device β†’ Reset). If the launcher was removed through ADB, you will need to reflash the TV.
Legal: Does disabling ads violate Xiaomi’s user agreement?
Technically yes. Xiaomi’s user agreement states that modifying firmware or blocking advertising services can be considered a violation. However: The company rarely prosecutes users for such actions (except for warranty cases); Disabling advertising through standard settings (Method 1) does not violate the agreement. In the EU and some other regions, users have the right to disable targeted advertising by law (GDPR).