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 tc8000_ay30a2 debloat and 灵控桌面 hand-off
VincentYe1239606689fcf68
diff --git a/README.md b/README.mdindex 163d019f3..28eec0b7f 100644--- a/README.md+++ b/README.md@@ -331,6 +331,7 @@ Anker Nebula, BYINTEK, Epson, Formovie, Gadnic, HOTACK, JMGO, Magcubic, Portroni| TCL 75C845X2, UK/Europe (G08_4K_GB, MediaTek tcl9618) | Google TV 14 || TCL L40S66E (C06, C06_2K_GB, MediaTek MT9221, 1 GB), Argentina | Android TV 11 || TCL QM6K Pro, 2025 (G08, MediaTek tcl9618) | Google TV 14 |+| TCL tc8000_ay30a2 (China, Amlogic ohm, TC8000, 3.8 GB) | Android 11 || TCL Smart TV (G07, G07_4K_GB_NF, Realtek RTD2851A, 2 GB) | Google TV 11 || TCL Smart TV Pro (G03, G03_4K_GB, BeyondTV4, Realtek R51MT05, V8-R51MT05-LF1V620), Middle East firmware | Google TV 11 || TCL Smart TV Pro (G05, G05_4K_US, MediaTek MT5889); also TCL 55Q750G | Google TV 11 |diff --git a/docs/devices/tcl-tc8000-ay30a2.md b/docs/devices/tcl-tc8000-ay30a2.mdnew file mode 100644index 000000000..13383f805--- /dev/null+++ b/docs/devices/tcl-tc8000-ay30a2.md@@ -0,0 +1,77 @@+# TCL tc8000_ay30a2 (China, Android 11): debloat, then hand Home back++Checked on a real set on 2026-10-24. The debloat list and the Inputs config live in+[`examples/tcl-tc8000-ay30a2/`](../../examples/tcl-tc8000-ay30a2/debloat.txt).++## Identify the firmware++| Field | Observed value |+|---|---|+| `ro.product.model` / `name` / `device` | `tc8000_ay30a2` |+| `ro.product.board` / `ro.board.platform` | `ohm` / `TC8000` |+| `ro.hardware` | `amlogic` |+| Android / SDK | `11` / `30` |+| `ro.build.display.id` | `RQ3A.210705.001.2024101221 release-keys` |+| Security patch | `2022-09-05` |+| ABI | `armeabi-v7a`, `armeabi` (no arm64) |+| RAM | 3.8 GB (3,933,552 K) |+| Stock home | `com.tcl.cyberui` 7.6.08 (灵控桌面), the only HOME activity until another is installed |++This is an older China image than [`tcl-mt9655-cn-android14`](tcl-mt9655-cn-android14.md).+`adb install` of an APK that declares HOME succeeded here. The same `InstallConfig` row is+present (`launcherStrategy` enabled, packages empty), but this build's verifier did not enforce it.+Network ADB on port 5555 survived a reboot while the set's ADB switch stayed on.++## Do not disable the stock launcher++`pm disable-user com.tcl.cyberui` leaves the boot with no activity that can be HOME.+`systemReady` starts cyberui specifically, and with it gone the boot animation does not finish+and the Home key does nothing. Re-enable the package over adb; it does not need a second reboot+to come back. Leave it installed and let the steps below pull the screen off it.++## Cold boot still opens cyberui first++`TclBootAppManager` logs `start home ... reason is systemReady` with `com.tcl.cyberui` even+after `cmd package set-home-activity` points at this launcher. `HomeKeyService` with+`stock_home_redirect` then opens this launcher. On the set checked here that hand-off was about+9 seconds after `systemReady`, and the focused window was this launcher's `MainActivity`.++Two TCL app ops have to allow the process to start. Without them `TclAppBootManagerImpl` logs+`forbid bind service` / skips `BOOT_COMPLETED` with `callee_does't_have_OP_AUTO_START_permission`,+and the set stays on cyberui:++```+adb shell appops set com.gathin.tvhome APP_AUTO_START allow+adb shell appops set com.gathin.tvhome APP_ASSOC_START allow+```++`config.json` sets `stock_home_redirect` to `com.tcl.cyberui`. Enable `HomeKeyService`+(`HOME_KEY_SERVICE=1` in `launcher/build-and-install.sh`, or the `settings` lines below) and keep+whatever else is already in the list (小T, `com.tcl.walleve`, if you did not disable it):++```+adb shell settings put secure enabled_accessibility_services \+ '<existing>:com.gathin.tvhome/com.gathin.tvhome.HomeKeyService'+adb shell settings put secure accessibility_enabled 1+```++## The remote may not wake the set while the helper stays bound++On this board a key-filtering accessibility service that is still bound with the screen off has+been reported to swallow the power key, so the set only comes back after the power cable is+pulled. `HomeKeyService` filters keys. This session checked a cold boot only, not a standby wake.++## Inputs++`com.droidlogic.tvinput` registers HDMI, AV and a tuner, but the useful picker is TCL's own+source panel. `config.json` points the Inputs pill at it. Checked: the pill opens the 信号源+panel (HDMI with connection state, TV, AV, cast). Keep `com.tcl.settings`. The remote's source+key is still handled by the firmware and does not need the pill.++## What debloat does not remove++The boot advertisement is a file the firmware plays from `/data/system/ad/bootvideo/` before+any app runs. Disabling `com.tcl.bootadservice` stops that service; the shell cannot delete the+file. The art screensaver (`com.tcl.appreciate.art`) is the stock dream and carries a membership+pitch. Point `screensaver_components` at `com.android.dreams.basic/.Colors`, or at this+launcher's clock dream, after the art package is disabled.diff --git a/examples/README.md b/examples/README.mdindex 68185e524..b89ca8d57 100644--- a/examples/README.md+++ b/examples/README.md@@ -216,6 +216,7 @@ on that firmware, grouped and commented. These are starting points: comment out| `tcl-g05-google-tv/` | TCL Smart TV Pro (G05, G05_4K_US, MediaTek MT5889); also TCL 55Q750G | Google TV 11 | TCL Channel, waterfall, ttvs BI (also the firmware updater on AR71), TGuard; Quick Panel off by choice (the 55Q750G keeps it for the Input key); usercenter and smartalexa come back at every boot; setupwraith returned after a reboot on AR68, launcher half unverified there, but on a 55Q750G (AR71) build-and-install.sh worked and Home held after a reboot, once the setup Wi-Fi was forgotten and re-joined; remote buttons work without the key services (the G05_4K_GB units kept it off too, see the [55C728 note](../docs/devices/tcl-55c728-g05-4k-gb.md)) || `tcl-g03-google-tv/` | TCL Smart TV Pro (G03, G03_4K_GB, BeyondTV4, Realtek R51MT05, V8-R51MT05-LF1V620), Middle East firmware | Google TV 11 | Same platform as tcl-43c645: TCL BI analytics and logkit, promo rows (TCL Channel, BrowseHere), dashboard, messages, partner auto-installs; streaming apps, voice, Chromecast, Miracast/T-Cast, USB player, game bar, TCL Live off by choice, firmware updates kept; launcherx, setupwraith and dreamx off (setupwraith owned the Wi-Fi: forget and re-join first), reboot-checked; Input key works without InputKeyService, gear is keycode 4077 (`settings_key_keycodes`), config.json sets Live TV to com.tcl.tv; a second unit on the same build ships a Bluetooth TCL_RC902V_M1 remote whose Netflix/YouTube/Prime buttons die with launcherx and come back from `app_keys` (in config.json, verified with the real remote) || `tcl-g09-google-tv/` | TCL Smart TV Pro (G09, G09_4K_GB, Amlogic T5M, 2 GB), UK firmware, Brazil | Google TV 12 | TCL BI analytics, log upload, TIAS, TGuard, waterfall, TCL Live FAST channels, home-screen pushes, messages, store demo, hotel mode, partner auto-installs; Chromecast and USB media player off by choice; firmware updates come through Play Services, so ttvs can go; launcherx, setupwraith and dreamx off, reboot-checked; Input key works without InputKeyService; config.json has the dock |+| `tcl-tc8000-ay30a2/` | TCL tc8000_ay30a2 (China, Amlogic ohm, TC8000, 3.8 GB) | Android 11 | No Google services; boot ad, analytics, push and preloads off; do not disable `com.tcl.cyberui` (boot never finishes); `adb install` of a HOME apk works on build 2024101221, unlike the MT9655; cold boot still starts cyberui, then `stock_home_redirect` plus `APP_AUTO_START` hands Home back; Inputs pill opens TCL's source panel; reboot-checked; [handover](../docs/devices/tcl-tc8000-ay30a2.md) || `tcl-uniontv-latin-america/` | TCL UnionTV, Latin America (TCL-built like Thomson 32HE5800, Realtek RT2841) | Android TV 9 | TCL BI analytics, promo rows/partner customizer, app store, cleaner, user center; Ambient Mode, TTS, TalkBack and voice off; Chromecast and firmware updater kept; standby (STR) takes Ethernet down, no network wake || `telesystem-ont2hd/` | Tele System TS ON T2/HD (ONT2HD, SDMC, Amlogic), Italy | Android TV 11 | SDMC factory test/hardware info, partner configuration, Google recommendation rows and Play apps; Live TV `com.sdmc.tv` kept, updater and remote services kept; port 5555 open || `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, TCL content app (waterfall); 1.4 GB low-RAM; GalaView tile is partnercustomizer (keep, hide in launcher); voice, USB media players off by choice |diff --git a/examples/tcl-tc8000-ay30a2/config.json b/examples/tcl-tc8000-ay30a2/config.jsonnew file mode 100644index 000000000..f0b921be9--- /dev/null+++ b/examples/tcl-tc8000-ay30a2/config.json@@ -0,0 +1,5 @@+{+ "stock_home_redirect": "com.tcl.cyberui",+ "source_panel_service": "com.tcl.settings/.ShowWindowService",+ "source_panel_action": "com.tcl.insrc.SHOW_WINDOW"+}diff --git a/examples/tcl-tc8000-ay30a2/debloat.txt b/examples/tcl-tc8000-ay30a2/debloat.txtnew file mode 100644index 000000000..19c42cb38--- /dev/null+++ b/examples/tcl-tc8000-ay30a2/debloat.txt@@ -0,0 +1,54 @@+# TCL tc8000_ay30a2 — Chinese-market TCL, Amlogic ohm / TC8000, 3.8 GB RAM+# Android 11 (SDK 30), build RQ3A.210705.001.2024101221, security patch 2022-09-05, 32-bit ARM, zh-CN.+# No Google services. Stock home is com.tcl.cyberui (灵控桌面). See docs/devices/tcl-tc8000-ay30a2.md+# before replacing it: do not disable cyberui, and a cold boot still starts it first.+#+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/tcl-tc8000-ay30a2/debloat.txt+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/tcl-tc8000-ay30a2/debloat.txt com.tcl.cyberui+# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.+#+# Live TV / HDMI playback: com.tcl.tv. The Inputs pill uses TCL's own source panel+# (config.json: com.tcl.settings/.ShowWindowService, action com.tcl.insrc.SHOW_WINDOW).+# Keep com.tcl.settings or that panel is gone. Keep com.sohu.inputmethod.sogou.tv: it is the+# only input method. Keep com.tcl.autopair and com.tcl.tcl_bt_rcu_service for the remote.+# Keep com.tcl.ttvs, com.tcl.versionUpdateApp and com.snm.upgrade if you still want firmware updates.+# Keep com.tcl.miracast if you cast from a phone (多屏互动 is separate, and optional below).++# TCL ads, telemetry, logging, silent install+com.tcl.bootadservice+com.tcl.bi+com.tcl.logkit+com.tcl.c2dm.client+android.autoinstalls.config.tcl.device+com.tcl.recognize.service # channel recognition; its own class is AdActionDispatcher++# Preloaded TCL content+com.tcl.ffkaraoke+com.audiocn.karaoke.micmanager+com.tcl.ffeducation+com.tcl.playskill # usage tips+com.tcl.appreciate.art # art screensaver, VIP upsell+com.tcl.browser+com.tcl.common.weather+com.tcl.wholenetsearch+com.tcl.useragreement+com.tcl.gamebar+com.tcl.repairguide+com.tcl.vod+com.tcl.tliveplay+com.tcl.weixin++# Optional: uncomment what you don't use. The set this list was taken from had these off too.+# com.tcl.usercenter # TCL account+# com.tcl.appmarket2 # TCL app store (当贝市场 can install apps instead)+# com.tcl.guard # 电视卫士; also the USB APK installer+# com.tcl.ui_mediaCenter # USB playback+# com.tcl.t_solo # 蓝牙单独听+# com.tcl.MultiScreenInteraction_TV # 多屏互动 / phone push+# com.tcl.walleve # 小T voice assistant (also an accessibility service)+# com.kookong.tvplus # 机顶盒设置, IR learning for a set-top box++# NOT disabled, ever: com.tcl.cyberui (disabling it leaves boot with no home activity and the+# boot animation never finishes), com.tcl.tv, com.tcl.settings, com.tcl.systemserver,+# com.sohu.inputmethod.sogou.tv, com.tcl.autopair, com.tcl.tcl_bt_rcu_service,+# com.tcl.ttvs, com.tcl.versionUpdateApp, com.snm.upgrade, com.tcl.miracast.