How to get the ads off your TV with Claude Code
The step-by-step guide from the video, on Mac and Windows. Claude switches off the ads, the bloatware and the tracking on your Android TV or Google TV, puts in a clean home screen, and one command undoes it all. Checked on November 8, 2026.
- Time
- About 30 minutes, half of it Claude working
- Difficulty
- medium
- Cost
- The tool is free, Claude Code needs a paid Claude plan
You need
- An Android TV or Google TV (step 1 checks it) and its remote
- A Mac or a Windows PC on the same Wi-Fi as the TV
- The Claude app with a paid plan (Pro or higher), for the Code tab
I got you. The tool from the video is CleanYourTV, a free, open source project on GitHub (MIT license) that started when a developer let Claude Code clean up their parents’ TV. It switches off the ads, the preloaded apps and the tracking with the TV’s own Android tools, then installs a clean home screen that looks like an Apple TV. Nothing gets deleted: the apps are only switched off, and one command turns them all back on. You don’t type the commands: you ask Claude, and Claude asks you before anything that depends on what you watch.
- 1 Check your TV
- 2 Unlock the TV
- 3 Get the tool
- 4 Let Claude clean
- 5 Lock it again
Step 1: Check that your TV is Android TV or Google TV
2 minutes
On the TV, open Settings and go to About (on some TVs it’s under Device Preferences or System). If you see Android TV OS or a version of Android, you’re good. Write down the Model line too: you’ll give it to Claude.
Not sure? Search your model on cleanyour.tv/tvs: the project has tested lists for 457 TV models from 122 brands (November 2026). Your model doesn’t need to be there: Claude finds what’s on your TV by itself.
Step 2: Turn on debugging on the TV
3 minutes
This lets your computer talk to the TV over the Wi-Fi, once you allow it. With the remote:
- Android TV: Settings → Device Preferences → About → press OK on Build seven times, until it says you’re a developer. Google TV: Settings → System → About → press OK on Android TV OS build seven times.
- Go back one screen and open Developer options.
- Turn on USB debugging. If you also see Network debugging or ADB debugging, turn that on too.
- Leave the TV on.
Step 3: Get the tool on your computer
10 minutes
Download the Claude app from claude.com/download if you don’t have it, and sign in. In the app, click the Code tab at the top, then Local under the message box, then Select folder, and pick your Documents folder. Then ask:
Download the project at github.com/Gathin23/cleanyourtv into a folder called cleanyourtv here. Then read its README and install what the computer needs to build the launcher (Python 3, a JDK from 17 to 22, Android SDK platform 34 and build-tools 34). Tell me what each install is before you do it.
Claude will ask for permission before running commands: say yes. If something fails, paste the error to Claude as it is and ask it to fix it.
If Claude asks to install Homebrew first, say yes: it’s the usual way to install these tools on a Mac, and the project’s README uses it.
Claude Code on Windows needs Git for Windows: if Claude says it’s missing, download it from
git-scm.com, install it clicking Next, then close the Claude app and open it
again. The project has a Windows version of every script (the .ps1 files), and Claude uses those.
When it’s done, click Select folder again and pick the new cleanyourtv folder inside Documents. This matters: inside that folder Claude uses the project’s own scripts, which back up your TV first and never leave it without a home screen, instead of writing its own.
Step 4: Let Claude clean your TV
15 minutes
With the cleanyourtv folder open, send this, with your TV model in place of the brackets:
Read PROMPT.md in this folder and follow it on my TV. My TV model is: [your TV model]. Back up the TV first, show me the list of apps you want to switch off before you touch anything, and ask me about anything I might use.
Then follow along:
- When the TV asks Allow USB debugging?, choose Allow (tick Always allow from this computer).
- Claude will ask you a few things: which apps you use, which ones go in the dock and in what order, and whether to keep the voice assistant, Chromecast and system updates.
- It checks every step with a screenshot taken from the TV, and builds and installs the new home screen at the end.
If Claude says the TV can’t be reached («No route to host») even though it’s on: open System Settings → Privacy & Security → Local Network, turn on Claude, then quit the Claude app and open it again. macOS blocks apps from talking to devices on your Wi-Fi until you allow them.
If Claude says PowerShell won’t run a script because of the execution policy, that’s a Windows safety setting, not
an error in the project: its README runs each script with -ExecutionPolicy Bypass, which only applies to that one
run. Ask Claude to do the same.
Step 5: Lock the TV again
3 minutes
Debugging over the network is an open door: once you’re done, close it. The new home screen keeps working without it.
We’re done. Close network debugging on the TV the way PROMPT.md says, tell me which switches to turn off on the TV, and check with tools/adb-closed.py that the port is really closed after the reboot.
On the TV that means Developer options → USB debugging, Network debugging and Wireless debugging off (whichever your TV has), and Revoke USB debugging authorizations.
How to undo it
Step 6: Put your TV back the way it was
5 minutes
Changed your mind? Turn debugging back on (step 2), open the cleanyourtv folder in Claude and ask:
Put my TV back the way it was with the project’s restore script and the list you applied, and bring back the original home screen.
The script replays the record it wrote before changing anything, so every app comes back and the original home screen takes over again. The new home screen stays installed: remove it from the TV’s Settings → Apps if you want it gone. No computer at hand? The same Settings → Apps page on the TV can turn a single app back on.
Great for
- The sponsored rows and banners on the home screen
- Preloaded apps and tracking you never asked for
- A clean home screen with your apps, that looks like an Apple TV
Skip it for
- Ads inside the apps: YouTube ads stay
- Samsung, LG, Roku, Vizio and Hisense VIDAA TVs
- A TV that isn't yours: do it only on your own, or with the owner