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: TCL 65C935 as a second variant of tcl-65c735
Wissem20b09113cd48
diff --git a/README.md b/README.mdindex 86d244238..ba8fc7104 100644--- a/README.md+++ b/README.md@@ -271,8 +271,7 @@ Anker Nebula, BYINTEK, Epson, Gadnic, JMGO, Portronics, Stellamore, Wanbo and XG| TCL 55S470G (G10, G10_4K_US_NF, Realtek), US | Google TV 12 || TCL 58S571F (TCL Fire TV, AFTDEC012E, ginza, MediaTek mt5896), US | Fire OS 8 / Android 11 || TCL 65C725 (Smart TV Pro, BeyondTV4) | Android TV 11 |-| TCL 65C735 (Smart TV Pro, G05, MediaTek), France; also TCL 55C728, Turkey | Google TV 11 |-| TCL 65C935 (Smart TV Pro, G05, G05_4K_GB, MediaTek MT9615), France | Google TV 11 |+| TCL 65C735 (Smart TV Pro, G05, MediaTek), France; also TCL 55C728, Turkey, and TCL 65C935, France | Google TV 11 || TCL 65C7K (Smart TV Pro, G08, G08_4K_GB, MediaTek mt5896), Brazil | Google TV 14 || TCL 65Q550G (TCL Smart TV, Google TV 11, V8-R51MT08-LF1V095.021344) | Google TV || TCL 65Q650G (US Q6 2023, BeyondTV4, Realtek RTD2851 / R51MT08, V8-R51MT08-LF1V095, 2 GB) | Google TV 11 |diff --git a/examples/README.md b/examples/README.mdindex bd3896895..ae764ffc1 100644--- a/examples/README.md+++ b/examples/README.md@@ -163,8 +163,7 @@ on that firmware, grouped and commented. These are starting points: comment out| `tcl-55s470g/` | TCL 55S470G (G10, G10_4K_US_NF, Realtek), US | Google TV 12 | Same build as the G10 list, but Samba TV, logkit and ttvs ship enabled; ttvs kept (it hosts the firmware updater) and re-enables Samba's front end at boot, so opt out in Settings > Privacy too; Assistant voice and Chromecast off by choice; setupwraith off (Wi-Fi belonged to android.uid.system); remote gear button (keycode 83) opens the quick settings panel and the app buttons are remapped (Pluto TV opens Tubi); `APP_AUTO_START` must be allowed for the launcher or TclAppBoot stops the key service at boot; reboot-checked || `tcl-58s571f-fire-tv/` | TCL 58S571F (TCL Fire TV, AFTDEC012E, ginza, MediaTek mt5896), US | Fire OS 8 / Android 11 | The S5 sibling of `tcl-43s450f-ca/` (same AFTDEC012E platform as `amazon-fire-tv-aftdec012e/`): Amazon ACR, ad/recommendation feeders, advertising ID, Shopping, demo, tutorials, telemetry, KSO service; Alexa extras, preloads and TCL apps (OpApp, Luna, Kids, News, Gallery, System Status, Prime Video) off by choice; Alexa voice returns at every boot as on the Hisense; the stock launcher also owns Settings; Appstore kept for the remote's branded buttons; AirPlay, Miracast, Live TV, Silk kept; debloat only || `tcl-65c725/` | TCL 65C725 (Smart TV Pro, BeyondTV4) | Android TV 11 | TCL analytics/promos, Google recommendation rows; voice off, OTA off by choice |-| `tcl-65c735/` | TCL 65C735 (Smart TV Pro, G05, MediaTek), France; also TCL 55C728, Turkey | Google TV 11 | TCL analytics, TGuard, promo dashboard and content feed, unused preloads; voice and AirPlay off by choice, Chromecast and Miracast kept; launcherx + setupwraith off (survived reboot); remote app buttons need launcherx (keycodes noted); USB port goes to gadget mode after a reboot with USB debugging on; on the 55C728 ttvs stays (it holds the system updater) and config.json maps the remote's buttons |-| `tcl-65c935/` | TCL 65C935 (Smart TV Pro, G05, G05_4K_GB, MediaTek MT9615), France | Google TV 11 | Same build as tcl-65c735 (AR2101/AR25), applied in five screenshot-checked batches: TCL analytics, TGuard, promo dashboard and content feed, unused preloads; Alexa, AirPlay and Miracast off by choice, Assistant, Chromecast and the ttvs updater kept (it re-enables esticker, usercenter, notereminder and smartalexa at boot); setupwraith owned a second, old saved SSID that Settings could not forget, `cmd wifi forget-network` fixed it and the disable survived a reboot; gear 4077, Input 178, Netflix/YouTube/Prime 4062/4065/4099 verified in logcat, Volume+ still auto-repeats with HomeKeyService bound; the helper was left unbound after a theme push (rebind sequence noted); config.json has a five-slot dock and the quick settings panel |+| `tcl-65c735/` | TCL 65C735 (Smart TV Pro, G05, MediaTek), France; also TCL 55C728, Turkey, and TCL 65C935, France | Google TV 11 | TCL analytics, TGuard, promo dashboard and content feed, unused preloads; voice and AirPlay off by choice, Chromecast and Miracast kept; launcherx + setupwraith off (survived reboot); remote app buttons need launcherx (keycodes noted); USB port goes to gadget mode after a reboot with USB debugging on; on the 55C728 and 65C935 ttvs stays (it holds the system updater) and config.json maps the remote's buttons; the 65C935 notes a second setupwraith-owned SSID cleared with `cmd wifi forget-network`, Input 178, and HomeKeyService left unbound after a theme push || `tcl-65c7k-google-tv/` | TCL 65C7K (Smart TV Pro, G08, G08_4K_GB, MediaTek mt5896), Brazil | Google TV 14 | Same build as the C755 list (UTT2.250416.001); Samba TV ACR, TCL Live, promos, store/hotel demo, Alexa, partner auto-installs; Assistant, USB media, Claro TV+, Mercado Play off by choice; Chromecast, AirPlay, game bar, soundbar updater and dreamx kept; keep `tv.mopa.ginga` for TV aberta; Wireless debugging needs Wi-Fi (pair, then `adb tcpip 5555`); setupwraith owned the Wi-Fi network, re-join before disabling it || `tcl-65q650g/` | TCL 65Q650G (US Q6 2023, BeyondTV4, Realtek RTD2851 / R51MT08, V8-R51MT08-LF1V095, 2 GB) | Google TV launcher on Android TV 11 | TCL BI, promos, account/EULA, TCL TV+/Channel, TGuard, partner auto-installs; Tubi, Pluto, ESPN, Alexa off by choice; voice, Chromecast and firmware updater kept; launcherx + setupwraith off (Wi-Fi belonged to android.uid.system); BT remote's gear (scancode 233), Netflix, YouTube and Prime buttons remapped via app_keys/settings_key_scancodes, `APP_AUTO_START` allowed; reboot-checked || `tcl-85rm7l-google-tv/` | TCL 85RM7L (G08, G08_4K_GB, MediaTek tcl9618) | Google TV 14 | Same firmware build as the C755 list (UTT2.250416.001 AU02); Samba TV ACR and T-Cast share ttvs, so T-Cast goes with it; TCL Live, promos, store demo, Alexa, partner auto-installs; Chromecast, AirPlay, Miracast, game bar, USB media and Assistant kept; firmware updates come from Play Services; debloat only, stock launcher and setupwraith kept; dreamx off with the basic Colors screensaver; reboot-checked |diff --git a/examples/tcl-65c735/debloat.txt b/examples/tcl-65c735/debloat.txtindex df900c4a1..cb79548f1 100644--- a/examples/tcl-65c735/debloat.txt+++ b/examples/tcl-65c735/debloat.txt@@ -18,6 +18,29 @@# helpers, so it cannot be mapped. Firmware logs each press as `TclPhoneWindowManager:# handleKeyBeforeQueueing, key = <code>`; the main logcat buffer is 1 MiB, so read it right away.#+# Also used on a TCL 65C935, France (same product G05_4K_GB, build AR2101, incremental AR25, software+# V8-T615T03-LF1V614, Wi-Fi only, MediaTek MT9615), with these notes:+# - Applied in five batches with a screenshot between each; Home, the TCL Quick panel (Input key), HDMI,+# Wi-Fi, Play Store and YouTube worked after every batch and after a reboot. One evening of use.+# - com.tcl.ttvs kept (updater), as on the 55C728. It re-enables com.tcl.esticker within minutes and+# com.tcl.usercenter, com.tcl.notereminder and com.tcl.smartalexa at every boot; tools/check.py reports+# those four as drift. The 55C728 lines marked below were disabled on this unit too (logkit, channelplus,+# useragreement, gtvpai, ocean.instructions, browser, miracast); Assistant and Chromecast kept.+# - setupwraith owned TWO saved Wi-Fi networks: the one in use and an old SSID from a previous ISP.+# Forgetting and re-joining the current one in Settings moved it to com.android.tv.settings, but+# disable.sh still refused setupwraith because of the old one, which Settings offered no way to forget.+# `cmd wifi list-networks` showed its id and `cmd wifi forget-network <id>` removed it. Disabling+# setupwraith then survived a reboot (third AR2101 report; only tcl-g05-google-tv saw it come back).+# - Remote: the same keycodes as the 55C728 (gear 4077, Netflix 4062, YouTube 4065, Prime Video 4099),+# plus Input 178, which opens the TCL Quick panel with no helper. config.json applies unchanged;+# settings_key_panel: true gives the gear the launcher's quick settings panel. Holding Volume+ still+# auto-repeats with HomeKeyService bound (repeatCount climbed normally), so key_filter costs nothing here.+# - After tools/theme.sh restarted Home, HomeKeyService was left enabled but UNBOUND (dumpsys+# accessibility: "Bound services:{}") and the gear did nothing (#994). Clearing the list, toggling+# accessibility_enabled off, waiting 2 s and writing it back bound it again; `appops set+# com.gathin.tvhome AUTO_START allow; appops write-settings` first, and restore_key_services in the theme.+# - `tools/tv.py 'reboot'` never returns on this set (#995): run it with a timeout.+## Apply: TV_HOST=<tv ip> tools/disable.sh examples/tcl-65c735/debloat.txt# Undo: TV_HOST=<tv ip> tools/restore.sh examples/tcl-65c735/debloat.txt com.google.android.apps.tv.launcherx# Windows: tools\disable.ps1 / tools\restore.ps1 -TvHost <tv ip> <list> -Stock com.google.android.apps.tv.launcherx@@ -51,7 +74,7 @@ com.tcl.ttvs # TCL BI/awareness/identifier services; ocom.tcl.guard # TGuard: device-use tracking, "health info", memory cleanercom.google.android.feedback # "send feedback"com.google.android.partnersetup # partner-app attribution-# com.tcl.logkit # 55C728: TCL diagnostics/log collector+# com.tcl.logkit # 55C728, 65C935: TCL diagnostics/log collector# Batch 2 - TCL content, ads and promoscom.tcl.waterfall.overseas # TCL content recommendations@@ -61,9 +84,9 @@ com.tcl.usercenter # TCL accountcom.tcl.dashboard # "TCL Home" panel, gift box and promoscom.tcl.tv.tclhome_passive # pushes TCL content at bootcom.tcl.esticker # retail demo stickers-# com.tcl.channelplus # 55C728: TCL's free ad-supported channels-# com.tcl.useragreement # 55C728: agreement screen shown once during setup-# android.autoinstalls.config.google.gtvpai # 55C728: partner app auto-installer+# com.tcl.channelplus # 55C728, 65C935: TCL's free ad-supported channels+# com.tcl.useragreement # 55C728, 65C935: agreement screen shown once during setup+# android.autoinstalls.config.google.gtvpai # 55C728, 65C935: partner app auto-installer# Batch 3 - preloaded apps and services not used# au.com.stan.and # Stan (AU): disabled by the firmware on arrival, shell may not touch it@@ -78,8 +101,8 @@ com.tcl.hearaid # hearing test / volume adaptationcom.google.android.marvin.talkback # screen readercom.google.android.syncadapters.calendarcom.google.android.onetimeinitializer-# com.tcl.ocean.instructions # 55C728: e-manual-# com.tcl.browser # 55C728: TCL browser+# com.tcl.ocean.instructions # 55C728, 65C935: e-manual+# com.tcl.browser # 55C728, 65C935: TCL browser# com.tcl.android.webview # 55C728: TCL's WebView (the active one is com.google.android.webview)# com.tcl.t_solo # 55C728: Bluetooth "listen alone"@@ -90,7 +113,7 @@ com.tcl.assistant # TCL voice servicecom.tcl.smartalexa # Alexacom.tcl.airplay2 # AirPlaycom.mediatek.AirplayAPK # AirPlay-# com.tcl.miracast # 55C728: Miracast mirroring, off by choice+# com.tcl.miracast # 55C728, 65C935: Miracast mirroring, off by choice# Batch 5 - with the launcher in this repo installed (launcher/build-and-install.sh disables launcherx)com.google.android.tungsten.setupwraith # first-run wizard; its RecoveryActivity claims HOME. Re-enablediff --git a/examples/tcl-65c935/config.json b/examples/tcl-65c935/config.jsondeleted file mode 100644index 06c13238e..000000000--- a/examples/tcl-65c935/config.json+++ /dev/null@@ -1,20 +0,0 @@-{- "columns": 5,- "dock_apps": [- "com.google.android.youtube.tv",- "com.amazon.amazonvideo.livingroom",- "com.netflix.ninja",- "com.stremio.one",- "com.disney.disneyplus"- ],- "hidden_apps": ["com.tcl.tv"],- "live_tv_package": "com.tcl.tv",- "settings_key_keycodes": [4077],- "settings_key_panel": true,- "app_keys": [- "4062:com.netflix.ninja",- "4065:com.google.android.youtube.tv",- "4099:com.amazon.amazonvideo.livingroom"- ],- "restore_key_services": true-}diff --git a/examples/tcl-65c935/debloat.txt b/examples/tcl-65c935/debloat.txtdeleted file mode 100644index 3db866b39..000000000--- a/examples/tcl-65c935/debloat.txt+++ /dev/null@@ -1,87 +0,0 @@-# TCL 65C935 (reports as "Smart TV Pro", device G05, product G05_4K_GB, board C05, MediaTek MT9615),-# Google TV 11 (SDK 30), firmware AR2101, incremental AR25, software V8-T615T03-LF1V614, 2.7 GB RAM.-# France, Wi-Fi only. Same product and build as examples/tcl-65c735; this list started from that one.-#-# Apply: TV_HOST=<tv ip> tools/disable.sh examples/tcl-65c935/debloat.txt-# Undo: TV_HOST=<tv ip> tools/restore.sh examples/tcl-65c935/debloat.txt com.google.android.apps.tv.launcherx-# Theme: TV_HOST=<tv ip> tools/theme.sh examples/tcl-65c935 (config.json: dock, Live TV, remote keys)-# Windows: tools\disable.ps1 / tools\restore.ps1 -TvHost <tv ip> <list> -Stock com.google.android.apps.tv.launcherx-# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.-#-# Applied in five batches with a screenshot between each: Home, the TCL Quick panel (Input key), HDMI,-# Wi-Fi, Play Store and YouTube worked after every batch and after a reboot. One evening of use.-#-# Stock launcher: com.google.android.apps.tv.launcherx. Live TV / HDMI: com.tcl.tv + com.tcl.tvinput.-# Connection: USB debugging alone opens port 5555 on Wi-Fi; no Wireless debugging needed.-#-# Comes back on by itself, re-enabled by com.tcl.ttvs (kept here: on AR2101 it hosts the system updater):-# com.tcl.esticker within minutes, com.tcl.usercenter, com.tcl.notereminder and com.tcl.smartalexa at-# every boot. They stay in the list so restore records them; tools/check.py reports these four as drift.-#-# setupwraith (batch 5) owned TWO saved Wi-Fi networks on this unit: the one in use and an old SSID from-# a previous ISP. Forgetting and re-joining the current one in Settings moved it to com.android.tv.settings,-# but disable.sh still refused setupwraith because of the old one, which Settings offered no way to forget.-# `cmd wifi list-networks` showed its id and `cmd wifi forget-network <id>` removed it. Disabling setupwraith-# then survived a reboot, like the 65C735 and unlike examples/tcl-g05-google-tv (same AR2101 build id).-#-# Remote (keycodes read from logcat `TclPhoneWindowManager: handleKeyBeforeQueueing, key = N`):-# gear 4077, Input 178 (opens the TCL Quick panel without any helper), Netflix 4062, YouTube 4065,-# Prime Video 4099. config.json maps them for HomeKeyService; holding Volume+ still auto-repeats with-# the helper bound (repeatCount climbed normally), so key_filter costs nothing on this build.-# After tools/theme.sh restarted Home, HomeKeyService was left enabled but UNBOUND (dumpsys accessibility:-# "Bound services:{}"), so the gear did nothing until the list was cleared and rewritten with-# accessibility_enabled toggled off and on, plus `appops set com.gathin.tvhome AUTO_START allow; appops-# write-settings`. restore_key_services is on in config.json so Home repairs it after a force stop.-#-# `tools/tv.py 'reboot'` never returns on this set (the connection drops mid-call); run it in the-# background or with a timeout.-#-# Kept by choice: com.tcl.ttvs (updater), Google Assistant (com.google.android.katniss,-# com.google.android.tv.assistant), Chromecast (com.google.android.apps.mediashell), the USB media-# player (com.tcl.ui_mediaCenter) and com.tcl.gallery, com.tcl.gamebar, com.tcl.t_solo,-# com.tcl.UpdatePeripheral (remote firmware), every streaming app.-# DO NOT DISABLE (load-bearing): com.tcl.tv, com.tcl.tvinput, com.tcl.settings, com.tcl.system.server,-# com.tcl.providers.config, com.tcl.initsetup, com.tcl.factory.view, com.tcl.autopair,-# com.tcl.tcl_bt_rcu_service, com.tcl.keyhelp, com.tcl.inputmethod.international, com.tcl.eva,-# com.tcl.suspension (Quick panel / Input key), com.tcl.micmanager, com.google.android.gms,-# com.google.android.gsf, Play Store.--# Batch 1 - telemetry and analytics-com.tcl.guard # TGuard: device-use tracking, "health info", memory cleaner-com.tcl.logkit # TCL diagnostics / log collector and upload-com.google.android.feedback # "send feedback"-com.google.android.partnersetup # partner-app attribution--# Batch 2 - TCL content, ads and promos-com.tcl.waterfall.overseas # TCL content recommendations-com.tcl.partnercustomizer # TCL rows on the Google TV home-com.tcl.messagebox # pushed messages and promos-com.tcl.usercenter # TCL account sign-in nags (ttvs re-enables it at boot)-com.tcl.dashboard # "TCL Home" panel, gift box and promos-com.tcl.tv.tclhome_passive # pushes TCL content at boot-com.tcl.esticker # retail demo stickers (ttvs re-enables it within minutes)-com.tcl.channelplus # TCL's free ad-supported channels-com.tcl.useragreement # agreement screen shown once during setup-android.autoinstalls.config.google.gtvpai # partner app auto-installer--# Batch 3 - preloaded apps and services not used-com.google.android.youtube.tvmusic # YouTube Music-com.google.android.play.games # Play Games-com.google.android.videos # Google TV / Play Films storefront-com.tcl.notereminder # notes/reminders (ttvs re-enables it at boot)-com.tcl.hearaid # hearing test / volume adaptation-com.google.android.marvin.talkback # screen reader-com.google.android.syncadapters.calendar-com.google.android.onetimeinitializer-com.tcl.ocean.instructions # e-manual-com.tcl.browser # TCL browser ("BrowseHere")--# Batch 4 - voice and casting not used (Assistant and Chromecast kept)-com.tcl.smartalexa # Alexa (ttvs re-enables it at boot)-com.tcl.airplay2 # AirPlay-com.mediatek.AirplayAPK # AirPlay-com.tcl.miracast # Miracast mirroring--# Batch 5 - only once the new launcher owns Home (launcher/build-and-install.sh disables launcherx)-com.google.android.tungsten.setupwraith # first-run wizard; its RecoveryActivity claims HOME. See the- # Wi-Fi note above. Re-enable before a factory reset (restore.sh does it).