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 KD-55X8000C (SVP-DTV15), China firmware
lanrf3aab74d9061
diff --git a/README.md b/README.mdindex e84c36dbc..d801cf901 100644--- a/README.md+++ b/README.md@@ -249,6 +249,7 @@ Anker Nebula, BYINTEK, Epson, Formovie, Gadnic, JMGO, Portronics, Stellamore, Wa| 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 |+| Sony BRAVIA KD-55X8000C (2015, "BRAVIA 4K 2015", SVP-DTV15, MediaTek), China firmware | Android TV 7.0 || Sony BRAVIA KD-55X8509C (2015, "BRAVIA 4K 2015", SVP-DTV15, MediaTek), EU firmware | Android TV 7.0 || Sony BRAVIA KD-55X85J (2021, BRAVIA_VH2, MediaTek MT5895), South America | Google TV 12 || Sony BRAVIA KD-55XF8096 (2018, "BRAVIA 4K GB ATV3", BRAVIA_ATV3_4K_EU, MediaTek MT5891), Spain | Android TV 9 |diff --git a/examples/README.md b/examples/README.mdindex 32a0887be..d8fb7d2c7 100644--- a/examples/README.md+++ b/examples/README.md@@ -128,6 +128,7 @@ on that firmware, grouped and commented. These are starting points: comment out| `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) |+| `sony-kd-55x8000c/` | Sony BRAVIA KD-55X8000C (2015, "BRAVIA 4K 2015", SVP-DTV15, MediaTek), China firmware | Android TV 7.0 | China firmware without Google services (no Play Store, katniss, YouView): Sony's preloaded 应用中心 (`com.sony.dangbeimarket`) is what fills the home's paid-app 推荐 row, disabled here; 华数TV and QQ音乐 off; 屏幕镜像 kept because the Inputs menu carries a fixed entry for it (a dead source otherwise); debloat only out of the box, the launcher needs Android 8 (minSdk 26), but the minSdk 24 build from #608 installs, runs and takes Home here || `sony-kd-55x8509c/` | Sony BRAVIA KD-55X8509C (2015, "BRAVIA 4K 2015", SVP-DTV15, MediaTek), EU firmware | Android TV 7.0 | Oldest chip in the Sony lists: Qterics/Sony device agents, Discover/BIVL and the recommendation services, Sony Select/shelf, retail demo, help apps, dead Video Unlimited; the 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, 1,144 → 991 MB used RAM; list only, the launcher half needs Android 8 (minSdk 26, see #146) || `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-55xf8096/` | Sony BRAVIA KD-55XF8096 (2018, "BRAVIA 4K GB ATV3", BRAVIA_ATV3_4K_EU, MediaTek MT5891), Spain | Android TV 9 | Same hardware as `sony-kd-55xe8596/` on the S54 build (ATV3 vs ATV2): Samba TV ACR, Sony/Qterics agents, Sony Select/promos/Discover, Discover feeds (bivlinfo), Alexa setup (smarthomesettings, runs at boot), recommendation rows, partner auto-installs, demo mode, hotel/pro-mode b2b packages; DLNA, IR universal remote and HbbTV (red button) kept; webapi kept for Home Assistant; reboot-checked |diff --git a/examples/sony-kd-55x8000c/debloat.txt b/examples/sony-kd-55x8000c/debloat.txtnew file mode 100644index 000000000..c19649fb1--- /dev/null+++ b/examples/sony-kd-55x8000c/debloat.txt@@ -0,0 +1,101 @@+# Sony BRAVIA KD-55X8000C (2015, "BRAVIA 4K 2015", device SVP-DTV15, MediaTek), China firmware+# Android TV 7.0 (API 24), build SVP4KDTV15_CN-user 7.0 NRD91N.S35 5.435, 1.5 GB RAM, Ethernet+#+# Apply: $env:TV_HOST="<tv ip>"; tools\disable.ps1 examples\sony-kd-55x8000c\debloat.txt (Windows)+# Undo: $env:TV_HOST="<tv ip>"; tools\restore.ps1 examples\sony-kd-55x8000c\debloat.txt (Windows)+# TV_HOST=<tv ip> tools/disable.sh examples/sony-kd-55x8000c/debloat.txt (macOS/Linux)+# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.+#+# Stock launcher: com.google.android.leanbacklauncher (the 2015 Sony launcher, NOT tvlauncher).+# It is NOT in this list: the launcher half needs Android 8 (minSdk 26), this set is API 24, so the+# stock home stays. Home also answers fallback com.android.tv.settings/.system.FallbackHome.+# Live TV / input app: com.sony.dtv.tvx. Keep it: it also plays every HDMI input.+# Keep: com.sony.dtv.tvinput.*, braviasync* (HDMI-CEC), remotepairing, uinputservice, imeproxy,+# leanback.ime, softwarekeyboard (ime.chww), settingsprovider, mtktvapi.agent, com.mediatek.*,+# chinaapkenabler (China setup/app plumbing), partnerkeycn + systemapp + scrums.action (remote keys),+# servicemode, webapi, dialservice, hddmgr, timers, usbmsgservice, audiooutput, configsettings,+# interactivetv* (screens on/off, time, discovery plugins), irbservice, rcplayer*.+# 屏幕镜像: the Inputs menu's fixed entry opens com.sony.dtv.networkapp.wifidirect+# (.ui.screens.ScreenMirroringHomeActivity); screnmirroring.com + com.mediatek.wfd are the WFD stack+# behind it, so with those two disabled the entry stays and does nothing.+# com.sony.dtv.b2b.hotelmode is kept too: Settings reads its hotelsettings provider (see the b2b group).+#+# This firmware has no Google Play Services: there is no Play Store, no katniss/pumpkin voice, no+# YouView, no Play Movies/Music. The Google packages in the EU 2015 Sony lists do not exist here.+#+# Only packages that ship with this firmware are listed; apps installed after purchase are not.+# Also kept: com.sony.dtv.appassistant (应用助手, preloaded).+#+# Reported on one China-market KD-55X8000C, one evening of use. If something breaks, re-enable it with+# `pm enable <package>` and please report it.++# Video/content apps the owner does not use (they start at boot and held ~250 MB of the 1.5 GB)+com.wasu.wasutvcs # 华数TV, preloaded+com.tencent.qqmusictv # QQ音乐, preloaded and updated+com.sony.dtv.qq # QQ音乐 preload, with Tencent remote-device service+com.sony.dtv.mysony # My Sony 会员尊享 (membership/promo app)++# Sony's preloaded 应用中心 (a partner build of 当贝市场): it is what fills the home's 推荐 row with+# paid-app cards.+com.sony.dangbeimarket++# Sony Discovery / recommendation rows and promo feeds+com.sony.dtv.discovery # Discover bar, ~28 MB resident+com.sony.dtv.discovery.plugin.wasuplugin # 华数 plugin feeding Discover+com.sony.dtv.discovery.plugin.wasusearch # 华数 search provider+com.sony.dtv.bivlinfo # BIVL service behind Discover+com.sony.dtv.recommendationservice+com.sony.dtv.watchtvrecommendation+com.sony.dtv.irbrecommendation+com.sony.dtv.networkrecommendation++# Help, tutorials, manual+com.sony.dtv.customersupport+com.sony.dtv.smarthelp+com.sony.dtv.imanual # i-Manual+com.sony.dtv.touchpad.tutorial++# Retail demo / shop mode+com.sony.dtv.demomode+com.sony.dtv.shopsettings++# Telemetry, remote support, device-ID and push+com.qterics.da.product # Qterics device agent+com.sony.dtv.da.service # Sony device agent+com.sony.dtv.remoteaccess # Sony remote support+com.sony.dtv.duid.generator # tracking ID generator+com.sony.dtv.servermgr # Sony push (C2DM receiver)++# Hotel / commercial / pro mode+# com.sony.dtv.b2b.hotelmode is NOT here: it provides the com.sony.dtv.b2b.hotelsettings provider that+# com.android.tv.settings' MainFragment reads while it builds the menu. Disabled, Settings opens to a+# blank screen (the fragment dies on the missing provider) and HomeKeyService-style Settings buttons look+# broken. One evening of use found this; keep it enabled.+com.sony.dtv.b2b.importexport+com.sony.dtv.b2b.prosettings+com.sony.dtv.b2b.rs232csupport+com.sony.dtv.b2b.vendorprotocol # Control4-style automation; also keeps node alive+com.sony.dtv.b2b.noderuntime+com.sony.dtv.b2b.noderuntime.normal+com.sony.dtv.b2b.noderuntime.privilege++# Firmware update, left enabled: the other SVP-DTV15 lists keep it too, and an updater is the one service+# worth leaving on. The owner turns it off on this set by choice; uncomment the line to disable OTA.+# com.sony.dtv.systemupdate++# USB media players, casting and camera+com.sony.dtv.osat.album+com.sony.dtv.osat.music+com.sony.dtv.osat.video+com.sony.dtv.tvcamera # 电视摄像机 (no camera on this set)+com.sony.huey.dlna.module+com.sony.huey.dlna.renderersettings+com.sonyericsson.dlna+com.sonyericsson.dlna.dtcpplayer++# Screensaver and leftover launcher entry+com.sony.dtv.braviashow # BRAVIA Show DreamService+com.sony.dtv.moreapps # 更多应用 partner row++# IR blaster settings (the daemon com.sony.dtv.irbservice is kept: it also listens to audio output)+com.sony.dtv.irblaster