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
Merge PR #1330: examples: add Sony BRAVIA KDL-43W950D (SVP-DTV15), Android TV 8.0.0, India
Gathin23e9c70a2b0817
diff --cc README.mdindex a0cc40d0c,83152c075..853080d9d--- a/README.md+++ b/README.md@@@ -19,7 -19,7 +19,7 @@@</p><p align="center">- <a href="docs/PRESS.md"><img src="docs/card.jpg" alt="270 TV models · 79 brands · 25 languages · 497 KB launcher. Featured in TechCrunch, TechRadar, Tom's Guide, Mashable, Android Authority, XDA, FlatpanelsHD, It's FOSS, Phandroid, GIGAZINE, Xataka, WinFuture, Frandroid, Macitynet, Techaeris, TechPP and 180 more: 196 articles from 32 countries. Before: stock Google TV home with a sponsored ad. After: the Clean Your TV launcher." width="800"></a>- <a href="docs/PRESS.md"><img src="docs/card.jpg" alt="252 TV models · 74 brands · 25 languages · 474 KB launcher. Featured in TechCrunch, TechRadar, Tom's Guide, Mashable, Android Authority, XDA, FlatpanelsHD, It's FOSS, Phandroid, GIGAZINE, Xataka, WinFuture, Frandroid, Macitynet, Techaeris, TechPP and 171 more: 187 articles from 31 countries. Before: stock Google TV home with a sponsored ad. After: the Clean Your TV launcher." width="800"></a>++ <a href="docs/PRESS.md"><img src="docs/card.jpg" alt="271 TV models · 79 brands · 25 languages · 497 KB launcher. Featured in TechCrunch, TechRadar, Tom's Guide, Mashable, Android Authority, XDA, FlatpanelsHD, It's FOSS, Phandroid, GIGAZINE, Xataka, WinFuture, Frandroid, Macitynet, Techaeris, TechPP and 180 more: 196 articles from 32 countries. Before: stock Google TV home with a sponsored ad. After: the Clean Your TV launcher." width="800"></a></p>**The viral tweet:** [x.com/gathint/status/2111379569030939102](https://x.com/gathint/status/2111379569030939102)@@@ -112,19 -112,14 +112,19 @@@ Anything running **Android TV** or **GoTested lists from contributors, one folder per model in [`examples/`](examples/):-**TCL** 57 · **Sony** 31 · **Xiaomi** 28 · **Philips** 12 · **Hisense** 9 · **Skyworth** 9 · **Amazon Fire TV** 7 ·-**Thomson** 4 · **BenQ** 3 · **Google** 3 · **OnePlus** 3 · **Panasonic** 3 · **CHiQ** 2 · **FFalcon** 2 · **Haier** 2 ·-**Hitachi** 2 · **Kalley** 2 · **Motorola** 2 · **Nokia** 2 · **NVIDIA Shield** 2 · **onn** 2 · **Redmi** 2 ·-**SHARP** 2 · **Toshiba** 2 · **Vu** 2 ·-AiPro2K · AIWA · Artel · Caxium · Cecotec · Challenger · Compac · Dialog · EKO · Freebox · Grundig · Insignia Fire TV ·-JVC · Karbonn · Kogan · Lumio · MTC · Noblex · OK. · PEAQ · Polytron · PRISM+ · RCA · RockTek · Sankey · SANYO · Sber ·-Super General · Tele System · TiVo · Tornado · Turkcell · Verizon · Vidda · Vision ·-Anker Nebula, BYINTEK, Epson, Formovie, Gadnic, JMGO, Magcubic, Portronics, Stellamore, Wanbo and XGIMI projectors+<!-- tv-brands:start: generated by tools/gen_tables.py from examples/*/tv.json; edit those, not this -->+- **TCL** 61 · **Sony** 32 · **Xiaomi** 29 · **Philips** 15 · **Hisense** 10 · **Skyworth** 9 · **Amazon Fire TV** 7 ·++**TCL** 61 · **Sony** 33 · **Xiaomi** 29 · **Philips** 15 · **Hisense** 10 · **Skyworth** 9 · **Amazon Fire TV** 7 ·+**OnePlus** 4 · **Thomson** 4 · **BenQ** 3 · **Google** 3 · **Haier** 3 · **Panasonic** 3 · **SHARP** 3 · **CHiQ** 2 ·+**FFalcon** 2 · **Hitachi** 2 · **Kalley** 2 · **Motorola** 2 · **Nokia** 2 · **NVIDIA Shield** 2 · **onn** 2 ·+**RCA** 2 · **Redmi** 2 · **Sankey** 2 · **Toshiba** 2 · **Vu** 2 ·+Acer · AiPro2K · AIWA · AQUA · Artel · Beko · Caxium · Cecotec · Challenger · Compac · Dialog · EKO · Freebox ·+Grundig · INCLO · Insignia Fire TV · JVC · Karbonn · Kogan · KTC · Liberton · Lumio · Master-G · MTC · Noblex · OK. ·+PEAQ · Polytron · PRISM+ · RockTek · SANYO · Sber · Super General · Tele System · TiVo · Tornado · Turkcell · Verizon ·+Vidda · Vision ·+Anker Nebula, BYINTEK, Epson, Formovie, Gadnic, HOTACK, JMGO, Magcubic, Portronics, Stellamore, Wanbo and XGIMI projectors++<!-- tv-brands:end --><details><summary><strong>The full list</strong></summary>@@@ -276,12 -255,14 +276,13 @@@| 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 || Sony BRAVIA KD-55XE8596 (2017, "BRAVIA 4K GB", BRAVIA_ATV2_EU, MediaTek MT5891), UK | Android TV 9 || Sony BRAVIA KD-55XF7596 (2018, "BRAVIA 4K GB ATV3", BRAVIA_ATV3_4K_EU, MediaTek MT5891), EU | Android TV 9 |+| Sony BRAVIA KD-55XF8096 (2018, "BRAVIA 4K GB ATV3", BRAVIA_ATV3_4K_EU, MediaTek MT5891), Spain | Android TV 9 || Sony BRAVIA KD-65X80J (2021, BRAVIA_VH2, MediaTek), India | Google TV 10 |-| 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 --cc examples/README.mdindex 45a24fff4,793b1e520..6a8b2cd5a--- a/examples/README.md+++ b/examples/README.md@@@ -150,18 -134,20 +150,19 @@@ on that firmware, grouped and commented| `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 || `sony-kd-55xe8596/` | Sony BRAVIA KD-55XE8596 (2017, "BRAVIA 4K GB", BRAVIA_ATV2_EU, MediaTek MT5891), UK | Android TV 9 | Same product as `sony-bravia-4k-gb/` on the older S52 build: Samba TV ACR, Sony/Qterics agents, Sony Select/promos/Discover, recommendation rows, partner auto-installs, demo mode, hotel/pro-mode b2b packages; Chromecast, mirroring, DLNA, USB media, Assistant and phone remote kept; UK Live TV hands over to YouView, so launch `com.sony.dtv.tvx`; webapi kept for Home Assistant || `sony-kd-55xf7596/` | Sony BRAVIA KD-55XF7596 (2018, "BRAVIA 4K GB ATV3", BRAVIA_ATV3_4K_EU, MediaTek MT5891), EU | Android TV 9 | Same build as the X900F (ATV3) plus the XE8596 leftovers: Samba TV ACR, Sony/Qterics agents, Sony Select/promos/Discover, launcher customizer, recommendation rows, partner auto-installs, demo mode, hotel/pro-mode b2b; Assistant, USB players, dead Play Music off by choice; Chromecast, mirroring, DLNA, phone remote, Prime Video, firmware updates, Sony IP control and vendorprotocol kept; smarthomesettings is a TV_INPUT_HARDWARE false positive; launcher works; 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 || `sony-kd-65x80j/` | Sony BRAVIA KD-65X80J (2021, BRAVIA_VH2, MediaTek), India | Google TV 10 | Samba TV, Sony device agents, Sony Select/tab, hotel-mode services, BRAVIA CAM leftovers; setupwraith off for a custom launcher; 4 GB /data fills up, trim caches before installing |-| `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 |+| `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; [handover and firmware notes](../docs/devices/sony-x9000h-cn.md) |+| `sony-xbr-55x850c/` | Sony BRAVIA XBR-55X850C (2015, "BRAVIA 4K 2015", SVP-DTV15, MediaTek), US firmware | Android TV 8.0 | 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 || `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-55x850c/` | Sony BRAVIA XBR-55X850C (2015, "BRAVIA 4K 2015", SVP-DTV15, MediaTek), US firmware | Android TV 8.0 | 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 || `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 || `sony-xr-65a80j/` | Sony XR-65A80J (65-inch OLED, 2021, BRAVIA_VH2), EU | Google TV 12 | Samba TV ACR, Sony/Google telemetry, Sony promos, hotel mode and unused AirPlay/DLNA/HbbTV/BRAVIA CAM; voice, Chromecast, Miracast, updates and Ambient mode kept; custom Cosy Home-based launcher on Ethernet; used for a few days on Ethernet || `sony-xr-65x90j-cn/` | Sony XR-65X90J (2021, BRAVIA_VH2, MediaTek MT5895), China | Android TV 10 | China firmware with no Samba TV, no Google feedback and no Sony promos/Select/tab, so there is no Sony ACR to remove; first VH2 list on Android 10; demo/help, BRAVIA CAM leftovers (no camera), IDD/bug-report/usercontext/seeds, JD SmartService, QuickSet, 12 b2b hotel-mode packages and DLNA off; Dangbei home and store kept (the Dangbei home as HOME fallback behind an owner-supplied third-party launcher); HappyCast kept; all 47 disables survived a reboot and persist and hotelmode did not come back |diff --cc examples/sony-kdl-43w950d/tv.jsonindex 000000000,000000000..89358b6d5new file mode 100644--- /dev/null+++ b/examples/sony-kdl-43w950d/tv.json@@@ -1,0 -1,0 +1,6 @@@++{++ "tv": "Sony BRAVIA KDL-43W950D (2015/2016, SVP-DTV15, MediaTek), India (\"PA\") firmware",++ "os": "Android TV 8.0.0",++ "brand": "Sony",++ "notes": "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"++}diff --cc tools/readme_stats.pyindex 742199d4f,983e964a6..0e9bed17c--- a/tools/readme_stats.py+++ b/tools/readme_stats.py@@@ -3,16 -3,9 +3,16 @@@Update STATS, then: python3 tools/readme_stats.py Fredoka.ttf docs/stats.pngand rebuild the card with tools/readme_card.py. Fredoka is the variable TTF from Google Fonts."""import sys-from PIL import Image, ImageDraw, ImageFont++# Pillow is not in tools/requirements.txt: it is only needed to redraw the README card, so point at the+# optional file the way tools/flamechart.py does, instead of ending in a bare traceback.+try:+ from PIL import Image, ImageDraw, ImageFont+except ImportError:+ sys.exit("readme_stats.py needs Pillow: tools/venv/bin/pip install -r tools/requirements-perf.txt")+FONT, OUT = sys.argv[1], sys.argv[2]- STATS = [("270", "TV MODELS"), ("79", "BRANDS"), ("25", "LANGUAGES"), ("497 KB", "LAUNCHER")]-STATS = [("252", "TV MODELS"), ("74", "BRANDS"), ("25", "LANGUAGES"), ("474 KB", "LAUNCHER")]++STATS = [("271", "TV MODELS"), ("79", "BRANDS"), ("25", "LANGUAGES"), ("497 KB", "LAUNCHER")]W, H = 1600, 240img = Image.new("RGB", (W, H), "#15181e"); d = ImageDraw.Draw(img)def f(size, wt):