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: add Sony BRAVIA 4K VH21 (KD-65X85K, Google TV 12), Australia
swordfish69756334f451a7c6
diff --git a/README.md b/README.mdindex f322f078b..eac216ac9 100644--- a/README.md+++ b/README.md@@ -172,6 +172,7 @@ Toshiba Fire TV · Vu · Stellamore and XGIMI projectors| Sony BRAVIA KD-55X85J (2021, BRAVIA_VH2, MediaTek MT5895), South America | Google TV 12 || Sony BRAVIA KD-65X80J (2021, BRAVIA_VH2, MediaTek), India | Google TV 10 || Sony BRAVIA KD-65X9300D (2016, SVP-DTV15, MediaTek), Asia-Pacific | Android TV 8.0 |+| Sony BRAVIA 4K VH21 (KD-65X85K, 2022, BRAVIA_VH21, MediaTek MT5895), Australia | Google TV 12 || Sony BRAVIA VU31 4K (BRAVIA_VU31_4K, Realtek), India | Google TV 14 || Sony BRAVIA XBR-65X900E (2017, BRAVIA_ATV2) | Android TV 9 || Sony BRAVIA XBR-65X900F (2018, BRAVIA_ATV3_4K, MediaTek MT5891), US/Canada | Android TV 9 |diff --git a/examples/README.md b/examples/README.mdindex 2b8013695..96da1724e 100644--- a/examples/README.md+++ b/examples/README.md@@ -46,6 +46,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-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-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-vh21/` | Sony BRAVIA 4K VH21 (KD-65X85K, 2022, BRAVIA_VH21, MediaTek MT5895), Australia | Google TV 12 | Samba TV ACR, Sony/Qterics agents, IDD, Sony promos/Select/tab, demo mode; QuickSet, TTS, Sony IoT and BRAVIA CAM gestures off to free ~120 MB; Assistant and unused AU preloads off by choice; setupwraith off for the launcher (on Ethernet); Chromecast, AirPlay, HbbTV, firmware updates kept; 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, debloat only || `sony-xbr-x900e/` | Sony BRAVIA XBR-65X900E (2017, BRAVIA_ATV2) | Android TV 9 | Samba TV ACR, Sony Select, My BRAVIA promos, Discover, device agents; Chromecast, DLNA, mirroring off by choice || `sony-xbr-65x900f/` | Sony BRAVIA XBR-65X900F (2018, BRAVIA_ATV3_4K, MediaTek MT5891), US/Canada | Android TV 9 | Same build as the X900E on the next platform (ATV3); Samba TV, Sony Select/promos/Discover, Google recommendation rows, demo mode, device agents, Alexa setup app; Assistant, mirroring, DLNA, phone remote, USB players off by choice; Chromecast kept; the sponsored banner is the stock launcher's own |diff --git a/examples/sony-bravia-vh21/debloat.txt b/examples/sony-bravia-vh21/debloat.txtnew file mode 100644index 000000000..3a7e0329e--- /dev/null+++ b/examples/sony-bravia-vh21/debloat.txt@@ -0,0 +1,73 @@+# Sony BRAVIA 4K VH21 (KD-65X85K, 2022, device BRAVIA_VH21, MediaTek MT5895), Australia+# Android 12 (Google TV, API 31), build BRAVIA_VH21_M_PA-user 12 STT2.230505.001.S136 682241, 3 GB RAM+#+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/sony-bravia-vh21/debloat.txt+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/sony-bravia-vh21/debloat.txt com.google.android.apps.tv.launcherx+# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.+#+# Stock launcher: com.google.android.apps.tv.launcherx (Google TV). Pass it to restore.sh as above;+# build-and-install disables it, so it is not in this list.+# Live TV / tuner app: com.sony.dtv.tvx (set it as live_tv_package in the launcher's config.xml and hide it).+# Keep the com.sony.dtv.tvinput.* services, com.sony.dtv.braviasync*, tvapi, sonysystemservice, imeproxy,+# settingsprovider, systemupdate/update, the Sony settings apps and all com.mediatek.*: they drive HDMI,+# the tuner, Bravia Sync, updates and the remote.+# Kept by owner's choice: Chromecast built-in (mediashell), AirPlay/HomeKit (airplayapp, homekit),+# firmware updates, HbbTV / Freeview Plus (interactivetvutil), DLNA, Sony IP control (webapi.core).+# Already disabled at the factory: com.sonypicturescore, com.sony.dtv.b2b.vendorprotocol,+# com.sony.dtv.b2b.softap, com.sony.dtv.kenhchonloc. Not in this list, so restore.sh leaves them alone.+#+# Launcher: the launcher must target SDK 30+ (it does now) or Play Protect blocks the install on this+# firmware as "built for an older version of Android". Inputs lists the PS5 on HDMI 1 twice (the port and+# its CEC device input) on this firmware.+# Speed: memory was the bottleneck (swap full, ~480 MB available with the streaming apps open). The last+# group below frees ~120 MB of always-running services; window/transition/animator scales set to 0.5 and+# `pm trim-caches` (/data went from 81% to 65% full) helped too. Reboot-checked; Ethernet, so setupwraith+# owned no saved Wi-Fi network here (check with `dumpsys wifi` before disabling it on Wi-Fi).+# Applied 19-20 Oct 2026; not yet lived with for weeks. If something breaks, `pm enable <package>`+# and please report it.++# ACR viewing tracker+tv.samba.ssm # Samba TV fingerprints what's on screen+tv.samba.ssm.ui++# telemetry and remote support+com.sonyericsson.idd.agent # Sony IDD usage-data agent+com.sony.dtv.usercontext # user context providers, boot receiver only+com.qterics.da.product # Qterics device agent+com.sony.dtv.da.service # remote-support session service+com.google.android.feedback++# Sony ads, promos and recommendation rows+com.sony.dtv.promos+com.sony.dtv.sonyselect # Sony Select app recommendations+com.sony.dtv.sonytab # Sony content tab / partner rows++# demo / shop mode+com.sony.dtv.demosupport+com.sony.dtv.demosystemsupport+com.sony.dtv.multiscreendemo++# voice assistant (off by choice; the remote's mic button stops working)+com.google.android.katniss+com.sony.dtv.voicesearch+com.sony.dtv.assistantadapter++# preloaded apps (off by choice)+au.com.ninenow.ctv # 9Now+au.net.abc.iview # ABC iview+com.swm.live # 7plus+com.apple.atve.sony.appletv # Apple TV app+com.google.android.videos # Google TV movies (loses access to purchases in it)+com.google.android.play.games+com.vewd.core.integration.dia # Vewd+com.vewd.core.service++# always-running services, off by choice to free memory (~120 MB together)+com.uei.quicksetsdk.sony # UEI QuickSet: IR control of cable boxes/soundbars; HDMI-CEC unaffected+com.google.android.tts # Google text-to-speech: TalkBack and read-aloud stop working+com.sony.dtv.seeds.iot # Sony smart-home / phone-app link (BRAVIA Connect, remote start)+com.sony.dtv.gestureapp # BRAVIA CAM gestures (no camera on this set)++# Google TV setup wizard: with launcherx disabled its RecoveryActivity (HOME priority 1) outranks+# set-home-activity, and shell can't disable just that component. Re-enable before a factory reset.+com.google.android.tungsten.setupwraith