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
docs: a second QM751G unit (55", AU14): remote keycodes, mic access, reboot persistence
Brantoc0f16d6439b68
diff --git a/docs/devices/tcl-75qm751g-qm7.md b/docs/devices/tcl-75qm751g-qm7.mdindex 1b440b739..db7d17f16 100644--- a/docs/devices/tcl-75qm751g-qm7.md+++ b/docs/devices/tcl-75qm751g-qm7.md@@ -4,7 +4,9 @@ One owner's report ([#453](https://github.com/Gathin23/cleanyourtv/issues/453)),checked on the same day and **not** lived with for several days, so this is not a list of its own.Run [`examples/tcl-qm6k-google-tv/debloat.txt`](../../examples/tcl-qm6k-google-tv/debloat.txt) —same `G08` board, same `AU14` build — and read the deltas and the two traps below. A second owner-confirmed the cast-receiver symptom on a TCL BeyondTV2 in the same thread.+confirmed the cast-receiver symptom on a TCL BeyondTV2 in the same thread. A second unit, a+55QM751G on the same build, is [further down](#a-second-unit-55qm751g-same-build): reboot+persistence, the remote's keycodes, the mic, and the volume trade with a key helper.## Identify the firmware, not the retail name@@ -92,6 +94,77 @@ A receiver that is advertising logs `MdnsAppFilter: Done announcing.`,reproduce the hang — their list leaves the Cast stack alone — and did not stream video, so the logevidence covers discovery, not playback.+## A second unit: 55QM751G, same build++A 55QM751G reported the same `ro.product.device` `G08`, `ro.product.model` `Smart TV Pro` and+`tcl9618-user 14 UTT2.250416.001 AU14 release-keys`, SDK 34, `ro.adb.secure=1`. Also checked on the+same day and not lived with, by one owner in one session.++**Connection.** Network ADB answered on 5555 over Wi-Fi with no pairing step. Wireless debugging was+on as well (`adb_wifi_enabled=1`), on a port of its own. `wm size` showed a 1920x1080 override on the+3840x2160 panel, with no density override; it was left alone and the launcher laid out normally.++**The list.** The QM6K list was applied in three batches with a screenshot of Home after each, and+`com.tcl.repairguide` was again not installed. Kept by the owner's choice: Netflix, Chromecast+(`com.google.android.apps.mediashell`), Assistant (`com.google.android.katniss`), the phone remote+(`com.google.android.tv.remote.service`), AirPlay, YouTube Music, the USB media player+(`com.tcl.ui_mediaCenter`) and ambient mode (`com.google.android.apps.tv.dreamx`). From the optional+block, `com.tcl.gamebar`, `com.tcl.UpdatePeripheral` and `com.google.android.marvin.talkback` were+disabled. Prime Video ships preinstalled as `com.amazon.amazonvideo.livingroom`, which the list does+not name. With launcherx, 25 packages were disabled; after `sync`, a 15-second wait and a reboot,+`pm list packages -d` was the same 25, and the TV started straight into the new Home+(`wm_set_resumed_activity` showed `FallbackHome`, then `com.gathin.tvhome`), not into Live TV.++**setupwraith without losing Wi-Fi.** setupwraith owned one saved network, but not the one the TV+was on: `dumpsys wifi` gave `cname=com.google.android.tungsten.setupwraith` for a network saved+during setup and no longer used, and `cname=android.uid.system:1000` for the connected one. The+owner could not find it in Settings, so it was removed from the shell instead:+`cmd wifi list-networks` for its id, then `cmd wifi forget-network <id>`. `dumpsys wifi` then showed+`android.uid.system` only, `tools/disable.sh` disabled setupwraith without `FORCE_SETUPWRAITH=1`,+Wi-Fi stayed connected, and `launcher/build-and-install.sh` made `com.gathin.tvhome` Home on its+first run.++**The remote's keys.** The Bluetooth remote names itself `BT_RC923_M2` (key layout+`Vendor_0417_Product_0304.kl`). Its app and gear buttons are `KEY_UNKNOWN` (scancode 240) in+`getevent -lt`, with no entry in that layout; the firmware gives them keycodes of its own, which+`logcat` prints as `InputReader: TIDD: keyCode=...` with the HID usage beside it:++| Button | HID usage | Keycode |+|---|---|---|+| Netflix | `0x000c0051` | 4062 |+| Prime Video | `0x000c005f` | 4099 |+| YouTube | `0x000c0057` | 190 (`KEYCODE_BUTTON_3`) |+| Gear | `0x000c0055` | 83 (`KEYCODE_NOTIFICATION`) |++With launcherx disabled and no key helper, the Netflix, Prime Video and YouTube buttons did nothing,+and Input still worked. The gear sends 83 to SystemUI, which logs `TvNotificationPanel: Not launching+notification handler activity: Could not resolve activityInfo for intent+android.app.action.TOGGLE_NOTIFICATION_HANDLER_PANEL`. Without a helper, Home itself answers+`settings_key_keycodes` 83 and the `app_keys` with keycodes from 1000 up, so with `83` and+`4062:com.netflix.ninja`, `4099:com.amazon.amazonvideo.livingroom` in `config.xml` the gear, Netflix+and Prime Video buttons worked from Home. YouTube (190) needs the helper. With `INPUT_KEY_SERVICE=1`+all three app buttons worked and held volume up moved one step per press, as on the 75Q7CXB in+[the key-repeat note](tcl-55p71b-g09-key-repeat.md); clearing `enabled_accessibility_services`+brought the ramp back. The owner kept the ramp and no helper.++**The mic.** With launcherx disabled the mic did nothing: each press logged+`AtvRemote.AppOpsDisclosureService: com.google.android.katniss doesn't have access to the on-remote+mic`, the case in [TROUBLESHOOTING](../TROUBLESHOOTING.md). Switching on Microphone access under+Settings > Privacy brought it back, and the Assistant answered a spoken question. The+"not available in this profile" refusal seen on the AU02 build did not appear on this one.++**Private DNS and Prime Video.** With Private DNS set to `dns.adguard-dns.com` (`private_dns_mode`+`hostname`), another streaming app played, but Prime Video (`com.amazon.amazonvideo.livingroom`) did not.+With `private_dns_mode` back to `opportunistic` it played. Which domain AdGuard's list blocks was not+looked into. This build has no Private DNS entry under Settings > Network & Internet, so turning it off+again takes ADB: `settings put global private_dns_mode opportunistic`.++**Closing ADB.** Wireless debugging off closed its port (`tools/adb-closed.py` refused). The owner+then revoked the authorisations, switched USB debugging off and restarted the TV, and 5555 still+answered: USB debugging was on again in Developer options. Switched off a second time, it stayed off+through a restart, and `tools/adb-closed.py` reported 5555 closed. Whether the first switch did not+take or the restart put it back was not told apart.+## Test limits- One set, one firmware, one session, same day. Nothing here has been lived with for days.@@ -100,3 +173,9 @@ evidence covers discovery, not playback.through Netflix, Assistant or AirPlay after those packages were turned off are all untested.- Casting was verified from a PC only, for discovery and one stream; casting from a phone and aftera reboot was not re-checked.+- The 55QM751G is also one set, one firmware, one session. It covers what the first left open on+ reboot persistence, Wi-Fi after setupwraith was disabled, and the app buttons, for that unit only.+ It kept Netflix, Assistant, AirPlay and Chromecast enabled, so it says nothing about turning them+ off. Casting, AirPlay and the Cast receiver hang above were not checked on it. The mic was tested+ before the reboot, not after. Playback was checked once per case: one app with AdGuard DNS on,+ and Prime Video with it on (failed) and off (played).diff --git a/examples/README.md b/examples/README.mdindex c93fcd099..69f79d35d 100644--- a/examples/README.md+++ b/examples/README.md@@ -449,7 +449,7 @@ Notes for models that have no tested list yet live in [`docs/devices/`](../docs/- [Samsung C71KW-200 / AT&T Osprey](../docs/devices/samsung-c71kw-200.md), Android TV 11, `RTT4.250301.001.release-r-sam-25Q3.2-refresh-cert-1`: in-place update to unmodified upstream launcher source, six-column theme, native reorder persistence, Home recovery and reboot checks; no tested debloat list.- [Hisense LED55MU7000U](../docs/devices/hisense-led55mu7000u.md), China, Android 5.1.1 (SDK 22), firmware `01.02.40.01` (reported UI version `JUUI 8.4.02.630`): the boot ad remained after the ad preference changed; firmware rejected disabling the advertising service; no validated debloat list.- [Hisense VIDAA_TV / AMLOGICT963](../docs/devices/hisense-amlogict963-android9.md), China, Android 9 `07.02.70.02` (retail model unconfirmed): with 聚好看 still enabled, a third-party launcher became Home and the physical Home key returned to it after reboot; the brief 聚好看 boot branding does not establish that its app launched. Launcher observation only, no tested debloat list.-- [TCL `75QM751G`](../docs/devices/tcl-75qm751g-qm7.md) (QM7, 2024, `G08`, Android 14 `UTT2.250416.001 AU14`): the QM6K list applies with seven extra packages, setupwraith owns the saved Wi-Fi even on an Ethernet set, and the Cast receiver can be up while it has stopped advertising.+- [TCL `75QM751G`](../docs/devices/tcl-75qm751g-qm7.md) (QM7, 2024, `G08`, Android 14 `UTT2.250416.001 AU14`): the QM6K list applies with seven extra packages, setupwraith owns the saved Wi-Fi even on an Ethernet set, and the Cast receiver can be up while it has stopped advertising; a 55QM751G on the same build adds the remote's keycodes and the mic's Microphone-access fix.- [TVision Hub](../docs/devices/tvision-hub.md) (SEI Robotics, Amlogic S905X2, T-Mobile's Google TV dongle): one-session report with seven disabled packages and the launcher confirmed as Home; ADB only connected after a restart; no several-day list.- [Master-G 2K Smart TV](../docs/devices/master-g-2k-smart-tv.md) (KTC `jagalchi`, Chile, Google TV 14 `UKN4.250714.046`): a same-day session, not a several-day list; `set-home-activity` prints `Success` but `launcherx` keeps Home, `setupwraith`'s RecoveryActivity takes it next and owns the saved Wi-Fi until the network is re-joined; Android 14 ad/ML services and owner-chosen apps disabled, reboot-checked.- [Thomson 40FG2S14W](../docs/devices/thomson-40fg2s14w.md) (Expressluck `nagata`, Android TV 14 `UKNV.260317.001`): six packages, reboot-checked; `com.cvte.tv.at` makes it a CVTE board, so its stock `launcherx` stays enabled and Home never leaves Google TV there - `set-home-activity` prints `Success`, the Home role names the new launcher, and `resolve-activity` still answers `launcherx` - the two boot checks have since been run on that board (#1350) and both fallbacks are there, but the boot with the stock launcher disabled has not been tried; debloat only, no tested list.