# Debloat your smart TV with Claude Code (CleanYourTV)

> Remove ads and tracking from your smart TV and get a clean home screen.

- **What it does:** Guides you through cleaning up an Android TV or Google TV over Wi-Fi: it backs up your settings, turns off ad and tracking apps, and installs a clean Apple TV-style home screen. Nothing is uninstalled, and one command restores everything.
- **Agents:** Claude Code and Codex (through orbit-connect), Claude and ChatGPT (through the Orbit connector)
- **Install:** `npx -y --loglevel=error orbit-connect@0.3.33 install skl_ca9d3522a41347e91f511d65`
- **Creator:** @orbit.builders on Instagram
- **Safety:** Checked by Orbit: use with care. Agent runs ADB shell commands disabling TV packages and changing launcher
- **Last updated:** 2026-11-14
- **Page:** https://orbitinbox.app/s/debloat-your-smart-tv-with-claude-code-cleanyourtv

## Skill

---
name: cleanyourtv-tv-debloat
description: Use when you say debloat my smart TV or remove my TV's ads with Claude Code; it walks you through CleanYourTV, which backs up your Android TV or Google TV over Wi-Fi, disables the ad and telemetry apps, and installs an Apple TV-style launcher with a one-line restore.
---

# Debloat your smart TV with Claude Code (CleanYourTV)

## What it does

CleanYourTV strips the bloatware from any Android TV or Google TV over Wi-Fi and replaces the ad-filled home screen with a clean launcher that looks like an Apple TV. No root, no cable, nothing uninstalled, and a one-line restore.

Three steps: it backs up the list of installed packages and settings, disables the manufacturer's telemetry, ad services, content rows and preloads with `pm disable-user`, then installs a small native launcher (about 572 KB, plain Java, no network permission) and makes it the default home screen. The bloat differs by brand, so `PROMPT.md` has your coding assistant discover it on your TV and ask before touching anything you might use.

The repo also ships the tools the assistant reuses: `tools/tv.py` (pure-Python network ADB client: shell, push, pull, reboot, screenshots), `tools/disable.sh` and `tools/restore.sh` (apply or undo a debloat list), `tools/recovery.py`, `tools/check.py` (what a firmware update undid, `--fix` puts it back), `tools/privacy.py` (audits voice, ACR and telemetry candidates with the evidence), `tools/match.py`, `tools/adb-closed.py`, `tools/theme.sh`, `tools/wallpaper_prep.py`, `tools/manage.py`, `tools/relay.py`, `tools/docker-build.sh`, plus benchmark and trace tools, 29 themes, add-ons, and tested debloat lists per model in `examples/`.

Support: Android TV and Google TV get the debloat and the launcher. Fire TV gets the debloat half only. Samsung (Tizen), LG (webOS), Roku, Vizio and Hisense VIDAA are not supported, no ADB.

Run this only on a TV you own. Nothing is flashed, rooted or deleted; packages are disabled in the user profile, lists are applied in small batches with the restore script ready, and the TV's own Settings > Apps page can re-enable packages. The repo notes that changing a TV's software may affect its warranty or support.

## What you need

- An Android TV or Google TV, on the same Wi-Fi as your computer, with USB debugging turned on in developer options.
- A coding assistant with a shell. Claude Code works (on an Anthropic plan or 0G Private Computer); Codex, Gemini CLI, Antigravity CLI and DeepSeek Harness also work.
- Python 3 (any 3.x) for the tools.
- A full JDK 17 through 22 (including `jlink`) and Android SDK platform 34 with build-tools 34.0.0 or any newer 34.x, to build the launcher. JDK 23 and newer stops Gradle 8.9.
- The TV needs Android 8.0 (API 26) or newer for the launcher.
- Optional: Docker instead of the JDK and SDK, via `tools/docker-build.sh`.

## Setup

On the TV: Settings > Device Preferences > About > press OK on Build seven times > back > Developer options > USB debugging on. If there is a Network or ADB debugging toggle, turn that on too. Keep the TV on.

On your computer:

```bash
git clone https://github.com/Gathin23/cleanyourtv
cd cleanyourtv
python3 -m venv tools/venv && tools/venv/bin/pip install -r tools/requirements.txt
export TV_HOST=192.168.1.50   # your TV's IP address
tools/venv/bin/python -I tools/tv.py --probe   # model, Android version, firmware
```

Accept "Allow USB debugging?" on the TV when it asks.

macOS, if the JDK and SDK are not installed yet:

```bash
brew install openjdk@17 android-commandlinetools
sdkmanager "platforms;android-34" "build-tools;34.0.0"
```

The by-hand commands, which the assistant also uses:

```bash
tools/venv/bin/python -I tools/tv.py 'pm list packages'
tools/disable.sh examples/xiaomi-mi-tv-4a/debloat.txt
launcher/build-and-install.sh
tools/theme.sh themes/aurora
tools/restore.sh examples/xiaomi-mi-tv-4a/debloat.txt
```

Windows has a PowerShell twin of every script; see the README.

When you are done, turn USB debugging, Network/ADB debugging and Wireless debugging off on the TV, reboot it, and check the port is closed:

```bash
python3 tools/adb-closed.py <tv ip>
```

## How to use it with Claude

Open the cloned `cleanyourtv` folder in Claude Code, then paste `PROMPT.md` and fill in your TV model. Cloning matters: the assistant reuses this repo's scripts, where the backup, the Home guard and the restore record live. Things you can say:

- "Here is PROMPT.md. My TV is a Sony Bravia at 192.168.1.50. Probe it first and tell me the model, Android version and firmware before changing anything."
- "List the installed packages and tell me which ones the lists in examples/ disable, using tools/match.py. Ask me about every app I might use."
- "Apply examples/<my tv>/debloat.txt with tools/disable.sh in small batches and check each step with a screenshot pulled from the TV."
- "Run tools/privacy.py and show me the evidence for each voice, ACR and telemetry candidate before we disable any of them."
- "Build the launcher with launcher/build-and-install.sh, make it Home, and roll back if Home does not land on it."
- "Push themes/aurora with tools/theme.sh, then show me how to restore everything with tools/restore.sh."
- "A firmware update landed. Run tools/check.py against the list we applied and put back what it undid."

## Credits

Made by Gathin23 (CleanYourTV), packaged by Orbit. Source: https://github.com/Gathin23/cleanyourtv — license: MIT per the repo's LICENSE and README (GitHub reports it as NOASSERTION); the Outfit typeface is under the SIL Open Font License.

Shared by @orbit.builders, credited on Orbit.