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
Fold-ins for #1344, #1362, #1366, #1381, #1401, #1412, #1416, #1431 and #1433
Gathin23f8b556db1892
diff --git a/docs/devices/xiaomi-tv-a-pro-43.md b/docs/devices/xiaomi-tv-a-pro-43.mdindex 401b8b717..5afbf80b3 100644--- a/docs/devices/xiaomi-tv-a-pro-43.md+++ b/docs/devices/xiaomi-tv-a-pro-43.md@@ -1,7 +1,7 @@# Xiaomi TV A Pro 43-inch (`MiTV-MZTU0` / `river`): one-session reportOwner-reported 43-inch Xiaomi TV A Pro. Android reports the same `MiTV-MZTU0` model and `river`-codename as the existing 75-inch 2026 profile, but this unit has a different firmware build. This is+codename as the existing 75-inch 2026 profile ([examples/xiaomi-tv-a-pro-2026](../../examples/xiaomi-tv-a-pro-2026/debloat.txt)), but this unit has a different firmware build. This isan initial compatibility report, not a multi-day debloat list.| Field | Observed value |@@ -24,7 +24,7 @@ build-and-install script installed and started CleanYourTV, made it Home, and onstock launcher. After one reboot, Home still resolved to `com.gathin.tvhome/.MainActivity`.Do not disable the setup wizard while the TV is still relying on its saved Wi-Fi network. Confirm-that Ethernet (or another network not owned by the wizard) is active first.+that Ethernet (or another network not owned by the wizard) is active first. Disabling it can also stop phone casting after a reboot, since the Cast receiver reads its credentials from setupwraith.## Package state observeddiff --git a/examples/README.md b/examples/README.mdindex 6093b4a3b..171b1c573 100644--- a/examples/README.md+++ b/examples/README.md@@ -330,7 +330,7 @@ Notes for models that have no tested list yet live in [`docs/devices/`](../docs/- [Wanbo T2 Max (Android 6)](../docs/devices/wanbo-t2-max-android6.md) (projector, MStar `bennet`/`mainz`, `T2 M+`, Android 6.0 `W073_DC.1080T2.Zeasn.21041417`, France): `pm disable-user` and `pm hide` are refused, so no list; network ADB on 5555 closes at every reboot; the projector's apps are plain `LAUNCHER` apps, and `TvInputManager` throws; what a `minSdk 23` launcher build needed (desugaring, API 24 guards, static Outfit), the Home chooser that held after a reboot, and a time zone set to São Paulo out of the box.- [Xiaomi TV A Pro 43-inch](../docs/devices/xiaomi-tv-a-pro-43.md) (`MiTV-MZTU0` / `river`), Google TV 14, firmware `UKN1.240806.017.V816.0.26.6.2.6.URTMIXM`: setupwraith owned the saved Wi-Fi, so Ethernet had to be active before disabling it; the replacement launcher remained Home after reboot; one-session report, no several-day list yet.-- [Acer AR55AR2851UDFL 55\"](../docs/devices/acer-ar55ar2851udfl.md), India, SCBC `R4` / Realtek `rtd2851m`, Android TV 14 `UKR1.260308` / `3272`: second unit near the AR55AR2851UDPRO example; 11 owner-approved packages disabled, Home and key functions checked after two warm reboots and one owner-reported full power-off; two days of testing, with package-state verification and longer follow-up pending, so no example list yet.+- [Acer AR55AR2851UDFL 55"](../docs/devices/acer-ar55ar2851udfl.md), India, SCBC `R4` / Realtek `rtd2851m`, Android TV 14 `UKR1.260308` / `3272`: second unit near the AR55AR2851UDPRO example; 11 owner-approved packages disabled, Home and key functions checked after two warm reboots and one owner-reported full power-off; two days of testing, with package-state verification and longer follow-up pending, so no example list yet.To add your TV, see [CONTRIBUTING.md](../CONTRIBUTING.md). The quickest way to get a list is torun the prompt in [PROMPT.md](../PROMPT.md) and copy the packages your assistant disabled.diff --git a/examples/dcolor-gd2/debloat.txt b/examples/dcolor-gd2/debloat.txtindex d0c9e93a9..ab17418f0 100644--- a/examples/dcolor-gd2/debloat.txt+++ b/examples/dcolor-gd2/debloat.txt@@ -10,6 +10,7 @@# disable.sh skips it until another app answers HOME, so run this list again once the launcher is installed.# setupwraith: the first-run wizard also claims HOME on Google TV. disable.sh skips it while it owns the# saved Wi-Fi network (FORCE_SETUPWRAITH=1 overrides). Re-enable it before a factory reset; restore.sh does.+# Disabling setupwraith gives Home back but costs casting (Chromecast built-in); re-enable it to cast.## Left on on purpose: com.android.vending (Play Store), com.google.android.gms, com.google.android.youtube.tv,# com.netflix.ninja, com.google.android.tv.dfuservice (system updates), com.google.android.tv.remote.servicediff --git a/examples/panasonic-kowloon/debloat.txt b/examples/panasonic-kowloon/debloat.txtindex 4f44fc7f1..2b566cdd5 100644--- a/examples/panasonic-kowloon/debloat.txt+++ b/examples/panasonic-kowloon/debloat.txt@@ -5,9 +5,10 @@# Stock launcher: com.google.android.apps.tv.launcherx (build-and-install.sh disables it when the launcher takes Home)# Live TV / inputs: com.mediatek.wwtv.tvcenter and com.mediatek.wwtv.mediaplayer (keep; never disable com.mediatek.*)# Setup wizard: com.google.android.tungsten.setupwraith OWNS the saved Wi-Fi network (dumpsys wifi, cname=).-# Disabling it deletes that network and the TV drops off Wi-Fi and ADB. It is commented out-# below. If you need it off so the launcher can take Home, forget the Wi-Fi network in-# Settings > Network & Internet and join it again first, then uncomment the line.+# Disabling it deletes that network and the TV drops off Wi-Fi and ADB. It is not in this+# list. If you need it off so the launcher can take Home, forget the Wi-Fi network in+# Settings > Network & Internet and join it again first, then add+# com.google.android.tungsten.setupwraith to your copy.## Apply: TV_HOST=<tv ip> tools/disable.sh examples/panasonic-kowloon/debloat.txt# Undo: TV_HOST=<tv ip> tools/restore.sh examples/panasonic-kowloon/debloat.txtdiff --git a/examples/panasonic-kowloon/tv.json b/examples/panasonic-kowloon/tv.jsonindex 858cd86c5..2f6a5ef91 100644--- a/examples/panasonic-kowloon/tv.json+++ b/examples/panasonic-kowloon/tv.json@@ -1,5 +1,5 @@{- "tv": "Panasonic Google TV LCD (OZUM_Panasonic, kowloon, MediaTek), Android 14",+ "tv": "Panasonic Google TV LCD (OZUM_Panasonic, kowloon, MediaTek)","os": "Android 14","brand": "Panasonic","notes": "Streaming and music apps off, tested on this set: Netflix `com.netflix.ninja` disabled, Prime Video `com.amazon.amazonvideo.livingroom` disabled, Disney+ `com.disney.disneyplus` disabled, Viaplay `com.viaplay.android` disabled, YouTube Music `com.google.android.youtube.tvmusic` disabled, Play Games `com.google.android.play.games` disabled; setupwraith owns the saved Wi-Fi and is not listed; Assistant, Chromecast and updates kept"diff --git a/examples/sony-bravia-vu3/debloat.txt b/examples/sony-bravia-vu3/debloat.txtindex 47be09d15..ad8536ae2 100644--- a/examples/sony-bravia-vu3/debloat.txt+++ b/examples/sony-bravia-vu3/debloat.txt@@ -44,5 +44,5 @@ com.android.gallery3d # legacy gallery appcom.google.android.apps.tv.dreamx # Ambient photos/art screensaver# Google TV Home handover: setup wizard first, then stock launcher after custom Home was confirmed-com.google.android.tungsten.setupwraith # setup wizard; re-enable before a factory reset+com.google.android.tungsten.setupwraith # setup wizard; re-enable before a factory reset; costs phone casting after a reboot (the Cast receiver reads its credentials from setupwraith)com.google.android.apps.tv.launcherx # stock Google TV launcherdiff --git a/examples/tcl-75p8k/debloat.txt b/examples/tcl-75p8k/debloat.txtindex ff3aaea7b..306feac7d 100644--- a/examples/tcl-75p8k/debloat.txt+++ b/examples/tcl-75p8k/debloat.txt@@ -54,7 +54,7 @@ com.android.backupconfirm# Needed for a custom launcher. Disable only AFTER the new launcher is installed, and setupwraith only# after forgetting and re-joining Wi-Fi in Settings (see quirks).-com.google.android.tungsten.setupwraith+com.google.android.tungsten.setupwraith # costs phone casting after a reboot (the Cast receiver reads its credentials from setupwraith)com.google.android.apps.tv.launcherx# Disabled by choice on this TV (unused regional streaming preloads and games): comment out what you usediff --git a/examples/tcl-g09-google-tv/README.md b/examples/tcl-g09-google-tv/README.mdindex a51445148..a3fdcd323 100644--- a/examples/tcl-g09-google-tv/README.md+++ b/examples/tcl-g09-google-tv/README.md@@ -100,6 +100,13 @@ good when launcherx was disabled — re-enabling every debloated package did not- Firmware updates come through Play Services and are untouched.- Screenshots come out black while HDMI or Live TV is on screen; press Home first.- Switch USB debugging off when you're done; the launcher keeps working without it.+- With `com.tcl.ttvs` disabled, TvSettings falls back to TCL's own app tracker: a foreground service+ (`com.tcl.awareness.component.services.LoopTaskService`) that reads the open app every 2 s and keeps+ TvSettings (77-90 MB) pinned in memory for good. Enabling ttvs again is no cure, since it runs the same+ polling and turns its BI reporting back on. Instead, take the foreground away from TvSettings:+ `adb shell appops set com.android.tv.settings START_FOREGROUND ignore`. The service then runs as a plain+ one, TvSettings drops to cached and Android can reclaim it; TCL's quick menu (the remote's Menu key)+ still opens. Undo with `allow` instead of `ignore`. Details in #887.### UI animation scaling (0.5x)@@ -126,12 +133,3 @@ If you replace the stock YouTube app with an alternative client like SmartTube (```bashTV_HOST=<tv-ip> tools/venv/bin/python -I tools/tv.py 'pm disable-user --user 0 com.google.android.youtube.tv'```--- With `com.tcl.ttvs` disabled, TvSettings falls back to TCL's own app tracker: a foreground service- (`com.tcl.awareness.component.services.LoopTaskService`) that reads the open app every 2 s and keeps- TvSettings (77-90 MB) pinned in memory for good. Enabling ttvs again is no cure, since it runs the same- polling and turns its BI reporting back on. Instead, take the foreground away from TvSettings:- `adb shell appops set com.android.tv.settings START_FOREGROUND ignore`. The service then runs as a plain- one, TvSettings drops to cached and Android can reclaim it; TCL's quick menu (the remote's Menu key)- still opens. Undo with `allow` instead of `ignore`. Details in #887.-diff --git a/examples/tuvio-td43ufbcv5/debloat.txt b/examples/tuvio-td43ufbcv5/debloat.txtindex f616fcf7e..ccf196bb4 100644--- a/examples/tuvio-td43ufbcv5/debloat.txt+++ b/examples/tuvio-td43ufbcv5/debloat.txt@@ -89,7 +89,7 @@ com.google.android.apps.tv.dreamx # ambient mode, mixes recommendation# Batch 5: stock home, LAST, only after launcher/ is installed.# Before setupwraith: `dumpsys wifi | grep -o 'cname=[^ ]*'`; if the Wi-Fi network belongs to it,# forget and re-join the network in Settings first, or the TV drops off Wi-Fi.-com.google.android.tungsten.setupwraith # disable before launcherx+com.google.android.tungsten.setupwraith # disable before launcherx; costs phone casting after a reboot (the Cast receiver reads its credentials from setupwraith)com.google.android.apps.tv.launcherx # then: cmd package set-home-activity --user 0 com.gathin.tvhome/.MainActivity# Launcher partner customization (MediaTek variant, tvlauncher.config only). The firmware re-enables it at# every boot (see above), so there is no point listing it. The Google-named twindiff --git a/examples/xiaomi-mitv-axfr0/debloat.txt b/examples/xiaomi-mitv-axfr0/debloat.txtindex 4e50e6ed0..9d3a27022 100644--- a/examples/xiaomi-mitv-axfr0/debloat.txt+++ b/examples/xiaomi-mitv-axfr0/debloat.txt@@ -38,8 +38,8 @@ com.xiaomi.mitv.smartsharecom.xiaomi.wfdsinkhelperservicecom.mitv.milinkservice-# Firmware updates (re-enable to check for one)-com.xiaomi.mitv.updateservice+# Firmware updates: kept, so updates still arrive (uncomment to stop them)+# com.xiaomi.mitv.updateservice# Preloaded / unused appscom.xiaomi.mimusic2