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 Noblex DR55X9500 (Skyworth SW6H, MediaTek m7332), Android TV 11 with Google TV home
FrancoAlvarez71fbd71c4b091
diff --git a/examples/noblex-dr55x9500/README.md b/examples/noblex-dr55x9500/README.mdnew file mode 100644index 000000000..b0a6da916--- /dev/null+++ b/examples/noblex-dr55x9500/README.md@@ -0,0 +1,61 @@+# Noblex DR55X9500 (Skyworth SW6H, Google TV home)++A 55" QLED 4K set for Argentina built by Skyworth: `ro.product.model` "Smart TV 4K", product `SW6H_Noblex_NF`,+device and board `SW6H`, MediaTek `m7332`, Android TV 11 (API 30) with the Google TV home+(`com.google.android.apps.tv.launcherx`), firmware `RTT2.220103.001`. The board and firmware match+`examples/prismplus-p4ka-sw6h/debloat.txt`, which this list started from.++## The list++The debloat list disables 22 packages in five batches, with a Home screenshot after each one; launcherx+and setupwraith follow at the Home handover. Nothing was re-enabled. Three reboots later `pm list packages -d` was unchanged: unlike+the PRISM+ unit, this firmware did not bring launcherx back at boot.++## setupwraith and the Wi-Fi++`dumpsys wifi | grep -o 'cname=[^ ]*'` showed the saved network owned by+`com.google.android.tungsten.setupwraith`. Forgetting and re-joining the network in Settings moved it to+`com.android.tv.settings`, but two older networks saved during first setup still belonged to setupwraith,+so `tools/disable.sh` kept refusing. Once those were forgotten too (`cmd wifi forget-network <id>`),+setupwraith went off with no override and the TV stayed on Wi-Fi. Chromecast (tab and screen casting from+Chrome) kept working with setupwraith disabled.++## Remote buttons++Read on the real remote with a temporary log line in the launcher's key helper; `getevent` reports most of+them as `KEY_UNKNOWN` (scancode 240, shared) and the window manager logs only some of them, so match by+keycode, not scancode:++| Button | keyCode | HID usage | With launcherx disabled |+|---|---|---|---|+| Gear (settings) | 83 | 0x0c009f | dead |+| Profile (person icon) | 288 | 0x0c0229 | dead (launcherx's profile chooser) |+| Apps (fourth app row button) | 284 | 0x0c01a2 | dead |+| Input | 178 | 0x0c01bb | works (`com.smartdevice.dailyshortcut` input picker) |+| Netflix | 191 | 0x0c00a9 | works |+| Prime Video | 409 | 0x0c00d6 | works |+| YouTube | 291 | 0x0c00ab | works |++`config.json` here sets the gear (`settings_key_keycodes` `[83]`), which needs `HOME_KEY_SERVICE=1` on+`launcher/build-and-install.sh`. The tested set also remapped the others with `app_keys` and+`INPUT_KEY_SERVICE=1`: `284:input:com.mediatek.tvinput/.hdmi.HDMIInputService/HW5` (HDMI 2), `288` and+`191`/`409` to other apps, and `178:com.gathin.tvhome/.InputsRequestActivity` with `handle_view_inputs`+true for the launcher's Inputs menu, keeping the vendor picker on+`hold:178:com.smartdevice.dailyshortcut/.ui.MainActivity`. The profile chooser lives inside launcherx and+cannot be reached with it disabled: the TV Settings account page hangs on a spinner without it.++**The cost:** with either helper bound, a held volume key steps once per press, the trade described in+`docs/devices/tcl-55p71b-g09-key-repeat.md`. `consume_volume_keys` cannot help here: the helper never+received the volume keys. The owner kept the buttons.++## HDMI++Four HDMI inputs, all with CEC; only HDMI 1 has ARC. Input ids: HDMI 1-4 are `HW4`-`HW7` under+`com.mediatek.tvinput/.hdmi.HDMIInputService`. The firmware does not report which ports are HDMI 2.0 or+2.1; there is one global EDID setting (`tv_input_hdmi_edid_version`).++## Power++`persist.sys.fast_standby` is 1 out of the box: the power button only suspends. The owner turned off the+quick start option ("Inicio rápido") in Settings for a real power-off. After each reboot the set came up+straight in this launcher with the key helpers bound.diff --git a/examples/noblex-dr55x9500/config.json b/examples/noblex-dr55x9500/config.jsonnew file mode 100644index 000000000..daa3014a4--- /dev/null+++ b/examples/noblex-dr55x9500/config.json@@ -0,0 +1,5 @@+{+ "hidden_apps": ["com.smartdevice.livetv"],+ "live_tv_package": "com.smartdevice.livetv",+ "settings_key_keycodes": [83]+}diff --git a/examples/noblex-dr55x9500/debloat.txt b/examples/noblex-dr55x9500/debloat.txtnew file mode 100644index 000000000..fb7d74bc5--- /dev/null+++ b/examples/noblex-dr55x9500/debloat.txt@@ -0,0 +1,62 @@+# Noblex DR55X9500 (55" QLED 4K; ro.product.model "Smart TV 4K", product SW6H_Noblex_NF, device SW6H,+# Skyworth-built, MediaTek m7332), Android TV 11 (API 30) with the Google TV home, firmware RTT2.220103.001+# (build date 2023-06-19). Argentina (ISDB-T).+# Same board and firmware as examples/prismplus-p4ka-sw6h; this list starts from that one and from+# examples/thomson-sppl-4k-sw6h. Not the same set as examples/noblex-shinjuku (Skyworth, classic Android TV+# home) or examples/noblex-db58x7550 (Changhong).+#+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/noblex-dr55x9500/debloat.txt+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/noblex-dr55x9500/debloat.txt com.google.android.apps.tv.launcherx+# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.+#+# Stock Home: com.google.android.apps.tv.launcherx; setupwraith's RecoveryActivity also claims HOME.+# Live TV app: com.smartdevice.livetv. Remote buttons and power-on: see README.md in this folder.+#+# Disabled from the factory, so not listed (restore.sh would turn them ON):+# com.smartdevice.myapp, com.smartdevice.recommendation.+#+# Status: applied on one TV on 2026-11-05 in six batches with a Home screenshot after each, then launcher/+# installed as Home and three reboots; `pm list packages -d` matched every time (this firmware re-enabled+# nothing, launcherx included). Hours of use when submitted, not days: treat it as a starting point.+# Live TV, HDMI (a PS5 over CEC), Chromecast tab and screen casting, Flow, YouTube and Spotify checked.+#+# Kept on purpose: com.smartdevice.livetv + overlay_SANLUX, com.mediatek.* (Live TV, HDMI, hot keys),+# com.smartdevice.dailyshortcut (quick menu and the vendor input picker), duplebluetooth + bleconnectservice+# (remote pairing), com.smartdevice.setupwraith, com.mediatek.android.leanbacklauncher.partnercustomizer,+# com.smartdevice.factory and mediatek.factorymenu.ui (never launched), Play Store, Play Services, Gboard,+# com.google.android.apps.mediashell (Chromecast, by choice) and every streaming app.+# No separate firmware-updater package on this build.++# --- Batch 1: telemetry and after-sale+com.google.android.feedback+com.google.android.partnersetup # RLZ partner-attribution pings, boot receiver+com.google.android.apps.nbu.smartconnect.tv # Google background data service, boot receiver+com.smartdevice.aftersale # boot + network receivers, can install APKs+com.smartdevice.dailymanage # boot service, no documented purpose++# --- Batch 2: voice (by choice; the remote's mic button stops working)+com.google.android.katniss+com.google.android.tv.assistant++# --- Batch 3: Skyworth content, auto-installs, retail demos+com.smartdevice.leanbacklauncher.customizer # partner config that injects rows into the home screen+android.autoinstalls.config.google.gtvpai # Play auto-installs of partner apps+com.smartdevice.epopplayer # ePop shop demo player+fusion.android.tv.demo # shop demo player+com.coocaa.demonow.lightining # "Demo Now" retail mode+com.Smartdevice.emanual # on-screen manual+com.mstar.android.tv.disclaimercustomization # retail legal-disclaimer dialogs++# --- Batch 4: Google preloads+com.google.android.videos+com.google.android.play.games+com.google.android.syncadapters.calendar+com.google.android.apps.tv.dreamx # Google TV ambient screensaver++# --- Batch 5: Miracast / DLNA (by choice; Chromecast kept)+com.smartdevice.dtv.icast+com.mediatek.androidbox++# --- Handover, only once launcher/ owns Home (build-and-install.sh does launcherx itself)+com.google.android.apps.tv.launcherx # stock Google TV home+com.google.android.tungsten.setupwraith # RecoveryActivity otherwise steals Home; it owned the setup Wi-Fi (see README.md)diff --git a/examples/noblex-dr55x9500/tv.json b/examples/noblex-dr55x9500/tv.jsonnew file mode 100644index 000000000..bb2b9631d--- /dev/null+++ b/examples/noblex-dr55x9500/tv.json@@ -0,0 +1,6 @@+{+ "tv": "Noblex DR55X9500 (Skyworth SW6H, MediaTek m7332, same board and firmware as `prismplus-p4ka-sw6h/`), Argentina",+ "os": "Android TV 11 (Google TV home)",+ "brand": "Noblex",+ "notes": "Skyworth after-sale, dailymanage, recommendation customizer, auto-installs, ePop/Demo Now demos, e-manual, disclaimers; partnersetup, smartconnect, feedback; Assistant, Miracast/DLNA, ambient screensaver off by choice; `com.google.android.apps.mediashell` kept; setupwraith owned the setup Wi-Fi (forget + re-join first); remote keycodes and the volume-repeat cost of the key helpers: [notes](noblex-dr55x9500/README.md)"+}