How to disable AdBlock on the TV Xiaomi Mi: step-by-step instructions

Users of Xiaomi smart TVs often encounter intrusive advertising that appears in the system interface or when you launch applications. To combat this, many install specialized blockers such as AdGuard or Blokada. However, there are situations when such software needs to be deactivated: for example, if the blocker stopped updating, began to conflict with streaming services, or simply occupies valuable RAM space.

The process of disabling may vary depending on the version of the Android TV operating system and the PatchWall shell installed. In some cases, it is enough to simply stop the process, in others it will require access to hidden developer settings or even removing the system package through ADB. It is important to understand that completely removing the built-in traffic filtering mechanisms may require caution so as not to disrupt the operation of network modules.

In this article, we will look at all the current methods of deactivating ad blockers on Xiaomi Mi TVs. TV. We will analyze the standard operating system tools, the use of third-party software for package management and fine-tuning DNS-A critical difference is the difference between a custom blocker app and a system ad for the TV itself, as the approaches to them are radically different.

Analysis of the installed locking system

Before you take any action, you need to determine exactly which mechanism blocks advertising traffic on your device. Xiaomi TVs with Android TV can run both full-fledged applications with its own interface and background services embedded in the system. Often users forget what was installed, or confuse the system settings with third-party software.

The first step is to check the list of installed applications, go to the settings menu and find the app section, and look for names like AdGuard Home, Blokada 5, DNS66, or any other utility with suspicious names that you don't use every day, and if you find one, it's likely the source of traffic filtering.

πŸ“Š What kind of blocker is installed on your TV?
AdGuard DNS
Blokada
System host file
I don't know / Other

It's also worth paying attention to the status of the processes that are running: if the application is active, it will appear in the list of services that are working. Deactivating the wrong component can cause the Internet to stop working correctly, so identifying the target is a key step. In rare cases, the blocker can be disguised as a system process, which requires more in-depth analysis through the About TV menu.

Standard methods of disabling through Android TV settings

The safest and easiest way to stop a blocker is to use the built-in operating system features.This method does not require root rights or a computer connection and is suitable for most users who have installed the application from the official Google Play store or through the official Google Play store. APK-file.

To start, you need to go to the main menu of the TV and select Settings. Next, follow the path of the Applications -> All Apps. In the list that opens, find your ad blocker. The interface may vary slightly depending on the version of PatchWall, but the logic remains the same for all Xiaomi Mi TV Stick models and full-fledged TVs.

β˜‘οΈ Algorithm of disabling the application

Done: 0 / 4

Once you select an application, you'll see a screen that shows you the information about it, and you'll have a few control options available here, and if the Remove button is inactive (gray), it means that the application has system rights or was installed as preinstalled, and then you'll use the Stop or Force Stop button, which will temporarily stop the traffic filter until the next reboot.

⚠️ Note: If after stopping the application, the Internet stopped working or errors began to occur DNS, Reboot the TV immediately with a button on the remote, which resets the network settings and returns the standard traffic route.

To completely disable autorun, find Start when you turn on and switch the switch to Off. This will prevent the blocker from starting with the operating system. If you want to uninstall the program completely, click the corresponding button, but remember that some Xiaomi system components can automatically restore the remote application after updating the firmware.

Use of Developer Mode and ADB

