Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.
TCL 55P7K / 55C655 (G10, Google TV 12)
Notes from the second unit, a TCL 55C655 (2024, Italy) on the same build as the 55P7K:
G10_4K_GB, STT2.230203.001 AS16, Realtek RTD2875P, Bluetooth remote BT_RC833_U1 (vendor 0x0417, product
0x0304). It ran debloat.txt with the streaming apps, Alexa and T-Solo kept, plus the extras at the end, for a
day and two reboots, with the Clean Your TV launcher as Home and HomeKeyService on
(launcher/build-and-install.sh with HOME_KEY_SERVICE=1).
Order that worked
tools/disable.shskippedandroid.autoinstalls.config.google.gtvpaion the first run: itsdumpsyshas no permission block for the input-driver check. With Live TV and HDMI checked on the real remote after a reboot,TVINPUT_ALLOW=1disabled it.- The saved Wi-Fi network already belonged to
android.uid.system(dumpsys wifi | grep -o 'cname=[^ ]*'), so setupwraith went with launcherx in one run, with no re-join. - With launcherx still enabled,
build-and-install.shstops at its Home check (Home still resolves to launcherx), before it turns the key helper on. Disabling setupwraith and launcherx in onedisable.shrun then hands Home to the launcher; run the install script again forHomeKeyService.
Remote buttons
With launcherx disabled the app buttons do nothing: TCL sends its own keycodes and only launcherx answered them.
HomeKeyService brings them back from app_keys and settings_key_keycodes in config.xml. Scancodes from
getevent -lt, names from /system/usr/keylayout/Generic.kl (the remote's own Vendor_0417_Product_0304.kl is not
readable from the shell), numbers from KeyEvent.keyCodeFromString run on the TV through app_process. Every row
was checked with the real remote.
| Button | Scancode | Name | Keycode | app_keys entry used |
|---|---|---|---|---|
| YouTube | 245 | TCL_YOUTUBE |
4065 | 4065:com.google.android.youtube.tv; this unit used 4065:org.smarttube.stable |
| Netflix | 242 | TCL_NETFLIX |
4062 | 4062:com.netflix.ninja |
| Prime Video | 752 | TCL_PRIMEVIDEO |
4099 | 4099:com.amazon.amazonvideo.livingroom |
| TCL Channel | — | TCL_QUICK_MENU |
4020 | 4020:com.tcl.tv (Live TV) |
| Guide | 365 | TCL_EPG |
4001 | 4001:com.tcl.tv and front:4001:guide:com.tcl.tv: Live TV, then its guide |
| TCL Home | 204 | TCL_DASHBOARD |
4137 | 4137:com.gathin.tvhome/.QuickSettingsActivity (the launcher's panel) |
| Web | 651 | TCL_BROWSEHERE |
4159 | any app; this unit has no browser and used 4159:com.esaba.downloader |
| Settings (gear) | 233 | NOTIFICATION |
83 | settings_key_keycodes 83 |
| Profile (person icon) | 653 | PROFILE_SWITCH |
288 | not mapped: Google TV profiles went with launcherx |
- YouTube is 4065 here, not 190 (
KEYCODE_BUTTON_3, the Chromecast and G08 value): an entry for 190 does nothing. - TCL Home still opens TCL's own side panel (
com.tcl.dashboard) with no entry, but its user icon leads tocom.tcl.usercenter, which the list disables; this unit gave the button to the launcher's panel instead. - Web opens BrowseHere on sets that have
com.tcl.browser. This one does not: withcom.tcl.interactivedisabled, a press only makescom.tcl.tvretrytcl_tias_tbrowserfor about 13 seconds, then stop. - Home, Home held (
3:homeplushold:3:com.gathin.tvhome/.QuickSettingsActivity), Input, D-pad and the microphone work. The Assistant answers voice with launcherx disabled. - Price: with
HomeKeyServicefiltering keys, Volume Up held moves one step per press, as on the TCL G09 (docs/devices/tcl-55p71b-g09-key-repeat.md). - The notification panel and Google TV profiles were launcherx's and are gone.
Power-on
- From standby (the remote's power button) the set resumes where it was: it never really shuts down.
- After a full reboot the firmware brings
com.tcl.tvto the front about seven seconds after Home starts (logcat -b events | grep wm_set_resumed_activity). This unit kept that;power_on_homewould send it back to Home.
Third unit: TCL 55T7B (Turkey)
A TCL 55T7B (2024) on the same G10_4K_GB build, STT2.230203.001 incremental AS50, on Wi-Fi. It ran
debloat.txt with com.tcl.ttvs, Spotify, Google TV / Play Movies and Play Games kept, plus the 55T7B extras at
the end, for four days and four reboots, the last day with the Clean Your TV launcher as Home and both key helpers
(InputKeyService and HomeKeyService) on.
com.tcl.ttvskept. Itsdumpsys packagelistsSystemUpdateActivityandSystemUpdateReceiver, so on this build it is the firmware updater as well as TCL's analytics.- setupwraith owned the saved Wi-Fi network here (
cname=com.google.android.tungsten.setupwraith), unlike the 55C655. The firstlauncher/build-and-install.shrun stopped at its Home check (Home went tosetupwraith/.RecoveryActivity) and put launcherx back. Forgetting the network and joining it again in Settings moved it tocom.android.tv.settings; then setupwraith was disabled, the TV stayed online, and the second run handed Home to the launcher. - Casting from a phone still works with setupwraith disabled (YouTube from a phone).
- With launcherx enabled it always wins Home (intent-filter priority 2):
cmd package set-home-activityand the launcher's Choose default home both answer Success and Home stays on launcherx. Switching back to the stock home for a while meanspm enableand laterpm disable-userfrom ADB. - Remote: the same keycodes as the table above. The Guide button (4001) mapped to
4001:com.tcl.tvopens Live TV; without an entry,com.tcl.tv'sGlobalKeyServiceturns it intoKEYCODE_GUIDE, which nothing answers on Home. The gear (83) withsettings_key_keycodesandsettings_key_panelopens the launcher's panel. Held volume moves one step per press with the helpers on, as on the 55C655. com.tcl.channelplus(TCL Live): right after it was disabled its channels stayed in Live TV's list without playing; after the next reboot they were gone.