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/tcl-g08-us-google-tv: second unit, TCL 55Q77K: remote button codes and notes
Justin Newmanca8088113095
diff --git a/docs/TROUBLESHOOTING.md b/docs/TROUBLESHOOTING.mdindex 7268bfe3d..184b60c77 100644--- a/docs/TROUBLESHOOTING.md+++ b/docs/TROUBLESHOOTING.md@@ -761,7 +761,12 @@ had one, while a 55U7N on the same board and build steps once per press with `Hoin its report (#1326), so the CEC step is one unit's account of a key the policy takes, not the cause. The 55U7Nalso shows where that board's app buttons go: with launcherx disabled Hisense's own `GlobalKeyReceiver` receives295, 607 and 606 and nothing opens, so only a helper answers them-([the hengshan notes](../examples/hisense-u75-hengshan/README.md)); its held-key capture was not taken. Check the+([the hengshan notes](../examples/hisense-u75-hengshan/README.md)); its held-key capture was not taken. A TCL 55Q77K+(`G08_4K_US`, Google TV 14, `UTT2.250416.001 AU16`, TV speakers, no soundbar) steps once per press with+`InputKeyService` alone as well. On that set Settings (83), Netflix (4062), Prime Video (4099) and Apple TV (4160)+still reach the focused window with launcherx disabled, so Home could answer them without a helper, while YouTube is+`BUTTON_3`, a global key Android hands to launcherx before any window+([the G08 US notes](../examples/tcl-g08-us-google-tv/README.md#the-remotes-buttons-with-launcherx-disabled)). Check thestate first, do not rewrite it blind:```shdiff --git a/examples/tcl-g08-us-google-tv/README.md b/examples/tcl-g08-us-google-tv/README.mdindex 511abc2dd..0f9b77d5e 100644--- a/examples/tcl-g08-us-google-tv/README.md+++ b/examples/tcl-g08-us-google-tv/README.md@@ -35,3 +35,46 @@ Undo lines in the list header are the repo's standard ones, not something run onDeveloper options each time.- The setup wizard, launcherx and the Ambient screensaver (`dreamx`, left enabled here) are the ones to look atfirst if Home or the screensaver misbehaves after a system update.++## Second unit: TCL 55Q77K++TCL 55Q77K, 55", model "Smart TV Pro", product `G08_4K_US`, client type `TCL-NA-MT9653-S1` (MediaTek MT9653),+the same firmware `UTT2.250416.001 AU16`. On the Ethernet port, TV speakers, nothing in USB. Set up on+23 October 2026: this list without the AirPlay packages, the TCL browser and the streaming apps (kept by that+owner), then launcherx and the setup wizard for a custom launcher. All of it came through a reboot the same day.++- **The setup wizard's saved Wi-Fi on an Ethernet set.** Four saved networks belonged to+ `com.google.android.tungsten.setupwraith` (`dumpsys wifi | grep cname`), though the set was on Ethernet.+ Disabling the wizard deleted them, as Android does, and nothing else: the address on `eth0` and ADB stayed. Join+ Wi-Fi again in Settings if the set ever goes back to it; a network saved there belongs to Settings and stays.+- **Apps only mode** (Settings > Accounts & Sign In > the account) lives in launcherx. With launcherx disabled the+ switch is gone; enable launcherx, change it, disable launcherx again. Google TV takes Home back the moment+ launcherx is enabled, `set-home-activity` or not, so make the new launcher Home again afterwards and check+ `mFocusedApp`.+- **Network debugging** on port 5555 came back on its own after the reboot on this unit.++### The remote's buttons with launcherx disabled++The remote is `BT_RC923A_B1` over Bluetooth (vendor `0x0417`, product `0x0304`). Its key layout has no entry for+the app buttons, so the kernel reports `KEY_UNKNOWN` (scancode 240) and TCL's input layer maps the HID usage+(`MSC_SCAN` in `getevent -lt`) to a keycode; `logcat` shows each as a `TIDD:` line.++| Button | HID usage | Keycode | With launcherx disabled |+| --- | --- | --- | --- |+| Settings | `0x000c0055` | `NOTIFICATION` (83) | reaches the focused window; the launcher's `settings_key_keycodes` answers it on Home |+| Netflix | `0x000c0051` | 4062 | reaches the focused window, nothing opens |+| Prime Video | `0x000c005f` | 4099 | reaches the focused window, nothing opens |+| YouTube | `0x000c0057` | `BUTTON_3` (190) | a global key: Android sends it to launcherx's `GlobalKeyListener_Receiver`, no window sees it |+| Apple TV | `0x000c0086` | 4160 | reaches the focused window, nothing opens |+| TCL tv+ | `0x000c0150` | 4184 | TCL's `TclShortCutKeyManager` starts `tcl://com.tcl.tvplus`, which fails with TCL TV+ disabled |+| Disney+ | | | still opens: TCL starts it itself |++Input, Back, Home, the Assistant button and volume work as before. `dumpsys window policy` lists the global keys+that go to launcherx on this build: `GUIDE`, `BUTTON_3`, `PROFILE_SWITCH`, `FEATURED_APP_1` and `MACRO_1`.++Since four of the buttons reach the focused window, a Home screen can answer them while it is on screen without+any accessibility helper; inside another app they go to that app. YouTube needs a key-filtering helper+(`InputKeyService` with `app_keys` `190:com.google.android.youtube.tv`), and with only that helper bound a held+volume button stepped once per press here too, with TV speakers and no soundbar+([TROUBLESHOOTING](../../docs/TROUBLESHOOTING.md#a-key-helper-is-bound-and-a-held-remote-button-stopped-repeating)).+That owner kept the volume ramp and went without the YouTube button.\ No newline at end of filediff --git a/examples/tcl-g08-us-google-tv/debloat.txt b/examples/tcl-g08-us-google-tv/debloat.txtindex 9c59b7d8e..07c09f961 100644--- a/examples/tcl-g08-us-google-tv/debloat.txt+++ b/examples/tcl-g08-us-google-tv/debloat.txt@@ -3,6 +3,11 @@# Same G08 board as examples/tcl-c755-google-tv, tcl-qm6k-google-tv and tcl-85rm7l-google-tv, on the US# firmware build. Those lists were the starting point; this one adds what the US set ships on top (streaming# preloads and a few TCL extras) and the Android 14 ad and privacy services.+# Second unit: TCL 55Q77K (55", model "Smart TV Pro", G08_4K_US, client type TCL-NA-MT9653-S1, MediaTek MT9653),+# same firmware UTT2.250416.001 AU16, on Ethernet. That owner applied this list on 23 October 2026 except AirPlay,+# the TCL browser and the streaming apps, kept by choice, and the set came through a reboot the same day.+# README.md has that unit's remote button codes and notes. No package changes from it: a few more it disabled+# have one day of use, not a few.## Tested 20-21 October 2026 on one set, 37 packages in all. The first 35 were disabled, the TV was rebooted and# all 35 were still disabled afterwards. The last two (launcherx and setupwraith) were added later for a customdiff --git a/examples/tcl-g08-us-google-tv/tv.json b/examples/tcl-g08-us-google-tv/tv.jsonindex c8227cb20..7b137c58b 100644--- a/examples/tcl-g08-us-google-tv/tv.json+++ b/examples/tcl-g08-us-google-tv/tv.json@@ -1,6 +1,6 @@{- "tv": "TCL 75T7 (Smart TV Pro, G08, G08_4K_US, MediaTek tcl9618), US firmware",+ "tv": "TCL 75T7 / 55Q77K (Smart TV Pro, G08, G08_4K_US, MediaTek tcl9618), US firmware","os": "Google TV 14","brand": "TCL",- "notes": "Same G08 board as the C755/QM6K/85RM7L lists, US build AU16: TCL TV+, messages, e-sticker, dashboard and home pushes, store/hotel/exhibit demo, log capture, Android 14 ad and privacy services, manual/repair/hearing/solo apps, TCL account, browser, Channel+, Alexa and AirPlay, US streaming preloads; ttvs, partnercustomizer, Chromecast and the USB player kept; launcherx and setupwraith off for a custom launcher; one day of use, first 35 reboot-checked"+ "notes": "Same G08 board as the C755/QM6K/85RM7L lists, US build AU16: TCL TV+, messages, e-sticker, dashboard and home pushes, store/hotel/exhibit demo, log capture, Android 14 ad and privacy services, manual/repair/hearing/solo apps, TCL account, browser, Channel+, Alexa and AirPlay, US streaming preloads; ttvs, partnercustomizer, Chromecast and the USB player kept; launcherx and setupwraith off for a custom launcher; one day of use, first 35 reboot-checked; 55Q77K second unit: remote button codes, YouTube as a global key to launcherx, the setup wizard's saved Wi-Fi on an Ethernet set, Apps only mode"}