Skip to content

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

examples: Sony BRAVIA 4K VH2, seventh unit (XR-55X90JK, Latin American firmware)

Felipe6d9b4127e112
diff --git a/docs/devices/sony-bravia-4k-vh2-remote-keys.md b/docs/devices/sony-bravia-4k-vh2-remote-keys.md
new file mode 100644
index 000000000..253d94e0a
--- /dev/null
+++ b/docs/devices/sony-bravia-4k-vh2-remote-keys.md
@@ -0,0 +1,84 @@
+# Sony BRAVIA 4K VH2 (XR-55X90JK, Latin America): Apps and Audio buttons after the debloat
+
+This is an owner report from 2026-10-31 for the seventh unit in
+[`examples/sony-bravia-4k-vh2/`](../../examples/sony-bravia-4k-vh2/debloat.txt). It is not an upstream
+launcher option. It records what the remote's Apps and Audio buttons do once launcherx is disabled, and the
+keyboard-layout overlay that gave Apps a job again without a key-filtering helper.
+
+## Observed firmware
+
+| Field | Observed value |
+|---|---|
+| Manufacturer | `Sony` |
+| Android model | `BRAVIA 4K VH2` |
+| Product | `BRAVIA_VH2_SA` (Latin American firmware), retail model XR-55X90JK |
+| Android / API | `12` / `31` |
+| Fingerprint | `Sony/BRAVIA_VH2_SA/BRAVIA_VH2:12/STT2.230505.001.S136/682241:user/release-keys` |
+| Remote | `SONY TV VRC 001`, vendor `054c`, product `0x0d8d` (Bluetooth) |
+| Home | the owner's own launcher (not this repo's); launcherx and setupwraith disabled |
+
+## Apps button: ALL_APPS goes nowhere
+
+The Apps key arrives as `KEY_APPSELECT`, scan code 580, HID usage `0x000c0544`, and the remote's key layout maps
+it to `ALL_APPS`. Android sends that only to the system-image Home, which with launcherx disabled is
+`com.android.tv.settings`, and nothing answers it. Logcat on each press:
+
+```text
+START u0 {act=android.intent.action.ALL_APPS pkg=com.android.tv.settings} from uid 1000
+```
+
+The same regression is described for the [KD-65A8F](sony-kd-65a8f-tw.md). It was fixed here with the overlay
+from the [VH22 Settings-key note](sony-bravia-4k-vh22-settings-key.md), applied to the Apps key:
+
+```text
+type OVERLAY
+map key 580 CALCULATOR
+```
+
+The owner's launcher provides the layout (a `QUERY_KEYBOARD_LAYOUTS` receiver) and answers
+`MAIN` + `APP_CALCULATOR` with an activity alias that opens its app list. The layout was selected for the
+remote as `shell` through `app_process`, with `InputManager.setCurrentKeyboardLayoutForInputDevice`.
+`cmd package resolve-activity ... -c android.intent.category.APP_CALCULATOR` found no handler before and only
+that alias afterwards. On the physical remote the owner confirmed:
+
+- Apps opens the list from Home and from YouTube; pressing it again in the launcher closes it.
+- Held volume still ramps (no accessibility service is involved).
+- After a reboot, `getCurrentKeyboardLayoutForInputDevice` still named the layout and Apps still worked.
+
+**Gotcha:** the HID-usage form is `map key usage 0x000c0544 CALCULATOR`. A first try written as
+`map usage 0x0c0544 CALCULATOR` (without `key`) made Android drop the whole overlay, so Apps kept sending
+`ALL_APPS`, and the only trace is one logcat line at the moment the layout is selected:
+
+```text
+E KeyCharacterMap: <package>/<package>.<Receiver>/<layout>:8: Expected keyword after 'map', got 'usage'.
+```
+
+`dumpsys input` keeps naming the vendor `.kcm` either way, so it cannot tell whether an overlay is active. The
+scan-code line alone was enough on this remote.
+
+## Audio button: the tuner app crashes
+
+`KEYCODE_MEDIA_AUDIO_TRACK` (222) does nothing on Home or in the apps tried. While watching TV it closes
+Sony's tuner app (`com.sony.dtv.tvx`, version `14.1.12-S`), which looks as if the button went Home. TVX
+receives the key, asks the TV input for its audio tracks (one track here) and then crashes while building its
+track dialog:
+
+```text
+FATAL EXCEPTION: main
+Process: com.sony.dtv.tvx
+java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.View.setVisibility(int)' on a null object reference
+ at com.sony.dtv.tvx.tvplayer.common.dialog.DialogListAdapter.getView(DialogListAdapter.java:147)
+```
+
+`com.sony.dtv.tvx` has one overlay, `com.sony.dtv.tvx.overlay.sortui`, and it is enabled. Re-enabling the two
+disabled packages whose `dumpsys` mentions TVX and that change TV behaviour, `b2b.hotelmode` and
+`b2b.rs232csupport`, did not stop the crash. The rest of the list was not restored to test it, so this does
+not prove a stock set crashes the same way. No workaround was tried.
+
+## What it does not cover
+
+- Standby/wake, a re-paired or second remote, and firmware updates were not tested with the overlay.
+- The Calculator category is reserved: a calculator app would compete for the key.
+- Nothing is shipped here: the provider and the selection step are in the owner's own launcher.
+
+This report omits network addresses, serials, Android IDs, MAC addresses and account details.
diff --git a/examples/sony-bravia-4k-vh2/debloat.txt b/examples/sony-bravia-4k-vh2/debloat.txt
index 67fab6ed6..7560de56b 100644
--- a/examples/sony-bravia-4k-vh2/debloat.txt
+++ b/examples/sony-bravia-4k-vh2/debloat.txt
@@ -136,6 +136,31 @@
# confirms the second unit's finding that Sony's firmware answers the buttons alone, on a BRAVIA_VH2_UC build.
# - The Play Store has a LEANBACK_LAUNCHER entry here, so it shows as a tile in the replacement launcher.
+# Seventh unit, Latin American firmware: XR-55X90JK, product BRAVIA_VH2_SA, Android 12/API 31, fingerprint
+# Sony/BRAVIA_VH2_SA/BRAVIA_VH2:12/STT2.230505.001.S136/682241 (the same build number as every unit above),
+# ro.adb.secure=1, on Ethernet with Wi-Fi off. Applied on 25 and 26 October 2026 in eight small batches with a
+# screenshot between them, with a custom launcher of the owner's own (not this repo's); lived with since,
+# reboots included, and nothing has broken (owner's report, 31 October). What this unit adds:
+#
+# - Factory-disabled here: promos, seeds.iot, b2b.vendorprotocol, sonypicturescore, youtube.tvmusic,
+# homekit and b2b.softap. Not installed: the India preloads (Amazon Music, Gaana, iTuner).
+# - Disabled from the list: the tracker, telemetry, demo and preloaded groups, sonyselect,
+# seeds.iot.remotestart, the Asia-Pacific agents (sonytab, autoinstalls, lastaccess, usercontext, vewd,
+# helpguidecontents, livingfit), google.android.videos, setupwraith, and from the commented groups at the
+# end b2b.hotelmode, b2b.rs232csupport, accessibility.tutorial, gestureapp, launcherx and
+# launcherxcustomizer. Also com.sony.dtv.ecodashboard, which no list here disabled before (commented line
+# at the end). DLNA, Sony's Media Player, AirPlay, Assistant, Chromecast built-in and firmware updates kept.
+# - osat.music (Sony's music player) was disabled on 25 October and re-enabled by the owner on 31 October
+# to use it, not because anything broke.
+# - launcherx registers HOME at priority=2 here as on the UC and PA units, so it had to be disabled once the
+# new launcher was Home. With it off, Sony's firmware answered the remote's Input, gear and app buttons
+# without any key service, checked on the real remote.
+# - The remote's Apps button (scan 580, ALL_APPS) then does nothing, as on the KD-65A8F; the key-layout
+# overlay from ../../docs/devices/sony-bravia-4k-vh22-settings-key.md brings it back without an
+# accessibility service. See ../../docs/devices/sony-bravia-4k-vh2-remote-keys.md for this remote.
+# - The Audio button closes the tuner app (com.sony.dtv.tvx) while watching TV. That is a crash in TVX
+# itself, not this list: it still crashed with b2b.hotelmode and b2b.rs232csupport enabled again. Same note.
+
# ACR viewing tracker
tv.samba.ssm # Samba TV fingerprints what's on screen
tv.samba.ssm.ui
@@ -183,7 +208,9 @@ com.sonypicturescore # Sony Pictures Core (factory-dis
com.google.android.videos # Google TV Movies & TV
# Asia-Pacific unit, one day only so far: disabled on the third unit four days after the rest, no
-# problem yet. Uncomment to try them.
+# problem yet. Uncomment to try them. On the seventh (Latin American) unit hotelmode, rs232csupport,
+# accessibility.tutorial and gestureapp were disabled on 25-26 October and lived with for at least five days; the DLNA
+# packages were kept there by choice.
# com.sony.dtv.b2b.hotelmode # hotel/pro mode
# com.sony.dtv.b2b.rs232csupport # RS-232C control for hotel installs
# com.sony.dtv.accessibility.tutorial
@@ -191,6 +218,7 @@ com.google.android.videos # Google TV Movies & TV
# com.sonyericsson.dlna # DLNA media server/renderer; Chromecast is separate
# com.sony.huey.dlna.module
# com.sony.huey.dlna.renderersettings
+# com.sony.dtv.ecodashboard # Eco dashboard; seventh unit only, lived with six days
# Google TV setup wizard: claims HOME and takes over once the stock launcher is disabled
com.google.android.tungsten.setupwraith
diff --git a/examples/sony-bravia-4k-vh2/tv.json b/examples/sony-bravia-4k-vh2/tv.json
index 3694a71c7..5fe92ca95 100644
--- a/examples/sony-bravia-4k-vh2/tv.json
+++ b/examples/sony-bravia-4k-vh2/tv.json
@@ -1,6 +1,6 @@
{
- "tv": "Sony BRAVIA 4K VH2 (KD-55X80J / XR-65A83J, BRAVIA_VH2, MediaTek), EU, North America and India",
+ "tv": "Sony BRAVIA 4K VH2 (KD-55X80J / XR-65A83J / XR-55X90JK, BRAVIA_VH2, MediaTek), EU, North America, India and Latin America",
"os": "Google TV 12",
"brand": "Sony",
- "notes": "Samba TV ACR, Sony/Qterics device agents, demo mode, help tiles; setupwraith off for a custom launcher; Sony promos/Select/IoT off (factory-disabled on EU, enabled on UC); Assistant, Chromecast, firmware updates kept; on UC, PA (India) and the XR-65A83J M_EU unit, launcherx outranks set-home-activity at priority=2, so the stock launcher must be disabled too; PA unit adds Sony tab, partner auto-installs, usage agents and India preloads (Gaana, Amazon Music, iTuner, Sony Pictures Core); XR-65A83J owner apps (Spotify, Tidal, CuriosityStream, Facebook) also disabled and lived with"
+ "notes": "Samba TV ACR, Sony/Qterics device agents, demo mode, help tiles; setupwraith off for a custom launcher; Sony promos/Select/IoT off (factory-disabled on EU, enabled on UC); Assistant, Chromecast, firmware updates kept; on UC, PA (India), the XR-65A83J M_EU and the XR-55X90JK SA units, launcherx outranks set-home-activity at priority=2, so the stock launcher must be disabled too; PA unit adds Sony tab, partner auto-installs, usage agents and India preloads (Gaana, Amazon Music, iTuner, Sony Pictures Core); XR-65A83J owner apps (Spotify, Tidal, CuriosityStream, Facebook) also disabled and lived with; [remote keys note](../docs/devices/sony-bravia-4k-vh2-remote-keys.md) (Apps button, Audio button in TVX)"
}