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/hisense-u75-hengshan: fourth unit, Hisense 65U7ESG (Colombia): its list, and the app buttons with the volume ramp
luisalmenarez7ec84313c694
diff --git a/examples/hisense-u75-hengshan/README.md b/examples/hisense-u75-hengshan/README.mdindex c5a6f6329..335c7c462 100644--- a/examples/hisense-u75-hengshan/README.md+++ b/examples/hisense-u75-hengshan/README.md@@ -1,8 +1,9 @@-# Hisense U75 / 75U75N (hengshan), Google TV 12+# Hisense U75 / 75U75N / 65U7ESG (hengshan), Google TV 12Notes for the `hengshan` board, firmware `STT2.230310.002`. The first list came from a Latin America U75; the75U75N notes are from a US unit (one owner, from 2026-10-22); a 55U7N report of 2026-10-24 (#1326) confirms the-board, the build and the volume trade below.+board, the build and the volume trade below. A 65U7ESG from Colombia (2026-10-25) has its own list,+`debloat-65u7esg.txt`, and [a way to keep both the app buttons and the volume ramp](#65u7esg-the-app-buttons-and-the-volume-ramp-together).## Live TV and inputs@@ -43,10 +44,58 @@ report (#1326), and its log repeats the app-button rows above (`GlobalKeyReceivelauncherx disabled and nothing opens). Its held-key capture was not taken, so the CEC step is unproven there. Thelog and the choices are in[the key-repeat note](../../docs/devices/tcl-55p71b-g09-key-repeat.md). Re-enabling launcherx to answer the-buttons takes Home back on this firmware. The 75U75N owner kept the ramp and runs without the helper.+buttons takes Home back on this firmware. The 75U75N owner kept the ramp and runs without the helper; the 65U7ESG+keeps both, with launcherx on behind the launcher ([below](#65u7esg-the-app-buttons-and-the-volume-ramp-together)).## Sound through a soundbarWith a soundbar on HDMI ARC/eARC and HDMI-CEC volume control on, the TV forwards volume presses to thesoundbar, and its volume overlay shows only + and −. The soundbar reports its level back over CEC(`<Report Audio Status>` in `dumpsys hdmi_control`), but this firmware does not show a number for it.++## 65U7ESG: the app buttons and the volume ramp together++A fourth unit: a Hisense 65U7ESG from Colombia, an ex-display set, on the same device and build (incremental+`00.00.00.135`, security patch 2025-05-01). It applied `debloat-65u7esg.txt` on 2026-10-25. Its SmartRC remote sends+the codes in the table above and fills its two gaps: Netflix is 265 (`KEY_FN_F5`, scancode 470), answered by+`com.mstar.netflixobserver` whether launcherx is on or off, and Input opens Hisense's own input menu with no helper.++The volume trade measured the same on TV speakers, with no soundbar: holding Volume Up for about 1.5 s gave 9 steps+without a helper and 1 with `HomeKeyService` bound, read from `dumpsys audio | grep adjustSuggestedStreamVolume`,+where every step comes `from android/WindowManager`. `consume_volume_keys` cannot help here: the window policy takes+the volume key inside the accessibility filter, so the helper never receives it.++What keeps both is leaving launcherx enabled and letting the helper send its home screen on, without filtering keys:++1. Keep setupwraith disabled and enable launcherx again: `pm enable --user 0 com.google.android.apps.tv.launcherx`.+2. Set these two keys in the theme (or `config.xml`):+ ```json+ { "key_filter": false, "stock_home_redirect": "com.google.android.apps.tv.launcherx" }+ ```+3. Install the launcher with `STOCK_LAUNCHER=none HOME_KEY_SERVICE=1 launcher/build-and-install.sh`, so the script+ leaves launcherx on and binds the helper.++launcherx then answers YouTube, Prime Video, Disney+ and the gear (its own dashboard) again, Netflix keeps its own+receiver, and a held volume key ramps (10 steps in about 1.5 s with the helper bound). A Home press shows the Google+TV home for about 0.4 s before this launcher; at boot it is about 5 s, until the helper's boot probe. After a+standby (Hisense's `STR_SUSPEND`) the launcher and the helper were still up. It costs what launcherx costs: about+300 MB of RAM and its background services. Run `tools/check.py` and `tools/restore.sh` with launcherx as the second+argument, since the list leaves it out on purpose.++Other notes from that unit:++- Colombia's digital TV is DVB-T2, so `tv.mopa.ginga` (ISDB-Tb) and `com.vt.tv.interactive`+ (`.atsc.InteractMainService`) do nothing there; an antenna channel and HDMI 1 played after both were disabled.+- `net.vidaatv.hisense.android.tv` and `com.vidaa.oemtabcontentprovider` are not installed on it.+- setupwraith owned the Wi-Fi network saved during setup. The set is on its built-in Ethernet (`eth0`,+ `mt5896-gmac`), so the list went on with `FORCE_SETUPWRAITH=1` and the saved network was dropped. setupwraith+ also holds a `CastInfoProvider` here; casting is not used on this unit, so what disabling it does to casting was+ not tested.+- AirPlay lives in `com.mediatek.AirplayAPK`, `com.mediatek.airplaydaemon` and `com.mediatek.partner.airplay_sys`.+ Switched off in Settings > System > AirPlay and HomeKit (`persist.sys.vt.tv.airplay.enable=0`), the set stops+ advertising `_airplay`, but the two AirPlay processes still hold about 167 MB and it still advertises `_hap`+ (HomeKit).+- Private DNS works on this set: with `dns.adguard-dns.com`, HBO Max, YouTube, Netflix, Disney+ and Prime Video+ played.+- Store mode was already off on this ex-display unit (`persist.sys.vt.storemode=false`); disabling+ `com.vt.storemode` changed nothing visible.diff --git a/examples/hisense-u75-hengshan/debloat-65u7esg.txt b/examples/hisense-u75-hengshan/debloat-65u7esg.txtnew file mode 100644index 000000000..be045462c--- /dev/null+++ b/examples/hisense-u75-hengshan/debloat-65u7esg.txt@@ -0,0 +1,84 @@+# Hisense 65U7ESG (65", Colombia; device hengshan, board his9618, platform merak, MediaTek MT9689), Google TV /+# Android 12, build STT2.230310.002 (incremental 00.00.00.135), security patch 2025-05-01. 2.4 GB RAM.+# Fourth unit of this folder: the same device and build as the U75 in debloat.txt. This is the list as applied on+# the 65U7ESG on 2026-10-25, in eight batches with a reboot and a screenshot after each: every boot was normal, and+# Home, Ethernet, an antenna channel, HDMI 1 and the remote's buttons kept working.+#+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/hisense-u75-hengshan/debloat-65u7esg.txt+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/hisense-u75-hengshan/debloat-65u7esg.txt com.google.android.apps.tv.launcherx+# Check: TV_HOST=<tv ip> tools/venv/bin/python -I tools/check.py examples/hisense-u75-hengshan/debloat-65u7esg.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. On this unit it stays ENABLED on purpose, so it keeps+# answering the remote's app buttons, while HomeKeyService sends its home screen on to the launcher+# ("key_filter": false and "stock_home_redirect"): README.md, "65U7ESG", has the setup and why. With the usual+# setup instead (launcherx disabled by launcher/build-and-install.sh), leave the launcherx argument off check.py.+# Live TV and HDMI: com.vt.tv.tvcenter (live_tv_package).+#+# Differences from debloat.txt: VIDAA Channels Plus (net.vidaatv.hisense.android.tv) and the VIDAA content tab+# (com.vidaa.oemtabcontentprovider) are not installed here; HiAlexa (com.vt.alexa), Google Assistant and the OTA+# updater are kept by choice; casting, Google TV's ambient mode and the partner apps PAI installed are off by choice.+#+# WARNING: do not add com.vt.tv.smartsense, com.vt.tv.smartsense.ui, com.vt.tv.ai_sense, com.vt.tv.aiot,+# com.vt.tv.aiotprotocolapp or com.vt.tv.aiotsystemservice: debloat.txt has why (Android Recovery on a related board).+#+# Kept as in debloat.txt (tvcenter, input, source.*, mediatek.*, the remote and its pairing, the keyboard, Play+# Store and Play Services), plus: com.mstar.netflixobserver and com.netflix.tokenmanager (the Netflix button,+# keycode 265), com.vt.remoteupgrade (the remote's firmware), com.vt.tv.customerlauncher and com.vt.udpserver+# (other Hisense apps may rely on them), com.vt.tv.mediacenter (USB player) and com.vt.tv.singlelisten (music from+# a phone over Bluetooth).+# Already disabled at the factory: com.mediatek.tis, com.mediatek.dtv.tvinput.isdbtuner, com.mediatek.dtv.tvinput.dvbtuner++# Google TV's setup wizard: its RecoveryActivity takes Home once launcherx is disabled. Here it owned the Wi-Fi+# network saved during setup; the set is on its built-in Ethernet, so this went on with FORCE_SETUPWRAITH=1 and the+# saved network was dropped. It also holds a CastInfoProvider; casting is not used on this unit, so what disabling+# it does to casting here was not tested.+com.google.android.tungsten.setupwraith++# Telemetry and tracking+com.vt.tv.evservice # Hisense ACR (codePath Vtp_ACR), asks PACKAGE_USAGE_STATS+com.google.android.partnersetup # Google partner referral pings+com.google.android.feedback # crash/feedback uploader, asks READ_LOGS+android.autoinstalls.config.google.gtvpai # PAI: installed DIRECTV GO, Mercado Play and iQIYI on this unit++# Retail demo, hotel/commercial mode, factory tools, first-run walkthrough (never opened, only disabled).+# Store mode was already off on this ex-display unit (persist.sys.vt.storemode=false).+com.vt.storemode+com.vt.tv.b2b+com.vt.factory+com.vt.fte++# Hisense preloads and background helpers+com.vt.hishow # Vtp_FamilyMoment, photo app + its screensaver; asks RECORD_AUDIO+com.vt.tv.protector # "Device Assistant" cleaner with a boot receiver+com.vt.tv.calmanconnector # Calman calibration connector+com.hisense.odinbrowser # Odin browser; asks CAMERA, RECORD_AUDIO, INSTALL_PACKAGES++# Partner apps and Google preloads, off by choice (comment out any you use)+com.directv.dtvlatam # DIRECTV GO+com.iqiyi.i18n.tv # iQIYI (archived by the Play Store)+com.mercadolibre.android.mplay_tv # Mercado Play (archived by the Play Store)+tv.twitch.android.app # Twitch+com.google.android.play.games # Google Play Games++# Casting, off by choice. AirPlay lives in com.mediatek.* packages and was switched off in Settings > System >+# AirPlay and HomeKit instead (README.md).+com.google.android.apps.mediashell # Chromecast built-in+com.vt.tv.dlna # DLNA renderer+com.vt.tv.mobiledeviceconnectiontips # Miracast ("Screen Casting")+com.vt.tv.airplaykeycheck # AirPlay key check++# Google TV's ambient mode (the Backdrop screensaver with suggestions; two processes). Pick another screensaver+# afterwards, for instance the launcher's clock:+# settings put secure screensaver_components com.gathin.tvhome/.ClockDream+com.google.android.apps.tv.dreamx++# Broadcast interactivity for standards Colombia does not use (its DTT is DVB-T2); antenna TV kept working.+tv.mopa.ginga # Ginga, ISDB-Tb (Brazil)+com.vt.tv.interactive # .atsc.InteractMainService, ATSC (US)++# Unused on a television+com.google.android.syncadapters.calendar+com.android.printspooler+com.android.providers.calendar+com.android.providers.contactsdiff --git a/examples/hisense-u75-hengshan/debloat.txt b/examples/hisense-u75-hengshan/debloat.txtindex 3255a9faa..b2cfa78af 100644--- a/examples/hisense-u75-hengshan/debloat.txt+++ b/examples/hisense-u75-hengshan/debloat.txt@@ -8,6 +8,9 @@# Third unit: Hisense 55U7N, same device and build, reported 2026-10-24 (#1326): the volume ramp goes the# same way with HomeKeyService alone and no CEC soundbar, so that trade is the board's, not the soundbar's.# README.md carries it.+# Fourth unit: Hisense 65U7ESG, Colombia, same device and build (00.00.00.135), applied 2026-10-25. Its own+# list is debloat-65u7esg.txt (no VIDAA packages there; casting and ambient mode off, HiAlexa kept), and+# README.md has how it keeps both the remote's app buttons and the volume ramp.## Apply: TV_HOST=<tv ip> tools/disable.sh examples/hisense-u75-hengshan/debloat.txt# Undo: TV_HOST=<tv ip> tools/restore.sh examples/hisense-u75-hengshan/debloat.txt com.google.android.apps.tv.launcherxdiff --git a/examples/hisense-u75-hengshan/tv.json b/examples/hisense-u75-hengshan/tv.jsonindex bebcceeaf..cfb9b0c1a 100644--- a/examples/hisense-u75-hengshan/tv.json+++ b/examples/hisense-u75-hengshan/tv.json@@ -1,6 +1,6 @@{- "tv": "Hisense U75 / 75U75N (hengshan, MediaTek), Latin America and US",+ "tv": "Hisense U75 / 75U75N / 65U7ESG (hengshan, MediaTek), Latin America and US","os": "Google TV 12","brand": "Hisense",- "notes": "Vtp_ACR content recognition, VIDAA Channels Plus + content tab, Family Moment, store/hotel/factory, DeviceAssistant cleaner, Ginga broadcast middleware, Google PAI auto-installs; OTA, casting and all streaming apps kept by choice; smartsense/AIoT family must stay (Recovery risk); 75U75N (US) second unit: remote button codes, a dock `config.json`, and why a key helper costs the volume ramp with or without a CEC soundbar"+ "notes": "Vtp_ACR content recognition, VIDAA Channels Plus + content tab, Family Moment, store/hotel/factory, DeviceAssistant cleaner, Ginga broadcast middleware, Google PAI auto-installs; OTA, casting and all streaming apps kept by choice; smartsense/AIoT family must stay (Recovery risk); 75U75N (US) second unit: remote button codes, a dock `config.json`, and why a key helper costs the volume ramp with or without a CEC soundbar; 65U7ESG (Colombia) fourth unit: its own list (`debloat-65u7esg.txt`), and launcherx left on behind `stock_home_redirect` with `key_filter` off keeps both the app buttons and the volume ramp"}