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 9 II (K-65XR90M2, Google TV 14)
JegoVPN871c4925c387
diff --git a/README.md b/README.mdindex 4fb0d03e3..8fe924297 100644--- a/README.md+++ b/README.md@@ -79,7 +79,7 @@ install any launcher at all; their lists say so in the header.Tested lists from contributors, one folder per model in [`examples/`](examples/):-**Xiaomi** 8 · **TCL** 7 · **Sony** 2 · BenQ · CHiQ · Chromecast with Google TV · Hisense · Insignia Fire TV ·+**Xiaomi** 8 · **TCL** 7 · **Sony** 3 · BenQ · CHiQ · Chromecast with Google TV · Hisense · Insignia Fire TV ·NVIDIA Shield · OnePlus · Philips · RCA · SANYO · Toshiba Fire TV · Stellamore and XGIMI projectors<details>@@ -98,6 +98,7 @@ NVIDIA Shield · OnePlus · Philips · RCA · SANYO · Toshiba Fire TV · Stella| RCA AI PONT SA (Changhong, redwood, ISDB92RC; also sold as realme 40-inch) | Android 14 || SANYO ATV R2 (SCBC, Realtek RTD285O) | Android TV 9 || Sony BRAVIA 4K UR2 (BRAVIA_UR2_4K, MediaTek) | Android TV 10 |+| Sony BRAVIA 9 II (K-65XR90M2, BRAVIA_AE3, MediaTek MT5838) | Google TV 14 || Sony BRAVIA XBR-65X900E (2017, BRAVIA_ATV2) | Android TV 9 || Stellamore T950S projector (Droidlogic be30a3, Amlogic txhd2) | Android 13 || TCL 55" 4K Google TV, 2023 (G10, G10_4K_US_NF) | Google TV 12 |diff --git a/examples/README.md b/examples/README.mdindex 038cce39f..0a02cf872 100644--- a/examples/README.md+++ b/examples/README.md@@ -16,6 +16,7 @@ on that firmware, grouped and commented. These are starting points: comment out| `rca-ai-pont/` | RCA AI PONT SA (Changhong, redwood, ISDB92RC; also sold as realme 40-inch) | Android 14 | Homwee store and installers, Anoki ACR, FAST channels; 1 GB || `sanyo-atv-r2/` | SANYO ATV R2 (SCBC, Realtek RTD285O) | Android TV 9 | S-Channels, E-SHOW demo, Vewd, TV Booster, SANYO OTA || `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-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-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 || `stellamore-t950s/` | Stellamore T950S projector (Droidlogic be30a3, Amlogic txhd2) | Android 13 | Zeasn App Store and stock launcher both bundle Google Ads (doubleclick); Zeasn device portal/OTA, Stellamore factory/test/guide; 1 GB; keystone correction must stay enabled || `tcl-g10-google-tv/` | TCL 55" 4K Google TV, 2023 (G10, G10_4K_US_NF) | Google TV 12 | TCL TV+, TCL Live, store demo, smartlink installer |diff --git a/examples/sony-bravia-9-ii/debloat.txt b/examples/sony-bravia-9-ii/debloat.txtnew file mode 100644index 000000000..d7f753309--- /dev/null+++ b/examples/sony-bravia-9-ii/debloat.txt@@ -0,0 +1,68 @@+# Sony BRAVIA 9 II, K-65XR90M2 (2026, device BRAVIA_AE3, product BRAVIA_AE3_PA, MediaTek MT5838 / mt5897)+# Google TV 14 (API 34), build UKN4.250422.001 603100, security patch 2026-07-05. 4.5 GB RAM.+#+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/sony-bravia-9-ii/debloat.txt+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/sony-bravia-9-ii/debloat.txt com.google.android.apps.tv.launcherx+# (restore.sh defaults to tvlauncher, which this TV does not have: pass launcherx)+# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.+#+# Applied in small batches on 2026-10-19 with a screenshot and crash-log check after each, then the+# launcher installed and Home, Inputs, the Input key and voice checked the same evening. Not yet lived+# with for days; if something breaks, re-enable it with `pm enable <package>` and please report it.+#+# Connecting: USB debugging alone leaves port 5555 closed. Pair once with the stock adb through+# Developer options > Wireless debugging > Pair device with pairing code (`adb mdns services` shows the+# pairing port), `adb connect <ip>:<connect port>`, then `adb tcpip 5555`. tools/tv.py works from then on.+# Developer options: Settings > System > About > "Android TV OS build" (not "Android TV OS version",+# which only shows the Android logo).+#+# Stock launcher: com.google.android.apps.tv.launcherx; com.google.android.tungsten.setupwraith also+# claims HOME (priority 1), so it is in this list.+# Keep: com.mediatek.external (HDMI inputs), com.mediatek.tis (analog), com.sony.dtv.tvinput.dvbtuner,+# com.sony.dtv.tvlin (Live TV / input player), braviasync*, sonysystemservice, settingsprovider, imeproxy,+# irblaster/irbservice and com.uei.quicksetsdk (IR blaster), sensingcamera.* (BRAVIA CAM), all com.mediatek.*.+# Left alone on purpose: com.sony.dtv.b2b.* (pro mode), webapi (IP control), interactivetvutil (voice+# logging, but also voice plumbing), fingerprinterserver/usercontext/lastaccess/crashlogcollector+# (purpose unclear from their components).+# Kept by owner's choice: Sony firmware updates, AirPlay (com.sony.dtv.airplayapp), voice / Gemini+# (katniss, assistantadapter, voicesearch), all streaming apps.+#+# Launcher notes from this firmware (verified on the TV, 2026-10-19):+# - config.xml: live_tv_package and hidden_apps = com.sony.dtv.tvlin. Its VIEW filter matches by MIME type+# only, so `resolve-activity` on a passthrough URI says "No activity found" unless you add+# -t vnd.android.cursor.item/channel; the launcher sends the type and HDMI 1-4 + Live TV work.+# - The remote's Input key opens Sony's own bottom panel (a system overlay, independent of launcherx):+# INPUT_KEY_SERVICE is not needed.+# - Voice / Gemini keep working without launcherx: ASSISTANT role, ASSIST and SEARCH all resolve to+# com.google.android.katniss. (The Gemini *tab* is part of launcherx and goes away with it.)+# - The TV has a hardware mic privacy switch; "Microphone is blocked" means that switch, not the debloat.++# ACR viewing tracker and telemetry+tv.samba.ssm # Samba TV, fingerprints what's on screen (Firebase inside)+tv.samba.ssm.ui # Samba TV opt-in / privacy screens+com.qterics.da.product # Qterics device agent+com.sony.dtv.da.service # Sony device agent+com.sonyericsson.idd.agent # Sony IDD usage-data agent+com.google.android.feedback++# Sony promos and content feeds+com.sony.dtv.promos # My BRAVIA promos+com.sony.dtv.sonyselect # Sony Select app promos+com.sony.dtv.sonytab # Sony tab / partner content on the stock home++# Retail demo+com.sony.dtv.demosupport+com.sony.dtv.demosystemsupport+com.sony.dtv.multiscreendemo++# Optional features, off by owner's choice+com.google.android.apps.mediashell # Chromecast built-in++# Needed for a custom launcher on Google TV: the setup wizard grabs Home once launcherx is disabled.+# Re-enable it (restore.sh does) before a factory reset.+# WARNING: if Wi-Fi was set up during the first-run wizard, the saved network belongs to setupwraith and+# Android DELETES it the moment setupwraith is disabled (wifi log: FRAMEWORK_DISCONNECT+# reason=DISCONNECT_NETWORK_REMOVED, then "No configured networks"); the TV drops off the network and+# ADB with it. Check first: `dumpsys wifi | grep -o 'cname=[^ ]*'`. If it is not android.uid.system,+# forget the network and re-join it in Settings > Network (or use Ethernet) BEFORE disabling this.+com.google.android.tungsten.setupwraith