Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.
Python adbadblockandroid-tvandroid-tv-launcherapple-tvbloatware-removalclaude-codedebloatfire-tvgoogle-tvlauncherprivacysmart-tvsony-braviatclvibe-codingxiaomi
README: counts and card after Round Z (300 TV models, 86 brands, 28 languages, about 518 KB)
Gathin233692a7cdcc4e
diff --git a/.github/maintainer/MAINTAINER.md b/.github/maintainer/MAINTAINER.mdindex 18bfa3903..a750d7c0a 100644--- a/.github/maintainer/MAINTAINER.md+++ b/.github/maintainer/MAINTAINER.md@@ -1,7 +1,7 @@# How CleanYourTV PRs are reviewedCleanYourTV (Gathin23/cleanyourtv) is a prompt plus tools that debloat Android TV / Google TV / Fire TV over-ADB and a tiny native launcher (`launcher/`, plain Java, ~517 KB, for 1 GB TVs). Contributors mostly add+ADB and a tiny native launcher (`launcher/`, plain Java, ~518 KB, for 1 GB TVs). Contributors mostly addtested TV lists under `examples/<tv>/`, translations, docs, small launcher options, themes, add-ons and tools.## The policy: a small core plus a well-indexed hubdiff --git a/README.md b/README.mdindex cd86ad873..6d77f8077 100644--- a/README.md+++ b/README.md@@ -20,7 +20,7 @@</p><p align="center">- <a href="docs/PRESS.md"><img src="docs/card.jpg" alt="300 TV models · 86 brands · 28 languages · 517 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 180 more: 196 articles from 32 countries. Before: stock Google TV home with a sponsored ad. After: the Clean Your TV launcher." width="800"></a>+ <a href="docs/PRESS.md"><img src="docs/card.jpg" alt="300 TV models · 86 brands · 28 languages · 518 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 180 more: 196 articles from 32 countries. Before: stock Google TV home with a sponsored ad. After: the Clean Your TV launcher." width="800"></a></p>**The viral tweet:** [x.com/gathint/status/2111379569030939102](https://x.com/gathint/status/2111379569030939102)@@ -483,7 +483,7 @@ tools/theme.sh themes/aurora # push a theme; --r| [`tools/flamechart.py`](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](tools/flamechart.md). || [`tools/screendiff.py`](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](tools/screendiff.md). || [`tools/race_calendar.py`](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`](launcher/build-and-install.sh) | Builds a shrunk release (about 517 KB), installs it, switches Home, and rolls back if Home does not land on it. |+| [`launcher/build-and-install.sh`](launcher/build-and-install.sh) | Builds a shrunk release (about 518 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. Details below.@@ -555,7 +555,7 @@ apps), which is why the report names that loss per package instead of calling it## The launcher-A small native home screen for Android TV: **about 517 KB**, plain Java, built for TVs with 1 GB of RAM.+A small native home screen for Android TV: **about 518 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: `minSdk` is a compile-time floor indiff --git a/docs/card.jpg b/docs/card.jpgindex eab625fdf..bd61e3ff2 100644Binary files a/docs/card.jpg and b/docs/card.jpg differdiff --git a/docs/stats.png b/docs/stats.pngindex bfe6988a2..d07c79749 100644Binary files a/docs/stats.png and b/docs/stats.png differdiff --git a/docs/workflows/translation.md b/docs/workflows/translation.mdindex f9f56ef42..224fcedd9 100644--- a/docs/workflows/translation.md+++ b/docs/workflows/translation.md@@ -28,7 +28,7 @@7. Check the size gate before you push. A language's strings ship in the release APK, and that APK has tostay under 589,824 B (576 KB): `launcher/app/build/outputs/apk/release/app-release.apk`, measured with`stat -c %s` on Linux or `stat -f %z` on macOS, and checked by the "Launcher build and unit tests" job- on every pull request. `README.md` quotes the launcher at about 517 KB, so a full language can be the+ on every pull request. `README.md` quotes the launcher at about 518 KB, so a full language can be thedifference between green and a failed build. A language that does not fit is a maintainer decision, notsomething to land by dropping strings ([#1271](https://github.com/Gathin23/cleanyourtv/issues/1271)).8. Build the launcher, set the TV's language (Android 13+: `tools/tv.py 'cmd locale set-app-locales com.gathin.tvhome --locales <tag>'`)diff --git a/tests/test_translation_recipe_gate.py b/tests/test_translation_recipe_gate.pyindex 5a8a42a5b..474f1e96b 100644--- a/tests/test_translation_recipe_gate.py+++ b/tests/test_translation_recipe_gate.py@@ -5,7 +5,7 @@ in `values/strings.xml`, so a full language is by far the largest thing a transladds to `launcher/app/src/main/res/` - and the release APK has a hard budget:`.github/workflows/ci.yml`'s `launcher` job, which runs on every pull request in `launcher/`, measures`launcher/app/build/outputs/apk/release/app-release.apk` and fails the build at 589,824 B. The launcher-ships just under that (README.md quotes about 517 KB), and #1271 is a full Korean translation that did+ships just under that (README.md quotes about 518 KB), and #1271 is a full Korean translation that didnot fit. Until now the page said nothing about it, so a translator could follow the recipe exactly andland a red build at a step the page never mentions.diff --git a/tools/readme_stats.py b/tools/readme_stats.pyindex 21e96b00b..e95910090 100644--- a/tools/readme_stats.py+++ b/tools/readme_stats.py@@ -37,7 +37,7 @@ try:except ImportError:sys.exit("readme_stats.py needs Pillow: tools/venv/bin/pip install -r tools/requirements-perf.txt")-STATS = [("300", "TV MODELS"), ("86", "BRANDS"), ("28", "LANGUAGES"), ("517 KB", "LAUNCHER")]+STATS = [("300", "TV MODELS"), ("86", "BRANDS"), ("28", "LANGUAGES"), ("518 KB", "LAUNCHER")]W, H = 1600, 240img = Image.new("RGB", (W, H), "#15181e"); d = ImageDraw.Draw(img)def f(size, wt):