Skip to content

Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.

README: the launcher is about 572 KB after Round AK (585,489 B); cards redrawn

Gathin231a7cee7deabd
diff --git a/.github/maintainer/MAINTAINER.md b/.github/maintainer/MAINTAINER.md
index 111032dd4..30338fb78 100644
--- a/.github/maintainer/MAINTAINER.md
+++ b/.github/maintainer/MAINTAINER.md
@@ -1,7 +1,7 @@
# How CleanYourTV PRs are reviewed
CleanYourTV (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, ~561 KB, for 1 GB TVs). Contributors mostly add
+ADB and a tiny native launcher (`launcher/`, plain Java, ~572 KB, for 1 GB TVs). Contributors mostly add
tested TV lists under `examples/<tv>/`, translations, docs, small launcher options, themes, add-ons and tools.
## The policy: a small core plus a well-indexed hub
diff --git a/README.de.md b/README.de.md
index bc379c122..78f9b3089 100644
--- a/README.de.md
+++ b/README.de.md
@@ -20,7 +20,7 @@
</p>
<p align="center">
- <a href="docs/PRESS.md"><img src="docs/card-halloween.jpg" alt="370 TV-Modelle · 99 Marken · 31 Sprachen · Launcher mit 561 KB. Erwähnt in TechCrunch, TechRadar, Tom's Guide, Mashable, Android Authority, XDA, FlatpanelsHD, It's FOSS, Phandroid, GIGAZINE, Xataka, WinFuture, Frandroid, Macitynet, Techaeris, TechPP und 298 weitere: 314 Artikel aus 44 Ländern. Vorher: der Google-TV-Startbildschirm mit einer bezahlten Anzeige. Nachher: der Clean-Your-TV-Launcher." width="800"></a>
+ <a href="docs/PRESS.md"><img src="docs/card-halloween.jpg" alt="370 TV-Modelle · 99 Marken · 31 Sprachen · Launcher mit 572 KB. Erwähnt in TechCrunch, TechRadar, Tom's Guide, Mashable, Android Authority, XDA, FlatpanelsHD, It's FOSS, Phandroid, GIGAZINE, Xataka, WinFuture, Frandroid, Macitynet, Techaeris, TechPP und 298 weitere: 314 Artikel aus 44 Ländern. Vorher: der Google-TV-Startbildschirm mit einer bezahlten Anzeige. Nachher: der Clean-Your-TV-Launcher." width="800"></a>
</p>
## Einstieg
@@ -192,7 +192,7 @@ tools/theme.sh themes/aurora # ein Theme aufspie
| [`tools/flamechart.py`](tools/flamechart.py) | Zeichnet aus diesen Traces ein Vorher/Nachher-Flammendiagramm für einen Pull Request: eine Spur je Thread auf gemeinsamer Zeitachse, die Arbeit, die eine Änderung trifft, in Magenta mit ihrer Summe. Optional, wie die Trace-Werkzeuge. [Anleitung](tools/flamechart.md). |
| [`tools/screendiff.py`](tools/screendiff.py) | Vergleicht ein Vorher- und ein Nachher-Bild Pixel für Pixel, lässt die Uhr oder das aus, was du maskierst, und schreibt das Paar mit unkenntlich gemachtem WLAN-Namen. Optional, wie die Trace-Werkzeuge. [Anleitung](tools/screendiff.md). |
| [`tools/race_calendar.py`](tools/race_calendar.py) | Schreibt den F1-Kalender dieser Saison in ein Theme für den Rennwochenend-Modus, aus der freien Jolpica-API. |
-| [`launcher/build-and-install.sh`](launcher/build-and-install.sh) | Baut ein geschrumpftes Release (etwa 561 KB), installiert es, schaltet Home um und rollt zurück, wenn Home nicht darauf landet. |
+| [`launcher/build-and-install.sh`](launcher/build-and-install.sh) | Baut ein geschrumpftes Release (etwa 572 KB), installiert es, schaltet Home um und rollt zurück, wenn Home nicht darauf landet. |
Die Skripte lassen den Fernseher nie ohne Home-App: sie deaktivieren nur einen Hersteller-Launcher, den sie erkennen,
und überspringen die Home-App in einer Liste, bis ein anderer Launcher auf HOME antwortet. Eigene Listen können außerhalb
@@ -247,7 +247,7 @@ Debloat-Liste. Was die Prüfung nicht kann, ist Absicht beweisen: [docs/privacy.
## Der Launcher
-Ein kleiner nativer Startbildschirm für Android TV: **etwa 561 KB**, einfaches Java, gebaut für Fernseher mit 1 GB RAM.
+Ein kleiner nativer Startbildschirm für Android TV: **etwa 572 KB**, einfaches Java, gebaut für Fernseher mit 1 GB RAM.
Kein Weichzeichnen, kein Video, keine Netzwerkberechtigung, keine Hintergrunddienste. Der **Fernseher** braucht Android 8.0 (API 26)
oder neuer, das `minSdk` in [`launcher/app/build.gradle`](launcher/app/build.gradle); was auf einem älteren
Gerät übrig bleibt, steht in der [Fehlerbehebung](docs/TROUBLESHOOTING.md).
diff --git a/README.md b/README.md
index 8a5ef5cd5..c645c6d5e 100644
--- a/README.md
+++ b/README.md
@@ -24,7 +24,7 @@
</p>
<p align="center">
- <a href="docs/PRESS.md"><img src="docs/card-halloween.jpg" alt="370 TV models · 99 brands · 31 languages · 561 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 298 more: 314 articles from 44 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-halloween.jpg" alt="370 TV models · 99 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 298 more: 314 articles from 44 countries. Before: stock Google TV home with a sponsored ad. After: the Clean Your TV launcher." width="800"></a>
</p>
## Start here
@@ -205,7 +205,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 561 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 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
@@ -268,7 +268,7 @@ debloat list. What the audit cannot do is prove intent: [docs/privacy.md](docs/p
## The launcher
-A small native home screen for Android TV: **about 561 KB**, plain Java, built for TVs with 1 GB of RAM.
+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`](launcher/app/build.gradle); what is left on an older
set is in [Troubleshooting](docs/TROUBLESHOOTING.md).
diff --git a/README.nl.md b/README.nl.md
index c8d9f0800..4152b7445 100644
--- a/README.nl.md
+++ b/README.nl.md
@@ -26,7 +26,7 @@
</p>
<p align="center">
- <a href="docs/PRESS.md"><img src="docs/card-halloween.jpg" alt="370 tv-modellen · 99 merken · 31 talen · launcher van 561 KB. Genoemd in TechCrunch, TechRadar, Tom's Guide, Mashable, Android Authority, XDA, FlatpanelsHD, It's FOSS, Phandroid, GIGAZINE, Xataka, WinFuture, Frandroid, Macitynet, Techaeris, TechPP en nog 298 media: 314 artikelen uit 44 landen. Voorheen: het standaard Google TV-startscherm met een gesponsorde advertentie. Daarna: de Clean Your TV-launcher." width="800"></a>
+ <a href="docs/PRESS.md"><img src="docs/card-halloween.jpg" alt="370 tv-modellen · 99 merken · 31 talen · launcher van 572 KB. Genoemd in TechCrunch, TechRadar, Tom's Guide, Mashable, Android Authority, XDA, FlatpanelsHD, It's FOSS, Phandroid, GIGAZINE, Xataka, WinFuture, Frandroid, Macitynet, Techaeris, TechPP en nog 298 media: 314 artikelen uit 44 landen. Voorheen: het standaard Google TV-startscherm met een gesponsorde advertentie. Daarna: de Clean Your TV-launcher." width="800"></a>
</p>
**De virale tweet:** [x.com/gathint/status/2111379569030939102](https://x.com/gathint/status/2111379569030939102)
@@ -561,7 +561,7 @@ tools/theme.sh themes/aurora # push a theme; --r
| [`tools/flamechart.py`](tools/flamechart.py) | Maakt voor een pull request een flame chart vóór en na de wijziging op basis van die traces: één baan per thread op een gedeelde tijdschaal, met het werk waarop de wijziging zich richt in magenta en met de totale duur. Optioneel, net als de trace-hulpmiddelen. [Handleiding](tools/flamechart.md). |
| [`tools/screendiff.py`](tools/screendiff.py) | Vergelijkt schermafbeeldingen van vóór en na pixel voor pixel, laat de klok en alles wat je maskeert buiten beschouwing en slaat beide afbeeldingen op met de wifi-naam vervaagd. Optioneel, net als de trace-hulpmiddelen. [Handleiding](tools/screendiff.md). |
| [`tools/race_calendar.py`](tools/race_calendar.py) | Schrijft de F1-kalender van dit seizoen in een thema voor de raceweekendmodus, via de gratis Jolpica-API. |
-| [`launcher/build-and-install.sh`](launcher/build-and-install.sh) | Bouwt een verkleinde release (ongeveer 561 KB), installeert deze, schakelt het startscherm om en draait de wijziging terug als de nieuwe launcher niet het startscherm wordt. |
+| [`launcher/build-and-install.sh`](launcher/build-and-install.sh) | Bouwt een verkleinde release (ongeveer 572 KB), installeert deze, schakelt het startscherm om en draait de wijziging terug als de nieuwe launcher niet het startscherm wordt. |
De scripts zorgen er altijd voor dat de tv een startscherm-app behoudt: ze schakelen alleen een herkende standaardlauncher uit en slaan die app in een lijst over totdat een andere launcher op HOME reageert. Zie hieronder voor meer informatie.
@@ -609,7 +609,7 @@ De controle kan niet bewijzen wat de bedoeling is. `appops` laat zien dat een be
<a id="the-launcher"></a>
## De launcher
-Een klein, native startscherm voor Android TV: **ongeveer 561 KB**, geschreven in gewone Java en ontworpen voor tv's met 1 GB RAM. Geen vervagingseffecten, geen video, geen netwerktoestemming en geen achtergrondservices.
+Een klein, native startscherm voor Android TV: **ongeveer 572 KB**, geschreven in gewone Java en ontworpen voor tv's met 1 GB RAM. Geen vervagingseffecten, geen video, geen netwerktoestemming en geen achtergrondservices.
De **tv** moet Android 8.0 (API 26) of nieuwer gebruiken. `minSdk` stelt de minimale versie in tijdens het bouwen in [`launcher/app/build.gradle`](launcher/app/build.gradle). Het installatiescript vraagt vóór het bouwen de waarde van `ro.build.version.sdk` op, zodat een oudere tv beide versienummers te zien krijgt in plaats van pas bij `pm install` te mislukken. Zie [Problemen oplossen](docs/TROUBLESHOOTING.md) voor wat op zo'n tv nog mogelijk is.
diff --git a/docs/card-halloween.jpg b/docs/card-halloween.jpg
index 8e591baea..7dc953708 100644
Binary files a/docs/card-halloween.jpg and b/docs/card-halloween.jpg differ
diff --git a/docs/card.jpg b/docs/card.jpg
index 1810be2fd..ed49a7625 100644
Binary files a/docs/card.jpg and b/docs/card.jpg differ
diff --git a/docs/launcher.md b/docs/launcher.md
index 26f5846d0..a0a252d3f 100644
--- a/docs/launcher.md
+++ b/docs/launcher.md
@@ -2,7 +2,7 @@
[Back to the README](../README.md#the-launcher)
-A small native home screen for Android TV: **about 561 KB**, plain Java, built for TVs with 1 GB of RAM.
+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. This page has the details the
README leaves out: settings, languages, remote keys and building it yourself. Every key a theme can
set is in [`themes/README.md`](../themes/README.md#keys), and the opt-in switches with their
diff --git a/docs/stats-halloween.png b/docs/stats-halloween.png
index 8565aae14..aee052a05 100644
Binary files a/docs/stats-halloween.png and b/docs/stats-halloween.png differ
diff --git a/docs/stats.png b/docs/stats.png
index 329136273..97004a37a 100644
Binary files a/docs/stats.png and b/docs/stats.png differ
diff --git a/docs/workflows/translation.md b/docs/workflows/translation.md
index e15fc1b1e..f14c64cc1 100644
--- a/docs/workflows/translation.md
+++ b/docs/workflows/translation.md
@@ -32,7 +32,7 @@
7. Check the size gate before you push. A language's strings ship in the release APK, and that APK has to
stay 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 561 KB, so a full language can be the
+ on every pull request. `README.md` quotes the launcher at about 572 KB, so a full language can be the
difference between green and a failed build. A language that does not fit is a maintainer decision, not
something 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.py
index 30bbba614..2645b27c7 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 transl
adds 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 561 KB), and #1271 is a full Korean translation that did
+ships just under that (README.md quotes about 572 KB), and #1271 is a full Korean translation that did
not fit. Until now the page said nothing about it, so a translator could follow the recipe exactly and
land a red build at a step the page never mentions.
diff --git a/tools/readme_stats.py b/tools/readme_stats.py
index 6e77df0c1..c754646aa 100644
--- a/tools/readme_stats.py
+++ b/tools/readme_stats.py
@@ -71,7 +71,7 @@ try:
except ImportError:
sys.exit("readme_stats.py needs Pillow: tools/venv/bin/pip install -r tools/requirements-perf.txt")
-STATS = [("370", "TV MODELS"), ("99", "BRANDS"), ("31", "LANGUAGES"), ("561 KB", "LAUNCHER")]
+STATS = [("370", "TV MODELS"), ("99", "BRANDS"), ("31", "LANGUAGES"), ("572 KB", "LAUNCHER")]
W, H = 1600, 240
img = Image.new("RGB", (W, H), "#15181e"); d = ImageDraw.Draw(img)
def f(size, wt):