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 43PUS7304/12 as a seventh unit of philips-tpm191e, Android TV 12
Marcus Edercf9126cfa26a
diff --git a/examples/philips-tpm191e/README.md b/examples/philips-tpm191e/README.mdindex ec3d5b7b1..6ed629055 100644--- a/examples/philips-tpm191e/README.md+++ b/examples/philips-tpm191e/README.md@@ -108,3 +108,24 @@ unit" note; this section covers the launcher side. One session with two restarts- The firmware opens `org.droidtv.playtv` at every boot (`wm_set_resumed_activity`: FallbackHome, thenPlayTvActivity). `power_on_home_always` with `HOME_KEY_SERVICE=1` brought Home up about 9 s later, and the ownerconfirmed a standby and power-on from the remote lands on Home as well.++## Philips 43PUS7304/12: single-session notes++Checked on a Philips 43PUS7304/12 (LED, 2019, Germany, on Wi-Fi), same TP Vision TPM191E board and firmware as the+lead unit (`STT2.230526.001`), with its original Philips remote. Package details are in `debloat.txt`'s "Seventh+unit" note; this section covers the launcher side. One session with two restarts, not a several-day test.++- `launcher/build-and-install.sh` with `HOME_KEY_SERVICE=1` ran through on its own: cold start in 1.8 s, Home moved+ to `com.gathin.tvhome/.MainActivity` once the stock launcher was disabled (`mFocusedApp`), and it stayed there+ after a restart.+- config.xml as on the 50PUS7354: `live_tv_package` `org.droidtv.playtv`, `hidden_apps` `org.droidtv.playtv`,+ `org.droidtv.demome`, `org.droidtv.eum`; `home_long_press_home` and `power_on_home_always` true. A held Home and+ a power-on from the remote both land on Home; held Volume Up/Down step once per press, as on the other units.+- SOURCES and the Settings button kept working on the real remote with the stock launcher disabled.+- A tile for the Philips channel list: leaving `org.droidtv.channels` out of `hidden_apps` and setting+ `launch_actions` `org.droidtv.channels=org.droidtv.intent.action.CHANLIST`, `app_labels`+ `org.droidtv.channels=Favoriten` and `app_banners` `org.droidtv.channels=banner_tv` gives a tile that opens the+ channel list over Live TV, where the favourite lists are picked. Checked on the real remote.+- The remote's Rakuten TV and Netflix buttons, read with `getevent -lt`: 779 (`030b`) and 632+ (`KEY_ONSCREEN_KEYBOARD`), the same scancodes as the 50PUS7354. `app_keys` `scan:779:<package>` and+ `scan:632:com.google.android.youtube.tv` opened the chosen apps from the real remote.diff --git a/examples/philips-tpm191e/debloat.txt b/examples/philips-tpm191e/debloat.txtindex 01534e588..48bb02a5b 100644--- a/examples/philips-tpm191e/debloat.txt+++ b/examples/philips-tpm191e/debloat.txt@@ -148,6 +148,28 @@# - Every entry, tvrecommendations included, stayed disabled through both restarts (`pm list packages -d`# compared before and after). com.phorus.playfi.tv was left enabled, per the note in batch 3.# - Private DNS in hostname mode validated on this firmware (`dumpsys connectivity` lists validated addresses).+#+# Seventh unit: Philips 43PUS7304/12 (LED, 2019 model), Germany, on Wi-Fi. Same firmware as the lead unit:+# STT2.230526.001, security patch 2025-11-01, fingerprint+# Philips/PH9M_EA_5599/PH9M_EA_5599:12/STT2.230526.001/4215:user/release-keys. One session on 27 Oct 2026 with two+# restarts, not a several-day test. Launcher notes are in README.md.+# - Developer options showed USB debugging only, no Network debugging or Wireless debugging entry; with USB+# debugging on, port 5555 answered on the LAN and tools/tv.py connected with no cable.+# - From the list below: all of batches 1 and 2, batch 3 except Prime Video (kept by choice); videos and music are+# not installed on this unit; batch 4 after the launcher took Home.+# - usagelogger and demome: TV_INPUT_HARDWARE false positives again (`pm query-services` lists only+# com.mediatek.tvinput, com.mediatek.tv.agent and org.droidtv.fastip), disabled with TVINPUT_ALLOW=1 for those two+# alone; `dumpsys tv_input` still listed HDMI 1-4 after each batch.+# - Also disabled, as on the sixth unit: org.droidtv.tv.frameworklogger, org.droidtv.nettvapps,+# org.droidtv.nettv_launcherapp, org.droidtv.sticker, org.droidtv.dropboxprovider, com.netflix.ninja,+# com.apple.atve.androidtv.appletv; plus de.telekom.magentatv.tv (a Play Store install, unused).+# Kept: YouTube, Chromecast, both firmware updaters, com.phorus.playfi.tv.+# - All 44 disabled packages (the 16 factory ones included) stayed disabled through both restarts, tvrecommendations too.+# - Ambilight (follow video) checked working on screen after the whole list and the launcher.+# - Android's "storage full" warnings: /data is 4.8 GB, 81% used before cleanup. org.droidtv.channels held about+# 2 GB of app data (`dumpsys diskstats`), the largest by far; it was not cleared, as that holds the channel list+# and favourites. `pm clear` on the disabled streaming apps and com.google.android.tts, plus `pm trim-caches`,+# freed about 450 MB.# Batch 1: telemetry and retail demoorg.droidtv.candeebug # "DAC" analytics uploaderdiff --git a/examples/philips-tpm191e/tv.json b/examples/philips-tpm191e/tv.jsonindex 6a79fd23b..4c3969ece 100644--- a/examples/philips-tpm191e/tv.json+++ b/examples/philips-tpm191e/tv.json@@ -1,6 +1,6 @@{- "tv": "Philips TPM191E / 50PUS8505 / 55OLED854 / 65OLED804 / 50PUS7354 (TP Vision, PH9M_EA_5599, MediaTek MT5887), Europe",+ "tv": "Philips TPM191E / 50PUS8505 / 55OLED854 / 65OLED804 / 50PUS7354 / 43PUS7304 (TP Vision, PH9M_EA_5599, MediaTek MT5887), Europe","os": "Android TV 12","brand": "Philips",- "notes": "`org.droidtv` TP Vision list on Android 12: DAC analytics uploader, usage logging, demo mode, Top Picks, app gallery; voice, Prime Video, DLNA off by choice; Alexa, Chromecast and updates kept; DTS Play-Fi is re-enabled at every boot by the audio service, so it is left on; `eum`, `nettvbrowser`, `menudataapp` and `nettvregistration` kept, as on the 50PUS8517; for the 50PUS8505 and the 55OLED854, only an owner-selected subset and launcher handover were checked in one session, not the full list; the 55OLED854 found its remote's Settings button (scancode 357) and the OLED screensaver logo also seen on a different board; on one 65OLED804 tvrecommendations stayed off through restarts, and a held Home press needs `home_long_press_home`; another 65OLED804/12-reported unit had stock Home at observation and was not subjected to this list ([notes](philips-tpm191e/README.md)); a 50PUS7354 with the original remote needed `home_long_press_home` too, and had its Netflix (632) and Rakuten (779) keys remapped by scancode"+ "notes": "`org.droidtv` TP Vision list on Android 12: DAC analytics uploader, usage logging, demo mode, Top Picks, app gallery; voice, Prime Video, DLNA off by choice; Alexa, Chromecast and updates kept; DTS Play-Fi is re-enabled at every boot by the audio service, so it is left on; `eum`, `nettvbrowser`, `menudataapp` and `nettvregistration` kept, as on the 50PUS8517; for the 50PUS8505 and the 55OLED854, only an owner-selected subset and launcher handover were checked in one session, not the full list; the 55OLED854 found its remote's Settings button (scancode 357) and the OLED screensaver logo also seen on a different board; on one 65OLED804 tvrecommendations stayed off through restarts, and a held Home press needs `home_long_press_home`; another 65OLED804/12-reported unit had stock Home at observation and was not subjected to this list ([notes](philips-tpm191e/README.md)); a 50PUS7354 with the original remote needed `home_long_press_home` too, and had its Netflix (632) and Rakuten (779) keys remapped by scancode; a 43PUS7304 on Wi-Fi opened port 5555 with USB debugging alone (no Network debugging entry), kept Ambilight working, mapped the same 632/779 keys, and got a channel-list tile from `launch_actions` `org.droidtv.intent.action.CHANLIST`"}