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
Security: manage.py only uses a package-shaped applicationId; SHOWCASE links follow bearylabs to hrudek
Gathin233051736a5bac
diff --git a/SHOWCASE.md b/SHOWCASE.mdindex fd37df0b6..04e1b3f15 100644--- a/SHOWCASE.md+++ b/SHOWCASE.md@@ -251,7 +251,7 @@ Only want the tracking off on a Samsung, LG, Roku or other non-Android TV? [clea| Project | What it is | Built on | By ||---|---|---|---|-| [CleanYourTV AFTSS minimal fork](https://github.com/bearylabs/cleanyourtv/tree/firetv) ([build and test notes](https://github.com/bearylabs/cleanyourtv/blob/firetv/FIRETV.md), [screenshot](https://github.com/bearylabs/cleanyourtv/releases/download/firetv-device-check-images-2026-10-25/rc1-home.jpg)) | No-root fork with a Home redirect in its accessibility service and a fail-open cover; Amazon Home stays enabled, no new network permission | Fire TV Stick Lite 2020 (AFTSS / sheldon), Fire OS 7.7.1.7 / Android 9 | [bearylabs](https://github.com/bearylabs) |+| [CleanYourTV AFTSS minimal fork](https://github.com/hrudek/cleanyourtv/tree/firetv) ([build and test notes](https://github.com/hrudek/cleanyourtv/blob/firetv/FIRETV.md), [screenshot](https://github.com/hrudek/cleanyourtv/releases/download/firetv-device-check-images-2026-10-25/rc1-home.jpg)) | No-root fork with a Home redirect in its accessibility service and a fail-open cover; Amazon Home stays enabled, no new network permission | Fire TV Stick Lite 2020 (AFTSS / sheldon), Fire OS 7.7.1.7 / Android 9 | [bearylabs](https://github.com/bearylabs) || [CleanYourTV for LG webOS](https://github.com/lasharor/cleanyourtv-WebOS) | A clean home for **rooted** LG webOS TVs (Homebrew Channel, SSH as root): a four-app dock with the focused app's glow, an app grid, Inputs and Settings shortcuts, Live TV from your own M3U playlist with a guide, and an optional debloat that stops LG's ad and telemetry services and blocks a few ad servers. Runs from RAM at boot; a reboot without its boot scripts brings LG's Home back | LG OLED65G26LA (G2), webOS 25 | [lasharor](https://github.com/lasharor) || [CleanYourTV webOS edition](https://github.com/SamuelSHernandez/cleanyourtv-webOS/tree/main/webos) ([setup](https://github.com/SamuelSHernandez/cleanyourtv-webOS/blob/main/webos/docs/setup.md), [screenshot](https://raw.githubusercontent.com/SamuelSHernandez/cleanyourtv-webOS/4be30bddd3429258aac9f755581242f05cde43eb/webos/themes/default/screenshot.jpg)) | **No root.** This repo's launcher rebuilt as a webOS web app for LG TVs in Developer Mode, keeping its Home model (the dock is the first row, Move, App library), theme keys, card rules and its own translations in 28 languages, with a dock-only mode, five themes and a Night Clock add-on. A `cytv-webos` tool installs, checks and restores it with a journal that reads every result back. No network use on the TV; the Home button stays LG's (a Quick Access key opens it) | LG 50UQ7570PUJ, webOS 22; LG OLED65C2PUA (C2), webOS 25, firmware 33.31.68, SDK 10.3.1 (install, visible launcher and physical D-pad navigation) | [SamuelSHernandez](https://github.com/SamuelSHernandez) || [Fire OS 6 fast Home](https://github.com/Mohamedkrs/cleanyourtv) ([how it works](https://github.com/Mohamedkrs/cleanyourtv/blob/main/FORK.md), [screenshot](https://raw.githubusercontent.com/Mohamedkrs/cleanyourtv/61a1fff14407220547f37073843be121f188ce3c/docs/fire-os-6/home.jpg)) | The current launcher on Fire OS 6 (minSdk 25); a system-log Home watcher brings it back about 0.5 s after Home; adds READ_LOGS (granted over ADB) and a boot receiver, no network permission | Fire TV Stick 4K, 1st gen (AFTMM / mantis), Fire OS 6.7.1.1 / Android 7.1.2 | [Mohamedkrs](https://github.com/Mohamedkrs) |@@ -290,7 +290,7 @@ Walkthroughs other people wrote or recorded. Press coverage is listed in [docs/PBy the TV each project was built and tested on. Most of them run on other Android TV sets too; check the project's README.-- **Amazon Fire TV:** [CleanYourTV AFTSS minimal fork](https://github.com/bearylabs/cleanyourtv/tree/firetv), [CleanYourTV on Fire OS](https://github.com/GaneshVarma1/cleanyourtv/tree/fire-tv-launcher-settings-fix), [Fire OS 6 fast Home](https://github.com/Mohamedkrs/cleanyourtv), [Fire OS 6 Home watcher](https://github.com/ljis120301/tv-vibehack/tree/fire-tv-support), [Fire OS 7 fast Home](https://github.com/andrewsaad/fire-tv-cleanup), [Fire TV Glass](https://github.com/ivantrj/firetv-glass-launcher), [Fire TV Stick Lite cleanup (AFTSS)](https://github.com/eteen12/firetv-stick-aftss-cleanup), [Fire TV → Apple TV front end](https://github.com/NikhilSiddhu/firetv-tvos), [fire-tv-cleanup](https://github.com/itsmeterrylin/fire-tv-cleanup), [Home Return and weather moods on a Fire TV](https://github.com/bansiman/cleanyourtv/tree/my-tv), [Today: dashboard, screensaver and alerts](https://github.com/meowbanky/cleanyourtv/tree/today-app/today), [TV Optimizer](https://github.com/Soham-Saha-AI/tv-optimizer), [Violet Horizon](https://github.com/Kiwicoop247/firetv-glass-launcher/tree/violet-horizon), [Fire OS 8 Home redirect with Settings pass-through](https://github.com/Achar0/tv-vibehack/tree/fire-tv), [AuroraTv-LiveFlow](https://github.com/rubenrojov/AuroraTv-LiveFlow)+- **Amazon Fire TV:** [CleanYourTV AFTSS minimal fork](https://github.com/hrudek/cleanyourtv/tree/firetv), [CleanYourTV on Fire OS](https://github.com/GaneshVarma1/cleanyourtv/tree/fire-tv-launcher-settings-fix), [Fire OS 6 fast Home](https://github.com/Mohamedkrs/cleanyourtv), [Fire OS 6 Home watcher](https://github.com/ljis120301/tv-vibehack/tree/fire-tv-support), [Fire OS 7 fast Home](https://github.com/andrewsaad/fire-tv-cleanup), [Fire TV Glass](https://github.com/ivantrj/firetv-glass-launcher), [Fire TV Stick Lite cleanup (AFTSS)](https://github.com/eteen12/firetv-stick-aftss-cleanup), [Fire TV → Apple TV front end](https://github.com/NikhilSiddhu/firetv-tvos), [fire-tv-cleanup](https://github.com/itsmeterrylin/fire-tv-cleanup), [Home Return and weather moods on a Fire TV](https://github.com/bansiman/cleanyourtv/tree/my-tv), [Today: dashboard, screensaver and alerts](https://github.com/meowbanky/cleanyourtv/tree/today-app/today), [TV Optimizer](https://github.com/Soham-Saha-AI/tv-optimizer), [Violet Horizon](https://github.com/Kiwicoop247/firetv-glass-launcher/tree/violet-horizon), [Fire OS 8 Home redirect with Settings pass-through](https://github.com/Achar0/tv-vibehack/tree/fire-tv), [AuroraTv-LiveFlow](https://github.com/rubenrojov/AuroraTv-LiveFlow)- **ASUS:** [Webmote](https://github.com/maxhayim/webmote)- **Baron (CloudWalker OS):** [Baron Home](https://github.com/sethihq/baron-tv)- **BenQ:** [Navigation sounds](https://github.com/rocavence/tv-vibehack/tree/nav-sounds)diff --git a/tests/test_manage.py b/tests/test_manage.pyindex 8ab5b3e59..2a9634cb0 100644--- a/tests/test_manage.py+++ b/tests/test_manage.py@@ -37,6 +37,19 @@ class ManageTest(unittest.TestCase):self.assertIn("dock_apps", keys)self.assertGreater(len(keys), 40)+ def test_an_application_id_that_is_not_a_package_name_is_not_used(self):+ # `manage.py remove` sends `pm uninstall <id>` to the TV's shell, so an id carrying shell words+ # must read as no package at all rather than run on the TV.+ import tempfile+ with tempfile.TemporaryDirectory() as tmp:+ app = Path(tmp) / "app"+ app.mkdir()+ gradle = app / "build.gradle"+ gradle.write_text("android { defaultConfig { applicationId 'x.y; settings put global adb_enabled 0 #' } }\n")+ self.assertIsNone(manage.package(Path(tmp)))+ gradle.write_text("android { defaultConfig { applicationId 'com.example.addon' } }\n")+ self.assertEqual("com.example.addon", manage.package(Path(tmp)))+def test_find_by_folder_or_name(self):self.assertEqual("weather", manage.find("Weather")["id"])self.assertEqual("theme", manage.find("aurora/")["kind"])diff --git a/tools/manage.py b/tools/manage.pyindex 851b98559..0eabcbc63 100644--- a/tools/manage.py+++ b/tools/manage.py@@ -109,7 +109,9 @@ def package(folder):f = folder / "app" / nameif f.is_file():m = re.search(r"applicationId\s*=?\s*['\"]([^'\"]+)['\"]", f.read_text(encoding="utf-8"))- if m:+ # The id goes into `pm uninstall` on the TV's shell, so only a package-shaped name+ # (the shape disable.sh's PKG_RE accepts) counts; anything else reads as no package.+ if m and re.fullmatch(r"[A-Za-z_][A-Za-z0-9_]*(\.[A-Za-z0-9_]+)+", m.group(1)):return m.group(1)return None