How to permanently remove ads from Xiaomi TV: proven methods of 2026

Advertising on Xiaomi TVs is one of the most annoying features of the brand’s budget Smart TVs. Even after buying the premium Mi TV Q2 or Redmi Smart Fire TV, users are faced with intrusive banners on the main menu, pop-up notifications about β€œrecommended content” and built-in advertising in system applications. The manufacturer has integrated ad modules at the PatchWall firmware level, making them a non-trivial task. However, there are legal and semi-legal ways to get rid of intrusive ads from deep-downsetting.

In this article, we will discuss 5 current methods of removing ads from Xiaomi TVs (including models from 2020-2026), evaluate their effectiveness and risks, and give a checklist to prepare for the procedure. Particular attention will be paid to the hidden developer settings that allow you to turn off advertising services without losing warranty. If you are willing to spend 10–30 minutes to set up, then you will find a step-by-step guide with illustrations of key points.

Why Xiaomi is showing ads and can it be removed legally

Xiaomi monetizes budget TVs with built-in advertising through its own PatchWall shell (based on Android TV). It's not a virus or a system bug - the ad modules are written in the firmware and activated by default. The manufacturer officially declares that the adverts are "personalized" and "helps to open new content", but in practice users see:

  • πŸ“Ί Banners in the main menu (for example, "Popular Movies on Megogo")
  • πŸ”” Publishing notices about partners’ shares (AliExpress, Kion)
  • 🎬 Advertising in system applications (Mi Video, Mi Music)
  • πŸ”„ Automatic reproduction of trailers when standing

Legal ways to combat advertising are limited: in settings, you can only disable some notifications, but not system banners; Complete removal requires firmware intervention, which can violate the warranty; however, there are trade-offs β€” for example, disabling personalization or resetting the advertising ID, which reduce the number of impressions without deep changes.

πŸ“Š How often do you get annoyed by Xiaomi ads? TV?
Constantly.
Sometimes.
Nearby
Never.

Method 1: Disabling Advertising through Standard Settings (without Risks)

The safest way is to use the built-in system options, which is suitable for Mi TV 4A/4S/5, Redmi Smart TV and new PatchWall 4.0+ series. Method efficiency: ~60% (removes notifications, but not banners in the menu).

Instructions:

  1. Open Settings β†’ Accounts and Security β†’ Advertising.
  2. Turn off the sliders: πŸ”˜ Personalized advertising (the main source of targeted ads) πŸ”˜ Content recommendations (banners in the main menu) πŸ”˜ Notifications from partners (pop-up windows)

Nutrition β†’ Reboot.

After these actions, the number of ads will decrease, but system banners (for example, from Mi Video) may remain. ID (see Method 3).

β˜‘οΈ Preparing for the Advertising Disconnection

Done: 0 / 4

Method 2: Resetting advertising ID (Advertising ID) through ADB

Advertising ID is used by Xiaomi to target ads, resets personal data, temporarily reducing the number of impressions, and works on all Android TV 9.0+ models and does not require root rights.

You'll need:

  • πŸ–₯️ Computer with Windows/macOS/Linux
  • πŸ”Œ USB-cable (to connect TV to PC)
  • πŸ› οΈ Utility. ADB Tools (download from Android site)

