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: Sony BRAVIA 4K VH21 (XR-55A80K), EU firmware
Wouter Damman0eb60f0c48cd
diff --git a/README.md b/README.mdindex c9aafb767..e8c17d20a 100644--- a/README.md+++ b/README.md@@ -171,6 +171,7 @@ BYINTEK, JMGO, Portronics, Stellamore, Wanbo and XGIMI projectors| Sony BRAVIA 4K UR2 (BRAVIA_UR2_4K, MediaTek) | Android TV 10 || Sony BRAVIA 4K VH2 (KD-55X80J, BRAVIA_VH2, MediaTek), EU | Google TV 12 || Sony BRAVIA 4K VH21 (KD-65X85K, 2022, BRAVIA_VH21, MediaTek MT5895), Australia | Google TV 12 |+| Sony BRAVIA 4K VH21 (XR-55A80K, 2022, BRAVIA_VH21, MediaTek mt5895), EU | Google TV 12 || Sony BRAVIA 9 II (K-65XR90M2, BRAVIA_AE3, MediaTek MT5838) | Google TV 14 || Sony BRAVIA BF1 (BRAVIA 2 II class, BRAVIA_BF1_4K_A, MediaTek) | Google TV 12 || Sony BRAVIA KD-49X8307C (2015, "BRAVIA 4K 2015", SVP-DTV15, MediaTek), EU firmware | Android TV 7.0 |diff --git a/examples/README.md b/examples/README.mdindex efc67da78..853edca63 100644--- a/examples/README.md+++ b/examples/README.md@@ -76,6 +76,7 @@ on that firmware, grouped and commented. These are starting points: comment out| `sony-bravia-4k-ur2/` | Sony BRAVIA 4K UR2 (BRAVIA_UR2_4K, MediaTek) | Android TV 10 | Samba TV, Sony promos/Select, demo mode; Assistant, Chromecast, unused streaming apps off by choice || `sony-bravia-4k-vh2/` | Sony BRAVIA 4K VH2 (KD-55X80J, BRAVIA_VH2, MediaTek), EU | Google TV 12 | Samba TV ACR, Sony/Qterics device agents, demo mode, help tiles; setupwraith off for a custom launcher; Assistant, Chromecast, firmware updates kept || `sony-bravia-4k-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-4k-vh21-eu/` | Sony BRAVIA 4K VH21 (XR-55A80K, 2022, BRAVIA_VH21, MediaTek mt5895), EU | Google TV 12 | Samba TV ACR, Sony/Qterics agents, IDD, Sony Select, demo mode; Assistant, HbbTV, DLNA, IP control, QuickSet, TTS, gestures, Prime Video and Google TV Movies off by choice; setupwraith off for the launcher (Wi-Fi re-joined first); app buttons keep working via sonyvendorservice, YouTube/Prime/Disney+ share keycode 196 (scancodes 485/490/491); Chromecast, AirPlay, firmware updates kept; reboot-checked || `sony-bravia-9-ii/` | Sony BRAVIA 9 II (K-65XR90M2, BRAVIA_AE3, MediaTek MT5838) | Google TV 14 | Samba TV ACR, Sony/Qterics device agents, IDD, My BRAVIA promos, Sony Select and Sony tab, demo mode; setupwraith off for the launcher, but it owns Wi-Fi saved during setup and disabling it deletes that network; Chromecast off by choice || `sony-bravia-bf1/` | Sony BRAVIA BF1 (BRAVIA 2 II class, BRAVIA_BF1_4K_A, MediaTek) | Google TV 12 | Samba TV, Sony promos/Select, demo mode, preloaded apps; Home switch in steps (setupwraith), ambient screensaver, applicationdisabler re-enables IoT || `sony-kd-49x8307c/` | Sony BRAVIA KD-49X8307C (2015, "BRAVIA 4K 2015", SVP-DTV15, MediaTek), EU firmware | Android TV 7.0 | MediaTek MT5890 platform: Qterics/Sony device agents, Discover/BIVL recommendation services, Sony shelf, retail demo, help apps, Play Movies; stock launcher is `com.google.android.leanbacklauncher`, not tvlauncher, so pass it to `restore.sh`; `com.sony.dtv.tvx` also plays every HDMI input, keep it; voice and YouView off by choice; 1.5 GB RAM, free RAM increased from ~120 MB to ~500 MB; reboot-checked; list only, the launcher needs Android 8 (minSdk 26, see #146) |diff --git a/examples/sony-bravia-4k-vh21-eu/debloat.txt b/examples/sony-bravia-4k-vh21-eu/debloat.txtnew file mode 100644index 000000000..a45b18449--- /dev/null+++ b/examples/sony-bravia-4k-vh21-eu/debloat.txt@@ -0,0 +1,72 @@+# Sony BRAVIA 4K VH21 (XR-55A80K, 2022 OLED, device BRAVIA_VH21, MediaTek mt5895), EU firmware+# Android 12 (Google TV, API 31), build BRAVIA_VH21_EU-user 12 STT2.230505.001.S136 682241, 3 GB RAM+#+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/sony-bravia-4k-vh21-eu/debloat.txt+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/sony-bravia-4k-vh21-eu/debloat.txt com.google.android.apps.tv.launcherx+# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.+#+# Same device and build as sony-bravia-4k-vh21 (Australia); the EU firmware differs in its preloads+# (ARD, All 4, ITV, My5, iPlayer launchers, YouView, HD+, YouTube Music: all already disabled at the factory+# on this set, so not in this list) and has no AU broadcaster apps.+# Stock launcher: com.google.android.apps.tv.launcherx (Google TV). build-and-install disables it.+# Live TV / tuner app: com.sony.dtv.tvx. Keep the com.sony.dtv.tvinput.* services, tvapi, sonysystemservice,+# sonyvendorservice, imeproxy, settingsprovider, systemupdate/update, braviasync* and all com.mediatek.*:+# they drive HDMI, the tuner, the Input overlay, Bravia Sync, updates and the remote's app buttons.+# Kept by owner's choice: Netflix, YouTube, Apple TV, Chromecast built-in (mediashell), AirPlay/HomeKit,+# firmware updates. interactivetvutil kept: it holds a TokenProvider other Sony apps may read.+#+# Remote: the Netflix, YouTube, Prime Video and Disney+ buttons are routed by Sony's sonyvendorservice, not by+# the Google TV launcher, so they keep working after launcherx is disabled. YouTube, Prime Video and Disney++# all arrive as keycode 196 (scancodes 485, 490, 491), so remapping one of them needs a scancode entry in+# app_keys (scan:490:<package>) with HOME_KEY_SERVICE=1; a keycode remap (or a keycode-only remapper app)+# takes all three. KEYCODE_SETTINGS does nothing once launcherx is off; HomeKeyService brings it back.+# KEYCODE_TV_INPUT opens Sony's own input overlay, so INPUT_KEY_SERVICE is not needed here.+#+# setupwraith owned the Wi-Fi network saved during first setup: forget and re-join it in Settings before+# disabling setupwraith, or the TV drops off Wi-Fi. Other networks it still owns are deleted when it is disabled.+# Reboot-checked: everything below stayed disabled. Applied 21 Oct 2026. 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 and recommendations+com.sony.dtv.sonyselect # Sony Select app recommendations++# 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)+com.google.android.videos # Google TV movies (loses access to purchases in it)+com.google.android.play.games+com.vewd.core.service # Vewd (its integration package is already disabled at the factory)+com.amazon.amazonvideo.livingroom # Prime Video++# features not used (off by choice)+com.sony.dtv.hbbtvplayer # HbbTV / red button+com.sonyericsson.dlna # DLNA media server/renderer+com.sony.huey.dlna.module+com.sony.huey.dlna.renderersettings+com.sony.dtv.webapi.core # Sony IP control (phone/home-automation control over the network)+com.uei.quicksetsdk.sony # UEI QuickSet: IR control of cable boxes/soundbars; HDMI-CEC unaffected+com.sony.dtv.gestureapp # BRAVIA CAM gestures (no camera attached)+com.google.android.tts # Google text-to-speech: TalkBack and read-aloud stop working++# Google TV setup wizard: with launcherx disabled its RecoveryActivity takes Home. Re-enable before a+# factory reset. See the Wi-Fi note above first.+com.google.android.tungsten.setupwraith