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 BRAVIA KDL-43W950D (SVP-DTV15), Android TV 8.0.0, India
Vinay Bedrec59cd7a15b34
diff --git a/README.md b/README.mdindex 43ee83405..83152c075 100644--- a/README.md+++ b/README.md@@ -262,6 +262,7 @@ Anker Nebula, BYINTEK, Epson, Formovie, Gadnic, JMGO, Magcubic, Portronics, Stel| Sony BRAVIA KD-43X80L (2023, BRAVIA_VH22, MediaTek MT5895), EU | Google TV 12 || Sony BRAVIA KD-65X82L (2023, BRAVIA_VH22, MediaTek), India | Google TV 12 || Sony BRAVIA KD-65X9300D (2016, SVP-DTV15, MediaTek), Asia-Pacific | Android TV 8.0 |+| Sony BRAVIA KDL-43W950D (2015/2016, SVP-DTV15, MediaTek), India ("PA") firmware | Android TV 8.0.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 X9000H (2020, BRAVIA_VH1_CN, MediaTek MT5895), China | Android TV 12 |diff --git a/examples/README.md b/examples/README.mdindex e772cd3d1..793b1e520 100644--- a/examples/README.md+++ b/examples/README.md@@ -141,6 +141,7 @@ on that firmware, grouped and commented. These are starting points: comment out| `sony-kd-43x80l/` | Sony BRAVIA KD-43X80L (2023, BRAVIA_VH22, MediaTek MT5895), EU | Google TV 12 | Samba TV ACR and Sony telemetry off; tuner (TVX), HDMI 1-4/eARC, Bravia Sync and the remote kept; setupwraith off for the launcher (Wi-Fi owned by tv.settings); tested and lived with || `sony-kd-65x82l/` | Sony BRAVIA KD-65X82L (2023, BRAVIA_VH22, MediaTek), India | Google TV 12 | Same firmware build as the VH21 list: Samba TV ACR, Sony/Qterics agents, IDD, Sony promos/Select/tab, demo mode; YouTube Music, Play Games, Sony IoT/phone link, help, Living Decor, eco dashboard and BRAVIA CAM extras off by choice; setupwraith off for the launcher (it owned only an unused 2.4 GHz network); gear button is scancode 646; Assistant, Chromecast, AirPlay, Apple TV, firmware updates kept; reboot-checked || `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-kdl-43w950d/` | Sony BRAVIA KDL-43W950D (2015/2016, SVP-DTV15, MediaTek), India ("PA") firmware | Android TV 8.0.0 | Same build (6.827) as `sony-xbr-55x850d`; Sony Select/Discover/BIVL/India meta-recommendation, generic ad-tracking "Hisense Odin" browser, device agents, help/tutorials/demo, hotel/pro-mode b2b (minus hotelmode, confirmed load-bearing for Settings on this board); every streaming/utility/casting/voice app off by owner choice (installs own apps afterwards); stock-launcher chain (leanbacklauncher, setupwraith, tvrecommendations, tvtutorials, backdrop) deferred until the new launcher was confirmed Home; setupwraith owned no saved Wi-Fi network; firmware updates kept; 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-x9000h-cn/` | Sony BRAVIA X9000H (2020, BRAVIA_VH1_CN, MediaTek MT5895), China | Android TV 12 | China firmware with no Samba TV, no Google feedback and no Sony promos/Select/tab, so there is no Sony ACR to remove; Qterics/IDD/da.service, demo/help, no-camera packages, JD SmartService, 13 b2b hotel-mode packages and the kids profile off; Dangbei `ChinaHome` replaced by the reference launcher but kept enabled as fallback; Dangbei app store (应用中心) and HappyCast kept; b2b.hotelmode is persistent and its process still starts at boot; idle `iddd` remains; reboot-checked |diff --git a/examples/sony-kdl-43w950d/README.md b/examples/sony-kdl-43w950d/README.mdnew file mode 100644index 000000000..b23807f2b--- /dev/null+++ b/examples/sony-kdl-43w950d/README.md@@ -0,0 +1,52 @@+# Sony BRAVIA KDL-43W950D++India-market unit, **Android TV 8.0.0 (API 26)**, build+`SVPDTV15_PA/SVP-DTV15:8.0.0/OPR2.170623.027.S16/6.827`. Android's generic model+label is "BRAVIA 2015"; match the retail model and firmware build too, not the+label alone.++Same build number (`6.827`) as [`examples/sony-xbr-55x850d`](../sony-xbr-55x850d),+and the same SVP-DTV15/MediaTek platform as the other Sony 2015/2016 `SVP-DTV15`+lists in this repo, just a different retail model and market (India).++The [debloat list](debloat.txt) disables 75 packages: everything the owner does+not use, since they install their own apps from Play Store afterwards, plus the+stock-launcher chain (deferred until the replacement Home was confirmed, per the+list's own last section).++## Confirmed on this unit++- `com.sony.dtv.b2b.hotelmode` must stay enabled: `com.android.tv.settings`+ reads its `hotelsettings` content provider while building the Settings menu.+ Disabled, Settings opens to a blank screen. Not in the list.+- `com.sony.dtv.tvx` plays Live TV and every HDMI input; keeping it enabled and+ pointing `live_tv_package` at it was correct, Settings and the Inputs menu+ both worked afterwards.+- `com.google.android.tungsten.setupwraith` owned no saved Wi-Fi network on this+ unit (`dumpsys wifi | grep cname` showed nothing); `tools/disable.sh` disabled+ it cleanly with no warning.+- The debloat list and the launcher install both survived a full reboot, with+ the Wi-Fi connection, Home (`com.gathin.tvhome`), and every disabled package+ state intact afterwards.+- D-pad navigation was verified by injected key events: Right/Left move across+ the dock with the glass highlight and ambient glow following; Up from the dock+ reaches the top bar (Inputs pill); Left/Right at the top bar's ends do not+ fall through. The Inputs pill's dropdown correctly lists HDMI 1/MHL, HDMI 2,+ HDMI 3, HDMI 4/ARC, Video 1, Video 2/Component and Live TV.+- Settings opened correctly (confirming the hotelmode finding above) both before+ and after the stock-launcher-chain packages were disabled.++## Launcher configuration++Only `config.json` in this folder was changed; no launcher Java code was+changed. Dock: Google Play Store, TV (`com.sony.dtv.tvx`), Programme Guide,+Timer — 4 columns, the owner's choice, since no streaming apps were kept+installed to dock instead.++## Not yet confirmed++This list and launcher configuration are freshly applied. The owner has not yet+lived with the set day to day; no multi-day observation window, no physical+remote-button check (only injected key events so far), and no HDMI source+playback test. This README will be updated once that happens, per the+project's "list only packages you lived with for a few days" convention.diff --git a/examples/sony-kdl-43w950d/config.json b/examples/sony-kdl-43w950d/config.jsonnew file mode 100644index 000000000..76df4b23a--- /dev/null+++ b/examples/sony-kdl-43w950d/config.json@@ -0,0 +1,10 @@+{+ "live_tv_package": "com.sony.dtv.tvx",+ "dock_apps": [+ "com.android.vending",+ "com.sony.dtv.tvx",+ "com.sony.dtv.tvxlauncher.programguide",+ "com.sony.dtv.timers"+ ],+ "columns": 4+}diff --git a/examples/sony-kdl-43w950d/debloat.txt b/examples/sony-kdl-43w950d/debloat.txtnew file mode 100644index 000000000..548d9ff6b--- /dev/null+++ b/examples/sony-kdl-43w950d/debloat.txt@@ -0,0 +1,155 @@+# Sony BRAVIA KDL-43W950D (Android model "BRAVIA 2015", SVP-DTV15, MediaTek), India ("PA") firmware+# Android TV 8.0.0 (API 26), build SVPDTV15_PA/SVP-DTV15:8.0.0/OPR2.170623.027.S16/6.827+#+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/sony-kdl-43w950d/debloat.txt+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/sony-kdl-43w950d/debloat.txt+# Everything is DISABLED for user 0, never uninstalled. Comment out any line you want to keep.+#+# Same build number (6.827) as examples/sony-xbr-55x850d (US) and the same SVP-DTV15/MediaTek+# platform as examples/sony-kd-55x8000c, examples/sony-kd-49x8307c, examples/sony-kd-55x8509c,+# examples/sony-kd-65x9300d and examples/sony-xbr-55x850c, just a different retail model/region;+# kept as its own folder since the retail model and market differ, per CONTRIBUTING.+#+# Stock launcher: com.google.android.tvlauncher (not leanbacklauncher, though that package is also+# present and disabled below once Home no longer needs it). Replacement: com.gathin.tvhome.+# Live TV AND every HDMI input: com.sony.dtv.tvx — KEEP IT ENABLED.+#+# com.sony.dtv.b2b.hotelmode must stay enabled on this board: com.android.tv.settings' MainFragment+# reads its hotelsettings content provider while building the Settings menu. Disabled, Settings opens+# to a blank screen. Confirmed directly on this unit (same finding as examples/sony-kd-55x8000c).+# NOT in this list.+#+# Kept for TV function / remote & Bluetooth pairing / inputs / on-screen keyboard / DRM / accessibility+# (non-obvious ones only): tvinput.*, tvx.search.* + tvx.resources (EPG), tvplayer*, braviasync*+# (HDMI-CEC), remotepairing, braviabluetoothservice, uinputservice, irblaster/irbservice/+# handlingirblaster/quicksetsdk (IR blaster), ime.chww + imeproxy + inputmethod.latin (keyboard),+# google.android.tv.remote.service (phone-as-remote), heatcontrol (thermal safety),+# hddmgr/timers/usbmsgservice/audiooutput/webapi.core/dialservice/systemapp/interactivetvutil*/+# rcplayer* (also kept on the sibling SVP-DTV15 lists), enclave.service "CAL" (DRM/Widevine),+# common.base.AccessibilityText + google.android.tts + marvin.talkback (accessibility),+# countrysetting/tuningconfirmation_dvbt/broadcasttimezonereceiver (tuner), systembootmonitor,+# osdplanevisibilitymanager, base.basicosd, provider.modelvariation, mtktvapi.agent ++# mediatek.dmagent (MediaTek vendor agents), ledservice, bleadvertiseservice, netproxyservice,+# preinappfiltering, tvpositionscreen, seconddispsetting, reminderservice, privacypolicy/+# softwarelicense/configsettings/networksettings/homenetwork/handlingnetworksetup/+# tvsettingsbroadcast/quicksetup (Settings-adjacent; left alone after the hotelmode finding above),+# webapi-bound browser.webappruntime/webappservice/browser.ceb (HbbTV runtime; dormant on Indian+# broadcasts, left in case anything still binds to it). Standard Android core/providers/GMS/Play+# Store/WebView also kept.+#+# The owner used none of the preloaded apps and installs their own from Play Store afterwards, so+# every streaming/utility/casting app below is disabled rather than kept case by case; comment out+# any you want (several are marked "keep if used").+#+# Reported on one India-market KDL-43W950D. Debloat and launcher both reboot-checked.++# Hospitality / commercial (B2B) features, not used in a home+com.sony.dtv.b2b.importexport+com.sony.dtv.b2b.prosettings+com.sony.dtv.b2b.rs232csupport+com.sony.dtv.b2b.vendorprotocol # Control4/SDDP discovery; keep if you need it+com.sony.dtv.b2b.noderuntime.normal+com.sony.dtv.b2b.noderuntime.privilege++# Help, tutorials, retail demo mode+com.sony.dtv.customersupport+com.sony.dtv.smarthelp # keep if used+com.sony.dtv.imanual # i-Manual; keep if used+com.sony.dtv.touchpad.tutorial+com.sony.dtv.shopsettings++# Sony/partner content, ads and recommendation feeds+com.sony.dtv.discovery # Discover bar+com.sony.dtv.bivlinfo # feeds Discover+com.sony.dtv.sonyselect # Sony Select app-store/promo tile+com.sony.dtv.sonyselect.overlay+com.sony.dtv.indiametarecommendation+com.hisense.odinbrowser # generic ad-supported OEM browser (ACCESS_ADSERVICES_* perms), not Sony's own UI+android.autoinstalls.config.sony.bravia # Play auto-install of partner apps++# Telemetry, tracking IDs, remote support+com.google.android.feedback+com.google.android.tv.bugreportsender+com.sony.dtv.remoteaccess # Sony's own remote support channel (not remote-control pairing)+com.sony.dtv.duid.generator # tracking ID generator+com.sony.snei.np.android.account # Sony Network Entertainment account linking, unused++# Unused sync adapters (no contacts/calendar app in use on a TV)+com.google.android.syncadapters.contacts+com.google.android.syncadapters.calendar++# Unused secondary keyboard+com.google.android.inputmethod.japanese++# Camera support (this set has no camera accessory)+com.sony.dtv.tvcamera+com.sony.dtv.camerarecognitionservice++# Wake-on-LAN helpers, unused+com.sony.dtv.magicpacketnotifyservice+com.sony.dtv.keepsleepserviceforwol++# Voice assistant / Google Assistant search; keep if used+com.google.android.katniss+com.google.android.speech.pumpkin++# Chromecast built-in; keep if used+com.google.android.apps.mediashell+com.google.android.sss+com.google.android.sss.authbridge++# Miracast "Screen mirroring" + DLNA home-network casting/throw; keep if used+screnmirroring.com+com.sony.dtv.networkapp.wifidirect+com.sonyericsson.dlna+com.sonyericsson.dlna.dtcpplayer+com.sony.huey.dlna.renderersettings+com.sony.huey.dlna.module+com.vewd.core.integration.dia # DIAL second-screen integration++# HbbTV interactive-broadcast launcher entry (Indian broadcasts don't trigger it); the underlying+# webapi.core/browser.webappruntime/webappservice/browser.ceb runtime is left enabled, see header+com.sony.dtv.hbbtvlauncher++# Netflix-specific remote-button integration (Netflix itself is disabled below)+com.sony.dtv.netflixmanager++# Leftover action/automation plugin, still enabled though its scrums.action parent ships disabled+com.sony.dtv.scrums.action.tvdotactionactivitymanagerplugin++# Streaming / media apps the owner does not use; keep any you use+com.netflix.ninja+com.amazon.amazonvideo.livingroom+com.amazon.aiv.us # old Amazon Instant Video thin client, duplicate+com.google.android.youtube.tv+in.startv.hotstar+com.jio.media.stb.ondemand+com.discoveryplus.tv.android+com.mxtech.videoplayer.ad+org.videolan.vlc+com.google.android.music+com.google.android.videos+com.google.android.play.games+com.sony.dtv.osat.album+com.sony.dtv.osat.music # re-enable for the native USB music player+com.sony.dtv.osat.video++# Utility apps the owner does not use; keep any you use+com.alphainventor.filemanager+com.estrongs.android.pop+com.teamsmart.videomanager.tv # Smart IPTV++# Home handover ONLY after installing, launching and verifying the new launcher (com.gathin.tvhome+# confirmed as ResumedActivity). com.google.android.tvlauncher is also disabled automatically by+# launcher/build-and-install.sh; it is listed here too for a from-scratch run of this list.+# com.google.android.tungsten.setupwraith: check `dumpsys wifi | grep cname` first if the TV is on+# Wi-Fi it set up itself (tools/disable.sh does this automatically); on this unit it owned nothing+# and came out clean.+com.google.android.leanbacklauncher+com.google.android.tungsten.setupwraith+com.sony.dtv.tvlaunchercustomizer+com.sony.dtv.tvxlauncher.titlelist+com.google.android.tvrecommendations+com.google.android.tvtutorials+com.google.android.backdrop+com.google.android.tvlauncher