You turn on the TV, wait for the home screen to load, scroll through rows of sponsored content and apps you've never opened, and only then do you get to Netflix. If your TV is a few years old, each step is even slower. The problem, often, isn't the hardware: it's the software the manufacturer has installed. TV Detox is an open source project that entrusts the cleaning to a AI agent like Claude CodeIt connects to your TV from your laptop, disables unnecessary features, prompting you for confirmation at each step, and installs a lightweight, ad-free home screen. Let's see what it is, how it works, which TVs it can be used on, and what risks you should be aware of before trying it.
Index
- What is TV Detox?
- Why an Android TV becomes slow
- What it is for and which TVs it works on
- How to Speed Up Android TV with Claude Code, Step-by-Step
- What is deactivated and what should never be touched
- Risks and precautions before trying it
- What TV Detox Can Teach AI Employers in Business
- Conclusion
What is TV Detox?
TV Detox is an open source, MIT-licensed project that speeds up an older Android TV in two steps: an AI agent disables bloatware, ads, and sponsored content, then installs a minimal home screen that takes up about 30 MB of memory. Developer Ansub Khan published it on GitHub and it works with Claude Code or Codex, the programming agents of Anthropic and OpenAI, but it can also be used without AI, by manually launching its scripts.
The new home page shows only three things: the apps you choose, HDMI inputs, and a clock, with some optional shortcuts for Bluetooth, audio, and images. No tips, no banners, no accounts to create. And the manufacturer's apps aren't deleted, just disabled, so everything can be restored to the way it was with a restore script.

The project was released in mid-October 2026 and within a few days it had surpassed 1,700 stars on GitHub, ending up on publications such as The Verge, Android Authority, and Tom's Guide. It's not the only one: similar projects like CleanYourTV and DumbTV were born in the same period, a sign of a clear trend. More and more people are using AI agents not to write code, but to take back control of your devices.
Why an Android TV becomes slow
An Android TV slows down mainly because the software grows while the hardware remains the same. Many TVs have just a few gigabytes of RAM and a processor designed for software from a few years ago. Updates, however, bring new apps, new background services, and a home screen that's increasingly full of content to load. The result is the classic Slow Android TV: menus that snap, apps that take several seconds to open, remote control that seems unresponsive.
Three elements are important:
- Bloatware: Apps pre-installed by the manufacturer, such as alternative stores, proprietary channels, account services, and recommendations, that run even if you don't use them.
- Advertising on the home page: sponsored lines, autoplaying trailers, and banners that need to be downloaded every time you turn on your app.
- Analysis and tracking servicesMany smart TVs collect data about what you watch to profile you and show you targeted ads, consuming resources and bandwidth.
For the manufacturer, the TV is also an advertising channel, and the revenue from sponsored home viewing continues after the sale. For those who use it, however, the TV deteriorates over time, even if the screen is still perfect. Often the TV isn't old, it's just weighed down. And it is precisely here that an intervention by Android TV debloat can extend her life.
What it is for and which TVs it works on
To use TV Detox you need a laptop and the TV connected to the same network, Wi-Fi or cable, the developer options active on the TV with USB or network debugging turned on, and Claude Code or Codex installed on the computer. If you've never used a terminal agent, start with our Claude Code guide with tips and tricks.
Compatibility depends on the TV's operating system, not the brand:
| System | Works? | Notes |
|---|---|---|
| Android TV 9, 11 and 12 | Yes | Tested on real TVs (TCL, OnePlus, Sony BRAVIA); should work on many Sony, TCL, Hisense, Philips, Xiaomi models, and Nvidia Shield |
| Google TV 14 and Chromecast with Google TV | Yes, with caution | Google TV Home must be left active; wireless debugging with pairing code is required. |
| Amazon Fire TV | In part | Cleaning works, but Amazon's home page remains |
| Samsung (Tizen), LG (webOS), Roku | No | They are not Android based; on LG you can still reduce ads from the home settings |
If you don't know what system your TV has, you can find it in Settings, Info. Beware of brands that sell both Android and non-Android models.

