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
Merge origin/main; replace the Haier MatrixTV DE note with a list
Abu Hasan Rumi769e0395a864
diff --cc examples/haier-matrixtv-de/README.mdindex 000000000,000000000..7779c0ad5new file mode 100644--- /dev/null+++ b/examples/haier-matrixtv-de/README.md@@@ -1,0 -1,0 +1,52 @@@++# Haier MatrixTV DE (Google TV 14, omonia)++++Product `HR9676EUF`, firmware `UKN2.241219.053` (MediaTek, CVTE-family board, the board of the++[AQUA MatrixTV EE 50](../aqua-matrixtv-ee-50/)). Both halves work on this set: the debloat list and the launcher as++Home. Tested on 31 October 2026 on one set, over several reboots, with the real remote. Same-day test, not a++multi-day soak.++++| File | What it is |++|---|---|++| `debloat.txt` | The 18 packages that were disabled, grouped and commented |++| `config.json` | Live TV app, the gear button, and animations off; add your own `dock_apps` |++++All commands run from the repo root, with the TV's IP in `TV_HOST`.++++## Connecting++++Port 5555 was closed out of the box, so Wireless debugging was the way in: `adb pair`, `adb connect`, then++`adb tcpip 5555`. Both 5555 and Wireless debugging are gone after each full start, so each start needs a new pairing++code from the TV.++++## Install, from scratch or again++++Check the Wi-Fi note in `debloat.txt` first, then the list while Google TV's home still owns Home, then the launcher.++++```bash++TV_HOST=<tv-ip> tools/disable.sh examples/haier-matrixtv-de/debloat.txt++HOME_KEY_SERVICE=1 TV_HOST=<tv-ip> launcher/build-and-install.sh++TV_HOST=<tv-ip> tools/theme.sh examples/haier-matrixtv-de++```++++## Undo everything++++```bash++TV_HOST=<tv-ip> tools/restore.sh examples/haier-matrixtv-de/debloat.txt com.google.android.apps.tv.launcherx++```++++## Quirks on this firmware, all checked on the TV++++- The gear sends `KEYCODE_NOTIFICATION` (83), a global key for launcherx's `GlobalKeyListener`, so it does nothing once++ launcherx is disabled. `settings_key_keycodes` `[83]`, `consume_volume_keys` and `HOME_KEY_SERVICE=1` brought it back,++ and a held volume button still ramped, checked by the owner on the real remote. That is the opposite of the trade++ noted for the AQUA and the [MatrixTV GE](../haier-hr9216eu/). It has not been through a reboot yet.++- Launcher animations cost a lot here: 49% of frames were late with a 57 ms median moving along the dock with them on,++ and none, at 12 ms, with `animations` off. Wallpaper made almost no difference.++- `com.netflix.ninja` comes back enabled at every boot, and started itself through a scheduled job. Hide it with++ `hidden_apps`. `cmd appops set com.netflix.ninja RUN_ANY_IN_BACKGROUND ignore` was accepted and survived a reboot.++- Voice searches for a song or video answer "Google Assistant is having trouble processing your request" once++ launcherx is disabled (`docs/TROUBLESHOOTING.md`).++- The remote's power button is a light sleep with no boot, so Open on start does not fire from it.++- `input keyevent 26` or `KEYCODE_SLEEP` over ADB took the set off the network within seconds, and it then needed the++ real remote to wake.++- With a wake from sleep, YouTube's own "Who's watching" screen can appear on an account with several channels.diff --cc examples/haier-matrixtv-de/config.jsonindex 000000000,000000000..be4700c46new file mode 100644--- /dev/null+++ b/examples/haier-matrixtv-de/config.json@@@ -1,0 -1,0 +1,9 @@@++{++ "dock_apps": [++ "com.google.android.youtube.tv"++ ],++ "live_tv_package": "com.mediatek.tv.oneworld.tvcenter",++ "animations": false,++ "settings_key_keycodes": [83],++ "consume_volume_keys": true++}diff --cc examples/haier-matrixtv-de/debloat.txtindex 000000000,000000000..f6c4df49dnew file mode 100644--- /dev/null+++ b/examples/haier-matrixtv-de/debloat.txt@@@ -1,0 -1,0 +1,55 @@@++# Haier MatrixTV DE (ro.product.model "Haier MatrixTV DE", product HR9676EUF, device omonia), Google TV 14 (API 34),++# firmware UKN2.241219.053, MediaTek mt5896, 32-bit userspace, 1.8 GB RAM. 3840x2160 panel, UI at 1920x1080 (wm size++# override, factory), 320 dpi. Same board as examples/aqua-matrixtv-ee-50.++#++# Apply: TV_HOST=<tv ip> tools/disable.sh examples/haier-matrixtv-de/debloat.txt++# Undo: TV_HOST=<tv ip> tools/restore.sh examples/haier-matrixtv-de/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.HomeActivity); the install script disables it.++# Live TV: com.mediatek.tv.oneworld.tvcenter. Already disabled from the factory: com.cltv.hybrid, com.cltv.mal,++# com.haierubic.usmartdevice, com.mediatek.dtv.tvinput.isdbtuner, com.mediatek.dtv.tvinput.atsctuner.++#++# setupwraith owned one saved Wi-Fi network that was not the one in use; it was forgotten++# (cmd wifi forget-network) before setupwraith was disabled. The network in use belonged to android.uid.system.++#++# Tested on 31 October 2026 on one set, over several reboots, with the real remote. Same-day test, not a multi-day soak.++# Order used: the whole list while launcherx still owned Home, then launcher/build-and-install.sh.++# com.netflix.ninja comes back enabled at every boot, so it is commented out below. com.haier.gamingbar was left alone:++# it came back at every boot on the AQUA set.++#++# KEEP, even though the names look like bloat (see the AQUA header for the components):++# - com.haier.appmanager.dispatcher, com.haier.hkcfac, com.haier.tv.hmagicboard: global key receivers.++# - com.mediatek.autopair, com.haier.bt_pair_tips, com.google.android.tv.googletvremotepairer: remote pairing.++# - com.telink.lt: remote firmware (the "RC update" tile, hide it with hidden_apps).++# - com.cvte.tv.at, com.cvte.autobacklight, com.at.factory.androidtvaidlservice, mediatek.factorymenu.ui: factory - never open.++# - com.mediatek.tis, com.mediatek.dtv.tvinput.dvbtuner, com.mediatek.tv.oneworld.tvcenter, com.mediatek.tv.agent,++# com.mediatek.extservice (CEC), com.mediatek.tv.settings, com.google.android.tv.inputplayer, com.mediatek.wwtv.mediaplayer.++# - By owner choice: Assistant (katniss), Chromecast (mediashell), system updater, YouTube.++++# Haier content, IoT, cleaner, e-manual++it.hon.service # Haier hOn IoT service++com.haier.apps # Haier promo content app++com.haier.tvhousekeeper # "TV housekeeper" cleaner++com.haier.emanual9603 # e-manual++com.haier.oemtabprovider # the "Haier" tab on the Google TV home++com.haier.launcher.haiermatrix # Zeasn content launcher, not the system Home++++# Telemetry, partner rows, retail demo, preloads++com.google.android.feedback # Google usage feedback++tv.anoki.acr.controller # Anoki ACR: recognises what is on screen, persistent, boot receiver++com.mediatek.tv.launcher.partner # partner rows on the stock home++com.mediatek.tv.retaildemo # retail demo mode++com.google.android.play.games # preloaded++com.haier.overseastv.bluetoothspeaker # TV as Bluetooth speaker, not wanted++com.google.android.marvin.talkback # TalkBack, not used++++# By owner choice: apps the owner does not use++# com.netflix.ninja # not used; the firmware re-enables it at every boot, so hidden with hidden_apps++com.amazon.amazonvideo.livingroom # Prime Video, not used++com.google.android.youtube.tvmusic # YouTube Music, not used++com.mediatek.miracast # Miracast, not used++com.google.android.apps.tv.dreamx # Ambient, not used; the screensaver default points at it++++# Google TV home handover. Check the Wi-Fi note above before disabling it.++com.google.android.tungsten.setupwraithdiff --cc examples/haier-matrixtv-de/tv.jsonindex 000000000,000000000..18258c4e7new file mode 100644--- /dev/null+++ b/examples/haier-matrixtv-de/tv.json@@@ -1,0 -1,0 +1,6 @@@++{++ "tv": "Haier MatrixTV DE (HR9676EUF, omonia, MediaTek)",++ "os": "Google TV 14",++ "brand": "Haier",++ "notes": "Haier content apps, Zeasn launcher, cleaner, e-manual, Anoki ACR, partner rows, retail demo; unused apps off by choice; setupwraith owned a second, unused saved network (forgotten first); Netflix comes back at every boot; the gear button is keycode 83, and with `consume_volume_keys` the volume ramp survived HOME_KEY_SERVICE; config.json has the dock"++}