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 55OLED820/12 (TPV, PH1M_WW_9972, MediaTek), Czech Republic, Google TV 14
Ivo Martisek1144b9394c1a
diff --git a/README.md b/README.mdindex 6332bb94e..6b345373c 100644--- a/README.md+++ b/README.md@@ -214,6 +214,7 @@ Anker Nebula, BYINTEK, Epson, Formovie, Gadnic, HOTACK, JMGO, Magcubic, Portroni| Philips 50PUS8517/12 (TP Vision, PH1M_EA_9970A, MediaTek MT5895), Europe | Android TV 11 || Philips 55OLED707/12 (TP Vision, PH1M_EA_9970A, MediaTek MT5895), UK | Android TV 11 || Philips 55OLED708/12 (TPV, PH1M_WW_9972, MediaTek), Poland | Google TV 12 |+| Philips 55OLED820/12 (TPV, PH1M_WW_9972, MediaTek), Czech Republic | Google TV 14 || Philips 55PUS7503/12 (TP Vision TPM171E, PH7M_EU_5596, MediaTek MT5891), Europe | Android TV 8.0 || Philips 65PML9506/12 (TP Vision, PH1M_EA_9970A, MediaTek), Spain | Android TV 11 || Philips 65OLED706/12 (TP Vision, PH1M_EA_9970A, MediaTek MT5895), France | Android TV 11 |diff --git a/examples/README.md b/examples/README.mdindex fda7c0426..9730d2cfc 100644--- a/examples/README.md+++ b/examples/README.md@@ -94,6 +94,7 @@ on that firmware, grouped and commented. These are starting points: comment out| `philips-50pus8517/` | Philips 50PUS8517/12 (TP Vision, PH1M_EA_9970A, MediaTek MT5895), Europe | Android TV 11 | First `org.droidtv` TP Vision list: DAC analytics uploader (AWS Firehose), Top Picks, app gallery; Assistant, DLNA, IP control off by choice; disabling `eum` or `aurora` leaves persistent `xtv` retrying forever, and `eum` also kills the sources drawer -- see quirk 5 || `philips-55oled707/` | Philips 55OLED707/12 (TP Vision, PH1M_EA_9970A, MediaTek MT5895), UK | Android TV 11 | Same board and firmware build as `philips-50pus8517/`, on an OLED panel: DAC analytics, Top Picks, app gallery and its preload installer, Alexa, setupwraith (Ethernet only, Wi-Fi impact unchecked); `nettvbrowser` must stay or ITVX hangs; Play-Fi re-enables itself at every boot, so it is left out; Chromecast and all used streaming apps kept || `philips-55oled708/` | Philips 55OLED708/12 (TPV, PH1M_WW_9972, MediaTek), Poland | Google TV 12 | Google TV generation, not the 707's board: DAC analytics, frameworklogger, Samba TV ACR, NFT Collection, Play-Fi, Control4, Matter, Mimi, Alexa, Chromecast, setupwraith (Wi-Fi re-joined first) and the Philips launcher tab; `demome` holds TV_INPUT_HARDWARE so it stays; the remote's gear and Apps buttons need HomeKeyService (gear by scancode 141); nothing re-enabled after a reboot |+| `philips-55oled820/` | Philips 55OLED820/12 (TPV, PH1M_WW_9972, MediaTek), Czech Republic | Google TV 14 | Same board as the 708, Android 14: Samba TV ACR, Alexa, Google ad APIs and feedback, Google screensaver, calendar sync, NFT Collection, Prime Video, YouTube Music, Play Games and Netflix. launcherx and setupwraith stay (Cast credentials live in setupwraith). Applied for one day only, draft until it has been lived with. || `philips-55pus7503/` | Philips 55PUS7503/12 (TP Vision TPM171E, PH7M_EU_5596, MediaTek MT5891), Europe | Android TV 8.0 | Conservative older-generation list: Philips demo, Top Picks and usage logging; Google recommendations/tutorials; voice, Chromecast, updates, Ambilight and all streaming apps kept || `philips-65pml9506/` | Philips 65PML9506/12 (TP Vision, PH1M_EA_9970A, MediaTek), Spain | Android TV 11 | Same board and firmware build as `philips-50pus8517/`, so its quirks apply (`eum` and `aurora` stay on): DAC analytics, usage logging, Top Picks, NetTV store and its silent installer, retail demo; streaming apps, Assistant, Chromecast and DLNA kept; Play-Fi left alone || `philips-65oled706/` | Philips 65OLED706/12 (TP Vision, PH1M_EA_9970A, MediaTek MT5895), France | Android TV 11 | Same board and firmware build as `philips-50pus8517/` and `philips-55oled707/`: DAC analytics, Top Picks, app gallery and auto-installs, HD+/M7 operator promos, Alexa, Mimi, Dropbox; aurora was already off from the factory with no xtv retry loop; the OLED logo screensaver takes over after ~5 min, so `home_idle_clock_minutes` must be 4 or less; Assistant, Play-Fi, DLNA, IP control kept; remote fully tested, reboot-checked |diff --git a/examples/philips-55oled820/debloat.txt b/examples/philips-55oled820/debloat.txtnew file mode 100644index 000000000..7dcea12e8--- /dev/null+++ b/examples/philips-55oled820/debloat.txt@@ -0,0 +1,70 @@+# Philips 55OLED820/12 (55" 4K OLED with Ambilight, 2023 model), Czech Republic+# Google TV 14 (API 34), firmware UKN2.241117.001 build 3000518, security patch 2026-01-05, board PH1M_WW_9972+# ro.product.model=Philips_Google_TV_TA5 ro.product.device=PH1M_WW_9972 ro.product.manufacturer=TPV+# Fingerprint: Philips/PH1M_WW_9972/PH1M_WW_9972:14/UKN2.241117.001/3000518:user/release-keys+# Philips SW TPM231WW_R.201.100.228.212. MediaTek MT5896, 4x Cortex-A73 at 2.0 GHz, 2.8 GB RAM, zram swap+# 600 MB. Wired Ethernet.+#+# Same board as examples/philips-55oled708 (PH1M_WW_9972), one Android release newer (14 instead of 12).+# The org.droidtv layer and its DO NOT DISABLE rules in examples/philips-50pus8517 apply here as well;+# nothing from that block is disabled below.+#+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/philips-55oled820/debloat.txt+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/philips-55oled820/debloat.txt com.google.android.apps.tv.launcherx+# Everything below is DISABLED, not uninstalled. Comment out any line you want to keep.+#+# STATUS: applied 2026-10-24 12:30 to 12:41 in one session, TV on a third-party launcher (Projectivy).+# Checked the same day: every package stayed disabled across a reboot (the TV's own scheduled standby+# reboot at 12:33), `pm list packages -d` went from 25 to 40, and a 30 s idle log after the last change+# had about 1 100 lines (1 759 before the first batch) with no line repeating about the disabled+# packages. While ADB stayed connected the TV also kept cycling between standby and semi-standby+# (wake reason WIFI/cast), which made some samples much longer; that was already there before any change.+# The Home Assistant Android TV Remote integration and the launcher worked after the reboot.+# NOT yet lived with for days; this PR stays a draft until it has been.+#+# Memory: MemAvailable 755 MB before, 916 MB right after the first batch (TV in standby, same uptime).+# The six user apps below (not listed, see the end) were uninstalled in the same session.+#+# Launcher and Cast: launcherx and setupwraith are KEPT on purpose. The Cast receiver reads its device+# credentials from setupwraith's CastInfoProvider (confirmed with `dumpsys package providers` on this+# unit), and setupwraith's RecoveryActivity claims Home at priority 1, above the usual third-party launcher.+# The owner's launcher takes Home through an accessibility service, so nothing about Home changed.++# TP Vision and Philips telemetry+tv.samba.ssm # Samba TV ACR (what is on screen, for ad targeting); sent only about 33 kB in 44 h on this unit, but it has no use here+org.droidtv.amazonalexa # Alexa bridge++# Google telemetry, feedback and ad APIs+com.android.adservices.api # Privacy Sandbox ad APIs+com.android.ondevicepersonalization.services # on-device ad personalisation+com.android.federatedcompute.services # federated learning for personalisation+com.google.android.feedback # Market Feedback Agent+com.android.tv.feedbackconsent # feedback consent collector++# Promos and sync nobody uses+com.google.android.apps.tv.dreamx # Google ambient screensaver and Google Home panel; the owner's screensaver is Immich+com.google.android.syncadapters.calendar # synced a Google calendar to the TV every day; no calendar app is installed+com.tpv.nftgallery # "NFT Collection" art gallery app++# Preinstalled apps the household does not use. All sit in /data/app.+com.amazon.amazonvideo.livingroom # Prime Video+com.google.android.youtube.tvmusic # YouTube Music+com.google.android.play.games # Play Games+com.netflix.ninja # Netflix; the Netflix key on the remote now does nothing+com.netflix.tokenmanager # Netflix token manager, goes with the app++# Level not applied yet on this unit, listed as comments so the next person knows what was found.+# Measured at idle, PSS in MB. The same packages ran without a retry loop on examples/philips-55oled708.+# org.droidtv.candeebug # 16: "DAC" analytics uploader, 22 TV processes bind it+# org.droidtv.gel # metrics collector in candeebug's process, 464 alarms in 44 h; disable both+# org.droidtv.control4app # 4 Control4 packages, about 16 MB together+# com.phorus.playfi.tv # 18 (+3 for .softap): Play-Fi; keep org.droidtv.tv.playFiAudioService+# com.google.android.katniss # 74 across two processes: kills the remote's mic key and voice search++# User apps uninstalled on this unit with `pm uninstall` (this repo only disables, so they are not listed):+# Disney+, iQIYI, HBO Max, Kinomap, Aerial Views, Spotify.+# In /data/app on the stock image, so an equivalent here would be `pm disable-user --user 0`:+# com.disney.disneyplus+# com.iqiyi.i18n.tv+# com.wbd.stream+# com.spotify.tv.android