Skip to content

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

Add Whaley WTV55K1 example (China, Android 5.0.2, pm hide channel)

wspedc754b95fd6
diff --git a/examples/whaley-wtv55k1/debloat.txt b/examples/whaley-wtv55k1/debloat.txt
new file mode 100644
index 000000000..e47359163
--- /dev/null
+++ b/examples/whaley-wtv55k1/debloat.txt
@@ -0,0 +1,52 @@
+# Whaley WTV55K1 (MStar helios), China, Android 5.0.2 (API 21), build 2018-12-07
+# Chinese Whaley (Micro Whale) firmware. Stock home: com.helios.launcher (keep enabled).
+#
+# Apply: TV_HOST=<tv ip> tools/disable.sh examples/whaley-wtv55k1/debloat.txt
+# Undo: TV_HOST=<tv ip> tools/restore.sh examples/whaley-wtv55k1/debloat.txt
+# Everything is HIDDEN, not uninstalled.
+#
+# IMPORTANT - this firmware refuses `pm disable-user` from the adb shell:
+# java.lang.SecurityException: Permission Denial: attempt to change component state
+# The working channel on Whaley is `pm hide <pkg>` (reversible with `pm unhide`).
+# Hidden state survives reboot. tools/disable.sh may need a Whaley-specific branch
+# for this: swap disable-user for hide on packages that fail the SecurityException.
+#
+# Telemetry evidence (AdGuard Home query log, live network, 2026-10-24):
+# the firmware queries *.aginomoto.com (ad., wlslog., u., member., appstore., kids.,
+# vod., passport., parse., parse2., parse3.), scs.openspeech.cn and ic.tv.aliyun.com
+# at 30+ DNS queries/hour straight from boot. Hiding the packages below stopped all
+# of it (verified: zero queries after factory reset + reboot with packages hidden).
+#
+# MUST STAY ENABLED:
+# com.helios.launcher (stock home)
+# com.helios.setting, com.helios.mediaplayer, com.helios.vod (launcher deps)
+# com.iflytek.xiri, com.iflytek.xiri.recorder.svc, com.helios.voice,
+# com.helios.heliosvoice (remote voice key chain)
+# com.yunos.* / payment services (leave alone)
+# com.mstar.* (board services)
+#
+# Quirks, all checked on the TV:
+# - `pm disable-user --user 0` refused for every package (SecurityException, shell uid)
+# - `pm trim-caches` needs a suffix: "1G" works, a bare number fails "Invalid suffix"
+# - overwrite-install of a RUNNING app is cancelled by the ROM: am force-stop first
+# - shell cannot read /data/app or other packages' data dirs (no per-app size audit)
+# - 5555 is NOT port-forwarded to the WAN on a stock iKuai router (checked from an
+# external vantage point); LAN-only exposure as usual
+
+cn.whaley.adsys # Whaley ad system
+com.helios.ad.service # ad service
+com.helios.cleantools # "cleanup" nag tool
+com.helios.sports # sports feed
+com.helios.kids # kids mode
+com.helios.globalmusic # global music
+com.xiami.tv # Xiami music (service dead since 2019)
+com.helios.message # push messages
+cn.whaley.remotehelp.tv # remote assistance
+com.helios.remoteassisthelper # remote assistance helper
+com.helios.facerecognition # face recognition
+com.aliyun.ams.tyid # Aliyun device-ID telemetry
+com.aliyun.ic # Aliyun telemetry
+cn.whaley.mobile.tv # phone companion link
+com.helios.appstore # app store (apps go in via adb)
+com.helios.guide # first-run guide
+tv.whaley.usbinfostatics # USB usage statistics reporting
diff --git a/examples/whaley-wtv55k1/tv.json b/examples/whaley-wtv55k1/tv.json
new file mode 100644
index 000000000..188fc816b
--- /dev/null
+++ b/examples/whaley-wtv55k1/tv.json
@@ -0,0 +1,6 @@
+{
+ "tv": "Whaley WTV55K1 (MStar helios board), China",
+ "os": "Android 5.0.2 (build Fri Dec 7 08:47:15 CST 2018), API 21",
+ "brand": "Whaley",
+ "notes": "Chinese Whaley (Micro Whale) firmware, defunct brand (company folded ~2018-2020), no firmware updates since Dec 2018. 8 GB eMMC (7.28 GiB total: 1 G /system + 1 G OTA backup + 4.95 G /data + 64 M /cache + vendor partitions), 1 GB-class RAM class device. Stock home is com.helios.launcher. Voice chain is com.helios.voice -> com.iflytek.xiri (iFlytek); the remote voice key is bound to that private chain and CANNOT be re-bound without root - /system/usr/keylayout is stock but the framework hands KEYCODE_VOICE_ASSIST to the vendor chain. Verified with AdGuard Home DNS logs: the firmware phones home to *.aginomoto.com (ad., wlslog., u., member., appstore., kids., vod., passport., parse/parse2/parse3.), scs.openspeech.cn (iFlytek) and ic.tv.aliyun.com at 30+ queries/hour right from boot. Quirks, all checked on the TV: (1) `pm disable-user --user 0` from adb shell is REFUSED (java.lang.SecurityException, even for packages whose uid the shell does not own) - use `pm hide` instead, which works, survives reboot, and is reversible with `pm unhide`; (2) /data/app and other packages' data dirs are unreadable to the shell user (locked-down ROM, cannot measure per-app sizes); (3) the shell has no head/wc/grep -E on-device in some applets (limited toybox), pipe to the host instead; (4) `pm trim-caches` needs a suffixed value (1G - a bare number fails with 'Invalid suffix'); (5) overwrite-installs of a RUNNING app get cancelled ('Cancelled') - `am force-stop <pkg>` first; (6) /sdcard is empty on this unit (no adoptable storage, public cache dir falls back to internal). Safe to hide: 17 packages listed in debloat.txt. MUST STAY ENABLED: com.helios.launcher (stock home), com.helios.setting, com.helios.mediaplayer, com.helios.vod (launcher dependency), com.iflytek.xiri + com.helios.voice + com.helios.heliosvoice (remote voice key dead otherwise), com.yunos.* payment services (leave alone). Whaley-era appstores were already removed upstream by the firmware."
+}