Skip to content

Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.

Add Sony BRAVIA XBR-65X900E (Android TV 9) debloat list

Gurkamal Dhahan371936d63fef
diff --git a/README.md b/README.md
index 89c5b11cc..416ff02f1 100644
--- a/README.md
+++ b/README.md
@@ -102,6 +102,7 @@ Lists that people have tested and contributed live in [`examples/`](examples/):
| TCL 55" 4K Google TV, 2023 (G10) | Google TV 12 |
| SANYO ATV R2 | Android TV 9 |
| OnePlus TV (D00) | Google TV 14 |
+| Sony BRAVIA XBR-65X900E (2017) | Android TV 9 |
Your TV not here? The prompt works regardless, it discovers the bloat itself. If you add your
list afterwards, the next person with your model skips that step. See
diff --git a/examples/README.md b/examples/README.md
index 944aba859..a1381fff5 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -10,6 +10,7 @@ on that firmware, grouped and commented. These are starting points: comment out
| `xiaomi-mitv-axso0/` | Xiaomi MiTV-AXSO0 (dangal) | Android TV 9 | PatchWall, Mi analytics, MiLink; voice, Chromecast, unused streaming apps off by choice |
| `sanyo-atv-r2/` | SANYO ATV R2 (SCBC, Realtek RTD285O) | Android TV 9 | S-Channels, E-SHOW demo, Vewd, TV Booster, SANYO OTA |
| `oneplus-tv-dubai/` | OnePlus TV (D00, Dubai) | Google TV 14 | HeyTap/OnePlus extras, OnePlus Connect, Smart Home |
+| `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 |
To add your TV, see [CONTRIBUTING.md](../CONTRIBUTING.md). The quickest way to get a list is to
run the prompt in [PROMPT.md](../PROMPT.md) and copy the packages your assistant disabled.
diff --git a/examples/sony-xbr-x900e/debloat.txt b/examples/sony-xbr-x900e/debloat.txt
new file mode 100644
index 000000000..898f9bb3c
--- /dev/null
+++ b/examples/sony-xbr-x900e/debloat.txt
@@ -0,0 +1,68 @@
+# Sony BRAVIA XBR-65X900E (2017, BRAVIA_ATV2, MediaTek), US/Canada firmware
+# Android TV 9, build PTT1.190515.001.S54
+#
+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/sony-xbr-x900e/debloat.txt
+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/sony-xbr-x900e/debloat.txt
+# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.
+#
+# Stock launcher: com.google.android.tvlauncher (restore.sh's default).
+# 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, rcpowerkey, uinputservice,
+# imeproxy, sonysystemservice, settingsprovider, all com.mediatek.* and mtktvapi.agent, timers (sleep timer).
+# Left alone on purpose: com.sony.dtv.b2b.* (hotel/pro mode plumbing), webapi.core and remoteaccess
+# (Sony IP control, possibly used by Alexa control).
+# Already disabled at the factory/by owner: com.sony.rvu, actionmenu.plugin.harmony, Vudu, Crackle,
+# com.google.android.inputmethod.latin. Not in this list so restore.sh leaves them off.
+#
+# Notes from this firmware:
+# - The stock launcher's HOME filter has priority 2, so `cmd package set-home-activity` reports Success
+# but Home keeps opening it until com.google.android.tvlauncher is disabled (build-and-install.sh
+# does this last). Launch com.gathin.tvhome/.MainActivity with `am start -n` to check it first.
+# - Inputs works: com.sony.dtv.tvx handles the passthrough channel URIs, HDMI 1-4 and Video 1/2 listed.
+# Hide com.sony.dtv.tvx and com.sony.dtv.tvxlauncher.programguide in config.xml; set
+# live_tv_package to com.sony.dtv.tvx if you use an antenna.
+# - 2 GB RAM. Survives a reboot straight into the new launcher.
+
+# ACR viewing tracker
+tv.samba.ssm # Samba TV fingerprints what's on screen
+
+# Sony and Google content, ads and promos
+com.sony.dtv.sonyselect # Sony Select app store/promo tile
+com.sony.dtv.promos # My BRAVIA promos
+com.sony.dtv.discovery # Sony Discover content bar
+com.sony.dtv.bivlinfo # BIVL content service list (feeds Discover)
+com.sony.dtv.tvlaunchercustomizer # Sony tweaks to the stock home rows
+com.google.android.tvrecommendations # recommendation rows for the stock launcher
+android.autoinstalls.config.sony.bravia # Play auto-install of partner apps
+
+# Retail demo
+com.sony.dtv.demomode
+com.sony.dtv.demosupport
+com.sony.dtv.multiscreendemo
+
+# Telemetry, remote support and feedback
+com.sony.dtv.da.service # Sony device agent / remote support
+com.qterics.da.product # Qterics device agent
+com.sony.dtv.sonybugreportsys
+com.google.android.tv.bugreportsender
+com.google.android.feedback
+
+# Preloaded apps
+com.sony.dtv.customersupport # Help tile
+com.sony.dtv.smarthelp
+com.sony.dtv.imanual # i-Manual
+com.sony.dtv.osat.music # re-enable to play music from USB
+com.sony.dtv.smartmediaapp # Media Player, re-enable to play USB files
+com.google.android.youtube.tvmusic
+com.google.android.videos
+com.google.android.play.games
+com.google.android.backdrop # ambient screensaver, replaced by the launcher's Clock
+
+# Optional features, off by owner's choice
+com.google.android.apps.mediashell # Chromecast built-in
+screnmirroring.com # Screen mirroring (Miracast)
+com.sony.dtv.networkapp.wifidirect
+com.sony.huey.dlna.module # DLNA renderer
+com.sony.huey.dlna.renderersettings
+com.sonyericsson.dlna
+com.google.android.tv.remote.service # Android TV phone-app remote