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: Haier MatrixTV GE (HR9216EU, haeundae), the gear button's scancode 240
warawichtea62a65b1430
diff --git a/README.md b/README.mdindex e84c36dbc..fc775392b 100644--- a/README.md+++ b/README.md@@ -164,6 +164,7 @@ Anker Nebula, BYINTEK, Epson, Formovie, Gadnic, JMGO, Portronics, Stellamore, Wa| Grundig Android UHD TV (Arçelik, GxGrNM, kunyang, MediaTek), Turkey | Android TV 14 || Haier Android TV DVB2K (broadway, HaierATVT56DVB) | Android TV 11 || Haier H32S80EFX (MatrixTV CE, HRT56EU, deto, MediaTek), Thailand | Google TV 14 |+| Haier MatrixTV GE (HR9216EU, haeundae, MediaTek), EU | Google TV 14 || Hisense 65D62QH (VIDAA_TV, MediaTek MT9653), China | Android TV 11 || Hisense E5Q Pro (VIDAA_TV, MediaTek MT9653), China | Android TV 11 || Hisense Fire TV (AFTCIBFBD1, coyote, MediaTek), US | Fire OS 8.0 / Android 11 |diff --git a/examples/README.md b/examples/README.mdindex 32a0887be..b09eeb1a1 100644--- a/examples/README.md+++ b/examples/README.md@@ -44,6 +44,7 @@ on that firmware, grouped and commented. These are starting points: comment out| `grundig-kunyang/` | Grundig Android UHD TV (Arçelik, GxGrNM, kunyang, MediaTek), Turkey | Android TV 14 | First Arçelik list: Grundig Channel (Hoppr ad tiles), HotelService, TV Care Hub, partner auto-installs, Privacy Sandbox, Google feedback; Assistant, AirScreen/AirCast, Kids, Play Movies/Games off by choice, Chromecast kept; `fusion.android.tv.demo` handles the Input key, keep it; setupwraith claims no HOME; launcher works, every remote button works with no key service; AdGuard DNS validates; 1.8 GB, +290 MB available; reboot-checked || `haier-android-tv-dvb2k/` | Haier Android TV DVB2K (broadway, HaierATVT56DVB) | Android TV 11 | Anoki ACR, retail demo, Haier content apps and auto-install; 1 GB, 720p; setupwraith left enabled || `haier-h32s80efx/` | Haier H32S80EFX (MatrixTV CE, HRT56EU, deto, MediaTek), Thailand | Google TV 14 | Haier hOn IoT and smart-device services, Haier tab and Kinopoisk promo, retail demo, cleaner; YouTube Music and Google TV app off by choice; setupwraith must go (RecoveryActivity component refused); Live TV must target the digital tuner, TrueID also claims channel intents |+| `haier-hr9216eu/` | Haier MatrixTV GE (HR9216EU, haeundae, MediaTek), EU | Google TV 14 | Haier IoT and content apps, Zeasn launcher, cleaner, e-manual, Anoki ACR opt-in, partner rows, retail demo; YouTube Music and Ambient off by choice; Netflix re-enabled from factory-disabled and docked; setupwraith owns the saved Wi-Fi until forget and re-join, then goes with launcherx; the firmware re-enables oemtabprovider and the Zeasn launcher at every boot; the gear button is KEY_UNKNOWN scancode 240 (config.xml), HOME_KEY_SERVICE trades the volume ramp; wireless debugging can switch itself off at boot; config.json has the dock || `hisense-65d62qh/` | Hisense 65D62QH (VIDAA_TV, MediaTek MT9653), China | Android TV 11 | China JuUI 9.0.10.845, same build as `vidda-mt9653/`: ad SDK/service, home operator rows and weather feed, telemetry, push channel, retail/hotel/demo and preloaded content, the 拍信创意 screensaver, and the AOSP leftovers this build leaves enabled; debloat only, stock Home `com.jamdeo.tv.vod` and Live TV kept, OTA kept; 26 packages; a USB HID freeze seen once with a second accessibility service enabled, fine after a rebuild — see `docs/devices/hisense-65d62qh.md` || `hisense-e5q-pro/` | Hisense E5Q Pro (VIDAA_TV, MediaTek MT9653), China | Android TV 11 | China VIDAA firmware, the conservative subset of `vidda-mt9653/` (same build): ad SDK/service, push, telemetry, store/hotel/demo and preloaded content; stock launcher `com.jamdeo.tv.vod` and Live TV `com.jamdeo.tv.livetv` kept, OTA kept; 18 packages || `hisense-fire-tv-aftcibfbd1/` | Hisense Fire TV (AFTCIBFBD1, coyote, MediaTek), US | Fire OS 8.0 / Android 11 | First Fire OS 8 TV: Amazon ACR, ad/recommendation feeders, advertising ID, Shopping, demo, tutorials, telemetry; Alexa, AirPlay, Miracast and preloads (Tubi, Music/Photos, miniTV, Naatyam, games, Ambient) off by choice; Alexa voice (vizzini) is re-enabled at every boot and nothing adb can do sticks; two protected packages noted; HDMI input switching is Amazon-only (TUNE_INPUT is signature-level); AdGuard Private DNS works; Kids, OTA, Live TV, Silk kept; debloat only, see the 2023 stick list for more packages |diff --git a/examples/haier-hr9216eu/README.md b/examples/haier-hr9216eu/README.mdnew file mode 100644index 000000000..e6e69aa3d--- /dev/null+++ b/examples/haier-hr9216eu/README.md@@ -0,0 +1,65 @@+# Haier MatrixTV GE / HR9216EU (Google TV 14, haeundae)++EU set, firmware `UKN6.260116.152` (MediaTek, CVTE-family board), 1080p panel with the UI rendered at+1280x720 (`wm size` override is the factory default here). Both halves work on this set: the debloat+list and the Clean Your TV launcher as Home. Tested on 23 October 2026 on one set, including two+reboots, with the real remote.++| File | What it is |+|---|---|+| `debloat.txt` | The 14 packages that were disabled, grouped and commented |+| `config.json` | Dock order (YouTube, Netflix) and 4 columns; push it with `tools/theme.sh` |++All commands run from the repo root, with the TV's IP in `TV_HOST`. Network ADB must be on while you+run them (Settings → Device Preferences → About → Build x7 → Developer options). Port 5555 opens with+`adb tcpip 5555` but does not survive a reboot; Wireless debugging does and re-advertises on mDNS.++## Install, from scratch or again++The order matters: the Wi-Fi note in `debloat.txt` first (forget + re-join the saved network so it no+longer belongs to setupwraith), then the list while the stock home still owns Home, then the launcher.++```bash+TV_HOST=<tv-ip> tools/disable.sh examples/haier-hr9216eu/debloat.txt+HOME_KEY_SERVICE=1 TV_HOST=<tv-ip> launcher/build-and-install.sh+TV_HOST=<tv-ip> tools/theme.sh examples/haier-hr9216eu+```++`HOME_KEY_SERVICE=1` is the owner's choice: it maps the remote's gear button (KEY_UNKNOWN, scancode+240 - already in `launcher/.../values/config.xml`, the only place scancodes can go) to the TV's+Settings. The price is the volume ramp: while that key-filtering service is bound, volume moves one+step per press instead of ramping (same trade as+[docs/devices/tcl-55p71b-g09-key-repeat.md](../../docs/devices/tcl-55p71b-g09-key-repeat.md), third+set it was seen on, first on Google TV 14). Skip the flag to keep the ramp; the gear button then does+nothing and Settings opens from the launcher's top-bar pill.++## Undo everything++```bash+TV_HOST=<tv-ip> tools/restore.sh examples/haier-hr9216eu/debloat.txt com.google.android.apps.tv.launcherx+```++The launcher stays installed but is no longer Home. Never re-enable just+`com.google.android.tungsten.setupwraith` on its own while the new launcher is Home; `restore.sh`+brings Google TV's home back first.++## Re-enable one app++```bash+TV_HOST=<tv-ip> tools/venv/bin/python -I tools/tv.py 'pm enable com.google.android.youtube.tvmusic'+```++Comment its line out in `debloat.txt` so the next run leaves it alone. Without a computer: Settings →+Apps → See all app → pick the app → Enable.++## Quirks on this firmware, all checked on the TV++- Two of the disabled packages, `com.haier.oemtabprovider` and `com.haier.launcher.haiermatrix`, come+ back enabled at every boot. Both are inert once launcherx is disabled; re-disable after a boot or+ leave them.+- Netflix, Prime, Hotstar, iQiyi, Tencent, WBD and TrueID shipped disabled from the factory. Netflix+ was re-enabled (`pm enable com.netflix.ninja`) and pinned to the dock.+- With the stock home disabled, the remote's Netflix / YouTube / Input / Live TV / voice buttons keep+ working through Haier's own global-key services; only the gear button needed the launcher's helper.+- HDMI and Live TV screenshots come out black (protected video layer); `topResumedActivity` shows+ what is really playing.diff --git a/examples/haier-hr9216eu/config.json b/examples/haier-hr9216eu/config.jsonnew file mode 100644index 000000000..b9638209d--- /dev/null+++ b/examples/haier-hr9216eu/config.json@@ -0,0 +1,7 @@+{+ "dock_apps": [+ "com.google.android.youtube.tv",+ "com.netflix.ninja"+ ],+ "columns": 4+}diff --git a/launcher/app/src/main/res/values/config.xml b/launcher/app/src/main/res/values/config.xmlindex f600b7d60..af7772bf5 100644--- a/launcher/app/src/main/res/values/config.xml+++ b/launcher/app/src/main/res/values/config.xml@@ -124,6 +124,7 @@evdev MSC_SCAN there, which is not always the scanCode the framework reports, so a number that takesnothing is no proof the press never arrived. Leave empty to omit. --><integer-array name="settings_key_scancodes">+ <item>240</item></integer-array><!-- The same by Android keycode, for buttons whose scancode is shared. TCL Google TV remotes send theirSettings button as keycode 83 (KEYCODE_NOTIFICATION, which the stock Google TV home turned into its quick