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 50PUD7406/43 (PH0M_EA_T32, TPM215L), Chile
Juan Caceres582d9e045425
diff --git a/README.md b/README.mdindex c44fe50c9..17d400c32 100644--- a/README.md+++ b/README.md@@ -169,6 +169,7 @@ BYINTEK, JMGO, Portronics, Stellamore, Wanbo and XGIMI projectors| Panasonic 4KTV-0SU (Skyworth-built SW4H, MediaTek m7332), Gulf region | Android TV 10 || Panasonic 4KTV-JUP (Jupiter_PA, MediaTek) | Android TV 11 || Panasonic TH-40HS550K (Skyworth-built, GS655 shibuya, MediaTek) | Android TV 11 |+| Philips 50PUD7406/43 (TPV, PH0M_EA_T32, MStar/MediaTek), Chile | Android TV 11 || 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 |diff --git a/examples/README.md b/examples/README.mdindex b27d8ceaa..ee5a50130 100644--- a/examples/README.md+++ b/examples/README.md@@ -64,6 +64,7 @@ on that firmware, grouped and commented. These are starting points: comment out| `panasonic-4ktv-0su/` | Panasonic 4KTV-0SU (Skyworth-built SW4H, MediaTek m7332), Gulf region | Android TV 10 | Skyworth "Daily Play" sponsored row, ACR, Shop tab customizer, "firewall" service, CastPlay, shop demo and e-POP player, e-manual; Google feedback/partner setup, recommendation rows, ambient screensaver, calendar/print/backup leftovers; Assistant, Chromecast, games, Meet and unused streaming apps off by choice; 1.7 GB; setupwraith claims HOME and owns the saved Wi-Fi, keep it; Live TV is `com.smartdevice.livetv`; keep `com.mediatek.*` || `panasonic-4ktv-jup/` | Panasonic 4KTV-JUP (Jupiter_PA, MediaTek) | Android TV 11 | Google recommendation rows and screensaver, Panasonic demo/hotel/help apps, calendar/print/backup leftovers; streaming apps off by choice; keep `com.mediatek.*` || `panasonic-th-40hs550k/` | Panasonic TH-40HS550K (Skyworth-built, GS655 shibuya, MediaTek) | Android TV 11 | Skyworth auto-installs, shop demo and Demo Now, e-manual, MediaTek PQ test tool, Google feedback and smartconnect, recommendation rows and partner customizer; Assistant, USB media player, remote-firmware updater and unused streaming apps off by choice; 0.9 GB; keep `com.mediatek.*` and `com.coocaa.factory` |+| `philips-50pud7406/` | Philips 50PUD7406/43 (TPV, PH0M_EA_T32, MStar/MediaTek), Chile | Android TV 11 | First list for PH0M_EA_T32 (same board as the 65PUG7406/78 notes), not the org.droidtv xtv platform: DAC/GEL analytics, TPV framework logger and CMS client, app gallery, retail demo, partner customizer, recommendations, ambient mode; Chromecast off because a shared network of ~150 hosts kept pausing and closing YouTube (HOME sent by mediashell); point the screensaver away from the disabled backdrop; Assistant and updates kept; HDMI and tuner not yet tested || `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 |diff --git a/examples/philips-50pud7406/debloat.txt b/examples/philips-50pud7406/debloat.txtnew file mode 100644index 000000000..37e2f9b9f--- /dev/null+++ b/examples/philips-50pud7406/debloat.txt@@ -0,0 +1,84 @@+# Philips 50PUD7406/43 (TPV, PH0M_EA_T32, MStar/MediaTek), Chile, Android TV 11+# Android TV 11 (SDK 30), firmware TPM215L_R.105.000.097.000, build RTM2.210929.098+# ro.product.model=2020/2021 UHD Android TV ro.product.device=PH0M_EA_T32 ro.product.name=PH0M_LT_T32+# Fingerprint: Philips/PH0M_LT_T32/PH0M_EA_T32:11/RTM2.210929.098/200321:user/release-keys+# persist.odm.tpv.region=lt (Latin America). About 1.38 GB RAM, ro.config.low_ram=true.+#+# Same board and firmware as docs/devices/philips-65pug7406-78.md, which is launcher notes only;+# this is the first debloat list for PH0M_EA_T32. It is NOT the TP Vision org.droidtv platform of+# examples/philips-50pus8517 (PH1M): there is no org.droidtv.xtv/playtv here, Live TV and inputs+# are MediaTek's com.mediatek.wwtv.tvcenter, and only a thin org.droidtv layer is present.+# The About screen shows the generic "2020/2021 UHD Android TV"; read the retail model off the+# sticker and match on ro.product.device and the TPM215L firmware instead.+#+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/philips-50pud7406/debloat.txt+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/philips-50pud7406/debloat.txt com.google.android.tvlauncher+# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.+#+# Stock launcher: com.google.android.tvlauncher (disabled by launcher/build-and-install.ps1).+# Live TV app: com.mediatek.wwtv.tvcenter+# ADB: USB debugging alone opens port 5555 (ro.adb.secure=1, the RSA prompt appears on screen).+#+# Tested: remote, Bluetooth, YouTube, Disney+, DirecTV GO and Zapping play normally, idle logcat+# shows no retry loops. NOT tested yet: HDMI inputs / Source key, antenna/cable channels and+# firmware updates -- check those before relying on org.droidtv.eum and nettvregistration below.+#+# QUIRKS ON THIS FIRMWARE:+#+# 1. Screensaver. screensaver_components ships as com.google.android.backdrop/.Backdrop with a+# 5-minute screen_off_timeout. Once backdrop is disabled the screensaver points at a disabled+# component, so set another one:+# settings put secure screensaver_components com.gathin.tvhome/.ClockDream+# settings put secure screensaver_default_component com.gathin.tvhome/.ClockDream+# (or com.android.dreams.basic/.Colors without the launcher).+# 2. Chromecast on a shared network. On this owner's Wi-Fi (a large shared network, ~150 hosts+# across 192.168.1-18.x) about 150 devices held connections to the TV's Cast port 8009, and+# YouTube kept pausing and then closing a few minutes into a video. The log showed the exit:+# ActivityTaskManager: START u0 {act=MAIN cat=[HOME] ...} from uid 10043+# uid 10043 is com.google.android.apps.mediashell. Disabling it fixed playback. Unlike the+# 50PUS8517 (its quirk 4), mediashell stayed disabled here 45 s after disabling; a reboot+# check is still pending. Keep it (comment the line out) if you cast from your phone and your+# network is your own.+# 3. lowmemorykiller is active even at idle with one app playing ("low watermark is breached and+# thrashing"); this is a 1.38 GB low_ram set, so every background service removed helps.+# 4. Do not open com.mediatek.tv.factory or mediatek.factorymenu.ui to see what they do (see+# PROMPT.md); they are left alone.++# TPV / Philips telemetry+org.droidtv.candeebug # "DAC" analytics uploader, as on the 50PUS8517+org.droidtv.gel # metrics collector running in candeebug's process+org.droidtv.tv.frameworklogger # persistent TPV logger: GET_TOP_ACTIVITY_INFO, EPG read, boot receiver+com.tpv.xmic.ots.cms.client # TPV "CMS client" 0.6.04_ad: INTERNET, boot receiver, channel/EPG write++# Philips content, store and demo+org.droidtv.nettv.market # app gallery storefront+org.droidtv.nettvregistration # Smart TV registration (OilProvider/StateProvider); kept on the 50PUS8517 for firmware updates -- re-enable if an update check fails+org.droidtv.android.fitness # Fitness Buddy+org.droidtv.eum # e-manual; on this board there is no xtv binding to it and no retry loop at idle (checked), but the Source key is untested+fusion.android.tv.demo # retail demo+com.mstar.android.tv.disclaimercustomization # vendor disclaimer screen+com.mediatek.android.leanbacklauncher.partnercustomizer # partner rows for the stock launcher++# Google recommendations, ambient mode and casting+com.google.android.tvrecommendations # recommendation rows and notification panel+com.google.android.backdrop # ambient-mode screensaver; see quirk 1 (44 MB data + 36 MB cache)+com.google.android.apps.mediashell # Chromecast built-in; see quirk 2++# Google apps this owner does not use+com.google.android.videos+com.google.android.youtube.tvmusic+com.google.android.play.games++# Preinstalled streaming apps, off by the owner's choice+com.netflix.ninja+com.amazon.amazonvideo.livingroom+com.spotify.tv.android++# Stock launcher, replaced by launcher/ -- build-and-install disables it after Home has moved+# com.google.android.tvlauncher++# Kept on purpose: com.google.android.katniss (Assistant/voice), com.android.tv.ota (updates),+# com.mediatek.wwtv.tvcenter, com.mediatek.tvinput, com.mediatek.tv.service, org.droidtv,+# org.droidtv.icp, com.google.android.tv.remote.service, com.google.android.tungsten.setupwraith+# (not a HOME claimant on this build; Home went to the new launcher without touching it),+# and the preinstalled DirecTV GO, DAZN, Disney+, Pluto TV, Twitch and Zapping.