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 TCL 43S5K (G13, Google TV 14, MediaTek MT9221), India
Manas Arora791eb3a250b4
diff --git a/README.md b/README.mdindex ab7bed540..e8b71c19a 100644--- a/README.md+++ b/README.md@@ -188,6 +188,7 @@ SANYO · Thomson · Toshiba Fire TV · Vu · JMGO, Portronics, Stellamore, Wanbo| TCL 40S5400A (C06, C06_2K_GB, MediaTek MT9221, 1 GB) | Android TV 11 || TCL 43C645 (Smart TV Pro, Realtek RTD2851 / R51MT05, V8-R51MT05-LF1V652) | Google TV launcher on Android TV 11 || TCL 43EP660 (Europe, BeyondTV, Realtek rtd285o, V8-R851T02-LF1V378) | Android TV 9 |+| TCL 43S5K (G13, G13_2K_GB, MediaTek MT9221, 1 GB), India | Google TV 14 || TCL 50EP680 (Europe, BeyondTV, Realtek rtd285o) | Android TV 11 || TCL 55" 4K Google TV, 2023 (G10, G10_4K_US_NF); also TCL 55P6K, Spain (G10_4K_GB_NF_32BIT) | Google TV 12 || TCL 55Q10G Pro (China, tcl_mt5879_cn, MediaTek MT9952) | Android TV 11 |diff --git a/examples/README.md b/examples/README.mdindex 646176217..e60c66c42 100644--- a/examples/README.md+++ b/examples/README.md@@ -62,6 +62,7 @@ on that firmware, grouped and commented. These are starting points: comment out| `tcl-40s5400a/` | TCL 40S5400A (C06, C06_2K_GB, MediaTek MT9221, 1 GB) | Android TV 11 | TCL account/TGuard/promo rows, USB players, voice and photo screensaver off by choice; ttvs is the firmware updater, keep it; stock launcher has HOME priority 2, so it must be disabled || `tcl-43c645/` | TCL 43C645 (Smart TV Pro, Realtek RTD2851 / R51MT05, V8-R51MT05-LF1V652) | Google TV launcher on Android TV 11 | TCL BI analytics/promos, Google partner plumbing, setupwraith (takes HOME once the stock launcher is off); voice and Chromecast kept, firmware updater and Miracast off by choice; tested on a real unit, launcher works || `tcl-43ep660/` | TCL 43EP660 (Europe, BeyondTV, Realtek rtd285o, V8-R851T02-LF1V378) | Android TV 9 | TCL BI analytics, user center, TCL Channel, message box, stickers, TV Guard, T-Cast, app store, USB players; voice and Miracast off by choice, Chromecast and updaters kept; stock launcher has HOME priority 2, so it must be disabled; setupwraith owns the setup Wi-Fi and does not claim HOME, so it stays; `StartandroidService` kept (device authentication) |+| `tcl-43s5k/` | TCL 43S5K (G13, G13_2K_GB, MediaTek MT9221, 1 GB), India | Google TV 14 | TCL analytics and the firmware updater are one app (ttvs), log upload, promo rows, Google partner auto-installs and tracking; Assistant and TCL browser off by choice; Live TV and HDMI are MediaTek's `wwtv.tvcenter`, not `com.tcl.tv`; the Wi-Fi saved during setup belongs to setupwraith, so re-join it before setupwraith goes; launcherx, setupwraith and dreamx off for launcher/; the remote's gear sends keycode 83 (`settings_key_keycodes`) || `tcl-50ep680/` | TCL 50EP680 (Europe, BeyondTV, Realtek rtd285o) | Android TV 11 | TCL analytics + content feed, giftbox dashboard, partner customizer, preloaded games/news; UK Freeview apps already off at the factory; voice off by choice; launcher works (stock `com.google.android.tvlauncher`, Live TV `com.tcl.tv`) || `tcl-g10-google-tv/` | TCL 55" 4K Google TV, 2023 (G10, G10_4K_US_NF); also TCL 55P6K, Spain (G10_4K_GB_NF_32BIT) | Google TV 12 | TCL TV+, TCL Live, store demo, smartlink installer; setupwraith also claims Home once the stock launcher is disabled || `tcl-q10g-pro/` | TCL 55Q10G Pro (China, tcl_mt5879_cn, MediaTek MT9952) | Android TV 11 | No Google services, TCL boot ad + analytics/BI, OTA and account services; ADB opens from Device info + UP/DOWN/LEFT/RIGHT, not the build number; debloat only, stock launcher cannot be replaced (signature check at install time) |diff --git a/examples/tcl-43s5k/debloat.txt b/examples/tcl-43s5k/debloat.txtnew file mode 100644index 000000000..21b696671--- /dev/null+++ b/examples/tcl-43s5k/debloat.txt@@ -0,0 +1,58 @@+# TCL 43S5K, India (device G13, product G13_2K_GB, model "Smart TV"), Google TV 14 (SDK 34),+# build UKN2.241110.001 AU10, security patch 2025-12-01. MediaTek MT9221 (ro.board.platform mt5867),+# about 1 GB RAM (954 MB, low_ram=true), 32-bit only (armeabi-v7a).+# Unlike the G08 TCL Google TVs, Live TV and HDMI are MediaTek's com.mediatek.wwtv.tvcenter, not com.tcl.tv.+#+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/tcl-43s5k/debloat.txt+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/tcl-43s5k/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. Live TV / HDMI app: com.mediatek.wwtv.tvcenter.+# Keep: com.mediatek.wwtv.tvcenter, com.mediatek.tvinput, com.mediatek.tv.service, com.tcl.suspension+# (source panel / Input button), com.tcl.keyhelp (virtual keys), com.tcl.useragreement, com.tcl.factory.view,+# mediatek.factorymenu.ui, com.mediatek.wwtv.setupwizard, com.google.android.tv.remote.service.+#+# com.tcl.ttvs on this firmware is BOTH TCL's analytics (bi.core.BIService, identifier, trackdata) AND+# TCL's firmware/app updater (versionUpdateApp.core.SystemUpdateService). Disabling it stops TCL+# firmware updates until it is enabled again.+#+# The saved Wi-Fi network was created by com.google.android.tungsten.setupwraith (cname= in dumpsys wifi),+# so forget and re-join it in Settings before setupwraith is disabled.+#+# Applied in four batches on 2026-10-20 with a screenshot after each and lived with for an afternoon so far+# (shorter than CONTRIBUTING.md asks; I'll report back if anything breaks). Since then: two power cuts and a+# reboot, Home came back on launcher/ each time; Wi-Fi, the remote's Input key (TCL's source panel), the+# launcher's Inputs menu (HDMI 1, HDMI 2, Composite, Live TV), YouTube, Netflix and JioHotstar (with AdGuard+# Private DNS) all fine. launcherx was disabled by launcher/build-and-install.sh after the new Home ran.+#+# Known quirks on this firmware:+# - The remote's gear button sends keycode 83 (KEYCODE_NOTIFICATION, scancode 561), which only launcherx+# handled: set settings_key_keycodes to [83] (config.xml or a theme) so it opens Settings again.+# - With katniss off the mic button does nothing; leave it enabled if you use voice.+# - Usage statistics restart empty after a power cut (they are written to disk only now and then).++# Batch 1: TCL tracking, ads and auto-installs+com.tcl.ttvs # TCL analytics, device identifier, trackdata, AND the TCL firmware updater+com.tcl.messagebox # TCL push messages and promos; carries an org.tcl.ttvs receiver+com.tcl.logkit # log capture and upload+com.tcl.partnercustomizer # TCL promo rows on the Google TV home+android.autoinstalls.config.google.gtvpai # silently installs partner apps+com.google.android.partnersetup # partner attribution (RLZ pings)++# Batch 2: preloaded apps and extras not used on this unit+com.tcl.browser # TCL "BrowseHere" browser and web-video portal+com.google.android.play.games+com.google.android.feedback+com.android.tv.feedbackconsent+com.google.android.katniss # Google Assistant voice (mic button), about 63 MB in two processes; off by choice++# Batch 3: setup wizard. It claims HOME (RecoveryActivity, priority 1) once launcherx is gone.+# Disabled while launcherx still owned Home, and only after the Wi-Fi network was forgotten and re-joined+# in Settings so that it belongs to android.uid.system instead of setupwraith.+com.google.android.tungsten.setupwraith++# Batch 4: after launcher/ is Home and the screensaver is switched to the launcher's clock:+# tools/tv.py 'settings put secure screensaver_components com.gathin.tvhome/.ClockDream'+# (it was unset, so the default com.google.android.apps.tv.dreamx/.service.Backdrop ran;+# undo with 'settings delete secure screensaver_components')+com.google.android.apps.tv.dreamx # Google TV Ambient mode screensaver (promos)