Skip to content

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

examples: map the Skyworth SWTV-20SA-PRO nine-dot button to Home

Pablo Merelesc549a6abd228
diff --git a/examples/skyworth-swtv-20sa-pro/README.md b/examples/skyworth-swtv-20sa-pro/README.md
index ff29b4c0a..4a7dcad17 100644
--- a/examples/skyworth-swtv-20sa-pro/README.md
+++ b/examples/skyworth-swtv-20sa-pro/README.md
@@ -31,11 +31,13 @@ package off, and the physical Input key was not pressed.
TV_HOST=<tv ip> tools/disable.sh examples/skyworth-swtv-20sa-pro/debloat.txt
TV_HOST=<tv ip> launcher/build-and-install.sh
TV_HOST=<tv ip> tools/theme.sh examples/skyworth-swtv-20sa-pro
+HOME_KEY_SERVICE=1 SKIP_BUILD=1 TV_HOST=<tv ip> launcher/build-and-install.sh
```
-`launcher/build-and-install.sh` disables `com.google.android.tvlauncher` only after the new
-launcher is Home. No key helper was enabled. On this SW4H firmware a bound key helper makes a
-held volume key step once per press.
+The nine-dot button is `KEYCODE_APPS` (390), a global key that used to open
+`com.google.android.tvlauncher` apps view. With that launcher disabled it does nothing.
+`app_keys` `390:home` plus `HomeKeyService` opens this launcher from any app. On this
+firmware a bound key helper makes a held volume key step once per press.
## Undo
diff --git a/examples/skyworth-swtv-20sa-pro/config.json b/examples/skyworth-swtv-20sa-pro/config.json
index 053718682..2e1ff2b3e 100644
--- a/examples/skyworth-swtv-20sa-pro/config.json
+++ b/examples/skyworth-swtv-20sa-pro/config.json
@@ -1,4 +1,5 @@
{
"live_tv_package": "com.smartdevice.livetv",
- "hidden_apps": ["com.smartdevice.livetv"]
+ "hidden_apps": ["com.smartdevice.livetv"],
+ "app_keys": ["390:home"]
}
diff --git a/examples/skyworth-swtv-20sa-pro/debloat.txt b/examples/skyworth-swtv-20sa-pro/debloat.txt
index 7484b57ed..d3d8eac8b 100644
--- a/examples/skyworth-swtv-20sa-pro/debloat.txt
+++ b/examples/skyworth-swtv-20sa-pro/debloat.txt
@@ -29,6 +29,11 @@
# menu still listed HDMI 1-4, AV and Live TV. The physical Input key was not pressed, so
# the line stays commented until that button is confirmed.
#
+# The nine-dot button is KEYCODE_APPS (390), routed to com.mediatek.partner.netflix, which
+# opens com.google.android.tvlauncher apps view. With that launcher disabled the button
+# does nothing. examples/skyworth-swtv-20sa-pro/config.json maps 390 to home; install with
+# HOME_KEY_SERVICE=1. A bound key helper makes a held volume key step once on this firmware.
+#
# Tested on the day of the debloat (2026-11-04), one reboot, not yet lived with for days.
# After the reboot Home was com.gathin.tvhome and every package named below was still disabled.
# No separate firmware-updater package; updates live in Settings.