Skip to content

Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.

examples: add KUNFT K8415H40F (Changhong redwood, DVB92KT), Android TV 11

Jaime Gonzalez9a80682a40dc
diff --git a/examples/kunft-k8415h40f/README.md b/examples/kunft-k8415h40f/README.md
new file mode 100644
index 000000000..950c35b40
--- /dev/null
+++ b/examples/kunft-k8415h40f/README.md
@@ -0,0 +1,66 @@
+# KUNFT K8415H40F (Changhong redwood, Android TV 11)
+
+| Field | Observed value |
+|---|---|
+| Android model / device / product | `AI PONT` / `redwood` / `DVB92KT`, manufacturer Changhong |
+| Android / API | 11 / 30 |
+| Firmware | `RTM9.241015.127` |
+| Board | MediaTek `mt5867` |
+| RAM | `MemTotal: 934540 kB`, about 1 GB |
+| Display | 1280×720, 213 dpi |
+| Stock Home | `com.google.android.tvlauncher/.MainActivity` |
+| Live TV / HDMI player | `com.mediatek.wwtv.tvcenter` |
+
+One set, tested on 2026-11-02: three batches with a screenshot after each and three reboots. This was not a
+several-day soak.
+
+## Apply and undo
+
+```sh
+TV_HOST=<tv ip> tools/disable.sh examples/kunft-k8415h40f/debloat.txt
+TV_HOST=<tv ip> tools/restore.sh examples/kunft-k8415h40f/debloat.txt com.google.android.tvlauncher
+```
+
+## Launcher
+
+`launcher/build-and-install.sh` with `HOME_KEY_SERVICE=1` installed the reference launcher, set it as Home
+and disabled `tvlauncher`. `cmd package query-activities` then listed only `com.gathin.tvhome` and the
+framework's `FallbackHome`, and `mFocusedApp` named the new launcher. Inputs lists HDMI 1, HDMI 2,
+HDMI 3, AV and Live TV. HDMI 1 and Live TV both open `com.mediatek.wwtv.tvcenter`. No HDMI device was
+connected, so a picture from an HDMI source was not checked.
+
+`config.json` holds the test set's dock and the power-on settings below. Push it with
+`tools/theme.sh examples/kunft-k8415h40f`, or set the same values in
+`launcher/app/src/main/res/values/config.xml` before building.
+
+## Power-on lands on Live TV, and the held-volume trade
+
+Every cold boot ends in Live TV: `FallbackHome`, then the Home app, then
+`com.homwee.factory/com.gdch.hotel.ui.ProtocolActivity`, then `com.mediatek.wwtv.tvcenter` about 15 s
+later. This set's firmware does it by itself; nobody opened the factory package.
+
+Two settings were tried here, each with the helper bound (`HOME_KEY_SERVICE=1`):
+
+| Settings | Power-on | Holding Volume Up on the real remote |
+|---|---|---|
+| `power_on_home` true, `key_filter` true | Home (Live TV sent back within a second) | one step per press |
+| `power_on_home_always` true, `power_on_home` false, `key_filter` false | Home (Live TV sent back within a second, checked after a reboot) | ramps, as with no helper |
+
+The first row is the trade in `docs/devices/tcl-55p71b-g09-key-repeat.md`. The second row is the setting
+`examples/chiq-ai-pont/README.md` uses on the Android 11 CHiQ, and it worked on this set too. Do not
+combine `power_on_home` with `key_filter` false: the CHiQ note explains why.
+
+With `key_filter` false, the remote's Home, Input and app buttons still worked, pressed by the owner on
+the real remote. On this firmware the TV's own services answer those buttons, not the helper.
+
+## The gear button
+
+The gear sends `KEYCODE_SETTINGS` (scancode 92). `com.mediatek.wwtv.tvcenter` handles it and starts
+`com.android.tv.settings/.MainSettingsSecond`, a short *Device Preferences* panel with only Picture and
+Sound. The full Settings menu is the launcher's Settings pill. Remapping the gear with
+`settings_key_keycodes` would need `key_filter`, and that would cost the volume ramp.
+
+## Memory
+
+Measured about 12 minutes after a restart, just after pushing a theme with `advanced_effects` on:
+`com.gathin.tvhome` at 55 MB PSS, and `MemAvailable` at 316 MB.
diff --git a/examples/kunft-k8415h40f/config.json b/examples/kunft-k8415h40f/config.json
new file mode 100644
index 000000000..e1361dde0
--- /dev/null
+++ b/examples/kunft-k8415h40f/config.json
@@ -0,0 +1,12 @@
+{
+ "columns": 4,
+ "dock_apps": [
+ "com.stremio.one",
+ "com.google.android.youtube.tv",
+ "com.spotify.tv.android",
+ "pt.sporttv.app.androidtv"
+ ],
+ "power_on_home": false,
+ "power_on_home_always": true,
+ "key_filter": false
+}
diff --git a/examples/kunft-k8415h40f/debloat.txt b/examples/kunft-k8415h40f/debloat.txt
new file mode 100644
index 000000000..5c2ba4d5f
--- /dev/null
+++ b/examples/kunft-k8415h40f/debloat.txt
@@ -0,0 +1,72 @@
+# KUNFT K8415H40F (Changhong, Android model AI PONT, device redwood, product DVB92KT), Android TV 11 (API 30),
+# firmware RTM9.241015.127, MediaTek mt5867, about 1 GB RAM (MemTotal 934540 kB), 1280x720. Portugal.
+# The same redwood board as examples/rca-ai-pont and examples/tdsystems-ch17f40s-redwood, but on Android 11
+# firmware: no Anoki ACR (tv.anoki.acr.*) and no FAST channel app (com.cltv.fast) are installed on this build.
+#
+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/kunft-k8415h40f/debloat.txt
+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/kunft-k8415h40f/debloat.txt com.google.android.tvlauncher
+# Everything is DISABLED, not uninstalled. Comment out any line you want to keep.
+#
+# Stock launcher: com.google.android.tvlauncher. Live TV, HDMI and AV: com.mediatek.wwtv.tvcenter.
+# Home claimants with everything enabled: tvlauncher and com.android.tv.settings/.system.FallbackHome only;
+# setupwraith does not claim Home on this firmware.
+#
+# Tested on one set on 2026-11-02, the same day: three batches with a screenshot after each, then three
+# reboots (one before the new launcher, two after). Every package below stayed disabled across all three;
+# nothing came back by itself. Not a multi-day soak.
+#
+# KEEP, even though some names look like bloat:
+# - com.google.android.leanbacklauncher.partnercustomizer: on this board family com.mediatek.tv.service
+# crash-loops after a reboot without it (see examples/chiq-ai-pont).
+# - com.homwee.dmt.upgrade (firmware updates), com.homwee.synckey, com.homwee.factory (never open it),
+# com.homwee.dynamicbacklight, com.mediatek.* (Live TV, inputs, remote pairing).
+# - com.homwee.mmp.imageplayer: it takes part in the AirPlay / Multi-Screen Share broadcasts
+# (com.changhong.mmp.check_need_exit_airplay) and runs a music service, so it stays while mirroring is used.
+# - com.google.android.tungsten.setupwraith: no Home claim here, and it owned one of the saved Wi-Fi networks
+# (not the one in use). Disabling it would delete that network.
+#
+# Quirks on this firmware:
+# - USB debugging alone opens network ADB on port 5555; Wireless debugging was off throughout. With USB
+# debugging off and the authorisations revoked, 5555 refused after a restart.
+# - Every power-on opens Live TV: FallbackHome, the Home app, then com.homwee.factory/com.gdch.hotel.ui.ProtocolActivity
+# and com.mediatek.wwtv.tvcenter about 15 s later, as on the CHiQ and ERGO notes in examples/rca-ai-pont.
+# With launcher/ as Home, power_on_home_always + key_filter false (config.json here) brings Home back once
+# per power-on; see README.md.
+# - The remote's gear sends KEYCODE_SETTINGS (scancode 92). com.mediatek.wwtv.tvcenter catches it and opens
+# com.android.tv.settings/.MainSettingsSecond (Device Preferences: Picture, Sound), with or without the
+# stock launcher. The full Settings menu is the launcher's Settings pill.
+# - HDMI and Live TV screenshots are empty (protected video layer).
+
+# --- Vendor portal, ads, recommendations, telemetry
+com.homwee.aipont # AI PONT brand portal and its channel rows
+com.homwee.store # vendor store; declares the retail-demo receiver and service
+android.autoinstalls.config.homwee # partner app auto-installs
+com.google.android.tvrecommendations # recommendation rows
+com.google.android.feedback
+com.google.android.partnersetup
+
+# --- Vendor tools, app updater, ambient screensaver
+com.homwee.chinstallapk # silent APK installer
+com.homwee.chtvmanager # "TV Manager" cleaner / memory optimizer
+com.homwee.help # e-manual
+com.homwee.upgrade # vendor app updater; firmware updates are com.homwee.dmt.upgrade, kept
+com.google.android.backdrop # ambient screensaver; the launcher's ClockDream replaces it
+
+# --- Owner's choice: not used on the test set. Comment out what you use.
+com.google.android.katniss # Google Assistant / microphone button
+com.homwee.mmp.fileexplorer # USB file explorer, video and music player ("Media Player" tile)
+com.google.android.youtube.tvmusic
+com.google.android.videos # Play Movies & TV
+com.google.android.play.games
+
+# Kept by the owner's choice; uncomment the ones you don't use.
+# com.google.android.apps.mediashell # Chromecast built-in
+# com.homwee.multiscreenshare # Multi-Screen Share (Miracast / AirPlay)
+# com.homwee.mmp.screenshare # AirPlay
+# com.changhong.inface.net.wfd # Miracast
+# com.homwee.alexacontrol # Alexa integration
+# com.google.android.tv.remote.service # Google TV phone remote
+
+# Stock launcher, replaced by launcher/. Left to launcher/build-and-install.sh, which disables it only
+# after the new home is installed and set as default; restore.sh re-enables it.
+# com.google.android.tvlauncher
diff --git a/examples/kunft-k8415h40f/tv.json b/examples/kunft-k8415h40f/tv.json
new file mode 100644
index 000000000..8f8b704d9
--- /dev/null
+++ b/examples/kunft-k8415h40f/tv.json
@@ -0,0 +1,6 @@
+{
+ "tv": "KUNFT K8415H40F (Changhong AI PONT, redwood, DVB92KT)",
+ "os": "Android TV 11",
+ "brand": "KUNFT",
+ "notes": "Homwee portal/store/tools and installers, recommendations; no ACR or FAST app on this build; partnercustomizer, imageplayer (AirPlay) and firmware updater kept; cold boot opens Live TV, fixed with power_on_home_always + key_filter false (held volume keeps ramping)"
+}