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: a second VH21 US unit, XR-55A95K, that needs no key helper
jdpr0075c5f0ccd263c
diff --git a/docs/devices/tcl-55p71b-g09-key-repeat.md b/docs/devices/tcl-55p71b-g09-key-repeat.mdindex 09f9d9403..97081fb63 100644--- a/docs/devices/tcl-55p71b-g09-key-repeat.md+++ b/docs/devices/tcl-55p71b-g09-key-repeat.md@@ -252,6 +252,47 @@ mechanism claimed here is the `capabilities=8` in the dump and the three rows, n`KeyboardInterceptor`. The owner kept both buttons and lives with the stepped volume - the second Choicebelow - so nothing in that section changes.+## A Sony BRAVIA VH21 where the buttons survive the control++The sets above all pay for the ramp with buttons. One does not. Sony BRAVIA XR-55A95K (`BRAVIA_VH21`,+product `BRAVIA_VH21_M_UC`, MediaTek), Google TV 12 (Android 12, SDK 31), build+`BRAVIA_VH21_M_UC-user 12 STT2.230505.001.S136 682241`, US firmware, wired Ethernet, the second unit in+[`examples/sony-bravia-4k-vh21-us`](../../examples/sony-bravia-4k-vh21-us/debloat.txt). `launcherx` and+`setupwraith` both disabled, this launcher Home. One unit, one evening.++Installed with `INPUT_KEY_SERVICE=1`, as that folder's first unit was:++| `enabled_accessibility_services` | holding Volume Up |+| --- | --- |+| `com.gathin.tvhome/.InputKeyService` (the only service bound) | one step per press |+| `""`, with `accessibility_enabled 0` | ramps continuously |++So far this is the Mi TV 4A's pair of rows on a fifth vendor. What differs is what the control costs,+which on every set above was the buttons:++| Button, with no service bound | |+| --- | --- |+| Input | still opens an input list |+| Settings | still works |+| Home | still works |+| Back | still works |++All four were pressed on the real remote, which is the only way to tell: an injected key proves nothing+for a button that may go through a helper. So on this build the helper is not a trade at all - it buys+nothing the firmware was not already doing, and costs the ramp. The owner cleared the list and kept it+cleared.++Which package answers the Input button here was not established. `com.sony.dtv.globalkeyoverlay` and+`com.sony.dtv.devicecontrolservice` are installed and enabled on this set and are the obvious+candidates, but no `logcat` line was captured naming one, so the row above records the behaviour and+not its cause. Nor was it checked whether the panel that opens is the launcher's own Inputs menu or+Sony's - only that the button opens one. `HomeKeyService` was never bound, so there is no all-or-nothing+bisect here, just the one helper's row and the control.++The practical reading for a Sony set on this firmware: install without `-InputKeyService`, then press+the buttons. Enable a helper only for a button that is actually dead, and expect the ramp to go when+you do.+## Choices- **Keep the repeat and skip the helpers.** Do not pass `INPUT_KEY_SERVICE=1` or `HOME_KEY_SERVICE=1`diff --git a/examples/sony-bravia-4k-vh21-us/debloat.txt b/examples/sony-bravia-4k-vh21-us/debloat.txtindex c90946a61..6c5fb1730 100644--- a/examples/sony-bravia-4k-vh21-us/debloat.txt+++ b/examples/sony-bravia-4k-vh21-us/debloat.txt@@ -1,4 +1,4 @@-# Sony BRAVIA 4K VH21 (XR-65A95K, 2022 QD-OLED, device BRAVIA_VH21, product BRAVIA_VH21_M_UC, MediaTek), US firmware+# Sony BRAVIA 4K VH21 (XR-65A95K and XR-55A95K, 2022 QD-OLED, device BRAVIA_VH21, product BRAVIA_VH21_M_UC, MediaTek), US firmware# Android 12 (Google TV, API 31), build BRAVIA_VH21_M_UC-user 12 STT2.230505.001.S136 682241, security patch 2026-05-01## Apply: TV_HOST=<tv ip> tools/disable.sh examples/sony-bravia-4k-vh21-us/debloat.txt@@ -21,6 +21,25 @@# Already disabled at the factory: com.sony.dtv.b2b.softap, com.sony.dtv.b2b.vendorprotocol. Not in this# list, so restore.sh leaves them as they are.#+# Second unit of THIS folder, 31 Oct 2026: Sony BRAVIA XR-55A95K, the 55" of the same 2022 QD-OLED+# range, US firmware. Same device BRAVIA_VH21, same product BRAVIA_VH21_M_UC, same build+# BRAVIA_VH21_M_UC-user 12 STT2.230505.001.S136 682241 and the same 2026-05-01 patch as the 65" above,+# so it belongs here and not in a folder of its own. 230 packages, not 250; the one line of this list+# it could not use is com.sony.dtv.sonyselect, which is not installed on it. Everything else applied,+# and Home came back on the new launcher over two reboots, with nothing re-enabled by the firmware.+# One sitting, not a week: the 65" entry above is the lived-with one.+# - Wired Ethernet, no Wi-Fi network ever saved. `dumpsys wifi` then prints no cname= line at all,+# and tools/disable.sh and tools/disable.ps1 fail closed on that rather than reading it as "nobody+# owns it", so setupwraith was skipped with a warning until FORCE_SETUPWRAITH=1 was passed - the+# case that warning names.+# - Installed with NO key helper, unlike the 65" above, and the remote is better for it: with nothing+# bound, the Input, Settings, Home and Back buttons all still work, and holding volume ramps again.+# With INPUT_KEY_SERVICE=1 bound, volume moved one step per press instead. On this set the helper+# costs the ramp and buys nothing: docs/devices/tcl-55p71b-g09-key-repeat.md has the two rows.+# - The owner also disabled the streaming apps, voice search, AirPlay/HomeKit and the BRAVIA CAM+# packages. Those are preferences, not findings, so they are not lines in this list, which stays+# the privacy and ads core it says it is above.+## Applied 19 Oct 2026 in two batches with a screenshot between; launcher 2.3 installed with the# Input-button service (INPUT_KEY_SERVICE=1). Reboot-checked twice:# Home came back on the new launcher both times. Lived with for a week; nothing re-enabled.diff --git a/examples/sony-bravia-4k-vh21-us/tv.json b/examples/sony-bravia-4k-vh21-us/tv.jsonindex 03531ed29..f51337647 100644--- a/examples/sony-bravia-4k-vh21-us/tv.json+++ b/examples/sony-bravia-4k-vh21-us/tv.json@@ -1,6 +1,6 @@{- "tv": "Sony BRAVIA 4K VH21 (XR-65A95K, 2022, BRAVIA_VH21, MediaTek), US",+ "tv": "Sony BRAVIA 4K VH21 (XR-65A95K, XR-55A95K, 2022, BRAVIA_VH21, MediaTek), US","os": "Google TV 12","brand": "Sony",- "notes": "Privacy and ads core only, the smallest of the three VH21 lists: Samba TV ACR, Sony/Qterics agents, IDD, bug report, Sony promos/Select (on at the factory in the US), demo mode, help tiles; setupwraith off for the launcher; streaming apps, Assistant, Chromecast, AirPlay/HomeKit, BRAVIA CAM packages and firmware updates kept; reboot-checked twice, lived with a week; a Widevine L1 wedge on this firmware is cleared by a reboot, not the list"+ "notes": "Privacy and ads core only, the smallest of the three VH21 lists: Samba TV ACR, Sony/Qterics agents, IDD, bug report, Sony promos/Select (on at the factory in the US), demo mode, help tiles; setupwraith off for the launcher; streaming apps, Assistant, Chromecast, AirPlay/HomeKit, BRAVIA CAM packages and firmware updates kept; reboot-checked twice, lived with a week; a Widevine L1 wedge on this firmware is cleared by a reboot, not the list. Second unit, a 55\" on the same build: Sony Select is not installed on it, Ethernet with no saved network makes the setupwraith guard fail closed (FORCE_SETUPWRAITH=1), and with no key helper bound the Input, Settings, Home and Back buttons all still work while volume ramps again ([key-repeat note](../docs/devices/tcl-55p71b-g09-key-repeat.md))"}