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: a 65-inch EU BRAVIA ATV3 runs the XF7596 launcher
Alexander Overf82919c5f927
diff --git a/examples/sony-kd-55xf7596/README.md b/examples/sony-kd-55xf7596/README.mdindex 9e7f369a5..36a0013d7 100644--- a/examples/sony-kd-55xf7596/README.md+++ b/examples/sony-kd-55xf7596/README.md@@ -20,6 +20,30 @@ leftovers [`sony-kd-55xe8596/`](../sony-kd-55xe8596/debloat.txt) disables, withand Home work on the real remote without the accessibility services. Inputs pill switches HDMI 1.- No antenna was connected: for DVB-T only the tuner service answering was checked, not reception.+## Second unit (65-inch, EU, 2026-10-28)++`tools/tv.py --probe` on this set returns the same identity as the 55-inch unit: model `BRAVIA 4K GB ATV3`,+device `BRAVIA_ATV3_4K`, product `BRAVIA_ATV3_4K_EU`, firmware `PTT1.190515.001.S54 672201`. The inch size+is the owner's; getprop does not carry a KD-65 name. The panel is 3840x2160 and the board is mt5891.+[`sony-kd-55xf8096/`](../sony-kd-55xf8096/debloat.txt) has this same fingerprint, so the two lists cannot+be told apart by a fingerprint prefix.++`com.gathin.tvhome` was the focused Home app, and `com.google.android.tvlauncher` was disabled. Already+disabled from this list: Samba TV, promos, Sony Select, bivlinfo, the recommendation rows, the Bravia+auto-install, the three demo packages, the Sony and Qterics device agents, both bug reporters, feedback,+and the three help apps. Still enabled, so not tested on this unit: Discover, both launcher-customizer+packages, the Sony Select overlay, and every package under "Off by choice" and "Hotel / professional+mode". This unit was not reboot-checked and has not been lived with for days. `com.sony.dtv.scrums.action`+is installed and was left enabled.+- A 65-inch EU set of the same fingerprint (locale en-GB, panel 3840x2160, product+ `BRAVIA_ATV3_4K_EU`) on 2026-10-28. `ro.product.model` is still `BRAVIA 4K GB ATV3`, so the+ marketing model is not in getprop. The launcher from `launcher/` is Home+ (`com.gathin.tvhome/.MainActivity` in `dumpsys window | grep mFocusedApp`), with the same+ `config.xml` Live TV entries as above. The packages disabled on that set are a subset of+ [`debloat.txt`](debloat.txt): the shorter clean-up, plus `com.google.android.tvlauncher` from+ the launcher install. The optional "off by choice" packages stayed enabled. That unit was not+ reboot-checked.+## Kept on purposeChromecast, screen mirroring, DLNA, the phone remote, Sony IP control (`webapi.core`, `remoteaccess`) anddiff --git a/examples/sony-kd-55xf7596/debloat.txt b/examples/sony-kd-55xf7596/debloat.txtindex 8acbe04ba..4545483ab 100644--- a/examples/sony-kd-55xf7596/debloat.txt+++ b/examples/sony-kd-55xf7596/debloat.txt@@ -3,6 +3,14 @@# Firmware Sony/BRAVIA_ATV3_4K_EU/BRAVIA_ATV3_4K:9/PTT1.190515.001.S54/672201:user/release-keys,# security patch 2022-01-05. 2 GB RAM (about 200 MB available with the stock UI), 8.1 GB /data, 3.4 GB free.#+# Second unit, 2026-10-28: a 65-inch EU set, locale en-GB, panel 3840x2160, the same product,+# device and fingerprint. getprop still says model "BRAVIA 4K GB ATV3", so the inch size is not+# in the software identity. The launcher from launcher/ is Home: dumpsys window | grep mFocusedApp+# shows com.gathin.tvhome/.MainActivity, with hidden_apps com.sony.dtv.tvx and+# com.sony.dtv.tvxlauncher.programguide and live_tv_package com.sony.dtv.tvx. On this unit the+# disabled packages are a subset of the list below (a shorter clean-up, plus tvlauncher from the+# launcher install). The "off by choice" packages stayed enabled. This unit was not reboot-checked.+## Apply: TV_HOST=<tv ip> tools/disable.sh examples/sony-kd-55xf7596/debloat.txt# Undo: TV_HOST=<tv ip> tools/restore.sh examples/sony-kd-55xf7596/debloat.txt# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.@@ -24,6 +32,16 @@# Applied 2026-10-21 in six batches (the sections below), checking Home, Netflix, HDMI 1 and the DVB-T input# after each one, then rebooted: all 38 still disabled, nothing re-enabled by the firmware, no crashes,# display values unchanged, MemAvailable up from about 200 MB to about 500 MB after boot.+# Second unit, 2026-10-28: a 65-inch EU set. getprop has no KD-65 name (model "BRAVIA 4K GB ATV3",+# device BRAVIA_ATV3_4K, product BRAVIA_ATV3_4K_EU, panel 3840x2160, board mt5891) and the fingerprint+# is the one above, which examples/sony-kd-55xf8096 also has, so a fingerprint prefix cannot tell the+# two lists apart. com.gathin.tvhome was Home (`dumpsys window | grep mFocusedApp`) and+# com.google.android.tvlauncher was disabled. Already off from this list: Samba TV, promos, Sony Select,+# bivlinfo, tvrecommendations, the Bravia auto-install, the three demo packages, da.service, Qterics,+# both bug reporters, feedback, customersupport, smarthelp and imanual. Still enabled, so not tested+# on this unit: discovery, both launcher-customizer packages, sonyselect.overlay, and every package+# under "Off by choice" and "Hotel / professional mode" below. Not reboot-checked here and not lived+# with for days. com.sony.dtv.scrums.action is installed and was left enabled.# Notes from this firmware:# - Android 9 has no topResumedActivity line: check apps and inputs with# `dumpsys activity activities | grep mResumedActivity`, and the input withdiff --git a/examples/sony-kd-55xf7596/tv.json b/examples/sony-kd-55xf7596/tv.jsonindex 890d80a0b..6b49b2aa4 100644--- a/examples/sony-kd-55xf7596/tv.json+++ b/examples/sony-kd-55xf7596/tv.json@@ -2,5 +2,5 @@"tv": "Sony BRAVIA KD-55XF7596 (2018, \"BRAVIA 4K GB ATV3\", BRAVIA_ATV3_4K_EU, MediaTek MT5891), EU","os": "Android TV 9","brand": "Sony",- "notes": "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"+ "notes": "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. A 65-inch EU set of the same fingerprint (en-GB, 3840x2160) also runs the launcher as Home; its disabled packages are a subset and that unit was not reboot-checked: [notes](sony-kd-55xf7596/README.md)"}