Step-by-step:

  1. Turn on Developer Mode on TV: Settings β†’ On TV. β†’ Click 7 times on "Version" MIUI"
  2. Activate Debugging by USB in Settings β†’ Additional β†’ For developers.
  3. Connect the TV to your PC via USB and run the command line (terminal) in the folder with adb.exe.
  4. Execute commands in order: adb devices adb shell settings put global development_settings_enabled 1 adb shell settings put secure user_setup_complete 1 adb shell pm clear com.google.android.gms adb shell pm clear com.android.providers.settings adb shell settings put global advertising_id [32 For the generation of a new symbol ID use the service UUID Generator (select the option without hyphens).
  5. Reboot the TV.
What if ADB can’t see the TV?
1. Check if debugging is included on USB In the settings of TV. 2. Install drivers for Android TV (Download from Google. 3. Try another one. USB-cable (requires a data-enabled cable). 4. In the command line, execute adb kill-server, then adb start-server and reconnect.

The effect of resetting an ID lasts 1-3 months, after which the procedure will have to be repeated. For a permanent solution, consider blocking advertising domains (Method 4).

Method 3: Blocking Advertising Servers via Hosts File

This method involves editing the hosts system file, which redirects requests to ad servers to β€œempty" IP-Address. Efficiency: ~90% (remove banners, notifications and in-app ads) Requires root rights or access to the app ADB.

List of domains to block (relevant to Xiaomi PatchWall 2026):

domainAppointmentPriority of blocking
api.ad.xiaomi.comMain advertising server⭐⭐⭐
sdkconfig.ad.xiaomi.comConfiguration of advertising modules⭐⭐⭐
tracker.ai.xiaomi.comCollection of viewing statistics⭐⭐
ad.mi.comAdvertising in Mi Video/Mi Music⭐⭐⭐
api.brs.intl.miui.comInternational banners⭐

Instructions for editing hosts:

  1. Connect to 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 ad.mi.com
  4. Download the file back: adb push hosts /system/etc/ adb shell chmod 644 /system/etc/hosts

⚠️ Attention: Incorrect editing of hosts can lead to loss of Internet access.Before changes, make a backup of the file with the adb pull command /system/etc/hosts hosts_backup.

πŸ’‘

If some apps (such as YouTube) have stopped working after blocking, temporarily remove the lines with the domains google.com and youtube.com from hosts.

Method 4: Installation of an alternative launcher (for advanced)

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 a Wolf Launcher, which will remove the system banners, but require:

  • πŸ”“ Unlocked bootloader (for some models)
  • πŸ“± Installation through ADB or Send Files to TV
  • πŸ”„ Possible reset to factory settings

The ATV Launcher is installed:

  1. Download. APK-Launcher file with APKMirror (Android version) TV).
  2. Transfer the file to TV via Send Files to TV (Google app) or ADB: adb install atv-launcher.apk
  3. Launch the launcher and select it as the default launcher in the application settings.
  4. Disable PatchWall via ADB: adb shell pm disable-user --user 0 com.mitv.tvhome

Advantages of the method:

  • βœ… Complete removal of ads from the main menu
  • βœ… Possibility of customization of the interface
  • βœ… Compatible with most applications

Disadvantages:

  • ❌ Loss of Xiaomi remote features (such as voice search)
  • ❌ The risk of instability in some models (Mi) TV Stick, Redmi TV A Series)

πŸ’‘

Installing a third-party launcher is the only way to remove ads from the main menu without losing the functionality of the TV. However, this method does not block ads in system applications (Mi Video, Mi Music).

Method 5: Complete removal of advertising applications (requires root)

For users willing to take drastic measures, there is the option of removing advertising packages from the system, which requires unlocking the bootloader and obtaining root rights, which voids the warranty, the method is suitable for Mi TV 4X, Mi TV Q1E and others based on Android TV 11/12.

List of advertising packages for removal:

com.mitv.advertisement # Main advertising module


com.xiaomi.mitv.appstore #App Store with banners




com.miui.systemAdSolution #System Advertising




com.mitv.tvhome # PatchWall (launcher with ads)




com.miui.videoplayer #Mi Video with built-in adverts




com.xiaomi.mitv.patchwall # PatchWall shell (alternative name)

Instructions:

  1. Unlock the bootloader via Mi Unlock Tool (requires a Xiaomi account and wait 7 days).
  2. Install custom recovery (TWRP) for your TV model.
  3. Please use Magisk to obtain root rights.
  4. Connect to TV on ADB and execute: adb shell su pm uninstall -k --user 0 com.mitv.advertisement pm uninstall -k --user 0 com.xiaomi.mitv.appstore and so on for all packages from the list

⚠️ Note: Removing system packages may cause some features to fail (e.g., air updates or remote control). TWRP.

Method effectiveness: ~99% Once the ad packages are removed, only third-party ads (e.g. YouTube or IVI) that can be blocked through hosts (see Method 3) remain.