In situations where standard removal is impossible or the application is hidden from the user, the debugging mode comes to the rescue. USB protocol ADB (Android Debug Bridge: This method allows you to control the system at a deeper level, removing or freezing even system packages that are not normally available for modification.

To activate the developer mode, go to Settings -> About Device. Find the Build Number and click on it 7 times in a row with the remote. After the message "You became a developer" appears, go back to the settings menu. In Device Settings -> For developers, activate Debugging over USB.

Next, you’ll need a computer with a set of Platform-tools installed and a connection to a single Wi-Fi network. IP-The address of the TV in the Network section. On the computer in the command line, type a command to connect:

adb connect 192.168.1.XX:5555

Replace. 192.168.1.XX real IP-Address to your Xiaomi Mi TV. Once successfully connected, you can view a list of all packets containing the word β€œad” or β€œblock” to find the exact name of the blocker executable file.

List of commands to search for packages
adb shell pm list packages | grep "ad" adb shell pm list packages | grep "block" adb shell pm list packages | grep "dns"

To delete or disable a found packet, use the adb shell pm disable-user --user 0 name.packet command.This action will hide the application for the system, effectively disabling it, but leaving the files on the disk in case of recovery. Complete deletion is performed by the adb shell pm uninstall --user 0 name.packet command.

Configure DNS and network parameters

Often, the ad blocking on Xiaomi TVs is implemented not through a separate application, but through a change. DNS-If you've previously set up a router or a TV to use services like AdGuard DNS or DNS66, The shutdown must be done in the network settings.

Check your current network settings. Go to Settings -> Network -> Wi-Fi (or Ethernet). Select your network and click Change or Additional. In the IP settings section, look for DNS. If it has addresses other than automatic ones (such as 94.140.14.14), that is the reason for blocking ads.

ParameterValue for lockingDefault value (to disable)
DNS 194.140.14.14 (AdGuard)Auto / 8.8.8.8
DNS 294.140.15.15 (AdGuard)Auto / 8.8.4.4
proxy127.0.0.1: portNo/Empty.
Static IPIncludedSwitched off (DHCP)

To disable filtering, return your DNS settings to Auto mode or prescribe Google Public Servers (8.8.8.8) or Cloudflare (1.1.1.1). After saving the settings, it is recommended to restart the network module or the entire TV to reset the DNS cache.

⚠️ Note: If you are using static IP-address for certain applications, make sure that when switching DNS The gateway and subnet mask will not be lost on automatic mode. It is better to take a picture of the current settings before changing.

Also check the proxy settings. Some of the instructions for installing the blockers recommend prescribing a local proxies 127.0.0.1 with a specific port. Make sure that the Proxy field in the Wi-Fi settings is empty. Having a record there without running the blocker application will lead to a complete lack of Internet access.

Managing hosts system files

The deepest level of ad blocking on Android TV is a modification of the hosts system file, which contains a list of domain addresses that the system should ignore or redirect, and if the ad is blocked even after all apps are removed, the changes are likely to be made here.

To work with the hosts file on a Xiaomi TV, you need superuser rights (Root). Without them, the system will not allow you to make changes to the protected partition. If your TV is not rooted, this method will not work for you, and you should limit yourself to the previous methods. However, if root rights are available, you can use file managers with support for system partitions, for example, Root Explorer or MT Manager.

The file is on its way. /system/etc/hosts. Opening it with a text editor, you will see a list. IP-All lines containing ad server addresses (often domains like googleadservices.com or doubleclick.net) are the blocking rule.

πŸ’‘

Before editing system files, make sure to back them up. An error in the syntax of the hosts file can lead to an inability to connect to the network or a cyclical reboot of the TV.

To disable the lock, you must delete all the added strings, leaving only the standard 127.0.0.1 localhost. After saving the file and changing its access rights (usually rw-r).--r-- or 644) changes will take effect immediately, but for reliability it is better to restart the device.

Possible problems and solutions

In the process of disabling the blockers, users may face a number of technical difficulties. PatchWall sometimes caches old settings, which causes ads to continue to appear even after the application is removed, in which cases cleaning the DNS cache and data of the Android TV system application helps.

Another common problem is certificate conflicts, and some blockers install their own codes. SSL-filter-certificates HTTPS-After deleting such an application, the certificate may remain in the system, causing security errors in the browser or video viewing applications -> Certificates and Delete Unknown User Certificates.

πŸ’‘

If you have the adverts left after all the manipulations, try resetting the TV to Factory Reset, which is guaranteed to remove all third-party modifications and return the original network settings.

Also, consider that some Smart TV apps can block your device from running on active ad blockers. If you notice that YouTube or Netflix stopped running after you turned off AdBlock, check if the time and date settings are wrong, which is a frequent side effect of resetting network settings.

In conclusion, managing ad blockers on Xiaomi Mi TV requires a careful approach: Start with simple methods through the application menu, moving to complex network settings and ADB only when necessary. Regular updates to the TV firmware can also return standard network settings, automatically disabling previously installed filters.

Is it safe to remove system lock components through ADB?
Removing system packages via ADB is relatively safe, as long as you know the exact name of the component being removed. However, removing critical system services (such as those related to Wi-Fi or an update) can lead to unstable Xiaomi Mi TV performance. It is recommended to use the disable-user command instead of the full uninstall, as this allows you to easily restore functionality in the event of an error.
Why did AdBlock lose the sound in the apps after it was turned off?
This is a rare but possible scenario involving a conflict between audio drivers or Dolby Digital settings. Some blockers change the audio stream. Try changing the audio format in your TV settings (Sound -> Digital output) from Auto to PCM or vice versa.
Can I turn off only ads in the interface, leaving the blocker for browsers?
Yes, it's possible, but it requires fine-tuning. DNS-A blocker that affects the entire system can be used with built-in ad-blocking browsers (e.g. Puffin). TV or TVBro) for web surfing, and in system settings DNS This will remove the ads in the browser, but leave the PatchWall interface clean if the system ads were disabled separately.
Are the lock settings reset after the firmware update?
In most cases, yes. Xiaomi's system update often overwrites system files, including hosts, and resets DNS settings to factory ones.Blocking apps can be removed or stopped working due to changes in access rights to the new version of Android TV. After each major update, it is recommended to check the lock status.