Skip to content

Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.

examples: TCL 60C635 (Google TV 11, Realtek rtd288o), tested on a real unit

Robe ComeCaramelos5598eeff42b4
diff --git a/README.md b/README.md
index e302f43f6..d8eabd80b 100644
--- a/README.md
+++ b/README.md
@@ -202,6 +202,7 @@ BYINTEK, JMGO, Portronics, Stellamore, Wanbo and XGIMI projectors
| TCL 55C815 (2020, Europe/Denmark, BeyondTV2, Realtek rtd285o) | Android TV 11 |
| TCL 55Q10G Pro (China, tcl_mt5879_cn, MediaTek MT9952) | Android TV 11 |
| TCL 55S470G (G10, G10_4K_US_NF, Realtek), US | Google TV 12 |
+| TCL 60C635 (Smart TV Pro, G03_4K_GB, Realtek rtd288o, V8-R51MT05-LF1V652), Spain | Google TV 11 |
| TCL 65C725 (Smart TV Pro, BeyondTV4) | Android TV 11 |
| TCL 65C735 (Smart TV Pro, G05, MediaTek), France | Google TV 11 |
| TCL ak30a5 (China, Amlogic) | Android TV 9 |
diff --git a/examples/README.md b/examples/README.md
index da48e71be..a6e20eca4 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -79,6 +79,7 @@ on that firmware, grouped and commented. These are starting points: comment out
| `tcl-55c815/` | TCL 55C815 (2020, Europe/Denmark, BeyondTV2, Realtek rtd285o) | Android TV 11 | TCL analytics, content feeds (TCL Channel), message box, sticker, Google recommendation rows, Play Movies/Games; voice, Chromecast, mirroring and updates kept by choice; setupwraith owns a setup Wi-Fi network, so it stays; TCL's updater re-enabled TCL Channel by pushing an update after a reboot (also hide it in the launcher); launcher works (stock `com.google.android.tvlauncher`, Live TV `com.tcl.tv`); reboot-checked |
| `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-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-60c635/` | TCL 60C635 (Smart TV Pro, G03_4K_GB, Realtek rtd288o, V8-R51MT05-LF1V652), Spain | Google TV 11 | TCL BI/TTVS/logkit analytics, TGuard, TCL content rows and TCL Live FAST channels, Alexa, voice assistant (by choice), unused preloads; Chromecast, Miracast and firmware updates kept; launcherx + setupwraith off (survived a cold reboot); Netflix/YouTube/Prime buttons fixed with app_keys 4062/4065/4099, TCL (4020) and gear (4077) buttons open Settings; config.json, build-and-install and restore scripts; tested on a real unit |
| `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 | 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 |
| `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 |
diff --git a/examples/tcl-60c635/README.md b/examples/tcl-60c635/README.md
new file mode 100644
index 000000000..d97f36028
--- /dev/null
+++ b/examples/tcl-60c635/README.md
@@ -0,0 +1,98 @@
+# TCL 60C635 (Google TV 11)
+
+Tested on a real unit on 2026-10-20, over Wi-Fi, in Spain.
+
+| Field | Value |
+|---|---|
+| `ro.product.model` / `name` / `device` | `Smart TV Pro` / `G03_4K_GB` / `BeyondTV4` |
+| Android / SDK | 11 / 30, security patch 2024-12-05 |
+| Firmware | `V8-R51MT05-LF1V652`, `AR11` (same as `tcl-43c645` and `docs/devices/tcl-75c63b.md`) |
+| SoC / RAM | Realtek `rtd288o`, 2 GB |
+| Remote | `TCL_RC902V_U1` (Bluetooth, `Generic.kl`) |
+| `ro.adb.secure` | 1 (the "Allow USB debugging?" prompt appears) |
+
+Port 5555 was open with only **USB debugging** on; this firmware has no separate network-debugging switch.
+
+## What is here
+
+| File | What it does |
+|---|---|
+| `debloat.txt` | 36 packages in 6 batches: telemetry, TCL content/ads, background services, voice assistant, unused preloads, and the stock launcher handover |
+| `config.json` | Launcher overlay for this TV: dock, Live TV app, remote buttons |
+| `build-and-install.sh` | Builds `launcher/`, installs it, pushes `config.json`, makes it Home, disables launcherx and setupwraith, switches the key services on |
+| `restore.sh` | Re-enables everything in `debloat.txt`, gives Home back to launcherx, switches the key services off (`--uninstall` also removes the launcher) |
+
+```sh
+TV_HOST=<tv ip> tools/disable.sh examples/tcl-60c635/debloat.txt # or one batch at a time, see below
+TV_HOST=<tv ip> examples/tcl-60c635/build-and-install.sh
+TV_HOST=<tv ip> examples/tcl-60c635/restore.sh # undo
+```
+
+The scripts use the stock `adb` from platform-tools (`$ANDROID_HOME/platform-tools/adb`). On WSL2 the adb
+daemon hung while forking; `adb -P 15037 nodaemon server` in another terminal plus `ADB_PORT=15037` worked.
+
+## Re-enable one app
+
+Everything is disabled, nothing is uninstalled:
+
+```sh
+adb shell pm enable <package> # e.g. com.tcl.ui_mediaCenter for USB drives
+```
+
+## Change the dock order or the wallpaper
+
+Edit `dock_apps` in `config.json` (four package names, left to right) and run `build-and-install.sh` again.
+Package names: `adb shell pm list packages -3`.
+
+For a wallpaper, copy this folder's `config.json` into a theme folder, add `"wallpaper": true` and a dark
+1920×1080 `wallpaper.jpg`, and push it with `tools/theme.sh <folder>` (see `themes/README.md`).
+
+## Remote buttons
+
+With launcherx disabled, `TclPhoneWindowManager` still turns the app buttons into broadcasts that only
+launcherx answered, so they did nothing. Android keycodes on this firmware (read with
+`KeyEvent.keyCodeFromString` through `app_process`, not guessed):
+
+| Button | Keycode name | Number | Now does |
+|---|---|---|---|
+| Netflix | `KEYCODE_TCL_NETFLIX` | 4062 | opens Netflix (`app_keys`) |
+| YouTube | `KEYCODE_TCL_YOUTUBE` | 4065 | opens YouTube (`app_keys`) |
+| Prime Video | `KEYCODE_TCL_PRIMEVIDEO` | 4099 | opens Prime Video (`app_keys`) |
+| TCL | `KEYCODE_TCL_QUICK_MENU` | 4020 | opens Settings (`settings_key_keycodes`) |
+| Settings (gear) | `KEYCODE_TCL_SET` | 4077 | opens Settings (`settings_key_keycodes`); TCL logs it as "tcl set short press" |
+| Guard | `KEYCODE_TCL_GUARD` | 4140 | nothing (opened TGuard, disabled) |
+| Media | `KEYCODE_TCL_USB_MEDIA` | 4057 | nothing (opened the USB player, disabled) |
+
+Input, Home, D-pad, volume and channel keys work without help. The Linux scancodes behind them, from
+`getevent -lt`: TCL 227, gear 233, Netflix 242, YouTube 245, Guard 748, Media 236, Prime 752; `Generic.kl`
+maps them to the names above. Do not guess from the button's label: the TCL button is `TCL_QUICK_MENU`,
+not `TCL_DASHBOARD` (4137). All of the above were checked with the real
+remote. Injected keys never reach the accessibility services, so `input keyevent` is not a test.
+
+## Quirks on this firmware
+
+- **Accessibility services after a reinstall**: Android unbinds them on reinstall and binds them again only
+ when `enabled_accessibility_services` changes. Writing the same value back leaves them enabled but unbound
+ and the remote buttons dead, so `build-and-install.sh` clears the list first. Do not `am force-stop` the
+ launcher: the services land in "Crashed services" until the next reinstall.
+- `TclAppBoot` refuses to bind services of packages without TCL's `OP_AUTO_START` while their process is not
+ running (`callee_does't_have_OP_AUTO_START_permission` in logcat). After a cold reboot the launcher's
+ services still bound, because the launcher is Home and its process starts first.
+- **Location is switched off on every boot** (`location_mode` back to 0), so the network pill shows "Wi-Fi"
+ instead of the network name even with `ACCESS_FINE_LOCATION` granted.
+- A second, non-running user (`10: new_user`) exists; the list only touches user 0.
+- Live TV and HDMI screenshots are 0 bytes; HDMI rows open `com.tcl.tv/.TVActivity`.
+- Saved Wi-Fi networks belonged to `android.uid.system` / `com.android.tv.settings`, so disabling setupwraith
+ kept the TV on Wi-Fi.
+
+## Verified
+
+After every batch: Home, the Input key (Quick panel, `com.tcl.suspension`), Live TV (`com.tcl.tv`) and
+YouTube playback. After the handover: D-pad (one row per press, Up from the dock to the top bar, top bar
+ends stay put), Inputs dropdown (HDMI 1, HDMI 2, AV, Live TV), Home on the real remote, a cold reboot.
+Not tested: casting, Miracast, firmware update, several-day stability.
+
+## When you are done
+
+Network ADB on port 5555 is plaintext. On the TV: Developer options → USB debugging off, and
+"Revoke USB debugging authorisations"; reboot, then check `nc -vz <tv ip> 5555` fails.
diff --git a/examples/tcl-60c635/build-and-install.sh b/examples/tcl-60c635/build-and-install.sh
new file mode 100644
index 000000000..456196fa1
--- /dev/null
+++ b/examples/tcl-60c635/build-and-install.sh
@@ -0,0 +1,69 @@
+#!/usr/bin/env bash
+# Build launcher/ and install it on the TCL 60C635 as Home, with this TV's config.json (dock, Live TV,
+# remote keys) and the remote-key services on.
+# To change the dock order, edit dock_apps in config.json and run this again.
+# Uses the stock adb binary. Safe to re-run: Android turns accessibility services off on every
+# reinstall, so they are switched on again each time.
+#
+# Usage: TV_HOST=192.168.1.50 examples/tcl-60c635/build-and-install.sh
+set -euo pipefail
+cd "$(dirname "$0")/../../launcher"
+TV="${TV_HOST:?set TV_HOST to the TV IP}:${TV_PORT:-5555}"
+export JAVA_HOME="${JAVA_HOME:-$(ls -d "$HOME"/Android/jdk/jdk-17* 2>/dev/null | head -1)}"
+export ANDROID_HOME="${ANDROID_HOME:-$HOME/Android/Sdk}"
+export PATH="$JAVA_HOME/bin:$PATH"
+ADB="${ADB:-$ANDROID_HOME/platform-tools/adb}"
+# On WSL2 the adb daemon can hang while forking; run "adb -P 15037 nodaemon server" in another
+# terminal and set ADB_PORT=15037.
+[ -n "${ADB_PORT:-}" ] && ADB="$ADB -P $ADB_PORT"
+A="$ADB -s $TV"
+[ -f local.properties ] || echo "sdk.dir=$ANDROID_HOME" > local.properties
+
+# The wrapper jar directly, so a checkout with CRLF line endings in gradlew still builds.
+java -Xmx64m -cp gradle/wrapper/gradle-wrapper.jar org.gradle.wrapper.GradleWrapperMain assembleRelease -q --console=plain
+APK=app/build/outputs/apk/release/app-release.apk
+
+$ADB connect "$TV" >/dev/null
+$A push "$APK" /data/local/tmp/tvhome.apk
+OUT=$($A shell pm install -r /data/local/tmp/tvhome.apk | tr -d '\r')
+$A shell rm -f /data/local/tmp/tvhome.apk
+echo "$OUT"
+[ "$OUT" = Success ] || { echo "install failed, Home left as it was" >&2; exit 1; }
+
+# This TV's dock, Live TV app and remote keys (examples/tcl-60c635/config.json), overlaid on
+# config.xml by the launcher at start. A new theme_revision makes it drop on-TV layout choices.
+DIR=/sdcard/Android/data/com.gathin.tvhome/files
+$A shell mkdir -p "$DIR"
+$A push ../examples/tcl-60c635/config.json "$DIR/config.json" >/dev/null
+$A shell "printf '%s' $(date +%s) > $DIR/theme_revision"
+
+START=$($A shell am start -W -n com.gathin.tvhome/.MainActivity | tr -d '\r')
+echo "$START" | grep -q 'Status: ok' || { echo "launcher did not start, Home left as it was" >&2; exit 1; }
+
+$A shell pm grant com.gathin.tvhome android.permission.ACCESS_FINE_LOCATION
+$A shell cmd package compile -m speed -f com.gathin.tvhome >/dev/null
+# Stock Home and the Google TV setup wizard (which claims Home once launcherx is off). Already
+# disabled on this TV; the commands are a no-op then.
+$A shell pm disable-user --user 0 com.google.android.tungsten.setupwraith
+$A shell pm disable-user --user 0 com.google.android.apps.tv.launcherx
+$A shell cmd package set-home-activity --user 0 com.gathin.tvhome/.MainActivity
+HOME_NOW=$($A shell cmd package resolve-activity --brief -a android.intent.action.MAIN -c android.intent.category.HOME | tail -n 1 | tr -d '\r')
+echo "Home: $HOME_NOW"
+case "$HOME_NOW" in
+ com.gathin.tvhome/*) ;;
+ *) echo "Home is not the new launcher; putting launcherx back" >&2
+ $A shell pm enable com.google.android.apps.tv.launcherx
+ $A shell cmd package set-home-activity --user 0 com.google.android.apps.tv.launcherx/.home.HomeActivity
+ exit 1 ;;
+esac
+
+# InputKeyService: Input button and the Netflix/YouTube/Prime buttons (app_keys).
+# HomeKeyService: the TCL and gear buttons open Settings (settings_key_keycodes).
+# The reinstall unbinds them, and they bind again only when the list changes: clear it first.
+$A shell settings put secure enabled_accessibility_services "''"
+sleep 1
+$A shell settings put secure enabled_accessibility_services \
+ com.gathin.tvhome/.InputKeyService:com.gathin.tvhome/.HomeKeyService
+$A shell settings put secure accessibility_enabled 1
+$A shell input keyevent HOME
+echo "Installed. Check the remote buttons with the real remote."
diff --git a/examples/tcl-60c635/config.json b/examples/tcl-60c635/config.json
new file mode 100644
index 000000000..6cbe19169
--- /dev/null
+++ b/examples/tcl-60c635/config.json
@@ -0,0 +1,16 @@
+{
+ "dock_apps": [
+ "com.google.android.youtube.tv",
+ "com.spotify.tv.android",
+ "com.amazon.amazonvideo.livingroom",
+ "com.disney.disneyplus"
+ ],
+ "hidden_apps": ["com.tcl.tv"],
+ "live_tv_package": "com.tcl.tv",
+ "settings_key_keycodes": [83, 4020, 4077],
+ "app_keys": [
+ "4062:com.netflix.ninja",
+ "4065:com.google.android.youtube.tv",
+ "4099:com.amazon.amazonvideo.livingroom"
+ ]
+}
diff --git a/examples/tcl-60c635/debloat.txt b/examples/tcl-60c635/debloat.txt
new file mode 100644
index 000000000..1b0600520
--- /dev/null
+++ b/examples/tcl-60c635/debloat.txt
@@ -0,0 +1,75 @@
+# TCL 60C635 (reports as "Smart TV Pro", product G03_4K_GB, device BeyondTV4), Google TV 11 (SDK 30),
+# Realtek rtd288o, firmware V8-R51MT05-LF1V652 / AR11, security patch 2024-12-05, 2 GB RAM. Spain, Wi-Fi.
+# Same firmware as examples/tcl-43c645 and docs/devices/tcl-75c63b.md. See README.md in this folder.
+#
+# Tested 2026-10-20 on a real unit, batch by batch with a screenshot after each: Home, the Input key
+# (Quick panel), Live TV, HDMI and YouTube kept working, also after a cold reboot with batch 6 applied.
+# Remote: Netflix/YouTube/Prime buttons need the launcher's InputKeyService (app_keys 4062/4065/4099);
+# the TCL (4020) and gear (4077) buttons need HomeKeyService (settings_key_keycodes); see config.json
+# and build-and-install.sh.
+#
+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/tcl-60c635/debloat.txt
+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/tcl-60c635/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. HOME candidates before the handover: launcherx (2),
+# setupwraith RecoveryActivity (1), tv.settings FallbackHome (-1000). Saved Wi-Fi networks belonged to
+# android.uid.system / com.android.tv.settings, not setupwraith.
+# Live TV / HDMI: com.tcl.tv (TVActivity) + com.tcl.tvinput (tuner and passthrough input services).
+#
+# 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.suspension (source/Quick panel),
+# com.tcl.inputmethod.international, com.google.android.inputmethod.latin, com.google.android.gms,
+# com.google.android.gsf, com.android.vending.
+# Kept by choice: Chromecast (mediashell), Miracast (com.tcl.miracast, com.tcl.magiconnectfree),
+# firmware updates (com.tcl.versionUpdateApp), com.tcl.gamebar (Steam Link), com.tcl.t_solo,
+# com.tcl.android.webview, com.google.android.apps.tv.dreamx (screensaver).
+
+# Batch 1 - telemetry and analytics
+com.tcl.bi # TCL BI analytics
+com.tcl.ttvs # TCL identifier/awareness services
+com.tcl.guard # TGuard: usage tracking, memory cleaner
+com.tcl.logkit # log collection, remote diagnosis
+com.google.android.feedback
+com.google.android.partnersetup
+
+# Batch 2 - TCL content, ads and promos
+com.tcl.partnercustomizer # TCL rows on the Google TV home
+com.tcl.waterfall.overseas # TCL content recommendations
+com.tcl.dashboard # TCL panel and promos
+com.tcl.messagebox # pushed messages
+com.tcl.overseasappshow # app promos on boot/network change
+com.tcl.tv.tclhome_passive # pushes TCL content at boot
+com.tcl.esticker # retail demo stickers
+com.tcl.usercenter # TCL account
+com.tcl.channelplus # TCL Live: FAST IPTV channels with ads (its own TV input)
+
+# Batch 3 - background services not needed
+com.tcl.smartalexa # Alexa integration
+com.tcl.ocean.instructions # on-screen manual
+com.tcl.hearaid
+com.tcl.useragreement
+com.google.android.apps.nbu.smartconnect.tv
+com.google.android.syncadapters.calendar
+com.google.android.onetimeinitializer
+com.google.android.marvin.talkback
+
+# Batch 4 - voice assistant (owner does not use it)
+com.google.android.katniss
+com.tcl.assistant
+com.tcl.micmanager
+com.google.android.tv.assistant # assistant LED service
+
+# Batch 5 - preloaded apps not used
+tv.wuaki.apptv # Rakuten TV
+com.google.android.youtube.tvmusic
+com.google.android.play.games
+com.google.android.videos # Google TV store
+com.tcl.gallery
+com.tcl.browser
+com.tcl.ui_mediaCenter # USB media player, re-enable for USB drives
+
+# Batch 6 - stock launcher handover (only once the new launcher is Home)
+com.google.android.tungsten.setupwraith
+com.google.android.apps.tv.launcherx
diff --git a/examples/tcl-60c635/restore.sh b/examples/tcl-60c635/restore.sh
new file mode 100644
index 000000000..94d25b78b
--- /dev/null
+++ b/examples/tcl-60c635/restore.sh
@@ -0,0 +1,30 @@
+#!/usr/bin/env bash
+# Undo examples/tcl-60c635: re-enable every package in debloat.txt, give Home back to the Google TV
+# launcher and switch the launcher's accessibility services off. Nothing was uninstalled, so this
+# brings the TV back to how it shipped. Pass --uninstall to remove the custom launcher as well.
+#
+# Usage: TV_HOST=192.168.1.50 examples/tcl-60c635/restore.sh [--uninstall]
+# Re-enable one app only: adb shell pm enable <package>
+set -euo pipefail
+cd "$(dirname "$0")"
+TV="${TV_HOST:?set TV_HOST to the TV IP}:${TV_PORT:-5555}"
+ADB="${ADB:-${ANDROID_HOME:-$HOME/Android/Sdk}/platform-tools/adb}"
+[ -n "${ADB_PORT:-}" ] && ADB="$ADB -P $ADB_PORT"
+A="$ADB -s $TV"
+$ADB connect "$TV" >/dev/null
+
+# Package names only; the list is checked so nothing else reaches the TV's shell.
+PKGS=$(tr -d '\r' < debloat.txt | sed -E 's/#.*$//' | awk 'NF {print $1}')
+for p in $PKGS; do
+ [[ "$p" =~ ^[A-Za-z_][A-Za-z0-9_]*(\.[A-Za-z0-9_]+)+$ ]] || { echo "skipping bad entry: $p" >&2; continue; }
+ # One pm call per shell: chained pm commands can stop silently after the first.
+ $A shell pm enable "$p" | tr -d '\r'
+done
+
+$A shell settings put secure enabled_accessibility_services "''"
+$A shell cmd package set-home-activity --user 0 com.google.android.apps.tv.launcherx/.home.HomeActivity
+if [ "${1:-}" = --uninstall ]; then
+ $A shell pm uninstall com.gathin.tvhome
+fi
+$A shell input keyevent HOME
+echo "Home: $($A shell cmd package resolve-activity --brief -a android.intent.action.MAIN -c android.intent.category.HOME | tail -n 1)"