People are removing TV ads with Claude Code, but does it work on Samsung and LG TVs?
Chanwoo Song 9 min read

On October 17, developer Gathin posted a short message on X. Whenever Gathin's parents turned on their TV, sponsored ads appeared before they could even get to Netflix. So Gathin gave Claude Code the TV's model name. Claude Code found the TV on the Wi-Fi network, turned off 25 packages Xiaomi had preinstalled, and built and installed a new home screen modeled on Apple TV.
As of October 20, the post had passed 6.16 million views and about 30,000 likes. Gathin put the prompt on GitHub and said thousands of people had done the same to their own TVs within two days. The repository, now renamed cleanyourtv, has 6,177 stars, and 66 lists for specific TV models have been contributed by users. On October 19, TechCrunch published a story on how people are using AI to make their smart TVs dumb again.
But what if the TV at home is a Samsung or an LG?

The short answer: on Samsung and LG TVs, it mostly does not work.
This method works on Android TV and Google TV. The cleanyourtv prompt document states at the very top that it does not work on Samsung Tizen, LG webOS or Amazon Fire TV. On Fire TV, it can only turn off apps. It cannot change the home screen.
What decides it is whether there is a way into the TV. Android TV has ADB, the same developer connection that Android phones have. If you open developer options in settings and turn on USB debugging, a computer on the same Wi-Fi network can send commands to the TV. Claude Code uses this connection to read the list of apps installed on the TV and turn off the unneeded ones one by one.
Samsung TVs also have a developer mode. But according to dumbtv, a similar TV cleanup project, Samsung's developer mode only lets you view the app list, delete apps downloaded from the store, and upload files. You cannot touch Samsung's built-in apps, which contain the ads and viewing-data collection, and there is no way to change the home screen. LG webOS's developer mode is also limited to installing apps you build yourself. There used to be ways to root LG TVs, but according to dumbtv's documentation, all of them were blocked on the latest firmware as of August 2025.

An Android TV can be cleaned up in 15 minutes.
The process is simple. On the About screen in the TV's settings, press the build number seven times to unlock developer options, then turn on USB debugging there. Next, on a computer on the same Wi-Fi network, paste the cleanyourtv prompt into a coding agent such as Claude Code and enter the TV's model name. Gathin wrote that if you also give the agent the repository, it takes about 15 minutes.
The prompt carefully prevents the agent from removing things on its own.
- It first backs up the full list of installed apps and all settings, and creates a restore script that turns the disabled apps back on.
- It sorts apps into manufacturer tracking, ads and recommended content, unnecessary background services, preinstalled apps, and streaming apps.
- It only disables apps and never deletes them. It leaves HDMI inputs, the remote, Bluetooth connections, the on-screen keyboard and the Play Store alone.
- Streaming apps such as Netflix, voice assistants and updates are turned off only after the user confirms them on a checklist.
- It disables a few apps at a time and takes a screenshot of the TV after each batch to check.
Finally, it installs a new home screen app and sets it as the default home. With TVs that have only 1GB of memory in mind, the app's install size was cut to about 300KB. If you change your mind, one line of the restore script brings back the original home screen.
Last week, in “Software that cost a fortune to build, AI now makes in an instant”, I wrote about REA, which had a coding agent take apart other people's apps. This time, the same kind of agent has gone all the way into the living-room TV.
What people want gone is the ads and the viewing tracking.
TechCrunch pointed to automatic content recognition (ACR) as the driver behind this trend. Today's smart TVs use screen captures or snippets of audio to work out what is playing. They then sell this viewing data to advertisers or use it for targeted ads on the home screen. The roughly 65 packages dumbtv disables on Fire TV also include ACR, an advertising ID service, sponsored content rows, watch-time analytics and an A/B testing engine.
Speed is another reason. Ryan Doyle wrote that on October 17 they sent Claude Code the product page for their TV and asked, “Can you hack this?” Claude Code then walked through the process step by step. The post said the ads, preinstalled apps, surveillance apps and sluggish interface were gone, and it reached 4.36 million views. A follow-up video showed how fast apps now open.

Mihir Gupta posted on X about turning off 25 apps in a single afternoon and replacing the 192MB default home screen with an 83MB one. Muzzammil Yasin Sabuwala, who built dumbtv, told TechCrunch that it was built with a mix of DeepSeek V4.1 Flash, Claude Opus 5.5 and Claude Sonnet 5.5.
Some TVs sold in Korea do work.
If it is an Android TV or a Google TV, the same approach works on TVs bought in Korea. In November 2023, Xiaomi officially launched the Xiaomi TV A Pro, which runs Google TV, in Korea. Gathin's parents' TV was also a Xiaomi. Google TV sets such as Sony Bravia and TCL also have model-specific lists on cleanyourtv. Of the 66 lists, TCL and Xiaomi have 14 each, and Sony has 9. If the About screen in settings has a build number entry and developer options can be unlocked, the TV can use the same approach.
For Samsung and LG TVs, the realistic option is to cut back as much as you can in settings, without AI. According to Samsung Electronics Service's guide, on 2025 Samsung TVs you can go to Settings, All Settings, Useful Features, Start Screen Settings and turn off ‘Start with Smart Hub Home’. The TV will then show the last channel you watched or the external device screen first, instead of Smart Hub. On LG TVs, you can turn off promotions and recommended content in the home screen settings, and withdraw consent to viewing information in the user agreements.
Someone has even put an Apple TV-style home screen on an LG TV. A developer ported the cleanyourtv home screen to a web app and installed it on an LG OLED C6 through LG's developer mode. But webOS always opens the LG home first when you press the Home button. So another computer, left running on the same network, watches for this and switches back to the new home screen in about 0.1 seconds. There is no step for turning off ad apps.
That is why dumbtv names two methods that work on any TV. One is blocking ad and tracking server addresses on your router. The other is using the TV only as an HDMI display and connecting a device you can control. If you plug a Chromecast with Google TV into a Samsung or LG TV, that Chromecast can be cleaned up with cleanyourtv.
Some TVs have been bricked.
Not everything went well. Among the cases TechCrunch collected, some people just said “Hack my TV,” Claude did not go along, and they had to explain in more detail. One person said they bricked an Android TV with Claude, and another had a Fire TV job stall partway through. Disabling an essential app by mistake can leave a TV with no picture and a remote that does not respond. So dumbtv builds a list of apps that must never be disabled directly into its code.
Security also needs attention. ADB over the network uses port 5555, which is unencrypted, and on some firmware any device on the same Wi-Fi network can control the TV. So cleanyourtv tells you to turn off debugging when you are done, clear the list of authorized computers, and check that the port is closed. Most lists also disable the firmware update service, so you need to turn that service back on to get updates.
There is also a cost. Claude Code is not included in the free plan, so the cheapest option is the Pro plan at $20 a month.
In the past, turning off TV ads meant digging through overseas forums and typing commands one by one. Now, with just the model name, a coding agent finds the right list for that TV and switches things off. That list then goes back onto GitHub and saves the next person time. Consumers have started using AI to strip out the ads and viewing data that manufacturers make money from. I think it is worth watching whether TV makers close the door further.