Skip to content

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

examples/sony-bravia-vu31: remote app buttons go through launcherx

Renjith Sasidharan0c1492fad87d
diff --git a/examples/sony-bravia-vu31/debloat.txt b/examples/sony-bravia-vu31/debloat.txt
index a2daa4c86..f2b5a626c 100644
--- a/examples/sony-bravia-vu31/debloat.txt
+++ b/examples/sony-bravia-vu31/debloat.txt
@@ -33,6 +33,26 @@
# - Sony's Timers & Clock declares two leanback activities with one label, which showed as two tiles
# (launcher fix in #298).
# - Real remote checked after the switch: Home, Input, the mic and the app buttons all work.
+#
+# Third VU31, same build, 2026-10-21: the list above plus the launcher, reboot-checked. On this set the remote's
+# app buttons did NOT work once launcherx was off:
+# - Realtek's com.realtek.advancesetting owns the app buttons (`dumpsys window policy`: KEYCODE_BUTTON_2/4/14/15
+# go to its GlobalKeyReceiver), but on Google TV it does not open the app itself: Utils.startApp hands every
+# launch to launcherx's globalbutton.GlobalButtonLaunch_Receiver whenever the
+# com.google.android.feature.AMATI_EXPERIENCE feature is present. With launcherx disabled that broadcast has no
+# receiver and the press does nothing; logcat shows "Failed to find provider info for
+# ...launcherx.coreservices.DeviceModeContentProvider".
+# - Fix for four of them: app_keys in the launcher with INPUT_KEY_SERVICE=1, which catches the keycode first:
+# 201:com.google.android.youtube.tv, 202:com.google.android.youtube.tv (second YouTube button),
+# 191:com.netflix.ninja, 189:com.amazon.amazonvideo.livingroom. Checked with the real remote.
+# - SonyLIV (3004) and JioHotstar (3006) cannot be fixed this way: Realtek's KeyEventManager delivers those Sony
+# codes to advancesetting only, they never reach Android's input pipeline, so no accessibility service sees
+# them. Only re-enabling launcherx brings those two buttons back.
+# - InputKeyService also takes the Input key, but com.android.tv.action.VIEW_INPUTS resolves to
+# com.sony.dtv.smartui/.select.SmartSelectActivity here, the same menu the button opened before.
+# - The Ambient screensaver (dreamx) keeps working with launcherx disabled, for owners who want to keep it.
+# - com.android.camera2 is installed and crashes on open (the set has no camera); disabled here, not listed
+# because it has not been lived with yet.
# Sony promos, store demo and help tiles
com.sony.dtv.promos # My BRAVIA promos