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
docs: fold TCL 32V5C variant into 43S5K profile
taiyabj-creatora81170f042d3
diff --git a/README.md b/README.mdindex 510b4da3f..9ded9af58 100644--- a/README.md+++ b/README.md@@ -277,14 +277,13 @@ Anker Nebula, BYINTEK, Epson, Formovie, Gadnic, JMGO, Magcubic, Portronics, Stel| TCL 32L5A (C06, model "Smart TV", 1 GB) | Android TV 11 || TCL 32S5400A (C06, C06_2K_GB, MediaTek MT9221, 1 GB), 2023 | Android TV 11 || TCL 32S5K (C06, C06_2K_GB, MediaTek MT9221, 918 MB), EU | Android TV 11 |-| TCL 32V5C (32-inch V5C, G13, G13_2K_GB, MediaTek MT5867, 954 MB), India | Google TV 14 || TCL 40S5400A (C06, C06_2K_GB, MediaTek MT9221, 1 GB) | Android TV 11 || TCL 43P615 (Europe, BeyondTV, Realtek RTD2851, AR06) | Android TV 11 || TCL 43S450F-CA (S4 Fire TV Edition, AFTDEC012E, ginza, MediaTek), Canada | Fire OS 8.1.8.5 / Android 11 || TCL 43S5400A (C06, C06_2K_GB, MediaTek MT9221, 1 GB) | Android TV 11 || TCL 43C645 (Smart TV Pro, Realtek RTD2851 / R51MT05, V8-R51MT05-LF1V652); also TCL 60C635 (G03_4K_GB, Realtek rtd288o), Spain | 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 43S5K / 32V5C (G13, G13_2K_GB, MediaTek MT9221/MT5867, 1 GB), India | Google TV 14 || TCL 50C725K (Smart TV Pro, BeyondTV4/BeyondTV6, RTD2851M, Realtek rtd288o, 2 GB), AR10 build | Android TV 11 || TCL 50P735 (BeyondTV4, Smart TV Pro) | Google TV 11 || TCL 50DP660 (Europe, "Percee TV", MediaTek MT5658 / board mt5891, V8-T658T01-LF1V602) | Android TV 8.0 |diff --git a/examples/README.md b/examples/README.mdindex dc8ea7e38..a756ed4bd 100644--- a/examples/README.md+++ b/examples/README.md@@ -162,8 +162,7 @@ on that firmware, grouped and commented. These are starting points: comment out| `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-43p615/` | TCL 43P615 (Europe, BeyondTV, Realtek RTD2851, AR06) | Android TV 11 | Sibling of the BeyondTV2 Android 11 above (AR05); same TCL set plus dashboard, useragreement, copydatatotv and notereminder; **`com.google.android.videos` re-enables on every boot** (and YouTube came back via a Play update), `usercenter` stays off unlike the Android 9 RTD2851 sets; 2 HDMI + AV through TvInputManager, Inputs pill works, setupwraith does not claim HOME; voice, Miracast/MagiConnect, stock screensaver and TCL Dashboard off by choice, Chromecast, OTA and phone remote kept; launcher installed and reboot-checked, TV Bro replaces a Play-installed white-label browser || `tcl-43s450f-ca/` | TCL 43S450F-CA (S4 Fire TV Edition, AFTDEC012E, ginza, MediaTek), Canada | Fire OS 8.1.8.5 / Android 11 | First TCL Fire TV Edition list, from the Stick 4K 2023 and Hisense Fire OS 8 lists: Amazon telemetry, ACR, ad bidding and sponsored rows, Fire TV Channels, Shopping, demo content, popups, Photos/Kids/miniTV/Silk, tutorials, other-device setup, Matter controller, screensaver; Crave, Paramount+, Max and Apple TV off by choice; seven protected packages noted; Alexa, Prime Video, Music, Luna, casting, OTA, Live TV and tuner kept; AdGuard Private DNS works; debloat only, stock launcher protected; reboot-checked; notes in README.md |-| `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, kept on for updates), 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-32v5c/` | TCL 32V5C (32-inch V5C, G13, G13_2K_GB, MediaTek MT5867, 954 MB), India | Google TV 14 | Same UKN2.241110.001 / AU10 build as `tcl-43s5k/`, but the nine-package set actually disabled on this 32V5C: TCL messagebox/logkit, partner auto-installs/attribution, TCL browser, Google feedback/consent, setupwraith and dreamx; Assistant, Play Games and partnercustomizer were not disabled here. Live TV/HDMI stay on `com.mediatek.wwtv.tvcenter`; launcherx is disabled only after CleanYourTV owns Home; remote gear is keycode 83 (`settings_key_keycodes`), and a bound HomeKeyService can cost volume long-press repeat; the saved Wi-Fi survived setupwraith removal here (verify the owner on another unit) |+| `tcl-43s5k/` | TCL 43S5K / 32V5C (G13, G13_2K_GB, MediaTek MT9221/MT5867, 1 GB), India | Google TV 14 | Both use the G13_2K_GB / UKN2.241110.001 / AU10 build. 43S5K also disables partnercustomizer, Play Games and Assistant (katniss); the 32V5C test disabled the nine-package subset: TCL messagebox/logkit, partner auto-installs/attribution, TCL browser, Google feedback/consent, setupwraith and dreamx. TCL analytics/updater is one app (ttvs, kept for updates); Live TV/HDMI are MediaTek's `wwtv.tvcenter`, not `com.tcl.tv`; the 43S5K's saved Wi-Fi belongs to setupwraith, so re-join before disabling it, while the 32V5C network survived (verify the owner); launcherx is disabled only after CleanYourTV owns Home; gear keycode 83 (`settings_key_keycodes`); a bound HomeKeyService can stop volume long-press repeat || `tcl-50c725k/` | TCL 50C725K (Smart TV Pro, BeyondTV4/BeyondTV6, RTD2851M, Realtek rtd288o, 2 GB), AR10 build | Android TV 11 | Same BeyondTV4 family as `tcl-65c725/` and `tcl-55c725/`, with the older `tvlauncher` (replaced by `launcher/`); TCL home-content push, TCL Channel, promos, analytics, messagebox, dashboard, browser, gallery, auto-installs and Google feedback/partner setup; Google voice (katniss, ~175 MB RAM), TalkBack/TTS and Netflix/Stan/Play Games off by choice; TCL account, firmware updater, Chromecast, Miracast and screensaver kept; Live TV `com.tcl.tv` and inputs `com.tcl.tvinput` kept; reboot-checked || `tcl-50dp660/` | TCL 50DP660 (Europe, "Percee TV", MediaTek MT5658 / board mt5891, V8-T658T01-LF1V602) | Android TV 8.0 | TCL content tiles (T-Channel), MagiConnect, Alexa bridge, OTA updater, USB players, Rakuten preload and ODM test apps; Assistant and speech recognition off (no microphone), Cast kept; stock launcher has HOME priority 2 and must be disabled; three PERSISTENT `android.uid.system` packages survive `disable-user`; factory menu from the remote via Picture > Advanced Settings > Brightness > Contrast > `1950` with network ADB on 5555; an NVM reset needs a factory reset and a USB reflash afterwards or the Wi-Fi MAC, Widevine keybox and Netflix ESN stay wiped; [compatibility notes](../docs/devices/tcl-50dp660.txt) || `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`) |diff --git a/examples/tcl-32v5c/debloat.txt b/examples/tcl-32v5c/debloat.txtdeleted file mode 100644index 553d9b3c9..000000000--- a/examples/tcl-32v5c/debloat.txt+++ /dev/null@@ -1,58 +0,0 @@-# TCL 32V5C (32-inch V5C), 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 MT5867 platform (ro.board.platform mt5867), 32-bit ARM (armeabi-v7a), 954 MB RAM-# (low_ram=true). Same G13_2K_GB / AU10 build as examples/tcl-43s5k, but this is the shorter-# package set tested on this 32V5C, not a copy of the 43S5K list.-#-# Apply: TV_HOST=<tv ip> tools/disable.sh examples/tcl-32v5c/debloat.txt-# Undo: TV_HOST=<tv ip> tools/restore.sh examples/tcl-32v5c/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 and com.tcl.suspension-# (Live TV, HDMI inputs and the source panel). Keep com.tcl.keyhelp, com.tcl.useragreement,-# com.tcl.factory.view, mediatek.factorymenu.ui, com.mediatek.wwtv.setupwizard and-# com.google.android.tv.remote.service. Keep com.tcl.ttvs: it is both TCL analytics and the firmware-# updater on this build.-#-# The 43S5K list also disables com.tcl.partnercustomizer, com.google.android.play.games and-# com.google.android.katniss. Those were not part of this 32V5C test, so they are not listed here.-#-# Firmware-specific notes:-# - Keep Live TV enabled. com.mediatek.wwtv.tvcenter also plays HDMI; disabling it breaks both.-# - Do not disable com.google.android.apps.tv.launcherx before CleanYourTV is installed and owns Home.-# launcher/build-and-install disables the stock launcher after that; restore.sh needs launcherx as-# its argument.-# - The remote's gear button sends keycode 83 (KEYCODE_NOTIFICATION, scancode 561). Only launcherx-# handled it, so set settings_key_keycodes to [83] (config.xml or a theme) for the launcher's-# Settings panel.-# - HomeKeyService, used for the gear button, can stop volume long-press from repeating on some TCL-# Google TV builds: holding volume then steps once. Set key_filter=false to restore the repeat and-# lose the remapped keys, or leave HomeKeyService off. See docs/TROUBLESHOOTING.md.-# - The saved Wi-Fi network survived disabling setupwraith here without forgetting and re-joining.-# Check dumpsys wifi / the network owner on another unit before copying this step.-# - Switch the screensaver to ClockDream before disabling dreamx:-# tools/tv.py 'settings put secure screensaver_components com.gathin.tvhome/.ClockDream'-# (undo: tools/tv.py 'settings delete secure screensaver_components')-#-# Applied on this 32V5C and reboot-checked; package state was re-checked on 2026-10-22. The owner-# reports several days of use. Home and ClockDream survived a reboot. The nine entries below are the-# set actually disabled on this unit (pm list packages -d); launcherx is handled separately by the-# launcher installer.--# TCL tracking, ads and auto-installs-com.tcl.messagebox # TCL push messages and promos-com.tcl.logkit # log capture and upload-android.autoinstalls.config.google.gtvpai # silently installs partner apps-com.google.android.partnersetup # partner attribution (RLZ pings)--# Preloaded apps and feedback-com.tcl.browser # TCL "BrowseHere" browser and web-video portal-com.google.android.feedback-com.android.tv.feedbackconsent--# Setup wizard: claims HOME (RecoveryActivity) after launcherx is disabled-com.google.android.tungsten.setupwraith--# Ambient screensaver: switch to ClockDream first (command above)-com.google.android.apps.tv.dreamxdiff --git a/examples/tcl-43s5k/debloat.txt b/examples/tcl-43s5k/debloat.txtindex e3cb7eef2..a089f25bc 100644--- a/examples/tcl-43s5k/debloat.txt+++ b/examples/tcl-43s5k/debloat.txt@@ -1,6 +1,7 @@-# 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).+# TCL 43S5K and 32V5C, 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. The 43S5K reports MediaTek MT9221 and the+# 32V5C reports MT5867 (both 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@@ -11,14 +12,18 @@# 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.+# Live TV/HDMI safety (both models): keep com.mediatek.wwtv.tvcenter; it also plays HDMI, so disabling it+# breaks both. Keep com.mediatek.tvinput, com.mediatek.tv.service and com.tcl.suspension as well.## 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, so it is commented out below; uncomment it to trade# updates for less tracking.#-# 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.+# The saved Wi-Fi network was created by com.google.android.tungsten.setupwraith on the 43S5K (cname= in+# dumpsys wifi), so forget and re-join it in Settings before setupwraith is disabled there. On the 32V5C+# the saved network survived disabling setupwraith without forgetting and re-joining; check dumpsys wifi /+# the network owner on another unit before copying that step.## 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@@ -26,9 +31,30 @@# 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.#+# 32V5C variant (32-inch V5C, MT5867, 954 MB): applied and reboot-checked; package state was re-checked on+# 2026-10-22, and the owner reports several days of use. Home and ClockDream survived a reboot. The nine+# entries verified on this unit (exact match with pm list packages -d) are:+# com.tcl.messagebox+# com.tcl.logkit+# android.autoinstalls.config.google.gtvpai+# com.google.android.partnersetup+# com.tcl.browser+# com.google.android.feedback+# com.android.tv.feedbackconsent+# com.google.android.tungsten.setupwraith+# com.google.android.apps.tv.dreamx+# The three entries marked [43S5K ONLY] below were not disabled on the 32V5C. Comment them out before+# applying this file to a 32V5C; they remain part of the tested 43S5K set.+## 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.+# - On both models, launcherx is disabled only after CleanYourTV owns Home; build-and-install does it,+# and restore.sh needs launcherx as its argument.+# - HomeKeyService, used for the gear button, can stop volume long-press from repeating on some TCL+# Google TV builds: holding volume then steps once. Set key_filter=false to restore the repeat and+# lose the remapped keys, or leave HomeKeyService off. Not measured on the 32V5C; see+# docs/TROUBLESHOOTING.md.# - 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).@@ -36,20 +62,22 @@# com.tcl.ttvs # TCL analytics AND the firmware updater: kept on so updates arrive (#322)com.tcl.messagebox # TCL push messages and promos; carries an org.tcl.ttvs receivercom.tcl.logkit # log capture and upload-com.tcl.partnercustomizer # TCL promo rows on the Google TV home+com.tcl.partnercustomizer # TCL promo rows on the Google TV home; [43S5K ONLY]android.autoinstalls.config.google.gtvpai # silently installs partner appscom.google.android.partnersetup # partner attribution (RLZ pings)# Batch 2: preloaded apps and extras not used on this unitcom.tcl.browser # TCL "BrowseHere" browser and web-video portal-com.google.android.play.games+com.google.android.play.games # [43S5K ONLY]com.google.android.feedbackcom.android.tv.feedbackconsent-com.google.android.katniss # Google Assistant voice (mic button), about 63 MB in two processes; off by choice+com.google.android.katniss # Google Assistant voice (mic button), about 63 MB; off by choice; [43S5K ONLY]# 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.+# 43S5K: 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.+# 32V5C: the saved network survived disabling setupwraith without that step here; verify the owner on+# another unit before copying.com.google.android.tungsten.setupwraith# Batch 4: after launcher/ is Home and the screensaver is switched to the launcher's clock: