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
examples: add Philips 65PUS8729/60 (TPV, PH1M_WW_9972, MediaTek), Google TV 14
NEFRITOR-PC\Nefritordd2aa79eb8f3
diff --git a/examples/philips-google-tv-ta1/README.md b/examples/philips-google-tv-ta1/README.mdnew file mode 100644index 000000000..c3bbb6825--- /dev/null+++ b/examples/philips-google-tv-ta1/README.md@@ -0,0 +1,43 @@+# Philips Google TV TA1 (65PUS8729/60)++Philips 65PUS8729/60 (TPV, PH1M_WW_9972, MediaTek), Google TV 14, build UKN2.241117.001, about 2.8 GB RAM.+Debloated on 2026-10-25 and given a custom launcher.++| File | What it is |+|---|---|+| `debloat.txt` | The packages that were disabled, in the two batches they were applied, with what each one is |++All commands run from the repository root and need the Python client once:+`python3 -m venv tools/venv && tools/venv/bin/pip install -r tools/requirements.txt`.+They also need network ADB: Settings > System > About > press Build 7 times, then Developer options >+USB debugging on, and accept the "Allow USB debugging?" prompt the first time a command connects.++## What changed++- **Disabled** (never uninstalled): TP Vision analytics (`candeebug`, `gel`), partner attribution and+ auto-installs, the retail demo, Samba TV, Control4, AirPlay, HbbTV, Google text-to-speech, Play Games,+ calendar sync, Netflix, Prime Video, the Google TV films app, YouTube Music, ivi, the built-in browser,+ the Philips PlayFi and NFT gallery apps, the setup wizard and the stock Google TV launcher.+- **Kept**: everything that plays HDMI and the tuner, the input menu, remote pairing, keyboards, Play Store+ and Play Services, Assistant, Chromecast, firmware updates.+- **Wi-Fi first**: the saved network was owned by `setupwraith`, and disabling it while it did would take the+ TV off Wi-Fi and ADB. The network was forgotten and added again before the list ran; check+ `dumpsys wifi | grep -o 'cname=[^ ]*'` on yours before applying the last two lines.+- **Memory**: about 100 MB more free after batch 2 (used PSS 1.62 GB to 1.52 GB), launcher frames 0.28 % janky.++## Check++A cold reboot after the list brings the TV back to Home with ADB and Wi-Fi, no crashes in the crash log.+HDMI and Live TV were not exercised on this unit.++## Re-enable an app++On the TV: Settings > Apps > See all apps > Show system apps (or "Disabled apps"), pick the app, Enable.+Over ADB:++```bash+TV_HOST=<tv ip> tools/venv/bin/python -I tools/tv.py 'pm enable --user 0 com.netflix.ninja'+```++Then delete or comment out its line in `debloat.txt`, so a later run does not disable it again. To undo the+whole list: `TV_HOST=<tv ip> tools/restore.sh examples/philips-google-tv-ta1/debloat.txt com.google.android.apps.tv.launcherx`.diff --git a/examples/philips-google-tv-ta1/debloat.txt b/examples/philips-google-tv-ta1/debloat.txtnew file mode 100644index 000000000..a2343b053--- /dev/null+++ b/examples/philips-google-tv-ta1/debloat.txt@@ -0,0 +1,49 @@+# Philips Google TV TA1 (65PUS8729/60, TPV, PH1M_WW_9972, MediaTek), Google TV 14, build UKN2.241117.001+# About 2.8 GB RAM, UI 1920x1080 on a 4K panel.+#+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/philips-google-tv-ta1/debloat.txt+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/philips-google-tv-ta1/debloat.txt com.google.android.apps.tv.launcherx+# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.+#+# Applied in two batches on 2026-10-25 with a screenshot after each, then the launcher installed; the TV was+# rebooted cold afterwards and came back to Home with ADB, Wi-Fi and the launcher in place. HDMI and Live TV+# were not exercised on this unit.+# Kept on purpose: org.droidtv core, com.mediatek TV services, Play Store and Play Services, Assistant,+# Chromecast, firmware updates, keyboards.+#+# Batch 1: vendor analytics, retail demo, auto-installs and apps the owner does not use.+org.droidtv.candeebug+org.droidtv.gel+com.google.android.partnersetup+android.autoinstalls.config.google.gtvpai+com.google.android.onetimeinitializer+com.google.android.syncadapters.calendar+com.google.android.play.games+com.netflix.ninja+com.amazon.amazonvideo.livingroom+com.google.android.videos+com.google.android.youtube.tvmusic+ru.ivi.client+com.vewd.core.browser+org.droidtv.demome+org.droidtv.amazonalexa+com.phorus.playfi.softap+com.phorus.playfi.tv+com.tpv.nftgallery+#+# Batch 2: background services that run all day and that this owner does not use (about 100 MB of RAM back).+tv.samba.ssm # Samba TV, viewing-data collection+org.droidtv.control4app # Control4 smart-home integration (four packages)+org.droidtv.control4sddp+org.droidtv.control4adapterservice+org.droidtv.control4UcService+com.mediatek.airplaydaemon # AirPlay (two packages)+com.mediatek.partner.airplay_sys+org.droidtv.hbbtvopapp # HbbTV for broadcast TV+com.google.android.tts # Google text-to-speech+org.droidtv.customautologservice # TP Vision log collector+#+# Stock home last, after the new launcher is installed. The Wi-Fi network was forgotten and added again first,+# so setupwraith no longer owns it (disabling it while it did would have taken the TV off Wi-Fi and ADB).+com.google.android.tungsten.setupwraith+com.google.android.apps.tv.launcherxdiff --git a/examples/philips-google-tv-ta1/tv.json b/examples/philips-google-tv-ta1/tv.jsonnew file mode 100644index 000000000..08367ede9--- /dev/null+++ b/examples/philips-google-tv-ta1/tv.json@@ -0,0 +1,6 @@+{+ "tv": "Philips 65PUS8729/60 (TPV, PH1M_WW_9972, MediaTek), Russia",+ "os": "Google TV 14",+ "brand": "Philips",+ "notes": "TP Vision candeebug/gel analytics, partner attribution and auto-installs, retail demo, Samba TV, Control4, AirPlay, HbbTV and Google TTS off; Netflix, Prime Video, the Google TV films app, YouTube Music, ivi, the built-in browser and the Philips PlayFi and NFT gallery apps off by choice; Assistant, Chromecast and OTA kept; setupwraith + launcherx off for a custom launcher after the saved Wi-Fi network was forgotten and re-added (setupwraith owned it); cold reboot returns to Home with ADB and Wi-Fi, HDMI and Live TV not exercised"+}