How to Speed Up Android TV with Claude Code, Step-by-Step
The procedure requires a few minutes of manual work: activate developer mode on the TV, paste the project prompt into the agent, and then confirm the proposed changes from the laptop. Everything else, from connecting to the TV to setting up your new home, is done by AI.
- Enable developer modeOn your TV, go to Settings, Device Preferences, About, and press OK on the Build option seven times. Then, in Developer Options, turn on USB debugging (and network or wireless debugging, if available).
- Open Claude Code or Codex on the laptop, connected to the same network as the TV.
- Paste the prompt that you find in the TV Detox GitHub repository, indicating the make and model of the TV and the apps you want to keep.
- Follow the agent and approve each step: the first time the TV asks if you want to allow debugging, then the AI lists the apps and suggests what to disable.
- Turn off debugging at the end, from Developer Options, when the TV has restarted and is working.
The interesting part is the prompt, because it is written as a little security protocol. He asks the agent to explain the risks in simple terms before starting, to divide the apps into three groups (to be turned off, necessary for the TV, used by you), to measure the free memory before and after, to deactivate instead of deleting, to keep a list of everything that changes and to ask for confirmation before making any changes. Finally, set animations and auto-off, restart the TV once, and check that it starts normally.
In the video below you can see the procedure on a real TV:
Those who prefer not to use AI can launch the installation script directly with Android's adb tool, passing the TV's IP address and the list of apps to display on the home screen.
Do you want to use AI agents on your company's processes too?
We design AI solutions that work with enterprise data, tools, and devices, with clear rules about what they can do on their own and what they need to get approved for.
What is deactivated and what should never be touched
TV Detox disables manufacturer apps that aren't needed for your TV to function and leaves system components turned on. The project includes a script that classifies packages into four groups (never, keep, safe to turn off, and evaluate) and dedicated lists for certain brands. On a TCL TV, for example, the accounts, proprietary channels, recommendations, and analytics apps are included among the safe to turn off apps, while the input and tuner apps remain active.
Then there are components that the prompt explicitly prohibits disabling:
- Google Play services and Google Play.
- Settings and system interface, including initial setup apps.
- Keyboard, Bluetooth and then the remote control.
- HDMI inputs and tuner, that is, everything you need to watch digital terrestrial or the decoder.
- Google TV Home on Google TV and Chromecast: Disabling it caused constant reboots on some devices.
The basic rule is simple: if you're not sure, leave the app enabled. After a system update, another script also checks to see if anything has been re-enabled by the manufacturer.
Risks and precautions before trying it
TV Detox is reversible, but it is not without risks: the author himself warns that it is used at your own risk and that some TVs have been stuck on the logo or constantly restarting. In at least one case, a factory reset was necessary on a Chromecast. Before trying this, it's worth keeping a few precautions in mind:
- Read every agent's proposal before confirming it: AI can make mistakes, and human control is part of the method.
- Keep the list of changes and the recovery script, which brings back the original home screen and re-enables disabled apps.
- Turn off debugging when you're done: As long as it remains active, other devices on the network can ask to control the TV.
- On OLED TVs Leave your screensaver on to prevent a still image from burning on your screen.
- Expect some lost functionality.: on some models, for example, the YouTube button on the remote control or casting may stop working.
Finally, remember that you're giving your AI agent access to a home device: work with a Claude or OpenAI plan whose data rules you know, and don't let it run in automatic mode. This is the same principle that applies to any AI project, as we explain when talking about Security risks of vibe coding.

What TV Detox Can Teach AI Employers in Business
TV Detox shows that an AI agent can do the work of a technician on a real device, provided it is given precise rules. It's no coincidence that the design works: the prompt defines what the agent can touch, what's forbidden, when it should stop to ask, and how to return. It's the same framework we use to implement agents into business processes.
- A list of untouchable things, written before starting and not decided along the way.
- Human confirmation on actions that change something, while reading and analysis can be automatic.
- A registry and a recovery plan: every change must be trackable and undoable.
- A measurable final check, like free memory before and after.
There are many applications in a company: digital signage monitors in the store or at the reception, screens in meeting rooms, used tablets in the warehouse, old computers that need to be reconditioned before replacing them. The value is not in the AI that executes, but in the rules that drive it. If you want to understand where an agent can save time in your processes, we can start from a artificial intelligence consulting for companies. And if the topic of open source tools for agents interests you, we have also talked about REA, reverse engineering with AI and the best mods for Claude Code.
Conclusion
TV Detox is a small but very concrete project: with a laptop, an agent like Claude Code, and half an hour of attention, it can speed up an Android TV burdened by bloatware and ads, without deleting anything and with the ability to revert. It doesn't work on all TVs and requires caution, especially on Google TV and Chromecast. But it clearly illustrates where AI agents are headed: from code to everyday devices.
Before replacing your TV, it might be worth having it cleaned.
Want to put AI agents to work in your company, safely?
Contact us: we design tailor-made AI solutions, with rules, controls and recovery designed for your processes and tools.
This article describes a third-party open-source project and is for informational purposes only. Enabling developer options, installing software, and disabling system apps on a TV, even with the help of an AI agent, carries risks: the device may stop working properly, and the intervention may impact the manufacturer's warranty or support. If you decide to try it, do so at your own risk. Test any modifications proposed by the AI and consult the project's official documentation. BigFive is not affiliated with the project's authors and assumes no responsibility for damage or malfunction.