Skip to content

Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.

examples: Philips 50PUS7354 as a sixth TPM191E unit, with its Netflix and Rakuten key codes

ClementVallois57fc5090387c
diff --git a/docs/TROUBLESHOOTING.md b/docs/TROUBLESHOOTING.md
index dad37d2f4..da42716dc 100644
--- a/docs/TROUBLESHOOTING.md
+++ b/docs/TROUBLESHOOTING.md
@@ -486,7 +486,9 @@ Things that bit us or contributors, so they don't bite you. Commands use `tools/
Confirmed on this set: with `HomeKeyService` bound, Volume Down held for 3 s gave one step in
`dumpsys audio`; unbound, a 1.07 s hold gave 14 repeats 50 ms apart. Single presses step once either
way, also through HDMI ARC to a home cinema system. Choose between a firm Home press and a held volume
- ramp; this set cannot have both.
+ ramp; this set cannot have both. A 50PUS7354 on the same board and firmware does the same with its original
+ Philips remote, so a slow remote is not needed: firm presses sent `ALL_APPS` to FallbackHome there
+ too, and `home_long_press_home` fixed it.
- **The TV drops off Wi-Fi for good the moment setupwraith is disabled**, seen on Google TV 14 (Sony
BRAVIA 9 II, Philips R8G, Skyworth SWTV-24NA-4K NF, Xiaomi TV Box S 3rd gen MiTV-AFMU0) and on a TCL
G07 on Google TV 11 (build AR17; on AR20 the network belonged to `android.uid.system`). A Wi-Fi
diff --git a/examples/philips-tpm191e/README.md b/examples/philips-tpm191e/README.md
index 099752770..ec3d5b7b1 100644
--- a/examples/philips-tpm191e/README.md
+++ b/examples/philips-tpm191e/README.md
@@ -79,3 +79,32 @@ unit" note; this section covers the launcher side.
On 25 October 2026, a separate Philips TV reported `65OLED804/12` as its Android device name. Its system properties identify the platform as TPM191E / `PH9M_EA_5599`, MediaTek MT5887, Android TV 12 / API 31, fingerprint `Philips/PH9M_EA_5599/PH9M_EA_5599:12/STT2.230526.001/4215:user/release-keys`, matching the firmware above.
At observation, Home still resolved to the stock `com.google.android.tvlauncher/.MainActivity`. The Freeview/TP Vision packages noted above were disabled. `com.google.android.youtube.tvmusic` was also disabled, but its disable history was not established. No additional package had been disabled for cleanup, and the shared debloat list was not applied to this unit. This is a starting-state observation, not a debloat or launcher test.
+
+## Philips 50PUS7354: single-session notes
+
+Checked on a Philips 50PUS7354 (LED, 2019, France, 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 "Sixth
+unit" note; this section covers the launcher side. One session with two restarts, not a several-day test.
+
+- `launcher/build-and-install.sh` ran through on its own: cold start in 1.7 s, and Home moved to
+ `com.gathin.tvhome/.MainActivity` once the stock launcher was disabled (`mFocusedApp`).
+- The Inputs menu listed HDMI 1 / MHL, HDMI 2 to 4 (a computer on HDMI 3 by its HDMI-CEC name, marked connected),
+ YPbPr and Live TV, with `live_tv_package` `org.droidtv.playtv`. Live TV opened from it, and Home came back
+ opaque over the picture.
+- The remote's SOURCES and Settings buttons kept working with the stock launcher disabled: SOURCES opens
+ `org.droidtv.channels`' sources drawer, the Settings button `org.droidtv.philipstvdrawer`. So this remote did not
+ need the fourth unit's `settings_key_scancodes` 357.
+- The remote's Netflix and Rakuten TV buttons did nothing once Netflix was disabled (Rakuten TV is not installed
+ on this unit). Netflix is Linux key 632 (`KEY_ONSCREEN_KEYBOARD` in `getevent -lt`); `KeyInputMgrSvc` logs
+ `Netflix key=632` and hands it to `NetflixLaunchService`. Rakuten TV is 779 (`GlobalKeyRcv`:
+ `key=779,scan=779`). `app_keys` `scan:632:<package>` and `scan:779:<package>`, installed with
+ `HOME_KEY_SERVICE=1`, opened the chosen apps instead (checked on the real remote).
+- With `HomeKeyService` bound, a held Volume Up moved one step per press, as on the fourth and fifth units.
+ `consume_volume_keys` true did not bring the ramp back here; single presses still stepped once. The owner kept
+ the key helper.
+- A held Home press did nothing with the original Philips remote too, not only with the fifth unit's slow
+ third-party remote: two holds logged `START u0 {act=android.intent.action.ALL_APPS pkg=com.android.tv.settings}`
+ and stayed in the app. `home_long_press_home` fixed it; Home opens on release.
+- The firmware opens `org.droidtv.playtv` at every boot (`wm_set_resumed_activity`: FallbackHome, then
+ PlayTvActivity). `power_on_home_always` with `HOME_KEY_SERVICE=1` brought Home up about 9 s later, and the owner
+ confirmed a standby and power-on from the remote lands on Home as well.
diff --git a/examples/philips-tpm191e/debloat.txt b/examples/philips-tpm191e/debloat.txt
index ac174d897..01534e588 100644
--- a/examples/philips-tpm191e/debloat.txt
+++ b/examples/philips-tpm191e/debloat.txt
@@ -129,6 +129,25 @@
# launcher's home_long_press_home switch, installed with -HomeKeyService, fixed it; as on the fourth
# unit, the key filter ends Volume Up/Down repeat on hold, which this household preferred anyway.
# - An injected KEYCODE_TV is ignored here too; test Live TV and SOURCES with the real remote.
+#
+# Sixth unit: Philips 50PUS7354 (LED, 2019 model), France, on Wi-Fi. Same firmware as the lead unit:
+# STT2.230526.001, 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.
+# - From the list below: all of batches 1 and 2; from batch 3 Prime Video, videos, youtube.tvmusic, play.games,
+# talkback and playfi.softap, with katniss (Assistant) and dlna kept by choice; com.google.android.music is not
+# installed on this unit; batch 4 after the launcher took Home.
+# - usagelogger and demome were skipped by the TV_INPUT_HARDWARE guard, as on the fifth unit. `pm query-services
+# --components -a android.media.tv.TvInputService` lists only com.mediatek.tvinput, com.mediatek.tv.agent,
+# org.droidtv.fastip and com.google.android.videos, so both were disabled with TVINPUT_ALLOW=1 set for those two
+# alone. `dumpsys tv_input` still listed HDMI 1-4 after each batch.
+# - Also disabled, none used here: org.droidtv.tv.frameworklogger, org.droidtv.nettvapps,
+# org.droidtv.nettv_launcherapp and org.droidtv.sticker (as on the fourth unit), com.netflix.ninja,
+# com.apple.atve.androidtv.appletv and org.droidtv.dropboxprovider. Kept by choice: the official YouTube app
+# (casting from a phone needs it), Alexa, Chromecast and both firmware updaters.
+# - The same 15 Freeview packages and org.droidtv.freeviewplayers were disabled from the factory.
+# - 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).
# Batch 1: telemetry and retail demo
org.droidtv.candeebug # "DAC" analytics uploader
diff --git a/examples/philips-tpm191e/tv.json b/examples/philips-tpm191e/tv.json
index 70475ffb5..6a79fd23b 100644
--- a/examples/philips-tpm191e/tv.json
+++ b/examples/philips-tpm191e/tv.json
@@ -1,6 +1,6 @@
{
- "tv": "Philips TPM191E / 50PUS8505 / 55OLED854 / 65OLED804 (TP Vision, PH9M_EA_5599, MediaTek MT5887), Europe",
+ "tv": "Philips TPM191E / 50PUS8505 / 55OLED854 / 65OLED804 / 50PUS7354 (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))"
+ "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"
}