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 65Q650G (US Q6 2023, Realtek R51MT08, Google TV on Android 11)
NickLD8b55f41180d5
diff --git a/examples/README.md b/examples/README.mdindex 1fd77920d..aa9ead55c 100644--- a/examples/README.md+++ b/examples/README.md@@ -156,6 +156,7 @@ on that firmware, grouped and commented. These are starting points: comment out| `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-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 || `tcl-g08-us-google-tv/` | TCL 75T7 (Smart TV Pro, G08, G08_4K_US, MediaTek tcl9618), US firmware | Google TV 14 | Same G08 board as the C755/QM6K/85RM7L lists, US build AU16: TCL TV+, messages, e-sticker, dashboard and home pushes, store/hotel/exhibit demo, log capture, Android 14 ad and privacy services, manual/repair/hearing/solo apps, TCL account, browser, Channel+, Alexa and AirPlay, US streaming preloads; ttvs, partnercustomizer, Chromecast and the USB player kept; launcherx and setupwraith off for a custom launcher; one day of use, first 35 reboot-checked || `tcl-q7c-google-tv/` | TCL Q7C (Smart TV Pro, G08, G08_4K_GB, MediaTek tcl9618), European firmware | Google TV 14 | Same build as the 85RM7L list (AU02), with the launcher: TCL promos, home pushes, Channel+/waterfall, account, TGuard cleaner, log capture, Android 14 ad and privacy services, manual/repair/hearing/solo apps, soundbar updater, Alexa; Assistant, AirPlay, Miracast/T-Cast, Netflix, Prime Video, Google TV and Play Games off by choice; ttvs, Chromecast, game bar and dreamx kept; launcherx and setupwraith off (Ethernet, FORCE_SETUPWRAITH=1); every remote button is scancode 240, keycodes in the README (Settings 83, YouTube 190); the debugging switch did not close port 5555, check adb_enabled; reboot-checked |diff --git a/examples/tcl-65q650g/debloat.txt b/examples/tcl-65q650g/debloat.txtnew file mode 100644index 000000000..df0cd9918--- /dev/null+++ b/examples/tcl-65q650g/debloat.txt@@ -0,0 +1,68 @@+# TCL 65Q650G (US Q6 2023, reports as "Smart TV" / BeyondTV4), Android TV 11 (SDK 30), Realtek RTD2851+# (client type TCL-NA-RTD51M), firmware V8-R51MT08-LF1V095, Google TV launcher+# (com.google.android.apps.tv.launcherx), 2 GB RAM, 32-bit userspace.+# List derived from examples/tcl-43c645 (same R51MT platform), checked against this unit's packages.+#+# Tested 2026-10-20 on a real unit, applied in three batches with a screenshot after each: Home, the+# remote's Input panel (com.tcl.suspension) and Live TV (com.tcl.tv/.TVActivity, all four HDMI ports in+# TvInputManager) kept working. Quirks: Git Bash rewrites /data/... paths for tools/tv.py --pull, so set+# MSYS_NO_PATHCONV=1; screencap to /sdcard fails here, use /data/local/tmp. Launcher installed with+# tools/tv.py --push + pm install, later with build-and-install.sh (b64push md5 matched). Reboot-checked: all+# packages stayed disabled, Home stayed on the new launcher, both key services re-bound.+#+# Stock launcher: com.google.android.apps.tv.launcherx (disabled by build-and-install.sh). setupwraith claims+# HOME (priority 1) once it is off, so it is in group 1b. Check `dumpsys wifi | grep -o 'cname=[^ ]*'` first:+# on this unit the Wi-Fi network in use belonged to android.uid.system, so disabling setupwraith kept it.+#+# Remote (Bluetooth BT_RC813_M1, /dev/input/event3, /system/usr/keylayout/Generic.kl):+# - Input (TV_INPUT) and the mic keep working without launcherx.+# - Netflix (242, TCL_NETFLIX), YouTube (245, TCL_YOUTUBE) and Prime Video (752, TCL_PRIMEVIDEO) do nothing+# once launcherx is off: app_keys KEYCODE_TCL_NETFLIX:com.netflix.ninja, KEYCODE_TCL_YOUTUBE:+# com.google.android.youtube.tv, KEYCODE_TCL_PRIMEVIDEO:com.amazon.amazonvideo.livingroom with+# INPUT_KEY_SERVICE=1 bring them back (getevent -l names Prime KEY_PRIMEVIDEO; its scancode is 752, not 365).+# - Gear (233, TCL_SET) also went dead; app_keys KEYCODE_TCL_SET did not catch it, settings_key_scancodes 233+# with HOME_KEY_SERVICE=1 did.+# - TclAppBoot refuses to start the key services at boot until `appops set com.gathin.tvhome APP_AUTO_START allow`.+# All verified with the real remote, also after a reboot. Live TV app: com.tcl.tv (live_tv_package, hidden_apps).+#+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/tcl-65q650g/debloat.txt+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/tcl-65q650g/debloat.txt com.google.android.apps.tv.launcherx+# Kept by choice: voice (katniss, com.google.android.tv.assistant, com.tcl.assistant), Cast receiver+# (mediashell), firmware updater (com.tcl.versionUpdateApp), YouTube TV and YouTube Music.+# Never disable: com.tcl.providers.config com.tcl.initsetup com.tcl.factory.view com.tcl.system.server+# com.tcl.tcl_bt_rcu_service com.tcl.autopair com.tcl.tvinput com.tcl.tv com.tcl.settings+# com.tcl.suspension (Input panel) com.tcl.xian.StartandroidService com.tvos++# 1. Telemetry, partner auto-installs, account and EULA nags+com.tcl.bi+com.tcl.esticker+com.tcl.partnercustomizer+com.tcl.messagebox+com.google.android.partnersetup+com.google.android.feedback+com.google.android.onetimeinitializer+android.autoinstalls.config.google.gtvpai # silently installs partner apps+com.tcl.usercenter # TCL account sign-in nags+com.tcl.useragreement # EULA screen, done after setup++# 1b. Google TV first-run wizard (claims HOME once the stock launcher is off)+com.google.android.tungsten.setupwraith++# 2. Unused apps (off by choice) and extras+com.tubitv+tv.pluto.android+com.tcl.channelplus # TCL Live FAST channels, also removes them from Live TV+com.tcl.tv.plus # TCL TV+ content app+com.tcl.waterfall.overseas # TCL web-video / recommendation portal+com.espn.score_center+com.google.android.play.games+com.google.android.videos+com.tcl.smartalexa # Works with Alexa+com.tcl.guard # TGuard memory cleaner+com.tcl.android.webview+com.tcl.ocean.instructions # e-manual+com.google.android.syncadapters.calendar++# 3. TCL Home panel and remote key helper (disabled on their own; Input panel still worked)+com.tcl.dashboard+com.tcl.keyhelp