Comparison of methods: what to choose for your model Xiaomi TV

The effectiveness of each method depends on the model of the TV and the version of PatchWall.

MethodEfficiencyDifficultyRisks.Suitable for models
Standard settings⭐⭐ (60%)⭐ (simple)No.All models.
Resetting Advertising ID⭐⭐⭐ (75%)⭐⭐ (need ADB)Temporary effectMi TV 4/5, Redmi Smart TV
Blocking through hosts⭐⭐⭐⭐ (90%)⭐⭐⭐ (need ADB/root)Could break the internet.All models on Android TV
Third-party launcher⭐⭐⭐⭐ (95%)⭐⭐⭐ (need ADB)Loss of remote control functionMi TV Q2, Mi TV A Pro
Removal of system packages⭐⭐⭐⭐⭐ (99%)⭐⭐⭐⭐ (root)Loss of guaranteeAll models (except Mi TV Stick)

For most users, the best solution is a combination of Method 2 (ID reset) + Method 3 (hosts lock), which gives ~95% efficiency without the risk of losing warranty. Owners of older models (Mi TV 3S, Mi TV 4A 2018) can consider installing custom firmware, for example, LineageOS for TV, but this requires deep technical knowledge.

Frequent Mistakes and How to Avoid Them

When trying to remove ads, users often face typical problems, and here are the most common ones and ways to solve them:

  • πŸ”„ Advertising returns after update: Xiaomi regularly updates ad modules via OTA. To avoid this, disable automatic updates to Settings. β†’ On TV. β†’ Updating the system.
  • 🚫 It's not working. ADB: Make sure that the developer settings include debugging by USB and Debugging over the network (for wireless connection). If the TV is not detected, try another cable or port USB.
  • πŸ“΅ After blocking hosts, there is no internet: Check if you have blocked the domains google.com or connectivitycheck.gstatic.com. Remove them from hosts and restart the TV.
  • πŸ”’ Cannot get root: on new models (Mi) TV Q2 2023) Xiaomi has closed the ability to unlock the bootloader. In this case, only Methods 1-3 remain.

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

  1. Are there any third-party apps with ads installed (for example, OKKO or Wink).
  2. Has Advertising dropped off? ID After the update (checked by the adb shell settings command get secure) advertising_id).
  3. Have you added new advertising domains in the latest PatchWall versions (update the list for hosts)?

πŸ’‘

Before any changes to the system, back up your current firmware via ADB: adb backup -apk -shared -all -f backup.ab. This will allow you to restore the TV in the event of a failure.

❓ Can you remove advertising without a computer?
Yes, but with limitations. With standard settings (Method 1), you will turn off ~60% of ads. To block the rest, you will need at least an ADB-enabled smartphone over Wi-Fi (for example, through the Bugjaeger app for Android).
❓ Will YouTube and Netflix work after ad blocking?
Yes, blocking Xiaomi ad domains does not affect third-party applications, but if you delete system packages (Method 5), some features, such as voice search or Mi Share, may stop working.
❓ Will advertising return after resetting the TV to factory settings?
Yes, resetting will return all ad modules to their original state. To avoid this, before reset: Save the edited hosts file. Write down commands to disable ads through ADB. Back up the installed application list (adb shell pm list packages). After reset, repeat the procedures from Methods 2-3.
❓ Can I file a complaint with Xiaomi about intrusive advertising?
Formally, yes, but practice shows that Xiaomi does not respond to individual complaints on this issue: advertising is prescribed in the user agreement as a condition for using β€œfree” services. The alternative is to contact Rospotrebnadzor (for Russia) with a claim to impose services, but this is a long process with an unguaranteed result.
❓ Is there a Xiaomi TV without advertising?
Officially, no. Even in premium models (Mi TV Q2 75, Mi TV Master Series), ads are built into PatchWall, but in some regions (e.g. Europe) their number is reduced due to local data protection laws, and the alternative is to buy Redmi-branded TVs (e.g. Redmi Smart TV X Series), where there are slightly less ads.