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
Sony BRAVIA BF1 (Android 12) example
Eswaramoorthy Karthikeyan77b4c23f827f
diff --git a/examples/README.md b/examples/README.mdindex 038cce39f..765c4835d 100644--- a/examples/README.md+++ b/examples/README.md@@ -15,6 +15,7 @@ on that firmware, grouped and commented. These are starting points: comment out| `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-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-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 |diff --git a/examples/sony-bravia-2-ii-s25m2/debloat.txt b/examples/sony-bravia-2-ii-s25m2/debloat.txtnew file mode 100644index 000000000..cc1277e2d--- /dev/null+++ b/examples/sony-bravia-2-ii-s25m2/debloat.txt@@ -0,0 +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+# 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