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 50C7K (Poland, Ethernet) as a second unit of the 55C7K-UK list
Adrian Rutkowskif6481360d543
diff --git a/examples/README.md b/examples/README.mdindex 63e3542b5..26a67f526 100644--- a/examples/README.md+++ b/examples/README.md@@ -192,7 +192,7 @@ on that firmware, grouped and commented. These are starting points: comment out| `tcl-beyondtv2-latin-america/` | TCL BeyondTV2 (Latin America / Brazil, Realtek RTD2851) | Android TV 9 | TCL analytics and boot content feed; `com.tcl.esticker` does not stay disabled on this firmware; UK Freeview apps already off at the factory; [draw-cost notes](../docs/devices/tcl-beyondtv2-v660.md) || `tcl-beyondtv2-android-11/` | TCL BeyondTV2, Android 11 build (AR05, Realtek rtd285o) | Android TV 11 | Different package set from the Android 9 BeyondTV2 above (adds `overseasappshow`, `usercenter`, MagiConnect, `notereminder`); **`com.tcl.overseasappshow` re-enables MagiConnect, notereminder and tclhome_master on every boot**, so it is the key entry; partnercustomizer kept (it carries the remote's TKey activity on this unit); voice, mirroring, phone remote and backdrop off by choice, OTA kept; 3 HDMI ports, TvInputManager works, setupwraith safe || `tcl-c755-google-tv/` | TCL C755 QD-Mini LED, 2024, Australia (G08, MediaTek tcl9618) | Google TV 14 | Samba TV ACR (ttvs), TCL Live, store/hotel demo, Stan; casting and mirroring off by choice; keep `tv.remote.service` (it carries the remote's mic) |-| `tcl-55c7k-uk/` | TCL 55C7K QD-Mini LED, 2025, UK (G08, MediaTek tcl9618) | Google TV 14 | Same build as the C755 list (UTT2.250416.001 AU02): Samba TV ACR (ttvs), TCL Live, promos, store demo, Alexa, partner auto-installs; Assistant, Netflix, Miracast/T-Cast, game bar, USB media and T-Solo off by choice, Chromecast and AirPlay kept; setupwraith owned the Wi-Fi until re-joined; launcherx, setupwraith and dreamx off for the launcher and Clock screensaver; reboot-checked on the day it was applied |+| `tcl-55c7k-uk/` | TCL 55C7K QD-Mini LED, 2025, UK (G08, MediaTek tcl9618) | Google TV 14 | Same build as the C755 list (UTT2.250416.001 AU02): Samba TV ACR (ttvs), TCL Live, promos, store demo, Alexa, partner auto-installs; Assistant, Netflix, Miracast/T-Cast, game bar, USB media and T-Solo off by choice, Chromecast and AirPlay kept; setupwraith owned the Wi-Fi until re-joined; launcherx, setupwraith and dreamx off for the launcher and Clock screensaver; reboot-checked on the day it was applied; ttvs is also the firmware updater; a second unit, a 50C7K on Ethernet in Poland, is in its README (Settings 83, Netflix 4062, YouTube 190 in config.json; HomeKeyService needs AUTO_START plus `appops write-settings` after a restart and costs volume repeat) || `tcl-c89b-google-tv/` | TCL C89B 85", 2024, a local variant of the C855 (G08, G08_4K_GB, MediaTek tcl9618) | Google TV 14 | Same product and build as the 85RM7L list (UTT2.250416.001 AU02), plus T-Cast, TCL HOME (com.tcl.dashboard), game bar, hearing test, T-solo, the Google TV storefront and the Android 14 ad services; Chromecast, AirPlay, Miracast, Assistant and USB media kept; launcherx + setupwraith off for the launcher (on Ethernet; setupwraith owned no network); config.json maps the gear (83) and the Netflix, Prime Video and YouTube buttons (4062, 4099, 190); HomeKeyService needs AUTO_START plus `appops write-settings` to bind after a restart; one day of use || `tcl-c845x2-google-tv/` | TCL 75C845X2, UK/Europe (G08_4K_GB, MediaTek tcl9618) | Google TV 14 | Same set as the C755 list; YouTube and Play Movies & TV off (SmartTube used); Chromecast, AirPlay and game bar kept; disabling the stock launcher empties Accounts & profiles (see its README) || `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); a QM7 (2024) owner ran this list with seven extra packages — [deltas and a hung Cast receiver](../docs/devices/tcl-75qm751g-qm7.md) |diff --git a/examples/tcl-55c7k-uk/README.md b/examples/tcl-55c7k-uk/README.mdnew file mode 100644index 000000000..870bfa410--- /dev/null+++ b/examples/tcl-55c7k-uk/README.md@@ -0,0 +1,67 @@+# TCL C7K (G08, Google TV, Android 14), UK and EU firmware++TCL C7K QD-Mini LED, device `G08`, model "Smart TV Pro", firmware `UTT2.250416.001 AU02`, MediaTek, about+2.4 GB RAM. Two units have run this list: a 55C7K-UK on Wi-Fi (the first, see the header of `debloat.txt`) and a+50C7K on Ethernet in Poland (below). Both halves work on this set: the debloat list and the Clean Your TV+launcher as Home.++| File | What it is |+|---|---|+| `debloat.txt` | The packages that were disabled, grouped and commented |+| `config.json` | Hidden TCL tiles, the Live TV app, and the Settings, Netflix and YouTube buttons; push it with `tools/theme.sh` |++All commands run from the repo root with the TV's IP in `TV_HOST`, and USB debugging on.++## Install++The order matters: setupwraith goes while Google TV's home still owns Home, then `build-and-install.sh` starts the+new launcher and only then disables launcherx.++```bash+TV_HOST=<tv ip> tools/disable.sh examples/tcl-55c7k-uk/debloat.txt+HOME_KEY_SERVICE=1 TV_HOST=<tv ip> launcher/build-and-install.sh+TV_HOST=<tv ip> tools/theme.sh examples/tcl-55c7k-uk+tools/tv.py "cmd appops set com.gathin.tvhome AUTO_START allow; cmd appops write-settings; settings put secure accessibility_enabled 1"+```++`disable.sh` skips launcherx on the first run (its Home guard), and dreamx should go only after the screensaver+is switched to `com.gathin.tvhome/.ClockDream` (`settings put secure screensaver_components ...`). The last line is+needed for the remote buttons to keep working after a restart; see below. On the 50C7K the keys in `config.json`+were set in `launcher/app/src/main/res/values/config.xml` instead and the theme push was not run; the keys are the+same.++## Second unit: 50C7K, Poland, Ethernet++TCL 50C7K, product `G08_4K_GB`, MediaTek `mt5896`, same `UTT2.250416.001 AU02`, EU region, on the built-in+Ethernet port. Set up on 23 October 2026, in six batches with screenshots between them, and rebooted twice+afterwards: all 34 packages stayed disabled, nothing re-enabled itself, and Home, Ethernet, the Clock screensaver+and the remote buttons came back. That is one day of use, not weeks.++**Different choices from the UK unit:** Netflix (both lines) and the game bar kept (their lines in "Off by choice"+commented out), and Prime Video, Chromecast and AirPlay disabled (the "Kept on this unit" lines uncommented, the soundbar+updater and YouTube still kept). The local apps (Canal+, TVP Sport) were installed by the owner and are not in+the list. `tv.mopa.ginga` and `com.tcl.android.webview` are on this build too and were left alone.++What was checked on the TV: the Input button's source panel after each batch, Home, the Inputs menu (HDMI 1-4+with the connected ports marked, and Live TV), switching to HDMI 1 (`com.tcl.tv/.TVActivity` on top), D-pad from+every edge, the Clock screensaver, YouTube playback with AdGuard Private DNS on.++Notes from this unit:++- **setupwraith owned a saved Wi-Fi network** even though the set runs on Ethernet. `disable.sh` skips it; with+ the TV on Ethernet and the owner fine with losing that network, `FORCE_SETUPWRAITH=1` disabled it and ADB stayed+ up.+- **Remote buttons**: all of them arrive on scancode 240 with distinct keycodes: Settings 83+ (`KEYCODE_NOTIFICATION`), Netflix 4062, YouTube 190. Read from `logcat` (`TclKeyLayoutMap` and `InputReader`+ print every key at the default log level on this build). With launcherx off they do nothing until+ `HomeKeyService` maps them (`config.json`). The Input button keeps opening TCL's source panel either way.+- **The helper costs the volume ramp**: with `HomeKeyService` bound, holding volume moves one step per press+ instead of ramping, as in [the G09 note](../../docs/devices/tcl-55p71b-g09-key-repeat.md). The owner kept the+ buttons. To swap, clear `enabled_accessibility_services` and set `accessibility_enabled 0`.+- **The helper was not bound after a restart**: `[TclAppBoot]:forbid bind service ...HomeKeyService` with+ `callee_does't_have_OP_AUTO_START_permission`, then `com.tcl.tv`'s `TalkbackManager` set `accessibility_enabled`+ to 0. The `AUTO_START` op that `build-and-install.sh` grants had not reached the disk. Allowing it again with+ `appops write-settings` (as on the C89B, same build) and writing `accessibility_enabled 1` made it bind after+ two further restarts, the last one with USB debugging off.+- `wm size` reports an override of 1920x1080 on the 3840x2160 panel at density 320 straight from the factory. It+ is not a leftover; leave it.diff --git a/examples/tcl-55c7k-uk/config.json b/examples/tcl-55c7k-uk/config.jsonnew file mode 100644index 000000000..5627c07a6--- /dev/null+++ b/examples/tcl-55c7k-uk/config.json@@ -0,0 +1,9 @@+{+ "hidden_apps": ["com.tcl.tv", "com.tcl.suspension"],+ "live_tv_package": "com.tcl.tv",+ "settings_key_keycodes": [83],+ "app_keys": [+ "4062:com.netflix.ninja",+ "190:com.google.android.youtube.tv"+ ]+}diff --git a/examples/tcl-55c7k-uk/debloat.txt b/examples/tcl-55c7k-uk/debloat.txtindex ea17e6130..25f1246e2 100644--- a/examples/tcl-55c7k-uk/debloat.txt+++ b/examples/tcl-55c7k-uk/debloat.txt@@ -1,6 +1,12 @@# TCL 55C7K-UK QD-Mini LED Google TV, 2025, UK (device G08, model "Smart TV Pro", MediaTek tcl9618)# Android 14 (Google TV), firmware UTT2.250416.001 AU02. About 2.4 GB RAM.# Same G08 board and firmware build as examples/tcl-c755-google-tv; that list was the starting point.+# Second unit: TCL 50C7K, Poland, EU firmware (product G08_4K_GB, MediaTek mt5896, same UTT2.250416.001 AU02),+# on its built-in Ethernet port. Its choices and notes are in README.md in this folder.+#+# com.tcl.ttvs below is also the firmware updater on this build (its SystemUpdateActivity answers the manual+# update action): with it disabled there are no system updates. Both units disabled it for the Samba TV ACR+# tracking it carries. Enable it to check for an update (pm enable com.tcl.ttvs), then disable it again.## Apply: TV_HOST=<tv ip> tools/disable.sh examples/tcl-55c7k-uk/debloat.txt# Undo: TV_HOST=<tv ip> tools/restore.sh examples/tcl-55c7k-uk/debloat.txt com.google.android.apps.tv.launcherx@@ -26,7 +32,7 @@# moment and put the old value (600000 here) back.# TCL tracking and analytics-com.tcl.ttvs # Samba TV ACR viewing tracking, TCL "BI" analytics, Alexa core, T-Cast+com.tcl.ttvs # Samba TV ACR viewing tracking, TCL "BI" analytics, Alexa core, T-Cast, firmware updatercom.tcl.logkit # log capture and uploadcom.tcl.usercenter # TCL account sign-in nags