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 4K AE1 (BRAVIA_AE_M6L, MediaTek MT5897), Google TV 12
Saketc0936a7a00fb
diff --git a/README.md b/README.mdindex 1c318c310..59625e77c 100644--- a/README.md+++ b/README.md@@ -217,6 +217,7 @@ Anker Nebula, BYINTEK, Epson, Formovie, Gadnic, JMGO, Portronics, Stellamore, Wa| Skyworth SWTV-22AE-FHD (umeda, MediaTek), Vietnam/Global | Google TV 14 || Skyworth SWTV-24AE-4K NF (eleonas, MediaTek mt5896), South Africa/Global | Google TV 14 || Skyworth SWTV-24NA-4K NF (eleonas, MediaTek mt5896), US | Google TV 14 |+| Sony BRAVIA 4K AE1 (BRAVIA_AE_M6L, MediaTek MT5897), EU | Google TV 12 || Sony BRAVIA 4K AE2 (BRAVIA_AE2, MediaTek MT5897), North America | Google TV 14 || Sony BRAVIA 4K GB (BRAVIA_ATV2_EU, BRAVIA_ATV2) | Android TV 9 || Sony BRAVIA 4K GB (BRAVIA_ATV2_UC, MediaTek mt5891) | Android TV 9 |diff --git a/examples/README.md b/examples/README.mdindex 1d090a8e2..1bfb45028 100644--- a/examples/README.md+++ b/examples/README.md@@ -107,6 +107,7 @@ on that firmware, grouped and commented. These are starting points: comment out| `skyworth-swtv-22ae-fhd/` | Skyworth SWTV-22AE-FHD (umeda, MediaTek), Vietnam/Global | Google TV 14 | Skyworth telemetry (recordactivation, aftersale), ads, recommendation rows, dailymanage, factory test and store demos; setupwraith disabled to free Home; Gboard, Chromecast, Assistant, Live TV (MediaTek wwtv.tvcenter) preserved; Live TV hidden and dock apps configured || `skyworth-swtv-24ae-4k-nf/` | Skyworth SWTV-24AE-4K NF (eleonas, MediaTek mt5896), South Africa/Global | Google TV 14 | Same eleonas platform as SWTV-24NA-4K NF; Skyworth telemetry (recordactivation, aftersale), ad services, recommendation rows and partner customizer, Ginga/MHEG off; Health Connect, e-manual, TV Guard (dailymanage), Daily Key (myapp), Play Games off; streaming apps and OTA off by choice; custom launcher (com.gathin.tvhome) installed; setupwraith safe to disable (Wi-Fi owned by android.uid.system, not setupwraith); wireless-debugging pairing only; port 5555 closes on reboot; com.cltv.hybrid disabled from factory || `skyworth-swtv-24na-4k-nf/` | Skyworth SWTV-24NA-4K NF (eleonas, MediaTek mt5896), US | Google TV 14 | Same platform as the India Philips Smart 4K: Skyworth recommendations, after-sale/activation trackers, partner customizer, Ginga/MHEG; casting, karaoke, OTA kept by choice; wireless-debugging pairing only; setupwraith owned the Wi-Fi saved at setup and disabling it deleted the network |+| `sony-bravia-ae1/` | Sony BRAVIA 4K AE1 (BRAVIA_AE_M6L, MediaTek MT5897), EU | Google TV 12 | Samba TV ACR, Sony/Qterics agents, promos and Sony tab, partner auto-installs, demo mode, help; voice, AirPlay, DLNA, USB media, UK broadcaster apps off by choice; setupwraith; Settings/Netflix/YouTube/Prime buttons by scancode with HomeKeyService (costs the held-volume ramp) || `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-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 || `sony-bravia-4k-gb-us/` | Sony BRAVIA 4K GB (BRAVIA_ATV2_UC, MediaTek mt5891) | Android TV 9 | Same platform as the X900E: Samba TV, Sony promos/Select/Discover, device agents; Chromecast, mirroring off by choice, DLNA kept; "ADB debugging" label |diff --git a/examples/sony-bravia-ae1/config.json b/examples/sony-bravia-ae1/config.jsonnew file mode 100644index 000000000..118c35baf--- /dev/null+++ b/examples/sony-bravia-ae1/config.json@@ -0,0 +1,16 @@+{+ "dock_apps": [+ "com.netflix.ninja",+ "com.google.android.youtube.tv",+ "com.amazon.amazonvideo.livingroom",+ "com.android.vending"+ ],+ "hidden_apps": ["com.sony.dtv.tvlin"],+ "live_tv_package": "com.sony.dtv.tvlin",+ "columns": 4,+ "app_keys": [+ "scan:583:com.netflix.ninja",+ "scan:485:com.google.android.youtube.tv",+ "scan:490:com.amazon.amazonvideo.livingroom"+ ]+}diff --git a/examples/sony-bravia-ae1/debloat.txt b/examples/sony-bravia-ae1/debloat.txtnew file mode 100644index 000000000..8c3082b1a--- /dev/null+++ b/examples/sony-bravia-ae1/debloat.txt@@ -0,0 +1,81 @@+# Sony BRAVIA 4K AE1 (device BRAVIA_AE_M6L, MediaTek MT5897), EU firmware+# Android 12 (Google TV, API 31), build BRAVIA_AE1_EU-user 12 STT2.231117.001 634040+#+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/sony-bravia-ae1/debloat.txt+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/sony-bravia-ae1/debloat.txt com.google.android.apps.tv.launcherx+# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.+#+# Stock launcher: com.google.android.apps.tv.launcherx (Google TV). Install the launcher first+# (launcher/build-and-install.sh): tools/disable.sh refuses to disable launcherx while it still owns Home.+# Live TV / input player: com.sony.dtv.tvlin. It also plays the HDMI inputs, so keep it even if you never+# watch broadcast TV; set it as live_tv_package and in hidden_apps (config.json here). The Inputs menu+# lists HDMI 1-4 and Live TV, and picking an HDMI port opens tvlin on that input.+# Keep com.sony.dtv.tvlin, com.sony.dtv.tvinput.dvbtuner, com.sony.dtv.sonysystemservice, imeproxy,+# settingsprovider, the Sony settings apps, update/update.agent.* (firmware) and all com.mediatek.*:+# they drive HDMI, the tuner, the remote and updates.+# Kept by owner's choice: Netflix, YouTube, Prime Video, UEI QuickSet (IR blaster), Sony IoT/smart-speaker+# control (seeds.iot), Sony IP control (webapi), firmware updates. Left alone because their components+# don't say enough: fingerprinterserver, crashlogcollector, lastaccess, interactivetvutil.+# This set has no Chromecast (mediashell) and no Google Assistant (katniss) package.+# Already disabled at the factory: the my5, sounds, iplayer, itv and all4 launchers, com.youview.poa,+# de.hdplus.tvapp.androidtv. Not in this list, so restore.sh leaves them as they are.+#+# Quirks on this firmware, all checked on the TV:+# - setupwraith claims HOME with priority 1; on this unit it did not own the saved Wi-Fi network+# (`dumpsys wifi | grep -o 'cname=[^ ]*'` showed android.uid.system only). Check yours first.+# - The remote's Input key opens Sony's own source panel (tvlin's GlobalKeyReceiver): no helper needed.+# - With launcherx disabled the Settings, Netflix, YouTube and Prime Video buttons do nothing. They come+# back with HOME_KEY_SERVICE=1 and scancodes (getevent, decimal): Settings 646 (settings_key_scancodes,+# config.xml only), Netflix 583, YouTube 485, Prime Video 490 (app_keys, in config.json here).+# - With that helper bound, a held Volume key moves one step instead of ramping, the same trade as+# docs/devices/tcl-55p71b-g09-key-repeat.md (checked on the real remote, before and after).+#+# Applied 22 October 2026 on one unit and reboot-checked: everything below stayed disabled and Home came+# back on the new launcher. Not yet lived with for days; if something breaks, re-enable it with+# `pm enable <package>` and please report it.++# ACR viewing tracker and telemetry+tv.samba.ssm # Samba TV fingerprints what's on screen+com.qterics.da.product # Qterics device agent+com.sony.dtv.da.service # remote-support session service+com.sonyericsson.idd.agent # Sony usage data+com.sony.dtv.usercontext # viewing context for recommendations+com.google.android.feedback+com.sony.dtv.sonybugreportsys # bug-report uploader+com.sony.dtv.b2b.vendorprotocol # broadcasts model/MAC/IP over SDDP++# Sony ads and partner installs+com.sony.dtv.promos+com.sony.dtv.sonytab # Sony tab on the Google TV home; unused once launcherx is off+android.autoinstalls.config.sony.bravia # Play auto-install of partner apps++# demo / shop mode+com.sony.dtv.demosupport+com.sony.dtv.demosystemsupport+com.sony.dtv.multiscreendemo++# help+com.sony.dtv.customersupport # Help tile+com.sony.dtv.smarthelp++# features not used (off by choice)+com.sony.dtv.voicesearch # remote's mic button stops working+com.sony.dtv.assistantadapter+com.sony.dtv.airplayapp # AirPlay+com.sonyericsson.dlna # DLNA media server/renderer+com.sony.huey.dlna.module+com.sony.dtv.smartmediaapp # Media Player, re-enable to play USB files+com.sony.dtv.osat.music # re-enable to play music from USB+com.vewd.core.browser # Vewd web browser++# UK broadcaster apps and USB recording (off by choice)+com.youview.dtv.bbc+com.itv.youviewandroidlauncher+com.channel4.youviewandroidlauncher+com.channel5.my5sony+com.sony.dtv.recapp # records Live TV to a USB drive++# Google TV setup wizard and home: setupwraith first, or its RecoveryActivity takes Home.+# Re-enable both before a factory reset. See the Wi-Fi note above first.+com.google.android.tungsten.setupwraith+com.google.android.apps.tv.launcherx