Skip to content

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

examples: add Panasonic 4KTV-3MUP (MOKA R4_GTV, Realtek rtd2851m), Google TV 14, Taiwan (#1116)

comicat-hu76b7cb4d2082
diff --git a/examples/panasonic-4ktv-3mup/README.md b/examples/panasonic-4ktv-3mup/README.md
new file mode 100644
index 000000000..597d27614
--- /dev/null
+++ b/examples/panasonic-4ktv-3mup/README.md
@@ -0,0 +1,51 @@
+# Panasonic 4KTV-3MUP (Google TV 14): debloated, with the launcher on the Home button
+
+MOKA device `R4_GTV`, Realtek `rtd2851m`, Google TV 14 / SDK 34, build `UKR1.260308`, Taiwan. Done over network
+ADB on 2026-10-25, with a screenshot after every batch, a reboot and the real remote.
+
+This is the platform in [`docs/devices/acer-r4g.md`](../../docs/devices/acer-r4g.md): `com.android.tv.settings`'
+`FallbackHome` re-enables a fixed list of packages at every boot. After a reboot, 4 of the 24 packages first
+disabled were back on (Prime Video, YouTube Music, `partnersetup`, calendar sync), so they are not in the list;
+the other 20 stayed disabled.
+
+## Debloat
+
+```bash
+tools/disable.sh examples/panasonic-4ktv-3mup/debloat.txt
+```
+
+20 packages, all disabled, none uninstalled. The header of [`debloat.txt`](debloat.txt) says what each group is,
+what the firmware turns back on and what was kept on purpose.
+
+Do not disable `com.google.android.apps.tv.launcherx` or `com.google.android.tungsten.setupwraith`
+here: the firmware turns setupwraith back on at boot and its `RecoveryActivity` takes Home, and setupwraith also
+owns the saved Wi-Fi network (`dumpsys wifi | grep -o 'cname=[^ ]*'`).
+
+## Launcher
+
+`set-home-activity` does not stick, so launcherx stays Home and the launcher takes the Home button through
+`HomeKeyService` with `stock_home_redirect` ([`config.json`](config.json)).
+
+1. `STOCK_LAUNCHER=none HOME_KEY_SERVICE=1 launcher/build-and-install.sh`. The script stops at its "Home
+ resolves to launcherx" check and suggests disabling setupwraith: don't, on this set. Turn `HomeKeyService` on
+ instead (Settings > Accessibility, or the `enabled_accessibility_services` lines in the script).
+2. `tools/theme.sh examples/panasonic-4ktv-3mup`.
+
+After a reboot the new launcher was back on screen in about 6 seconds, with no `RecoveryActivity`, and the set
+did not open Live TV at power-on, so `power_on_home` is not needed. The D-pad, the Home button and the Inputs
+menu (HDMI 1-3, AV, Live TV through `com.realtek.tv`) work.
+
+Known trade-off: with `HomeKeyService` on, holding a volume button moves one step only
+([`docs/devices/tcl-55p71b-g09-key-repeat.md`](../../docs/devices/tcl-55p71b-g09-key-repeat.md)).
+
+[`config.json`](config.json): dock YouTube, Netflix, Hami Video, Animad, 4 columns, Live TV `com.realtek.tv` for
+the Inputs menu; the apps the firmware re-enables (Prime Video, YouTube Music) and other stock entries hidden.
+
+## Undo
+
+```bash
+tools/restore.sh examples/panasonic-4ktv-3mup/debloat.txt
+tools/theme.sh --reset
+```
+
+Uninstall the launcher (`pm uninstall com.gathin.tvhome`) to give the Home button back to launcherx.
diff --git a/examples/panasonic-4ktv-3mup/config.json b/examples/panasonic-4ktv-3mup/config.json
new file mode 100644
index 000000000..34ad9d20c
--- /dev/null
+++ b/examples/panasonic-4ktv-3mup/config.json
@@ -0,0 +1,20 @@
+{
+ "dock_apps": [
+ "com.google.android.youtube.tv",
+ "com.netflix.ninja",
+ "hami.androidtv",
+ "tw.com.gamer.android.animad"
+ ],
+ "hidden_apps": [
+ "com.realtek.tv",
+ "com.apps.function.audiolink",
+ "com.apps.ota",
+ "com.google.android.play.games",
+ "com.google.android.videos",
+ "com.amazon.amazonvideo.livingroom",
+ "com.google.android.youtube.tvmusic"
+ ],
+ "live_tv_package": "com.realtek.tv",
+ "columns": 4,
+ "stock_home_redirect": "com.google.android.apps.tv.launcherx"
+}
diff --git a/examples/panasonic-4ktv-3mup/debloat.txt b/examples/panasonic-4ktv-3mup/debloat.txt
new file mode 100644
index 000000000..83c5869fb
--- /dev/null
+++ b/examples/panasonic-4ktv-3mup/debloat.txt
@@ -0,0 +1,45 @@
+# Panasonic 4KTV-3MUP (MOKA R4_GTV, Realtek rtd2851m), Taiwan, Google TV 14 (SDK 34), build UKR1.260308
+# Same platform as docs/devices/acer-r4g.md: com.android.tv.settings' FallbackHome re-enables a hard-coded
+# list of packages at every boot. Never disable launcherx or setupwraith here (setupwraith also owns Wi-Fi).
+#
+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/panasonic-4ktv-3mup/debloat.txt
+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/panasonic-4ktv-3mup/debloat.txt
+# Everything is DISABLED, not uninstalled.
+#
+# Re-enabled by the firmware at boot on this set (checked 2026-10-25), so not disabled here; the
+# launcher hides the two apps with hidden_apps instead:
+# com.amazon.amazonvideo.livingroom, com.google.android.youtube.tvmusic,
+# com.google.android.partnersetup, com.google.android.syncadapters.calendar
+# Not touched (firmware's boot list per the R4G note): katniss, videos, play.games, feedback, ota, authota,
+# realsil.ota, dfuservice, meeting.service, audiolink, esticker, esticker3, gdpr, scast, dreamx.
+# Never started: com.apps.factory.ui, com.realtek.factorytools.
+
+# Telemetry, ads and auto-installs
+com.android.tv.feedbackconsent
+com.android.adservices.api
+com.android.ondevicepersonalization.services
+com.android.federatedcompute.services
+com.apps.mk.wd # boot receiver with ad-click activities
+android.autoinstalls.config.scbc.device # Play auto-installs of partner apps
+
+# Background services a TV does not need
+com.android.healthconnect.controller
+com.android.health.connect.backuprestore
+com.apps.wifihotspot
+com.android.dreams.basic
+com.android.htmlviewer
+com.android.backupconfirm
+com.android.sharedstoragebackup
+com.android.wallpaperbackup
+com.android.providers.calendar
+
+# Not used (owner's choice)
+com.disney.disneyplus
+com.chocolabs.app.chocotv.tv
+tv.twitch.android.app
+jp.or.nhk.nhkworld.tv
+com.apps.usbmediaplayer
+
+# Kept on purpose: launcherx + setupwraith (see above), com.realtek.tv* / com.realtek.dtv (Live TV, HDMI, AV),
+# key handlers (keyinterceptserver, globalkeyhandler, smartkey, virtualkey, fivekey, bluetoothremote),
+# YouTube, Netflix, Hami Video, KKBOX, Animad, Chromecast, AirPlay, TCL browser, Play Store/Services, Gboard.
diff --git a/examples/panasonic-4ktv-3mup/tv.json b/examples/panasonic-4ktv-3mup/tv.json
new file mode 100644
index 000000000..a99f01185
--- /dev/null
+++ b/examples/panasonic-4ktv-3mup/tv.json
@@ -0,0 +1,6 @@
+{
+ "tv": "Panasonic 4KTV-3MUP (MOKA R4_GTV, Realtek rtd2851m), Taiwan",
+ "os": "Google TV 14",
+ "brand": "Panasonic",
+ "notes": "Google TV variant of the [Acer R4G](../docs/devices/acer-r4g.md) platform on build UKR1.260308: FallbackHome re-enables a fixed list at every boot, so only packages that stay disabled are listed (Prime Video, YouTube Music, partnersetup and calendar sync come back and are left out, the two apps hidden with hidden_apps); feedback consent, Android ad services, SCBC ad-click and auto-install services, Health Connect, hotspot, backup leftovers; Disney+, CHOCO TV, Twitch, NHK World, USB media player off by choice; launcherx and setupwraith stay enabled (setupwraith owns the saved Wi-Fi); the launcher takes Home via HomeKeyService + stock_home_redirect, holding volume steps once; config.json has the dock; reboot-checked"
+}