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
Add Sony BRAVIA KD-65X82L (BRAVIA_VH22, Google TV 12)
Shivam Singh93e4a28d7f20
diff --git a/README.md b/README.mdindex 9e9645859..f30a94d71 100644--- a/README.md+++ b/README.md@@ -187,6 +187,7 @@ BYINTEK, JMGO, Portronics, Stellamore, Wanbo and XGIMI projectors| Sony BRAVIA KD-55X85J (2021, BRAVIA_VH2, MediaTek MT5895), South America | Google TV 12 || Sony BRAVIA KD-55XE8596 (2017, "BRAVIA 4K GB", BRAVIA_ATV2_EU, MediaTek MT5891), UK | Android TV 9 || Sony BRAVIA KD-65X80J (2021, BRAVIA_VH2, MediaTek), India | Google TV 10 |+| Sony BRAVIA KD-65X82L (2023, BRAVIA_VH22, MediaTek), India | Google TV 12 || Sony BRAVIA KD-65X9300D (2016, SVP-DTV15, MediaTek), Asia-Pacific | Android TV 8.0 || Sony BRAVIA TL2 (OD0M_EA_T32, TPV-built, MediaTek), Europe | Android TV 11 || Sony BRAVIA VU31 4K (BRAVIA_VU31_4K, Realtek), India | Google TV 14 |diff --git a/examples/README.md b/examples/README.mdindex 88e0942b6..062536808 100644--- a/examples/README.md+++ b/examples/README.md@@ -90,6 +90,7 @@ on that firmware, grouped and commented. These are starting points: comment out| `sony-kd-55x85j/` | Sony BRAVIA KD-55X85J (2021, BRAVIA_VH2, MediaTek MT5895), South America | Google TV 12 | Same build as the VH2 EU list; Samba TV ACR, Sony/Qterics agents, IDD, Sony promos/Select/tab, partner auto-installs, demo mode; Input key works without the service; setupwraith, launcherx and dreamx off after the launcher, ClockDream screensaver; reboot-checked || `sony-kd-55xe8596/` | Sony BRAVIA KD-55XE8596 (2017, "BRAVIA 4K GB", BRAVIA_ATV2_EU, MediaTek MT5891), UK | Android TV 9 | Same product as `sony-bravia-4k-gb/` on the older S52 build: Samba TV ACR, Sony/Qterics agents, Sony Select/promos/Discover, recommendation rows, partner auto-installs, demo mode, hotel/pro-mode b2b packages; Chromecast, mirroring, DLNA, USB media, Assistant and phone remote kept; UK Live TV hands over to YouView, so launch `com.sony.dtv.tvx`; webapi kept for Home Assistant || `sony-kd-65x80j/` | Sony BRAVIA KD-65X80J (2021, BRAVIA_VH2, MediaTek), India | Google TV 10 | Samba TV, Sony device agents, Sony Select/tab, hotel-mode services, BRAVIA CAM leftovers; setupwraith off for a custom launcher; 4 GB /data fills up, trim caches before installing |+| `sony-kd-65x82l/` | Sony BRAVIA KD-65X82L (2023, BRAVIA_VH22, MediaTek), India | Google TV 12 | Same firmware build as the VH21 list: Samba TV ACR, Sony/Qterics agents, IDD, Sony promos/Select/tab, demo mode; YouTube Music, Play Games, Sony IoT/phone link, help, Living Decor, eco dashboard and BRAVIA CAM extras off by choice; setupwraith off for the launcher (it owned only an unused 2.4 GHz network); gear button is scancode 646; Assistant, Chromecast, AirPlay, Apple TV, firmware updates kept; reboot-checked || `sony-kd-65x9300d/` | Sony BRAVIA KD-65X9300D (2016, SVP-DTV15, MediaTek), Asia-Pacific | Android TV 8.0 | No Samba TV; Sony Select/Discover/BIVL, launcher customizer, Sony/Qterics device agents, SDDP vendorprotocol, tutorials, dead Play Music/Movies; DLNA, USB media, Vewd, Japanese keyboard off by choice; Chromecast, voice, Prime Video, HbbTV kept; 32-bit, 1.5 GB; Inputs lists HDMI 1-4 with CEC names; reboot-checked || `sony-bravia-tl2/` | Sony BRAVIA TL2 (OD0M_EA_T32, TPV-built, MediaTek), Europe | Android TV 11 | TPV org.droidtv platform like the Philips 50PUS8517, not the usual Sony one: no Samba TV or Sony agents; retail demo, TPV partner auto-installs, Google feedback/Play Games; Prime Video, Disney+, Red Bull TV and preloaded games off by choice; stock tvlauncher off for the launcher; org.droidtv untouched, e-manual only hidden; Assistant, Chromecast, phone remote, updates kept; USB debugging alone opens 5555; ~1.7 GB; reboot-checked || `sony-bravia-vu31/` | Sony BRAVIA VU31 4K (BRAVIA_VU31_4K, Realtek), India | Google TV 14 | First Realtek Sony list: no Samba/Qterics/IDD agents on this firmware; Sony promos/Select/tab, demo, help; Google feedback/Play Games/partner setup; ambient screensaver (basic dream set first); unused preloads off by choice; Alexa, Chromecast, AirPlay, Assistant kept; USB debugging alone opens 5555; 2 GB; launcher on a second set: setupwraith before launcherx, Live TV/HDMI in com.android.tv, Input key needs no service, applicationdisabler re-enables Eco Dashboard |diff --git a/examples/sony-kd-65x82l/debloat.txt b/examples/sony-kd-65x82l/debloat.txtnew file mode 100644index 000000000..30b92c421--- /dev/null+++ b/examples/sony-kd-65x82l/debloat.txt@@ -0,0 +1,64 @@+# Sony BRAVIA KD-65X82L (2023, device BRAVIA_VH22, MediaTek), India+# Google TV 12 (API 31), build BRAVIA_VH22_M_PA-user 12 STT2.230505.001.S136 682241+#+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/sony-kd-65x82l/debloat.txt+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/sony-kd-65x82l/debloat.txt com.google.android.apps.tv.launcherx+# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.+#+# Based on examples/sony-bravia-4k-vh21 (same firmware build).+# Kept by owner's choice: Google Assistant (katniss, voicesearch, assistantadapter), Chromecast (mediashell),+# AirPlay/HomeKit, Sony updates, Apple TV app, Google TV movies, text-to-speech, UEI QuickSet.+# Kept as unclear: com.sony.dtv.sensingfusionservice (backed by a running sensingFusion HAL, likely the+# ambient light sensor) and com.sony.dtv.frame.+# Live TV / input app: com.sony.dtv.tvx. Keep tvinput.*, braviasync*, tvapi, sonysystemservice, imeproxy,+# irblaster/irbservice and all com.mediatek.*.+#+# ADB: the TV shows only "ADB debugging" (no separate USB toggle); it opens port 5555, and the "Allow USB+# debugging?" prompt appears on first connect. ro.adb.secure=1.+# Launcher: installed with launcher/build-and-install.sh, which disabled launcherx and set Home on the first try+# once setupwraith (batch 3) was off. Set live_tv_package and hidden_apps to com.sony.dtv.tvx. The remote's+# gear button stops working with launcherx off: it is scancode 646 (0x286, HID 0x0c0586, device "SONY TV VRC+# 001"), so settings_key_scancodes [646] with HOME_KEY_SERVICE=1 brings it back.+# The display runs a 1920x1080 override on the 3840x2160 panel at density 320; that is the factory state.+# Applied 2026-10-21 in three batches with a screenshot and crash-log check after each, then reboot-checked: all+# disabled packages stayed disabled, Home stayed on the launcher. At that boot com.sony.dtv.sonysystemservice+# crashed once ("GoToSleepInterface has already initialized") and restarted on its own; not seen before the+# debloat because no earlier boot was logged. Not lived with for days yet.++# Batch 1: tracking, ads, demo mode+tv.samba.ssm # Samba TV fingerprints what's on screen+tv.samba.ssm.ui+com.sonyericsson.idd.agent # Sony IDD usage-data agent+com.sony.dtv.usercontext # user context providers+com.qterics.da.product # Qterics device agent+com.sony.dtv.da.service # remote-support session service+com.google.android.feedback+com.sony.dtv.promos+com.sony.dtv.sonyselect # Sony Select app recommendations+com.sony.dtv.sonytab # Sony content tab / partner rows+com.sony.dtv.demosupport+com.sony.dtv.demosystemsupport+com.sony.dtv.multiscreendemo+com.vewd.core.integration.dia # Vewd+com.vewd.core.service++# Batch 2: extras the owner doesn't use+com.google.android.youtube.tvmusic+com.google.android.play.games+com.sony.dtv.seeds.iot # Sony smart-home / phone-app link (BRAVIA Connect)+com.sony.dtv.seeds.iot.remotestart+com.sony.dtv.seeds.auth # account link for the above+com.sony.dtv.helpguidecontents+com.sony.dtv.smarthelp+com.sony.dtv.livingfit # Living Decor+com.sony.dtv.ecodashboard+com.sony.dtv.distancealert # BRAVIA CAM (optional accessory) features+com.sony.dtv.gestureapp+com.sony.dtv.sensingcamera.settings+com.sony.dtv.sensingcamera.fwupdate++# Batch 3: Google TV setup wizard, which also claims HOME (RecoveryActivity, priority 1) and would keep+# Home away from the new launcher. Check `dumpsys wifi | grep -o 'cname=[^ ]*'` first: a network it owns+# is deleted when it is disabled. Here it owned only an unused 2.4 GHz entry, the TV is on 5 GHz+# (re-joined in Settings), so it ran with FORCE_SETUPWRAITH=1.+com.google.android.tungsten.setupwraith