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
Add tested Sony XBR-55X850D Android 8 example
Drew Schuyler39446a3ca9c8
diff --git a/README.md b/README.mdindex 9e9645859..899ec1e7b 100644--- a/README.md+++ b/README.md@@ -190,6 +190,7 @@ BYINTEK, JMGO, Portronics, Stellamore, Wanbo and XGIMI projectors| Sony BRAVIA KD-65X9300D (2016, SVP-DTV15, MediaTek), Asia-Pacific | Android TV 8.0 || Sony BRAVIA TL2 (OD0M_EA_T32, TPV-built, MediaTek), Europe | Android TV 11 || Sony BRAVIA VU31 4K (BRAVIA_VU31_4K, Realtek), India | Google TV 14 |+| Sony BRAVIA XBR-55X850D (Android model "BRAVIA 4K 2015"), firmware 6.827 | Android TV 8.0.0 || Sony BRAVIA XBR-65X900E (2017, BRAVIA_ATV2) | Android TV 9 || Sony BRAVIA XBR-65X900F (2018, BRAVIA_ATV3_4K, MediaTek MT5891), US/Canada | Android TV 9 || Stellamore T950S projector (Droidlogic be30a3, Amlogic txhd2) | Android 13 |diff --git a/examples/README.md b/examples/README.mdindex 88e0942b6..db78aa45f 100644--- a/examples/README.md+++ b/examples/README.md@@ -93,6 +93,7 @@ on that firmware, grouped and commented. These are starting points: comment out| `sony-kd-65x9300d/` | Sony BRAVIA KD-65X9300D (2016, SVP-DTV15, MediaTek), Asia-Pacific | Android TV 8.0 | No Samba TV; Sony Select/Discover/BIVL, launcher customizer, Sony/Qterics device agents, SDDP vendorprotocol, tutorials, dead Play Music/Movies; DLNA, USB media, Vewd, Japanese keyboard off by choice; Chromecast, voice, Prime Video, HbbTV kept; 32-bit, 1.5 GB; Inputs lists HDMI 1-4 with CEC names; reboot-checked || `sony-bravia-tl2/` | Sony BRAVIA TL2 (OD0M_EA_T32, TPV-built, MediaTek), Europe | Android TV 11 | TPV org.droidtv platform like the Philips 50PUS8517, not the usual Sony one: no Samba TV or Sony agents; retail demo, TPV partner auto-installs, Google feedback/Play Games; Prime Video, Disney+, Red Bull TV and preloaded games off by choice; stock tvlauncher off for the launcher; org.droidtv untouched, e-manual only hidden; Assistant, Chromecast, phone remote, updates kept; USB debugging alone opens 5555; ~1.7 GB; reboot-checked || `sony-bravia-vu31/` | Sony BRAVIA VU31 4K (BRAVIA_VU31_4K, Realtek), India | Google TV 14 | First Realtek Sony list: no Samba/Qterics/IDD agents on this firmware; Sony promos/Select/tab, demo, help; Google feedback/Play Games/partner setup; ambient screensaver (basic dream set first); unused preloads off by choice; Alexa, Chromecast, AirPlay, Assistant kept; USB debugging alone opens 5555; 2 GB; launcher on a second set: setupwraith before launcherx, Live TV/HDMI in com.android.tv, Input key needs no service, applicationdisabler re-enables Eco Dashboard |+| `sony-xbr-55x850d/` | Sony BRAVIA XBR-55X850D (Android model "BRAVIA 4K 2015"), firmware 6.827 | Android TV 8.0.0 | 19 reversible disables, Roku-primary; TVX/HDMI, CEC, casting and updates preserved; new Home survives reboot; owner-reported 26-second start after >24-hour standby, separate 48-second unplug/replug start; [test notes](sony-xbr-55x850d/README.md) || `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 || `sony-xbr-65x900f/` | Sony BRAVIA XBR-65X900F (2018, BRAVIA_ATV3_4K, MediaTek MT5891), US/Canada | Android TV 9 | Same build as the X900E on the next platform (ATV3); Samba TV, Sony Select/promos/Discover, Google recommendation rows, demo mode, device agents, Alexa setup app; Assistant, mirroring, DLNA, phone remote, USB players off by choice; Chromecast kept; the sponsored banner is the stock launcher's own || `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 |diff --git a/examples/sony-xbr-55x850d/README.md b/examples/sony-xbr-55x850d/README.mdnew file mode 100644index 000000000..26a269ccc--- /dev/null+++ b/examples/sony-xbr-55x850d/README.md@@ -0,0 +1,91 @@+# Sony BRAVIA XBR-55X850D++Owner-tested on **Android TV 8.0.0 (API 26), Sony firmware 6.827**. Android reports+the generic model name `BRAVIA 4K 2015`; do not use that label alone to match a set.+A **Roku Ultra LT on HDMI** supplies streaming in this setup.++The [debloat list](debloat.txt) contains exactly the **19 packages actually+disabled for user 0**. Nothing was uninstalled or had its app data cleared.+Use it as a firmware-specific starting point, not a universal Sony list. The+observation window is short: approximately two days of use, a controlled TV+reboot, an unplug/replug start, and a later start after more than 24 hours off.+No packages from this list needed re-enabling during that window.++## Home and input configuration++The tested build was CleanYourTV **v2.3**, built from commit+`6bcd649bfd6fb4ed0e448c369a258b672a0a1a0b`. Only device-specific launcher config+was changed; no launcher Java code was changed:++- `live_tv_package`: `com.sony.dtv.tvx`.+- First `dock_apps` entry: `com.sony.dtv.tvx`, followed by Netflix, Prime Video+ and YouTube in this owner's build.+- `module_cards`: `false`.+- `reduced_motion`: `true`.++**Keep `com.sony.dtv.tvx` enabled. It handles HDMI playback as well as Live TV.**+Select the Roku through the real Inputs menu rather than copying another TV's+hardware input ID. The stock Home package is `com.google.android.tvlauncher`;+the replacement is `com.gathin.tvhome`.++Build, install, launch and verify the replacement Home while stock Home is still+enabled. Only then complete the Home handover and disable the stock launcher.+The launcher entry is last in this list for that reason. Keep the upstream+Home/input guards; do not bypass them to force the list through.++## What was tested++- The new Home rendered; Settings opened; Home and D-pad focus navigation worked+ through injected keys/UI checks.+- The actual Inputs menu identified the Roku Ultra LT. Its HDMI picture/playback+ and audible sound were confirmed by the owner.+- A controlled TV-only reboot preserved the new default Home and all 19 disabled+ states. All other original package enabled states and registered physical+ input IDs were preserved.+- The launcher build and its **42 unit tests** passed on the tested source above.+ This is historical device/build evidence, not a claim to have rebuilt the+ current upstream launcher as part of this example submission.+- Physical Sony Home/Input buttons were not separately owner-confirmed. Casting,+ DLNA and voice functions were left enabled, not independently end-to-end tested.++Sony TV/input providers, CEC/BRAVIA Sync, remote/pairing, keyboard, Settings,+Google Play Services/Store, MediaTek services, firmware update/recovery and the+Sony boot monitor were preserved. The optional Smart Help, i-Manual, native USB+music player and Google/Crackle apps in this list were not needed by this owner;+keep any that you use. Re-enable `com.sony.dtv.b2b.vendorprotocol` if your+home-automation system needs its Control4/SDDP discovery.++## Owner-reported startup observations++These are individual remote-button/picture-readiness observations, not repeated+instrumented benchmarks:++- **Before cleanup:** about **100 seconds** after roughly 24 hours switched off+ with the remote while still connected to AC. That occurrence showed the Sony/+ Android startup animation and was separately confirmed to involve a new boot.+- **After cleanup, unplug/replug cold start:** **48 seconds**.+- **After cleanup, subsequent long-standby test:** **26 seconds** after more than+ **24 hours off**, reported on October 21, 2026 following the planned+ remote-off/AC-connected trial. Compare this with the earlier 100-second+ long-standby observation, not with the unplug/replug condition.++The shorter wait is an observed outcome of this setup, not proof that a+particular disabled package caused the earlier restart or that no reboot+occurred in the later test. No post-test boot-ID measurement was taken for the+26-second report. A prior separate `remote_start=On` experiment had **not**+prevented the earlier 100-second occurrence; that setting remained on, and the+cleanup did not change power or Android animation settings. The launcher's+`reduced_motion` option changes launcher motion, not system power settings.++No RAM-saving percentage is claimed: the single Home-process PSS samples did+not demonstrate a reduction.++## Recovery and debugging++Use the upstream backup/recovery record to restore original package states and+stock Home. Restore stock Home before disabling the replacement. Do not+uninstall system apps, clear data or disable TVX/input services.++On this firmware the developer setting is named **ADB debugging**, not USB+debugging. Authorize only your trusted computer, and follow the repository's+ADB-security/closeout guidance when finished.diff --git a/examples/sony-xbr-55x850d/debloat.txt b/examples/sony-xbr-55x850d/debloat.txtnew file mode 100644index 000000000..843aac5a2--- /dev/null+++ b/examples/sony-xbr-55x850d/debloat.txt@@ -0,0 +1,45 @@+# Sony BRAVIA XBR-55X850D — Android TV 8.0.0 / API 26, Sony firmware 6.827+# Android's generic model label is "BRAVIA 4K 2015"; match the retail model/firmware too.+# Tested with CleanYourTV v2.3, source 6bcd649bfd6fb4ed0e448c369a258b672a0a1a0b.+# Roku Ultra LT supplies streaming; this is an owner's short-term tested list, not every Sony.+#+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/sony-xbr-55x850d/debloat.txt+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/sony-xbr-55x850d/debloat.txt+# Everything is DISABLED for user 0, not uninstalled. Save original enabled states first.+# Install and verify the replacement Home before the final stock-launcher entry below.+# Stock launcher: com.google.android.tvlauncher; replacement: com.gathin.tvhome.+# Live TV AND HDMI playback app: com.sony.dtv.tvx — KEEP IT ENABLED.+# Keep Sony TV/input providers, CEC/BRAVIA Sync, remote/pairing, keyboard, Settings,+# Google services/Store, MediaTek services, firmware updater, recovery and boot monitor.+# Chromecast, DLNA, mirroring, phone remote and Assistant were left enabled, not removed.+# Developer options calls the switch "ADB debugging" on this firmware.+# See README.md here for tested functions, launcher configuration and timing limits.++# Viewing tracker+tv.samba.ssm # Samba TV automatic content recognition++# Sony/Google content rows, promotions and partner installs+com.sony.dtv.sonyselect+com.sony.dtv.discovery+com.sony.dtv.bivlinfo+com.sony.dtv.tvlaunchercustomizer+com.google.android.tvrecommendations+android.autoinstalls.config.sony.bravia++# Device agents, feedback and optional home-automation discovery+com.sony.dtv.da.service # Sony remote-support/device agent+com.qterics.da.product+com.google.android.tv.bugreportsender+com.google.android.feedback+com.sony.dtv.b2b.vendorprotocol # Re-enable if Control4/SDDP discovery is needed++# Optional help/media/apps not used in this Roku-primary setup+com.sony.dtv.smarthelp # Smart Help; keep if used+com.sony.dtv.imanual # i-Manual; keep if used+com.sony.dtv.osat.music # Re-enable for the native USB music player+com.google.android.videos+com.google.android.play.games+com.crackle.androidtv++# Home handover ONLY after installing, launching and verifying the new launcher+com.google.android.tvlauncher # Restore stock Home before disabling the replacement