Skip to content

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

Merge PR #183: Sony BRAVIA BF1 (Google TV 12)

Gathin2308e68b45643c
diff --cc examples/README.md
index d6ff7137e,765c4835d..3d6058540
--- a/examples/README.md
+++ b/examples/README.md
@@@ -19,12 -15,8 +19,13 @@@ on that firmware, grouped and commented
| `philips-smart-4k-google-tv/` | Philips Smart 4K TV (Skyworth, eleonas, MediaTek), India | Google TV 14 | Skyworth recommendations, after-sale/activation trackers, iCast; Chromecast, Assistant off by choice; wireless-debugging pairing, setupwraith |
| `rca-ai-pont/` | RCA AI PONT SA (Changhong, redwood, ISDB92RC; also sold as realme 40-inch) | Android 14 | Homwee store and installers, Anoki ACR, FAST channels; 1 GB |
| `sanyo-atv-r2/` | SANYO ATV R2 (SCBC, Realtek RTD285O) | Android TV 9 | S-Channels, E-SHOW demo, Vewd, TV Booster, SANYO OTA |
-| `sony-bravia-2-ii-s25m2/` | Sony BRAVIA BF1 (BRAVIA 2 II class, BRAVIA_BF1_4K_A, MediaTek) | Google TV 12 | Samba TV, Sony promos/Select, demo mode, preloaded apps; Home switch in steps (setupwraith), ambient screensaver, applicationdisabler re-enables IoT |
+| `sony-bravia-4k-gb/` | Sony BRAVIA 4K GB (BRAVIA_ATV2_EU, BRAVIA_ATV2) | Android TV 9 | Samba TV ACR, Sony Select/promos/Discover, demo mode, device agents; same firmware as the X900E; Chromecast, mirroring, DLNA and USB media kept on purpose |
+| `skyworth-swtv-21ae/` | Skyworth SWTV-21AE (sunnyvale, MediaTek) | Android TV 14 | Skyworth home-row customizer, shop demo, e-manual; Google feedback; FAST channels, YouTube, ambient mode off by choice; port 5555 opens without pairing; 1 GB |
++| `sony-bravia-bf1/` | Sony BRAVIA BF1 (BRAVIA 2 II class, BRAVIA_BF1_4K_A, MediaTek) | Google TV 12 | Samba TV, Sony promos/Select, demo mode, preloaded apps; Home switch in steps (setupwraith), ambient screensaver, applicationdisabler re-enables IoT |
| `sony-bravia-4k-ur2/` | Sony BRAVIA 4K UR2 (BRAVIA_UR2_4K, MediaTek) | Android TV 10 | Samba TV, Sony promos/Select, demo mode; Assistant, Chromecast, unused streaming apps off by choice |
+| `sony-bravia-9-ii/` | Sony BRAVIA 9 II (K-65XR90M2, BRAVIA_AE3, MediaTek MT5838) | Google TV 14 | Samba TV ACR, Sony/Qterics device agents, IDD, My BRAVIA promos, Sony Select and Sony tab, demo mode; setupwraith off for the launcher, but it owns Wi-Fi saved during setup and disabling it deletes that network; Chromecast off by choice |
+| `sony-bravia-4k-vh2/` | Sony BRAVIA 4K VH2 (KD-55X80J, BRAVIA_VH2, MediaTek), EU | Google TV 12 | Samba TV ACR, Sony/Qterics device agents, demo mode, help tiles; setupwraith off for a custom launcher; Assistant, Chromecast, firmware updates kept |
+| `sony-bravia-ae2/` | Sony BRAVIA 4K AE2 (BRAVIA_AE2, MediaTek MT5897), North America | Google TV 14 | Samba TV, Sony agents/promos/Select, demo mode, ATSC tuner unused outside NA; launcherx + setupwraith; wireless-debugging pairing, screensaver note |
| `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 |
| `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 |
| `tcl-g10-google-tv/` | TCL 55" 4K Google TV, 2023 (G10, G10_4K_US_NF) | Google TV 12 | TCL TV+, TCL Live, store demo, smartlink installer |
diff --cc examples/sony-bravia-bf1/debloat.txt
index 000000000,cc1277e2d..146c07574
mode 000000,100644..100644
--- a/examples/sony-bravia-bf1/debloat.txt
+++ b/examples/sony-bravia-bf1/debloat.txt
@@@ -1,0 -1,65 +1,65 @@@
+ # Sony BRAVIA BF1 (BRAVIA 2 II class, device BRAVIA_BF1_4K_A, MediaTek, 2.4 GB RAM, armeabi-v7a)
+ # Android 12 (Google TV, API 31), firmware STT2.230811.001, security patch 2026-02-05
+ #
-# Apply: TV_HOST=<tv ip> tools/disable.sh examples/sony-bravia-2-ii-s25m2/debloat.txt
-# Undo: TV_HOST=<tv ip> tools/restore.sh examples/sony-bravia-2-ii-s25m2/debloat.txt com.google.android.apps.tv.launcherx
++# Apply: TV_HOST=<tv ip> tools/disable.sh examples/sony-bravia-bf1/debloat.txt
++# Undo: TV_HOST=<tv ip> tools/restore.sh examples/sony-bravia-bf1/debloat.txt com.google.android.apps.tv.launcherx
+ # Everything is DISABLED, not uninstalled. Comment out any line you want to keep. A factory reset
+ # re-enables every package, so nothing needs undoing before one.
+ #
+ # Stock launcher: com.google.android.apps.tv.launcherx (pass it to restore.sh, as above).
+ # Keep: Play Store and Play Services, Sony's update centre, the TV inputs and tuners
+ # (com.mediatek.dtv.tvinput.*, com.sony.dtv.tvinput.dvbtuner), com.sony.dtv.sonysystemservice,
+ # com.sony.dtv.smartui (the Input menu), Sony and Android settings, Dolby audio, AirPlay, Chromecast, Gboard.
+ #
+ # Quirks on this firmware:
+ # - A plain `reboot` can lose a disable: pm disable-user is saved a few seconds later. Wait ~30 s,
+ # then restart with `svc power reboot`. Check Home, Netflix, YouTube, Input and AirPlay after each group.
+ # - com.sony.dtv.applicationdisabler re-enables some packages at every boot (the IoT ones below,
+ # airplayapp, m2.devicecontrolservice). Leave them; disabling the disabler is not worth it.
+ # - Remote: Home sends KEYCODE_HOME. Input sends KEYCODE_TV_INPUT, which smartui opens system-wide,
+ # so INPUT_KEY_SERVICE isn't needed. OK never repeats while held, so long presses don't work.
+ # - `dumpsys meminfo` without `-t 90` times out on this set. The IP changed after most restarts:
+ # reserve one in the router.
+ #
+ # Applied group by group on 2026-10-19 (voice search kept). Stock vs after, ~15 min after boot:
+ # Home p90 frame time 31 -> 15 ms, janky frames 2.41% -> 0.07%, Home memory ~96 MB (with its helper)
+ # -> ~46 MB, MemAvailable 1.09 -> 1.14 GB.
+
+ # tracking / ads / promos
+ tv.samba.ssm # Samba TV: recognises what's on screen for ad targeting (10 MB, always running)
+ com.sony.dtv.promos # Sony promotions
+ com.sony.dtv.sonyselect # Sony Select: promoted-app picks
+ com.google.android.feedback # Google feedback reporter
+
+ # shop demo mode
+ com.sony.dtv.demosupport
+ com.sony.dtv.demosystemsupport
+ com.sony.dtv.multiscreendemo
+ # Not disableable (applicationdisabler turns them back on at boot):
+ # com.sony.dtv.m2.seeds.iot
+ # com.sony.dtv.m2.seeds.iot.remotestart
+
+ # preloaded apps (reinstall or re-enable any time)
+ com.google.android.videos # Google TV / Play Movies
+ com.google.android.youtube.tvmusic # YouTube Music
+ com.google.android.play.games # Play Games
+ com.sonypicturescore # Sony Pictures Core
+
+ # Home: do these by hand, in steps, AFTER our launcher is installed (not with this file in one go).
+ # com.google.android.tungsten.setupwraith also claims Home, next to launcherx.
+ # 1. launcher/build-and-install.sh with STOCK_LAUNCHER=none (Google TV stays Home)
+ # 2. pm disable-user --user 0 com.google.android.tungsten.setupwraith, then watch the TV for 5 minutes
+ # 3. pm disable-user --user 0 com.google.android.apps.tv.launcherx
+ # cmd package set-home-activity --user 0 com.gathin.tvhome/.MainActivity
+ # It boots straight into the launcher afterwards. Re-enable setupwraith before a factory reset.
+ # com.google.android.tungsten.setupwraith # setup wizard; its RecoveryActivity also claims Home
+
+ # ambient screensaver: shows "Unable to load content" once launcherx is off. First point the
+ # screensaver at the launcher's clock, then disable it:
+ # settings put secure screensaver_components com.gathin.tvhome/.ClockDream
+ # com.google.android.apps.tv.dreamx # ambient mode + smart-home panel (59 MB, always running)
+
+ # voice search (optional, NOT applied on the tested TV): removes the remote's mic button and the
+ # on-screen search box. Frees ~115 MB (katniss runs two processes).
+ # com.google.android.katniss # Google Assistant / voice search, always running
+ # com.sony.dtv.voicesearch # Sony's voice search bridge