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: add BenQ GV32 portable projector (SDMC, MediaTek m7332), Google TV 14
Adam Hansenc025d533b944
diff --git a/README.md b/README.mdindex e90b28262..84edb5f84 100644--- a/README.md+++ b/README.md@@ -125,6 +125,7 @@ Anker Nebula, BYINTEK, Epson, Gadnic, JMGO, Portronics, Stellamore, Wanbo and XG| Artel smart TV (CVTE TP.MT5510S.PB782, cvt_mt5863_eu, SMART_TV), Uzbekistan | Android 7.0 || BenQ E55-735 (Changhong AI PONT, DVB96BQ) | Google TV 14 || BenQ E55-750 (Changhong AI PONT, DVB96BQ) | Google TV (Android 11) |+| BenQ GV32 portable projector (SDMC, BenQ_GV01, himalaya, MediaTek m7332) | Google TV 14 || BYINTEK Love U4 projector, 1080P (Skyworth RG_HS352, HiSilicon Hi3751V350, 1 GB), Brazil | Android 9 || BYINTEK T5 Max projector (built-in Google TV stick: SkyworthDigital YYT, Amlogic), Brazil | Google TV 14 || Caxium 58" 147 cm UHD Smart TV (Realtek RTD285O, RTK2851P, TopTech + Zeasn), Colombia | Android TV 9 |diff --git a/examples/README.md b/examples/README.mdindex 1fd77920d..e00717da3 100644--- a/examples/README.md+++ b/examples/README.md@@ -18,6 +18,7 @@ on that firmware, grouped and commented. These are starting points: comment out| `artel-cvte-mt5863/` | Artel smart TV (CVTE TP.MT5510S.PB782, cvt_mt5863_eu, SMART_TV), Uzbekistan | Android 7.0 | Seven preinstalled apps, TalkBack and voice services; no Developer options, ADB comes from the full CVTE factory menu; do not disable com.talents.huanclientauth; Live TV is com.cvte.tv.androidsetting/.TvSettingActivity || `benq-e55-735/` | BenQ E55-735 (Changhong AI PONT, DVB96BQ) | Google TV 14 | Homwee store/help, Anoki ACR, Google TV recommendations; wireless-debugging pairing, setupwraith, deep-standby notes || `benq-e55-750/` | BenQ E55-750 (Changhong AI PONT, DVB96BQ) | Google TV (Android 11) | Homwee store/help, Google TV recommendations and ambient mode; no ACR on this firmware; setupwraith, screensaver handover |+| `benq-gv32/` | BenQ GV32 portable projector (SDMC, BenQ_GV01, himalaya, MediaTek m7332) | Google TV 14 | First BenQ projector list: Android ad services, Google feedback, partner setup, disclaimer screen, Play Games, Instagram; setupwraith owned the setup Wi-Fi (forget and re-join first); `com.sdmc.kt` (focus/keystone), remote pairing and `fusion.android.tv.demo` (Input key) kept; USB media player skipped by the TV-input guard; Settings and profile buttons mapped by scancode, which costs held-key repeat; Wireless debugging only; config.json dock; reboot-checked || `byintek-u4/` | BYINTEK Love U4 projector, 1080P (Skyworth RG_HS352, HiSilicon Hi3751V350, 1 GB), Brazil | Android 9 | Zeasn ad/portal service (also hidden with root: it is persistent) and store, WPS Office, RuStore (reinstalled at boot if uninstalled), phone and setup leftovers, wired USB casting; ADB is behind a key sequence in BYINTEK settings, not Developer options; userdebug firmware; Inputs pill opens BYINTEK's own picker; launcher works (stock `com.zeasn.whale.saas`); config.json has the dock || `byintek-t5-max/` | BYINTEK T5 Max projector (built-in Google TV stick: SkyworthDigital YYT, Amlogic), Brazil | Google TV 14 | Same stick/firmware as Wanbo X5 Pro; telemetry, Privacy Sandbox, xCPE, Skyworth device-info and factory test apps off; setupwraith kept (it owns the saved Wi-Fi here) and launcherx kept enabled as recovery while the fork is HOME; voice, Chromecast, OTA kept; autofocus/keystone/HDMI run by the projector mainboard, not Android || `caxium-58-realtek-rtk2851p/` | Caxium 58" 147 cm UHD Smart TV (Realtek RTD285O, RTK2851P, TopTech + Zeasn), Colombia | Android TV 9 | Zeasn services (SHOW_AD) and device portal (also the OTA check), Realtek partner auto-installs, print spooler; stock Home is Zeasn, no Live TV app, Inputs need the TopTech TUNE action; Netflix for TV is not usable (not certified) |diff --git a/examples/benq-gv32/README.md b/examples/benq-gv32/README.mdnew file mode 100644index 000000000..6c666e679--- /dev/null+++ b/examples/benq-gv32/README.md@@ -0,0 +1,103 @@+# BenQ GV32 (Google TV 14 portable projector)++SDMC-built board (product `BenQ_GV01`, device `himalaya`, MediaTek m7332, 1.8 GB RAM), firmware+UKNV.260626.001. Both halves work: the debloat list and the Clean Your TV launcher as Home. Tested on+21 October 2026.++| File | What it is |+|---|---|+| `debloat.txt` | The 8 packages that were disabled, grouped and commented, with what to keep and why (`build-and-install.sh` disables launcherx on top) |+| `config.json` | Dock order, hidden tile, and the Settings and profile buttons; push it with `tools/theme.sh` |+| `restore.sh` | Undo everything below in one go |++All commands run from the repo root, with the projector's IP in `TV_HOST`.++## Turning ADB on++Settings → Device Preferences → About → press OK on **Build** 7 times, then Developer options →+**Wireless debugging** → **Pair device with pairing code**. Then, with Google's `adb`:++```bash+adb pair <ip>:<pairing port> <code>+adb connect <ip>:<port> # the IP address & Port line on the Wireless debugging screen+adb tcpip 5555 # so tools/tv.py works+```++The connect port is random and is announced over mDNS, which does not cross WSL2's NAT; scanning the+projector's ports 30000-50000 for the one that accepts `adb connect` finds it.++## Install, from scratch or again++1. **Move the Wi-Fi network away from the setup wizard first.** The network saved during first setup+ belongs to `com.google.android.tungsten.setupwraith`, and Android deletes it the moment setupwraith+ is disabled. On the projector: Settings → Network & Internet → your network → Forget, then join it+ again. Check with `tools/tv.py "dumpsys wifi | grep -o 'cname=[^ ]*'"` (it should say+ `android.uid.system`).+2. Run:++```bash+TV_HOST=<projector-ip> tools/disable.sh examples/benq-gv32/debloat.txt+TV_HOST=<projector-ip> HOME_KEY_SERVICE=1 launcher/build-and-install.sh+TV_HOST=<projector-ip> tools/theme.sh examples/benq-gv32+```++`disable.sh` skips setupwraith by itself while it still owns the Wi-Fi, so step 1 only matters for the+launcher handover: with setupwraith enabled, its `RecoveryActivity` claims Home behind launcherx.++## Remote buttons ("RCI078/079", Bluetooth)++Without the stock launcher these keep working on their own: Home, Back, volume, the D-pad, the+YouTube, Netflix and Prime Video buttons, Input (Google's input switcher), focus, auto-keystone, the+BenQ help button (Support Center) and the mic.++Two buttons were answered only by launcherx and go dead without it. `config.json` maps them by+scancode, which needs the launcher's HomeKeyService (`HOME_KEY_SERVICE=1` above):++| Button | Scancode (Linux key) | Mapped to |+|---|---|---|+| Settings (gear) | 189 (`KEY_F19`) | Android Settings |+| Profile (person) | 433 (`KEY_LOGOFF`) | Plex (Google TV's profile switcher lived in launcherx) |++**The trade:** while any key-filtering accessibility service is bound, this firmware drops held-key+repeats, so holding Volume Up moves one step instead of ramping, as on+[the TCL G09](../../docs/devices/tcl-55p71b-g09-key-repeat.md). Checked both ways on this unit: the ramp+comes back as soon as the helper is unbound. To choose the ramp instead, leave out+`HOME_KEY_SERVICE=1`, or switch the helper off:++```bash+TV_HOST=<projector-ip> tools/tv.py "settings put secure enabled_accessibility_services ''; settings put secure accessibility_enabled 0"+```++## Re-enable an app++```bash+TV_HOST=<projector-ip> tools/tv.py 'pm enable com.instagram.airwave'+```++Use the package name from `debloat.txt`. To put everything back, the launcher included:++```bash+TV_HOST=<projector-ip> examples/benq-gv32/restore.sh # add --uninstall-launcher to remove it too+```++## Change the dock or the wallpaper++Edit `dock_apps` in `config.json` (package names, left to right; `columns` sets how many slots), then+push it again:++```bash+TV_HOST=<projector-ip> tools/theme.sh examples/benq-gv32+```++For a wallpaper, put a `wallpaper.jpg` (1920x1080) next to `config.json` and push the same way;+`themes/README.md` has the dim and rotation options. `tools/theme.sh --reset` goes back to the+launcher's built-in config.++## When you are done++Switch **USB debugging** and **Wireless debugging** off in Developer options, revoke the debugging+authorisations there, restart, and check that ADB is closed:++```bash+tools/venv/bin/python tools/adb-closed.py <projector-ip>+```diff --git a/examples/benq-gv32/config.json b/examples/benq-gv32/config.jsonnew file mode 100644index 000000000..0addd7fd4--- /dev/null+++ b/examples/benq-gv32/config.json@@ -0,0 +1,18 @@+{+ "dock_apps": [+ "com.plexapp.android",+ "com.google.android.youtube.tv",+ "com.crunchyroll.crunchyroid",+ "com.collegehumor.chdropout"+ ],+ "hidden_apps": [+ "com.sdmc.implayer"+ ],+ "live_tv_package": "",+ "columns": 4,+ "rows_below_dock": 0,+ "app_keys": [+ "scan:189:com.android.tv.settings",+ "scan:433:com.plexapp.android"+ ]+}diff --git a/examples/benq-gv32/debloat.txt b/examples/benq-gv32/debloat.txtnew file mode 100644index 000000000..3d9248c2b--- /dev/null+++ b/examples/benq-gv32/debloat.txt@@ -0,0 +1,56 @@+# BenQ GV32 portable projector (SDMC-built, product BenQ_GV01, device himalaya, MediaTek m7332), 1.8 GB RAM,+# Google TV 14 (API 34), firmware UKNV.260626.001, UI at 1920x1080 (no display override).+# Fingerprint: BenQ/BenQ_GV01/himalaya:14/UKNV.260626.001/15736158:user/release-keys+#+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/benq-gv32/debloat.txt+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/benq-gv32/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 claimants on stock: launcherx,+# com.google.android.tungsten.setupwraith/.RecoveryActivity and com.android.tv.settings/.system.FallbackHome.+#+# KEEP, even though some names look like bloat:+# - com.sdmc.kt: auto focus, auto keystone, quad correction, zoom, rotation, eye protection (GLOBAL_BUTTON).+# - com.sdmc.btservice: Bluetooth remote auto-pairing and remote firmware update.+# - com.sdmc.remotecontrolservice: the remote's input method. com.sdmc.service: GLOBAL_BUTTON, power events.+# - fusion.android.tv.demo ("retail display"): handles the remote's Input key (TV_INPUT_BUTTON), as on+# examples/eko-2k-google-tv-tennoji.+# - com.mediatek.wwtv.setupwizard, com.mediatek.tvinput, com.mediatek.tv.service, com.google.android.tv.inputplayer.+# - Factory/test packages: com.dangs.factorytest, com.sdmc.sdmcfactory, com.sdmc.keyburn, mediatek.factorymenu.ui.+# Never launch them, not even to look.+# - com.benq.benqnewrc: BenQ's Bluetooth remote companion (privileged Bluetooth); left alone.+# - com.sdmc.implayer (USB media player) asks for android.permission.TV_INPUT_HARDWARE, so disable.sh skips it.+# It is not among `pm query-services --components -a android.media.tv.TvInputService` (only com.mediatek.tvinput+# and com.mediatek.tv.service are), so it is very likely a false positive as on examples/cecotec-shandao, but+# the HDMI picture could not be checked with nothing connected, so it stays enabled here.+# - No separate vendor updater: system updates come through Google Play services.+#+# Notes from this unit (verified with screenshots, 21 October 2026):+# - Only Wireless debugging (TLS) is offered; pair, connect, then `adb tcpip 5555`. Port 5555 came back by itself+# after a reboot.+# - Launcher: HOME takeover works once setupwraith is disabled (mFocusedApp = com.gathin.tvhome after Home and after+# a reboot). Inputs lists HDMI 1 and HDMI 2; they open in com.google.android.tv.inputplayer. No tuner.+# - Remote ("RCI078/079", BT): Home, Back, volume, D-pad, YouTube/Netflix/Prime Video buttons, Input (Google's input+# switcher), focus (com.sdmc.kt), auto-keystone (KEY_F20, ToF sensor and focus motor), the BenQ help button and the+# mic keep working without launcherx. Settings (KEY_F19, scancode 189) and profile (KEY_LOGOFF, scancode 433) go+# dead with launcherx; examples/benq-gv32/config.json maps them with app_keys and HOME_KEY_SERVICE=1.+# - A bound key-filtering helper costs held-key repeat (volume moves one step per press), as on the TCL G09+# (docs/devices/tcl-55p71b-g09-key-repeat.md); checked both ways here. The owner kept the buttons.+# - Reboot-checked: everything listed stays disabled, Home and the helper survive, Wi-Fi stays connected.++# Batch 1: telemetry, ads and partner plumbing+com.android.adservices.api # Android ad services (Topics, attribution)+com.google.android.feedback+com.android.tv.feedbackconsent+com.google.android.partnersetup # Google partner attribution pings+com.mstar.android.tv.disclaimercustomization # setup-only disclaimer screen++# Batch 2: preloaded / unused apps (owner's choice)+com.google.android.play.games+com.instagram.airwave+# com.sdmc.implayer # USB media player; asks for TV_INPUT_HARDWARE, see header++# Batch 3: launcher handover. setupwraith's RecoveryActivity claims HOME behind launcherx and would take Home+# once launcherx is off. It owned the Wi-Fi saved at setup on this unit: forget the network and join it again+# in Settings first (owner becomes android.uid.system), or disabling it deletes the network.+com.google.android.tungsten.setupwraithdiff --git a/examples/benq-gv32/restore.sh b/examples/benq-gv32/restore.shnew file mode 100755index 000000000..b04d4d2a8--- /dev/null+++ b/examples/benq-gv32/restore.sh@@ -0,0 +1,21 @@+#!/usr/bin/env bash+# Put a BenQ GV32 back the way it came: re-enable every package in debloat.txt, give Home back to+# launcherx, switch the launcher's key helper off and remove the theme (dock, hidden tile, button maps).+#+# Usage, from the repo root: TV_HOST=<projector ip> examples/benq-gv32/restore.sh [--uninstall-launcher]+set -euo pipefail+cd "$(dirname "$0")/../.."+: "${TV_HOST:?set TV_HOST to the projector IP address}"+PY=tools/venv/bin/python+[ -x "$PY" ] || PY=tools/venv/Scripts/python.exe+tv() { "$PY" -I tools/tv.py "$@"; }++tools/restore.sh examples/benq-gv32/debloat.txt com.google.android.apps.tv.launcherx+tools/theme.sh --reset || true+# Drop only the launcher's helper from the accessibility list, keeping anything else (TalkBack) that is on.+tv 's=$(settings get secure enabled_accessibility_services | tr ":" "\n" | grep -v "^com.gathin.tvhome/" | paste -sd: -); if [ -z "$s" ]; then settings put secure enabled_accessibility_services ""; settings put secure accessibility_enabled 0; else settings put secure enabled_accessibility_services "$s"; fi'+if [ "${1:-}" = --uninstall-launcher ]; then+ tv 'pm uninstall com.gathin.tvhome'+fi+tv 'cmd package resolve-activity --brief -a android.intent.action.MAIN -c android.intent.category.HOME | tail -n 1'+echo "Restored. Press Home on the remote; restart the projector if the old home screen does not come up."