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: fold the XBR-75X850C list into sony-xbr-55x850c as a display-only variant
Carl-Primitive4b33ba51c878
diff --git a/examples/sony-xbr-75x850c/debloat.txt b/examples/sony-xbr-55x850c/debloat-display-only.txtsimilarity index 57%rename from examples/sony-xbr-75x850c/debloat.txtrename to examples/sony-xbr-55x850c/debloat-display-only.txtindex 466fd8ce9..317c9898a 100644--- a/examples/sony-xbr-75x850c/debloat.txt+++ b/examples/sony-xbr-55x850c/debloat-display-only.txt@@ -1,37 +1,44 @@# Sony BRAVIA XBR-75X850C (2015, SVP-DTV15 "BRAVIA 4K 2015" platform, MediaTek), US firmware# Android TV 8.0 (API 26), build SVP4KDTV15_UC-user 8.0.0 OPR2.170623.027.S16 6.827, 1.5 GB RAM#-# Apply: TV_HOST=<tv ip> tools/disable.sh examples/sony-xbr-75x850c/debloat.txt-# Undo: TV_HOST=<tv ip> tools/restore.sh examples/sony-xbr-75x850c/debloat.txt+# Second unit of this folder, the 75-inch, on the same build as the 55-inch in debloat.txt. A "display-only"+# variant: this set is a screen for an Apple TV on HDMI, with no Google account, no streaming apps, no casting+# and no voice, so it goes further than debloat.txt, which is the list to start from if you keep Netflix,+# YouTube or Chromecast. Applied as written here on 30 Oct 2026 (the commented-out groups included, see below).+#+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/sony-xbr-55x850c/debloat-display-only.txt+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/sony-xbr-55x850c/debloat-display-only.txt+# Check: TV_HOST=<tv ip> tools/venv/bin/python -I tools/check.py examples/sony-xbr-55x850c/debloat-display-only.txt# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.#-# Second unit of the same build as examples/sony-xbr-55x850c (and sony-kd-65x9300d), taken further for a TV-# used only as a display for an Apple TV on HDMI: no Google account, no streaming apps, no casting, no voice,-# nothing network-facing beyond what HDMI, the inputs, Settings and firmware updates need. Start from the-# 55-inch list if you want to keep Netflix, YouTube or Chromecast; this one is the "dumb display" cut.-# Stock launcher: com.google.android.tvlauncher (restore.sh's default). The only other HOME handler is-# com.android.tv.settings/.system.FallbackHome; setupwraith has no HOME activity and is left alone.-# Live TV / input app: com.sony.dtv.tvx. Keep it: it also plays every HDMI input. Hide it in config.xml and-# set live_tv_package to it; the Inputs menu then lists HDMI 1, HDMI 2/MHL, HDMI 3, HDMI 4/ARC (with the CEC-# device's name), Video 1, Video 2/Component and Live TV.-# Keep: com.sony.dtv.tvinput.*, tvplayer*, braviasync* (HDMI-CEC: the Apple TV remote's power and volume),-# remotepairing, remotecontrolsettings, uinputservice, braviabluetoothservice, imeproxy, settingsprovider,-# systemupdate, duid.generator, enclave.service, timers, homenetwork (holds the power settings),-# all com.mediatek.* and mtktvapi.agent, Play Store and Play Services.+# Stock launcher: com.google.android.tvlauncher (restore.sh's default), as in debloat.txt. The only other HOME+# handler is com.android.tv.settings/.system.FallbackHome; setupwraith has no HOME activity and is left alone.+# Live TV / input app: com.sony.dtv.tvx. Keep it: it also plays every HDMI input. Hide it in config.xml and set+# live_tv_package to it; the Inputs menu then lists HDMI 1, HDMI 2/MHL, HDMI 3, HDMI 4/ARC (with the CEC device's+# name), Video 1, Video 2/Component and Live TV. With the stock launcher and tvlaunchercustomizer off, the Input+# button still works through com.sony.dtv.tvx.+# Keep, as in debloat.txt: com.sony.dtv.tvinput.*, tvplayer*, braviasync* (HDMI-CEC: the Apple TV remote's power+# and volume), remotepairing, remotecontrolsettings, uinputservice, braviabluetoothservice, imeproxy,+# settingsprovider, systemupdate, duid.generator, enclave.service, timers, homenetwork (holds the power+# settings), all com.mediatek.* and mtktvapi.agent, Play Store and Play Services.# Left alone on purpose: the rest of com.sony.dtv.b2b.* (hotel/pro mode plumbing), webapi.core, remoteaccess and# netproxyservice (Sony IP control, uid 1000), privacypolicy, sonyselect.overlay (a /vendor/overlay RRO).-# Nothing was disabled at the factory. Eight streaming apps in the 55-inch list (Disney+, HBO, Pandora, Tubi,-# Pluto, Twitch, PBS Kids, AccuWeather) were not on this unit after a factory reset with no Google account.+# Nothing was disabled at the factory. Eight streaming apps in debloat.txt (Disney+, HBO, Pandora, Tubi, Pluto,+# Twitch, PBS Kids, AccuWeather) were not on this unit after a factory reset with no Google account.#-# New in this list, checked with `dumpsys package` on this firmware:+# New compared with debloat.txt, each checked with `dumpsys package` on this firmware:# - com.sony.dtv.interactivetvplatform carries Kantar, Kuyun and ShopTv audience-measurement services over the# audio and video shared-memory buffers; interactivetvutil carries the action and application log collectors.-# Other Sony lists keep them as "voice plumbing"; with voice off nothing was lost here.+# Other Sony lists keep them as voice plumbing; with voice off nothing was lost here.# - com.sony.dtv.servermgr is a Firebase Cloud Messaging listener (Sony push messages).-# - DLNA, DIAL, Miracast, Chromecast and the Android TV phone-remote service are network listeners (ports-# 6466/6467 for the remote service) and go together; the IR remote is unaffected.+# - com.google.android.backdrop is the Backdrop screensaver, which downloads its pictures from Google.+# - DLNA, DIAL, Miracast and Chromecast are network listeners that go together once nothing casts to the set.+#+# Two groups are commented out below so the list stays useful beyond this one set: the streaming apps (this unit+# has them off; uncomment the ones you do not use) and the Android TV phone-remote service (off on this unit with+# the IR remote unaffected; left enabled here so the Android TV Remote phone app keeps working for everyone else).#-# Applied 30 Oct 2026 in eight batches with a screenshot and Home check after each; no crash loops+# Applied in eight batches with a screenshot and Home check after each; no crash loops# (com.sony.dtv.systembootmonitor crashes once at boot on this firmware, as on the 55-inch; it is not listed).# Launcher installed with build-and-install.sh and no key services; Home handed over cleanly. Reboot-checked once:# Home came back on the new launcher, nothing re-enabled itself. Not yet lived with for weeks; if something breaks,@@ -70,7 +77,7 @@ com.google.android.videos # Google Play Moviescom.google.android.play.gamescom.google.android.music # Google Play Music, shut down in 2020com.amazon.aiv.us # US Prime Video stub-com.google.android.inputmethod.japanese # Japanese keyboard; com.sony.dtv.ime.chww stays active+com.google.android.inputmethod.japanese # Japanese keyboard; com.sony.dtv.ime.chww stays the active keyboardcom.sony.dtv.osat.album # USB photo player, off by owner's choice (nothing on USB)com.sony.dtv.osat.music # USB music playercom.sony.dtv.osat.video # USB video player@@ -80,16 +87,16 @@ com.google.android.katnisscom.google.android.speech.pumpkincom.sony.dtv.voicerecognitionconfirmation-# Streaming apps, off by owner's choice-com.netflix.ninja-com.google.android.youtube.tv-com.amazon.amazonvideo.livingroom # Prime Video-com.crackle.androidtv-air.com.vudu.air.DownloaderTablet # Vudu-com.sony.rvu # DIRECTV Ready (RVU client)-com.sony.dtv.netflixmanager # the remote's Netflix button; nothing to open with Netflix off+# Streaming apps: off on this unit, commented out here so you choose. Uncomment the ones you do not use.+#com.netflix.ninja+#com.google.android.youtube.tv+#com.amazon.amazonvideo.livingroom # Prime Video+#com.crackle.androidtv+#air.com.vudu.air.DownloaderTablet # Vudu+#com.sony.rvu # DIRECTV Ready (RVU client)+#com.sony.dtv.netflixmanager # the remote's Netflix button; nothing to open with Netflix off-# Casting, mirroring, DLNA and the phone-remote service (network listeners), off by owner's choice+# Casting, mirroring and DLNA (network listeners), off by owner's choicecom.google.android.apps.mediashell # Chromecast built-incom.sony.dtv.dialservice # DIAL discovery for YouTube/Netflix castingscrenmirroring.com # Miracast stack@@ -98,7 +105,8 @@ com.sony.huey.dlna.module # DLNA renderercom.sony.huey.dlna.renderersettingscom.sonyericsson.dlnacom.sonyericsson.dlna.dtcpplayer-com.google.android.tv.remote.service # Android TV Remote phone-app service; the IR remote is unaffected+# Off on this unit with the IR remote unaffected; kept enabled in the list for the Android TV Remote phone app.+#com.google.android.tv.remote.service # Android TV Remote phone-app service (ports 6466/6467)# Google account plumbing, unused with no account signed incom.google.android.partnersetup # RLZ install attributiondiff --git a/examples/sony-xbr-55x850c/debloat.txt b/examples/sony-xbr-55x850c/debloat.txtindex d3df4af7b..0fa6fa5e3 100644--- a/examples/sony-xbr-55x850c/debloat.txt+++ b/examples/sony-xbr-55x850c/debloat.txt@@ -5,6 +5,9 @@# Undo: TV_HOST=<tv ip> tools/restore.sh examples/sony-xbr-55x850c/debloat.txt# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.#+# Second unit in this folder: a 75-inch XBR-75X850C on the same build, used as a display for an Apple TV, has+# its own, further-reaching list in debloat-display-only.txt (no streaming apps, casting, DLNA or voice, plus+# Sony's audience-measurement plugins and push listener found there). Start from this file if you keep apps.# Same build as examples/sony-kd-65x9300d. Stock launcher: com.google.android.tvlauncher (restore.sh's# default). The only other HOME handler is com.android.tv.settings. setupwraith has no HOME activity,# and the saved Wi-Fi belongs to android.uid.system, so it is left alone.diff --git a/examples/sony-xbr-55x850c/tv.json b/examples/sony-xbr-55x850c/tv.jsonindex 03648c163..41e433691 100644--- a/examples/sony-xbr-55x850c/tv.json+++ b/examples/sony-xbr-55x850c/tv.json@@ -1,6 +1,6 @@{- "tv": "Sony BRAVIA XBR-55X850C (2015, \"BRAVIA 4K 2015\", SVP-DTV15, MediaTek), US firmware",+ "tv": "Sony BRAVIA XBR-55X850C and XBR-75X850C (2015, \"BRAVIA 4K 2015\", SVP-DTV15, MediaTek), US firmware","os": "Android TV 8.0","brand": "Sony",- "notes": "Same build as the KD-65X9300D; Samba TV, Sony Select/Discover/BIVL, launcher customizer, Sony/Qterics device agents, SDDP vendorprotocol, tutorials, dead Play Music/Movies; voice and unused streaming apps off by choice; Chromecast, mirroring, updates kept; 1.5 GB; Inputs lists HDMI 1-4 with CEC names; reboot-checked"+ "notes": "Same build as the KD-65X9300D; Samba TV, Sony Select/Discover/BIVL, launcher customizer, Sony/Qterics device agents, SDDP vendorprotocol, tutorials, dead Play Music/Movies; voice and unused streaming apps off by choice; Chromecast, mirroring, updates kept; 1.5 GB; Inputs lists HDMI 1-4 with CEC names; reboot-checked; 75-inch second unit as a display for an Apple TV: [debloat-display-only.txt](sony-xbr-55x850c/debloat-display-only.txt) adds Sony's interactive-TV measurement plugins (Kantar/Kuyun/ShopTv) and log collectors, the Sony Firebase push listener, Backdrop, DLNA/DIAL/Miracast/Chromecast and the USB players, with the streaming apps and the phone-remote service left as a choice"}diff --git a/examples/sony-xbr-75x850c/tv.json b/examples/sony-xbr-75x850c/tv.jsondeleted file mode 100644index f837dd464..000000000--- a/examples/sony-xbr-75x850c/tv.json+++ /dev/null@@ -1,6 +0,0 @@-{- "tv": "Sony BRAVIA XBR-75X850C (2015, \"BRAVIA 4K 2015\", SVP-DTV15, MediaTek), US firmware",- "os": "Android TV 8.0",- "brand": "Sony",- "notes": "Second unit of the [55-inch](sony-xbr-55x850c/) build, cut down to a display for an Apple TV: adds Sony's interactive-TV measurement plugins (Kantar/Kuyun/ShopTv over the audio and video buffers) and log collectors, the Sony Firebase push listener and the Backdrop screensaver; voice, every streaming app, Chromecast, DIAL, Miracast, DLNA, the phone-remote service, USB media players and Google account plumbing off by choice; Bravia Sync (HDMI-CEC), updates, Play Services kept; Inputs lists HDMI 1-4 with the CEC name; no key services needed; reboot-checked"-}