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
Merge PR #159: TCL 40S5400A (C06_2K_GB, MediaTek MT9221, Android TV 11)
Gathin2382bf16f55241
diff --cc README.mdindex 785299672,5b215ce02..29d0d0784--- a/README.md+++ b/README.md@@@ -79,7 -79,7 +79,8 @@@ install any launcher at all; their listTested lists from contributors, one folder per model in [`examples/`](examples/):+**Xiaomi** 8 · **TCL** 7 · **Sony** 3 · BenQ · CHiQ · Chromecast with Google TV · Hisense · Insignia Fire TV ·+ **Xiaomi** 8 · **TCL** 8 · **Sony** 2 · BenQ · CHiQ · Chromecast with Google TV · Hisense · Insignia Fire TV ·NVIDIA Shield · OnePlus · Philips · RCA · SANYO · Toshiba Fire TV · Stellamore and XGIMI projectors<details>@@@ -109,8 -106,8 +110,9 @@@| TCL ak30a5 (China, Amlogic) | Android TV 9 || TCL BeyondTV (India) | Android TV 9 || TCL QM6K Pro, 2025 (G08, MediaTek tcl9618) | Google TV 14 |+ | TCL 40S5400A (C06_2K_GB, MediaTek MT9221) | Android TV 11 || TCL Smart TV Pro (G05, G05_4K_US, MediaTek MT5889) | Google TV 11 |+| Thomson 32HE5800 (TCL-built UnionTV, Realtek RT2841), Spain | Android TV 9 || Toshiba Fire TV (AFTHA004, hazel) | Fire OS 7 / Android 9 || XGIMI Horizon S Pro projector (XK03H, xgimigalileo, MediaTek) | Android TV 11 || Xiaomi Mi Box S (MIBOX4, oneday), streaming box | Android TV 9 |diff --cc examples/README.mdindex 1f20c9297,c9a940c94..386d68113--- a/examples/README.md+++ b/examples/README.md@@@ -29,10 -23,9 +29,11 @@@ on that firmware, grouped and commented| `tcl-ak30a5/` | TCL ak30a5 (China, Amlogic) | Android TV 9 | No Google services, TCL boot ad + analytics, no TvInputManager, installs via USB only; debloat only, third-party launchers cannot be installed on this firmware || `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) || `tcl-beyondtv/` | TCL BeyondTV (India) | Android TV 9 | TCL analytics, content feed, TCL app store, Google recommendation rows; Jio/Airtel/Hotstar apps untouched |+| `tcl-beyondtv-rt2851/` | TCL BeyondTV, EU/Nordic (Realtek RTD2851, V8-R851T02-LF1V606) | Android TV 9 | TCL BI analytics, promo rows, cyberui, cleaner and store; mirroring, voice and firmware updater off by choice; Chromecast kept; installer note for appmarket2/tvweishi || `tcl-qm6k-google-tv/` | TCL QM6K Pro, 2025 (G08, MediaTek tcl9618) | Google TV 14 | Samba TV ACR (ttvs), TCL TV+, TCL Live, store/hotel demo; setupwraith must go for a custom launcher (also AU14, #23) || `tcl-g05-google-tv/` | TCL Smart TV Pro (G05, G05_4K_US, MediaTek MT5889) | Google TV 11 | TCL Channel, waterfall, ttvs BI, TGuard; Quick Panel off by choice; setupwraith returned after a reboot, launcher half unverified |+| `thomson-32he5800/` | Thomson 32HE5800 (TCL-built UnionTV, Realtek RT2841), Spain | Android TV 9 | TCL BI analytics, TCL app store/user center, TV Guard cleaner, Google recommendation rows; 1.4 GB low-RAM; voice, USB media players off by choice |+ | `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 || `toshiba-fire-tv-aftha004/` | Toshiba Fire TV (AFTHA004, hazel) | Fire OS 7 / Android 9 | Amazon ACR, metrics, shopping, tutorials, Miracast sink; streaming preloads off by choice; debloat only || `xgimi-horizon-s-pro/` | XGIMI Horizon S Pro projector (XK03H, xgimigalileo, MediaTek) | Android TV 11 | First projector: keystone/autofocus/HDMI player kept, factory and burn-in tools, bug-report uploader, Google preloads; HDMI needs `input_action`; voice, Chromecast off by choice || `xiaomi-mi-box-s/` | Xiaomi Mi Box S (MIBOX4, oneday), streaming box | Android TV 9 | PatchWall, Mi analytics, Alphonso ad tracking, MiLink; voice, casting, phone remote off by choice |diff --cc examples/tcl-40s5400a/debloat.txtindex 000000000,af66c37ab..241e34b5amode 000000,100644..100644--- a/examples/tcl-40s5400a/debloat.txt+++ b/examples/tcl-40s5400a/debloat.txt@@@ -1,0 -1,91 +1,91 @@@+ # TCL 40S5400A (40" FHD, S5400 series), EU unit: device C06, product C06_2K_GB, model "Smart TV".+ # Android TV 11 (SDK 30), build AR2101, TCL software V8-T221T05-LF1V325, security patch 2025-03-05.+ # MediaTek MT9221 (ro.board.platform mt5867), 4x Cortex-A55, about 1 GB RAM (low_ram=true).+ # Likely a good starting point for other TCL S-series Android TV 11 sets on MT9221.+ #+ # Apply: TV_HOST=<tv ip> tools/disable.sh examples/tcl-40s5400a/debloat.txt+ # Undo: TV_HOST=<tv ip> tools/restore.sh examples/tcl-40s5400a/debloat.txt+ # Everything is DISABLED, not uninstalled. Comment out any line you want to keep.+ #+ # Stock launcher: com.google.android.tvlauncher (the restore.sh / build-and-install.sh default).+ # Live TV app: com.tcl.tv. It also plays HDMI: it is the only handler of the passthrough-input+ # VIEW intent the Inputs menu sends, and the remote's Input key opens its source picker.+ # Inputs come from com.tcl.tvinput (2x HDMI, AV, tuner).+ #+ # Applied in three rounds on 2026-10-18 and lived with for one day so far (shorter than+ # CONTRIBUTING.md asks; I'll report back if anything breaks). Rebooted after each round.+ # Checked after the full list: launcher/ comes up as Home after a reboot, YouTube and Netflix open,+ # switching to HDMI 2 (PS5) works, the remote's Input key opens the source picker.+ # Checked after the first two rounds: Disney+, picture settings, the firmware update check.+ # Not tested: casting from a phone (the Cast receiver is kept).+ # Memory, PSS: stock tvlauncher 64 MB + 15 MB swapped vs 41 to 46 MB for my build of launcher/+ # (a few local changes); tvrecommendations about 20 MB, katniss about 52 MB (two processes).+ #+ # Known quirks on this firmware:+ # - The stock launcher declares HOME priority 2, so `cmd package set-home-activity` alone does not+ # take Home while it is enabled (Home still opens it). Disabling it, as build-and-install.sh+ # does, is required.+ # - com.tcl.usercenter (TCL account) is switched back on by the system at every boot. It stays+ # idle, so it is left in the list.+ # - com.tcl.ttvs is NOT text-to-speech: its activities are versionUpdateApp SystemUpdateActivity and+ # NetworkUpdateActivity, i.e. the firmware updater. Keep it for OTA updates.+ # - After a reboot the system can switch to the last HDMI source on its own (com.tcl.tv started by+ # uid 1000 about 2 s after Home). Seen once; a PS5 on HDMI-CEC may be the trigger. Home brings+ # the launcher back.+ # - The photo screensaver (com.google.android.backdrop) used about 105 MB while running. Before+ # disabling it, switch to the AOSP one:+ # tools/tv.py 'settings put secure screensaver_components com.android.dreams.basic/.Colors'+ # (restore: com.google.android.backdrop/com.google.android.backdrop.Backdrop)+ # - screencap writes an empty file while an HDMI input is on screen. Press Home first.+ #+ # DO NOT DISABLE on this TV (kept and working):+ # com.tcl.tv # Live TV app, plays HDMI, source picker on the Input key+ # com.tcl.tvinput # TV input services for HDMI, AV and the tuner+ # com.tcl.ttvs # firmware updater (see quirks)+ # com.tcl.messagebox # carries a ttvs receiver (org.tcl.ttvs); kept to be safe+ # com.tcl.system.server # remote-key plumbing+ # com.tcl.tcl_bt_rcu_service # Bluetooth remote+ # com.tcl.autopair # Bluetooth remote auto-pairing+ # com.tcl.settings # picture/sound settings+ # com.tcl.dashboard # "TCL HOME" tile; kept, only hidden in the launcher config+ # com.tcl.suspension # Quick Panel; kept, not tested without it+ # com.tcl.providers.config # reported to drop Wi-Fi on the 65C725; not tried here+ # com.tcl.keyhelp # remote-key help/virtual keys; kept++ # TCL account, promos and content+ com.tcl.usercenter # TCL account, re-enabled by the system at boot (idle)+ com.tcl.guard # TGuard cleaner/support+ com.tcl.partnercustomizer # promo rows on the stock home+ com.tcl.waterfall.overseas # TCL web-video portal+ com.tcl.esticker # store-demo sticker+ android.autoinstalls.config.tcl.device # partner-app auto installer config++ # Google extras+ com.google.android.feedback+ com.google.android.play.games+ com.google.android.videos # Play Movies+ com.google.android.youtube.tvmusic+ com.google.android.syncadapters.calendar+ com.google.android.tungsten.setupwraith # first-run wizard, setup already done++ # Stock home and its recommendation rows, replaced by launcher/-com.google.android.tvlauncher++# com.google.android.tvlauncher # launcher/build-and-install.sh disables the stock launcher itself, after Home has moved+ com.google.android.tvrecommendations++ # Off by choice on this unit: comment out what you use+ com.google.android.katniss # Google search/voice, keep for the mic button+ com.google.android.tv.remote.service # phone-app remote (casting does not need it)+ com.google.android.tts # Google text-to-speech, keep for TalkBack+ com.google.android.marvin.talkback # TalkBack+ com.google.android.backdrop # photo screensaver, switch the screensaver first (quirks)+ com.tcl.ui_mediaCenter # USB media player, together with the next three+ com.tcl.audioplayer+ com.tcl.videoplayer+ com.tcl.imageplayer+ # com.google.android.apps.mediashell # Cast receiver: kept here for casting from a phone++ # Already disabled when this unit arrived; left as-is.+ # au.com.stan.and # Stan+ # com.amazon.amazonvideo.livingroom # Prime Video+ # tv.wuaki.apptv # Rakuten TV+ # com.tcl.smartalexa # TCL Alexa bridge