
Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.
<p align="center"> <a href="https://cleanyour.tv"><img src="https://assets.kitploit.com/production/public/readmes/59969/11511f804354d43c25fbd0f85cc15e0f64b594b98fb51dc544e91e7f1d07b974/30f92bbe3fcb393a47361ce8269f012ff035872491e875792c3d0c5b373551e7-display-v1.webp" alt="CleanYourTV. Your TV, minus the ads. Strip the bloatware from any Android TV or Google TV over Wi-Fi and replace 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." width="800"></a> </p> <p align="center"> Read in: <a href="https://github.com/gathin23/cleanyourtv/blob/main/README.he.md" lang="he" dir="rtl">עברית</a> · <a href="https://github.com/gathin23/cleanyourtv/blob/main/README.zh-CN.md">简体中文</a> · <a href="https://github.com/gathin23/cleanyourtv/blob/main/README.zh-TW.md">正體中文</a> · <a href="https://github.com/gathin23/cleanyourtv/blob/main/README.vi.md">Tiếng Việt</a> · <a href="https://github.com/gathin23/cleanyourtv/blob/main/README.ja.md">日本語</a> · <a href="https://github.com/gathin23/cleanyourtv/blob/main/README.it.md">Italiano</a> · <a href="https://github.com/gathin23/cleanyourtv/blob/main/README.pt-BR.md">Português</a> · <a href="https://github.com/gathin23/cleanyourtv/blob/main/README.nl.md">Nederlands</a> · <a href="https://github.com/gathin23/cleanyourtv/blob/main/README.de.md">Deutsch</a> · <a href="https://github.com/gathin23/cleanyourtv/blob/main/README.uk.md">Українська</a> · <a href="https://github.com/gathin23/cleanyourtv/blob/main/README.tr.md">Türkçe</a> · <a href="https://github.com/gathin23/cleanyourtv/blob/main/README.uz.md">Oʻzbekcha</a> · <a href="https://github.com/gathin23/cleanyourtv/blob/main/README.fr.md">Français</a> · <a href="https://github.com/gathin23/cleanyourtv/blob/main/README.es.md">Español</a> · <a href="https://github.com/gathin23/cleanyourtv/blob/main/README.el.md">Ελληνικά</a> </p> <p align="center"> <a href="https://github.com/Gathin23/cleanyourtv/stargazers"><img src="https://img.shields.io/github/stars/Gathin23/cleanyourtv?style=flat&cacheSeconds=1800&color=cfffcf&labelColor=15181e" alt="Stars"></a> <a href="https://github.com/Gathin23/cleanyourtv/pulls?q=is%3Amerged"><img src="https://img.shields.io/github/issues-search?query=repo:Gathin23/cleanyourtv%20is:pr%20is:merged&style=flat&cacheSeconds=1800&label=merged%20PRs&color=cfffcf&labelColor=15181e" alt="Merged PRs"></a> <a href="https://github.com/Gathin23/cleanyourtv/network/members"><img src="https://img.shields.io/github/forks/Gathin23/cleanyourtv?style=flat&cacheSeconds=1800&color=cfffcf&labelColor=15181e" alt="Forks"></a> <a href="https://github.com/Gathin23/cleanyourtv/graphs/contributors"><img src="https://img.shields.io/github/contributors/Gathin23/cleanyourtv?style=flat&cacheSeconds=1800&color=cfffcf&labelColor=15181e" alt="Contributors"></a> <a href="https://buymeacoffee.com/gathint"><img src="https://img.shields.io/badge/support-%E2%9D%A4-ff5e8a?style=flat&labelColor=15181e" alt="Support, buy me a coffee"></a> <a href="https://www.producthunt.com/products/cleanyourtv"><img src="https://img.shields.io/badge/Product%20Hunt-upvote%20%E2%96%B2-da552f?style=flat&logo=producthunt&logoColor=white&labelColor=15181e" alt="CleanYourTV on Product Hunt"></a> </p> <p align="center"> <a href="https://github.com/gathin23/cleanyourtv/blob/main/docs/PRESS.md"><img src="https://assets.kitploit.com/production/public/readmes/59969/3276fbdb85e290c590abd7f7d5bd49bdcd7fac00620ed3c200422bc834537abe/1bc074a2f5874c5925469dcb22c4abff46f6ae409e9ce462046b329dc8a469ab-display-v1.webp" alt="504 TV models · 138 brands · 31 languages · 572 KB launcher. Featured in TechCrunch, TechRadar, Tom's Guide, Mashable, Android Authority, XDA, FlatpanelsHD, It's FOSS, Phandroid, GIGAZINE, Xataka, WinFuture, Frandroid, Macitynet, Techaeris, TechPP and 530 more: 546 articles from 57 countries. Before: stock Google TV home with a sponsored ad. After: the Clean Your TV launcher. #1 trending repo of the week, Oct 19–25 2026, via trendshift.io." width="800"></a> </p> ## Start here | You have | Go to | |---|---| | **An Android TV or Google TV** | [Quick start](#quick-start): a coding assistant does the work in about fifteen minutes. | | **A Samsung, LG, Roku, Vizio or Hisense VIDAA TV** | [cleanyour.tv/not-android](https://cleanyour.tv/not-android): CleanYourTV can't run there, but you can turn off the tracking with your remote. | | **A phone or laptop, no coding agent** | One of the [community apps](https://cleanyour.tv/app) for Android phones, Mac and Windows, made by independent developers. | | **Want to see it first** | [What you get](#what-you-get): screenshots of the new home screen. | **Official links:** [cleanyour.tv](https://cleanyour.tv) and this repo. Other domains using the name, such as cleanyourtv.com, are not run by this project ([#1004](https://github.com/Gathin23/cleanyourtv/issues/1004)). CleanYourTV publishes no app in any app store, and clean-your-tv.net is not ours either. [How it works](#how-it-works) · [Quick start](#quick-start) · [What you get](#what-you-get) · [Supported TVs](#supported-tvs) · [Doing it by hand](#doing-it-by-hand) · [The launcher](#the-launcher) · [Restoring](#restoring-your-tv) · [Firmware updates](#after-a-firmware-update) · [Questions](#questions-people-ask) · [Contributing](#contributing) ## How it works Android TVs have the same debug bridge as Android phones. Switch on USB debugging in the TV's developer options, allow your computer once, and the rest is standard Android tooling: | Step | What happens | |---|---| | **Back up** | The list of installed packages and settings. | | **Disable** | The manufacturer's telemetry, ad services, content rows and preloaded junk, with `pm disable-user`. Nothing is uninstalled, so a restore script can undo every step. | | **Install** | A small native launcher, made the default home screen. | **No root, no cable, nothing uninstalled, and a one-line restore if you change your mind.** The bloat differs by brand, so the prompt has your coding assistant discover it on your TV and ask before touching anything you might use. ## Quick start | You have | Do this | |---|---| | **A computer** | Use the prompt with a coding assistant: the three steps below. | | **A computer, no coding assistant** | Run the three steps yourself: the commands are in [Doing it by hand](#doing-it-by-hand). | | **A phone or laptop, no coding assistant** | Pick one of the [community apps](https://cleanyour.tv/app): free, open-source apps built on these TV lists by independent developers. | The three steps below are written for a coding assistant: the computer needs to be on the same Wi-Fi as the TV, with a shell on it, plus Python 3, a JDK from 17 through 22, and Android SDK platform 34 with build-tools 34 (the assistant builds the launcher there). Without an assistant, [Doing it by hand](#doing-it-by-hand) is the same job, run by you, and it has the install commands. Any of these work: Claude Code (on [0G Private Computer](https://pc.0g.ai/?utm_source=cleanyourtv&utm_medium=github&utm_campaign=readme) or an [Anthropic plan](https://claude.com/pricing)), [Codex](https://github.com/openai/codex), [Gemini CLI](https://github.com/google-gemini/gemini-cli), [Antigravity CLI](https://antigravity.google/product/antigravity-cli) or [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness). | Where | What to do | |---|---| | **1. On the TV** | Settings → Device Preferences → About → press OK on **Build** seven times → back → Developer options → **USB debugging** on. If you see a Network or ADB debugging toggle, turn that on too. Keep the TV on. | | **2. On your computer** | Clone the repo and open that folder in your assistant (`git clone https://github.com/Gathin23/cleanyourtv`), then paste [`PROMPT.md`](https://github.com/gathin23/cleanyourtv/blob/main/PROMPT.md) and fill in your TV model. | | **3. Follow along** | Accept "Allow USB debugging?" on the TV, then answer the checklist: which apps you use, the dock size and app order, whether to keep the voice assistant, Chromecast and updates. | Cloning matters: the assistant reuses this repo's `tools/disable.sh` and `launcher/build-and-install.sh` instead of writing its own, and that is where the backup, the Home guard and the restore record live. The assistant backs up, debloats, builds and installs the launcher, and checks each step with screenshots pulled from the TV. With this repo as context it takes about fifteen minutes. ## What you get A home screen that looks like an Apple TV and gets out of the way: | Part | What it looks like | |---|---| | **A pitch-black home** | A dock of your four favourite apps in a rounded band, where Apple TV puts it. | | **A top shelf** | Names the focused app in large type, with an ambient glow in a colour taken from its artwork. | | **The rest of your apps in a grid** | Slides up when you press Down. | | **One floating glass highlight** | Springs from tile to tile. The focused tile lifts and shows its name. | | **Three frosted buttons** | Inputs (HDMI ports under the names you gave them in the TV's settings, AV, Live TV), Wi-Fi or Ethernet with the network name, Settings. | | **A greeting, a thin clock and the date** | In [Outfit](https://fonts.google.com/specimen/Outfit), and a matching Clock screensaver. Set `show_stats` in config or a theme for one line under the clock: CPU, free memory and free storage. It stays off unless you turn it on, and it refreshes only while Home is on screen. | | **Themes and module cards** | Themes change colours, wallpaper, dock and columns without a rebuild, and module cards let other apps plug a tile in, only with your say-so. | And a TV that stops working against you: no sponsored rows, no "Discover" nags, no analytics phoning home, no apps you never asked for. | | | |---|---| |  |  | | *Top shelf and ambient glow* | *Inputs: HDMI with connection state, AV, Live TV* | |  |  | | *The grid, one glass highlight, the tile's name* | *Clock screensaver, drifts so nothing burns in* | |  |  | | *Aurora theme, pushed with `tools/theme.sh`* | *Six columns and a six-app dock, same launcher* | |  |  | | *Hold OK on a tile, Move: arrows carry it, Back puts it down* | *App library: one press puts a removed app back on Home* | ## Supported TVs Anything running **Android TV** or **Google TV**. | Platform | What works | |---|---| | **Android TV, Google TV** | The debloat and the launcher. | | **Fire TV** | The debloat half only, since Fire OS will not hand Home to a third-party launcher. And on the 2015 Fire TV Box (Fire OS 5) even that half fails: every `pm` route is refused. | | **A few China-market TCL sets** | They refuse to install any launcher at all; their lists say so in the header. | | **Samsung (Tizen), LG (webOS), Roku, Vizio, Hisense VIDAA** | Not supported (no ADB). Turn off the tracking instead: [cleanyour.tv/not-android](https://cleanyour.tv/not-android). See [SHOWCASE.md](https://github.com/gathin23/cleanyourtv/blob/main/SHOWCASE.md#other-platforms-fire-tv-and-lg-webos) for four webOS ports, and [docs/devices/samsung-tizen.md](https://github.com/gathin23/cleanyourtv/blob/main/docs/devices/samsung-tizen.md) for what a 2021 Samsung set answers over Wi-Fi (no ADB, so no `pm disable-user`) if you are weighing a Tizen port. For an LG webOS 26 set, [docs/devices/lg-webos.md](https://github.com/gathin23/cleanyourtv/blob/main/docs/devices/lg-webos.md) covers the settings and DNS filtering with a firewall rule against other resolvers. | Tested lists from contributors, one folder per model in [`examples/`](https://github.com/gathin23/cleanyourtv/blob/main/examples). The brands with the most lists, each linked to its models on the website: <!-- tv-brands:start: generated by tools/gen_tables.py from examples/*/tv.json; edit those, not this --> | | | | | | | |---|---|---|---|---|---| | [TCL](https://cleanyour.tv/tvs?q=TCL) · 89 | [Sony](https://cleanyour.tv/tvs?q=Sony) · 53 | [Xiaomi](https://cleanyour.tv/tvs?q=Xiaomi) · 46 | [Philips](https://cleanyour.tv/tvs?q=Philips) · 25 | [Skyworth](https://cleanyour.tv/tvs?q=Skyworth) · 18 | [Hisense](https://cleanyour.tv/tvs?q=Hisense) · 17 | | [SHARP](https://cleanyour.tv/tvs?q=SHARP) · 12 | [Amazon Fire TV](https://cleanyour.tv/tvs?q=Amazon%20Fire%20TV) · 9 | [Haier](https://cleanyour.tv/tvs?q=Haier) · 8 | [Panasonic](https://cleanyour.tv/tvs?q=Panasonic) · 8 | [BenQ](https://cleanyour.tv/tvs?q=BenQ) · 6 | [JVC](https://cleanyour.tv/tvs?q=JVC) · 6 | | [Toshiba](https://cleanyour.tv/tvs?q=Toshiba) · 6 | [Acer](https://cleanyour.tv/tvs?q=Acer) · 4 | [CHiQ](https://cleanyour.tv/tvs?q=CHiQ) · 4 | [Formovie](https://cleanyour.tv/tvs?q=Formovie) · 4 | [Nokia](https://cleanyour.tv/tvs?q=Nokia) · 4 | [OnePlus](https://cleanyour.tv/tvs?q=OnePlus) · 4 | | [Thomson](https://cleanyour.tv/tvs?q=Thomson) · 4 | [Artel](https://cleanyour.tv/tvs?q=Artel) · 3 | [FFalcon](https://cleanyour.tv/tvs?q=FFalcon) · 3 | [Google](https://cleanyour.tv/tvs?q=Google) · 3 | [Grundig](https://cleanyour.tv/tvs?q=Grundig) · 3 | [Master-G](https://cleanyour.tv/tvs?q=Master-G) · 3 | | [Motorola](https://cleanyour.tv/tvs?q=Motorola) · 3 | [Noblex](https://cleanyour.tv/tvs?q=Noblex) · 3 | [NVIDIA Shield](https://cleanyour.tv/tvs?q=NVIDIA%20Shield) · 3 | [onn](https://cleanyour.tv/tvs?q=onn) · 3 | [RCA](https://cleanyour.tv/tvs?q=RCA) · 3 | [Redmi](https://cleanyour.tv/tvs?q=Redmi) · 3 | <details> <summary>+92 more brands and 16 projector brands</summary> **RockTek** 3 · **Vidda** 3 · **Vu** 3 · **BTV** 2 · **Challenger** 2 · **DEXP** 2 · **EKO** 2 · **Hitachi** 2 · **Insignia Fire TV** 2 · **Kalley** 2 · **Kogan** 2 · **Lumio** 2 · **Next** 2 · **PRISM+** 2 · **Sankey** 2 · **Sber** 2 · **Síragon** 2 · **TIM** 2 · AiPro2K · AiPro4K · AIWA · AQUA · ASUS · Beko · Bell Canada · BGH · Caxium · Cecotec · Compac · Continental Edison · Daewoo · Dcolor · Dialog · Durabrand · DYON · Element · ENGY · Essentiel b · Freebox · HAAM · Hikeen · Home+ · Impex · INCLO · Indurama · Jio · Karbonn · Kodak · Koryo · KTC · KUNFT · Liberton · LYNCAST · Magyar Telekom · MarQ · MECOOL · MediaTek · Metz · MTC · OK. · OPPO · Panavox · PEAQ · Philco · Polytron · PPTV · Prosonic · realme · Rockchip · Salora · SAMPO · SANYO · Seleco · Smarttech · STRONG · SunWind · Super General · TD Systems · Tele System · Tesla · TiVo · Tornado · Turbo-X · Turkcell · Tuvio · Verizon · VISIO · Vision · Vityas · Vivensis · VSTV · X.Vision · Alwtniet, Anker Nebula, Aurzen, BYINTEK, Chihi, Epson, Gadnic, HOTACK, HY320, JMGO, Magcubic, Nonete, Portronics, Stellamore, Wanbo and XGIMI projectors </details> <!-- tv-brands:end --> **Find your TV:** search [cleanyour.tv/tvs](https://cleanyour.tv/tvs) or the full table in [examples/README.md](https://github.com/gathin23/cleanyourtv/blob/main/examples/README.md). Your TV not here? The prompt discovers the bloat itself. Add your list afterwards and the next person with your model skips that step: [CONTRIBUTING.md](https://github.com/gathin23/cleanyourtv/blob/main/CONTRIBUTING.md). ## Doing it by hand Everything the assistant does, you can run yourself. Two things have to be on the computer first: | You need | For | |---|---| | **Python 3** (any 3.x) | The tools. The venv command below installs what they import. | | **JDK 17 through 22** (a full JDK, including `jlink`) and **Android SDK platform 34** with **build-tools 34.0.0 or any newer 34.x** | Building the launcher. JDK 23 and newer stops Gradle 8.9. Platform 34 is the one the build reads; a newer platform does not replace it. On macOS, when none of these is installed: `brew install openjdk@17 android-commandlinetools`, then `sdkmanager "platforms;android-34" "build-tools;34.0.0"`. On Linux the install script looks in `~/Android/Sdk` and for `java` on your PATH. | `tools/tv.py` talks to network ADB on port 5555. If that port stays closed and the TV offers Wireless debugging with a pairing code (the Chromecast with Google TV and the Google TV Streamer do), pair it once with the stock `adb`. Then either run `adb tcpip 5555` to open the port, which usually lasts only until the TV reboots, or keep it closed: point `TV_ADB_BINARY` at that same `adb` and `TV_HOST` at the port the Wireless debugging screen shows, and the tools reach the TV through the paired connection with nothing listening on 5555 ([tools/native-adb.md](https://github.com/gathin23/cleanyourtv/blob/main/tools/native-adb.md)). [Troubleshooting](https://github.com/gathin23/cleanyourtv/blob/main/docs/TROUBLESHOOTING.md#connecting) has both, with the pairing steps. ```bash 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 tools/venv/bin/python -I tools/tv.py 'pm list packages' # one shell command on the TV tools/disable.sh examples/xiaomi-mi-tv-4a/debloat.txt # apply a debloat list tools/restore.sh examples/xiaomi-mi-tv-4a/debloat.txt # undo it, stock launcher back tools/venv/bin/python -I tools/check.py examples/xiaomi-mi-tv-4a/debloat.txt # what a firmware update undid launcher/build-and-install.sh # build the launcher and make it Home (needs the TV_HOST export above) tools/theme.sh themes/aurora # push a theme; --reset removes it tools/venv/bin/python -I tools/wallpaper_prep.py ~/Pictures/trip mytheme/wallpapers # your photos, sized and darkened for the TV ``` | Tool | What it does | |---|---| | [`tools/tv.py`](https://github.com/gathin23/cleanyourtv/blob/main/tools/tv.py) | Pure-Python ADB client: shell, batch, push, pull, reboot, and screenshots, optionally pressing remote keys first. Works where the stock `adb` binary is blocked. Optional [paired Google ADB backend](https://github.com/gathin23/cleanyourtv/blob/main/tools/native-adb.md) for encrypted Wireless debugging. | | [`tools/docker-build.sh`](https://github.com/gathin23/cleanyourtv/blob/main/tools/docker-build.sh) | Builds the launcher or an add-on in Docker (JDK 17, Android SDK 34), so this computer needs nothing but Docker. Install the result with `SKIP_BUILD=1`. [Guide](https://github.com/gathin23/cleanyourtv/blob/main/tools/docker-build.md). | | [`tools/b64push.py`](https://github.com/gathin23/cleanyourtv/blob/main/tools/b64push.py) | Uploads large files such as APKs in base64 chunks and verifies the checksum. | | [`tools/relay.py`](https://github.com/gathin23/cleanyourtv/blob/main/tools/relay.py) | Forwards a local port to the TV's ADB port, for assistants whose sandbox can't reach your network. Listens on this computer only. [Guide](https://github.com/gathin23/cleanyourtv/blob/main/tools/relay.md). | | [`tools/disable.sh`](https://github.com/gathin23/cleanyourtv/blob/main/tools/disable.sh), [`restore.sh`](https://github.com/gathin23/cleanyourtv/blob/main/tools/restore.sh) | Apply or undo a debloat list, the undo from the state recorded before the change. | | [`tools/recovery.py`](https://github.com/gathin23/cleanyourtv/blob/main/tools/recovery.py) | Writes the record `disable.sh` needs to undo itself, and prints the restore batch. | | [`tools/check.py`](https://github.com/gathin23/cleanyourtv/blob/main/tools/check.py) | Compares the TV with the list that was applied, for what a firmware update undid; `--fix` puts it back. | | [`tools/match.py`](https://github.com/gathin23/cleanyourtv/blob/main/tools/match.py) | Reads a saved `pm list packages` and prints, for each package, how many lists in `examples/` disable it, how many keep it commented out, and their most common note; Android's core packages show as `never`. Offline, changes nothing (`tools/venv/bin/python -I tools/match.py packages.txt`). | | [`tools/adb-closed.py`](https://github.com/gathin23/cleanyourtv/blob/main/tools/adb-closed.py) | Checks that the TV's network ADB port is closed once debugging is off: exits 0 when the TV refuses the connection, 1 while it is still open, 2 when nothing answered or the check itself could not run. No `nc` needed. | | [`tools/philips-api.py`](https://github.com/gathin23/cleanyourtv/blob/main/tools/philips-api.py) | Philips only: checks that the JointSpace control API Home Assistant uses still answers, before and after a debloat (`tools/venv/bin/python -I tools/philips-api.py <tv ip>`). Port 1926 over HTTPS first, then 1925; reads only what answers without pairing. | | [`tools/privacy.py`](https://github.com/gathin23/cleanyourtv/blob/main/tools/privacy.py) | Audits the TV for voice, ACR and telemetry candidates and prints the evidence for each; `--write` turns the findings into a list `disable.sh` and `restore.sh` already understand. | | [`tools/theme.sh`](https://github.com/gathin23/cleanyourtv/blob/main/tools/theme.sh), [`theme_restart.py`](https://github.com/gathin23/cleanyourtv/blob/main/tools/theme_restart.py) | Push a folder from [`themes/`](https://github.com/gathin23/cleanyourtv/blob/main/themes) to the launcher and restart Home. | | [`tools/wallpaper_prep.py`](https://github.com/gathin23/cleanyourtv/blob/main/tools/wallpaper_prep.py) | Turns a folder of your own photos (JPEG, PNG, WebP, HEIC) into darkened 1280×720 JPEGs under 300 KB for a theme's `wallpapers/` folder. Needs Pillow, plus pillow-heif for HEIC (`tools/requirements-photos.txt`). Never touches the originals. [How to use it](#your-own-photos-as-the-background). | | [`tools/manage.py`](https://github.com/gathin23/cleanyourtv/blob/main/tools/manage.py) | List every add-on, theme and switch with its screenshot, see what is on the TV, and install, update or remove one by running its creator's own script. | | [`tools/bench.py`](https://github.com/gathin23/cleanyourtv/blob/main/tools/bench.py) | Measures the launcher that answers HOME: key latency, how far the focus moved, janky frames, cold start, return to Home, and the idle CPU and PSS it costs. Changes nothing on the TV and writes the raw per-key numbers to JSON; no extra install. | | [`tools/trace.py`](https://github.com/gathin23/cleanyourtv/blob/main/tools/trace.py), [`trace_report.py`](https://github.com/gathin23/cleanyourtv/blob/main/tools/trace_report.py) | Records Perfetto traces of the launcher (return to Home, cold start, D-pad) and reports where its time goes, per run and before against after. Optional: needs [`requirements-perf.txt`](https://github.com/gathin23/cleanyourtv/blob/main/tools/requirements-perf.txt). [Guide](https://github.com/gathin23/cleanyourtv/blob/main/tools/trace.md). | | [`tools/flamechart.py`](https://github.com/gathin23/cleanyourtv/blob/main/tools/flamechart.py) | Draws a before/after flame chart from those traces, for a pull request: one lane per thread on a shared time scale, the work a change targets in magenta with its total. Optional, like the trace tools. [Guide](https://github.com/gathin23/cleanyourtv/blob/main/tools/flamechart.md). | | [`tools/screendiff.py`](https://github.com/gathin23/cleanyourtv/blob/main/tools/screendiff.py) | Compares a before and an after screenshot pixel by pixel, leaving out the clock or anything you mask, and writes the pair with your Wi-Fi name blurred. Optional, like the trace tools. [Guide](https://github.com/gathin23/cleanyourtv/blob/main/tools/screendiff.md). | | [`tools/race_calendar.py`](https://github.com/gathin23/cleanyourtv/blob/main/tools/race_calendar.py) | Writes this season's F1 calendar into a theme for race-weekend mode, from the free Jolpica API. | | [`launcher/build-and-install.sh`](https://github.com/gathin23/cleanyourtv/blob/main/launcher/build-and-install.sh) | Builds a shrunk release (about 572 KB), installs it, switches Home, and rolls back if Home does not land on it. | The scripts never leave the TV without a Home app: they only disable a stock launcher they recognise, and skip the Home app in a list until another launcher answers HOME. Your own lists can live outside the repository: list paths are relative to the directory you run from, and absolute paths work too. <details> <summary><b>Windows (PowerShell)</b></summary> Every script has a PowerShell twin next to it. Install Python 3 and a JDK from 17 through 22, and in the SDK Manager add platform 34 and build-tools 34 (34.0.0 or any newer 34.x). The script uses `JAVA_HOME` when it points at a JDK in that range, and otherwise Android Studio's bundled JDK when that JDK is in the same range: ```powershell python -m venv tools\venv; tools\venv\Scripts\python.exe -m pip install -r tools\requirements.txt powershell -ExecutionPolicy Bypass -File launcher\build-and-install.ps1 -TvHost 192.168.1.50 powershell -ExecutionPolicy Bypass -File tools\disable.ps1 -TvHost 192.168.1.50 examples\xiaomi-mi-tv-4a\debloat.txt powershell -ExecutionPolicy Bypass -File tools\restore.ps1 -TvHost 192.168.1.50 examples\xiaomi-mi-tv-4a\debloat.txt powershell -ExecutionPolicy Bypass -File tools\theme.ps1 -TvHost 192.168.1.50 themes\aurora ``` The last two are the undo and a theme push, the `tools/restore.sh` and `tools/theme.sh` lines the sections above give in bash. On Google TV the undo takes the stock launcher as well: `-Stock com.google.android.apps.tv.launcherx`. </details> <details> <summary><b>How the scripts protect Home</b></summary> The install scripts ask the TV which launcher owns Home and only disable one they recognise, the four in `KNOWN_STOCK_LAUNCHERS`: `com.google.android.tvlauncher`, `com.google.android.apps.tv.launcherx`, `com.google.android.leanbacklauncher` and Xiaomi's `com.mitv.tvhome` (PatchWall). Pass `STOCK_LAUNCHER=<package>` (`-StockLauncher`) to override, or `none` to leave it alone. `tools/disable.sh` (`disable.ps1`) applies the same rule before it disables anything: - If the list contains the app that owns Home and no other app on the TV answers HOME, it skips that entry, says why, and disables the rest of the list. So a list applied before the launcher handover cannot leave the TV with nothing to start. - The setup wizard, the settings apps, a vendor `FallbackHome` and factory-test apps (Xiaomi's `com.duokan.factorytest`) answer HOME too and don't count. - On Google TV it also keeps the owner while setupwraith answers HOME and stays enabled (not listed, or kept for the Wi-Fi network): setupwraith answers ahead of an installed launcher that is not Home yet, so it would take Home. Run the same list again once `launcher/build-and-install.sh` has made the new launcher Home and the entry is applied; `FORCE_HOME=1` (`$env:FORCE_HOME`) disables it anyway. </details> ## The microphone, and what can be said about it "Which of these packages is listening?" has no honest one-line answer: a permission scan shows fifty system packages with `RECORD_AUDIO` that record nothing, and ACR clients see the screen with no audio permission at all. [`tools/privacy.py`](https://github.com/gathin23/cleanyourtv/blob/main/tools/privacy.py) reports what the TV actually says, with the evidence for each voice, ACR and telemetry candidate: `TV_HOST=192.168.1.50 tools/venv/bin/python -I tools/privacy.py`, and `--write` turns them into a normal debloat list. What the audit cannot do is prove intent: [docs/privacy.md](https://github.com/gathin23/cleanyourtv/blob/main/docs/privacy.md) explains why. ## The launcher A small native home screen for Android TV: **about 572 KB**, plain Java, built for TVs with 1 GB of RAM. No blur, no video, no network permission, no background services. The **TV** needs Android 8.0 (API 26) or newer, the `minSdk` in [`launcher/app/build.gradle`](https://github.com/gathin23/cleanyourtv/blob/main/launcher/app/build.gradle); what is left on an older set is in [Troubleshooting](https://github.com/gathin23/cleanyourtv/blob/main/docs/TROUBLESHOOTING.md). | What | How it works | |---|---| | **Configure** | Dock order, hidden apps, Live TV app, 4 to 7 tiles per row, reduced motion. All in [`config.xml`](https://github.com/gathin23/cleanyourtv/blob/main/launcher/app/src/main/res/values/config.xml) | | **Settings on the TV** | Hold OK on Settings for launcher settings. Optional `launcher_settings_button` makes a normal click open them directly; TV settings remain on the settings page and their app tile. | | **Themes** | Background, wallpaper and layout from a `config.json` pushed over Wi-Fi, no rebuild. Thirty-three ship in [`themes/`](https://github.com/gathin23/cleanyourtv/blob/main/themes), the built-in `default/` included | | **31 languages** | Follows the TV's language, with a fully mirrored right-to-left layout for Hebrew | | **App library** | Optional: browse every installed app and add or remove Home shortcuts. See [the app library guide](https://github.com/gathin23/cleanyourtv/blob/main/docs/app-library.md) | | **Tile menu** | On by default (`tile_menu`): hold OK on a tile for Move and App info, plus Remove from Home when the app library is on. Off, holding OK opens App info | | **Module cards** | Any TV app can offer its own tile; you approve each one once. See [`docs/modules.md`](https://github.com/gathin23/cleanyourtv/blob/main/docs/modules.md) | | **Add-ons** | Optional apps that plug in as module cards, kept in [`addons/`](https://github.com/gathin23/cleanyourtv/blob/main/addons) and never built into the launcher | | **Clock screensaver** | A drifting clock over the glow, so nothing burns in | | **Remote keys** | Keeps the Input, YouTube and gear buttons working after the stock launcher is gone | Themes, switches and add-ons together, with screenshots: [cleanyour.tv/addons](https://cleanyour.tv/addons). **More:** [docs/launcher.md](https://github.com/gathin23/cleanyourtv/blob/main/docs/launcher.md) has the launcher settings page row by row, changing the default home, the languages, remote keys, the Clock screensaver, navigation and building it yourself. <a id="your-own-photos-as-the-background"></a> <details> <summary><b>Your own photos as the background</b></summary> A theme can rotate a folder of pictures behind Home, with no rebuild. No pictures ship with the repo: you bring --- [Read more](https://github.com/gathin23/cleanyourtv)