docs / models / 50A51HUV / 09.01O.P0813 / findings

Firmware notes β€” what's in the images worth knowing (Oct 30)

Working notes from the 12-partition dump (all paths under pi:~/firmware/extract/ unless noted). Companion to the endpoint map (09-endpoints.md) β€” this file is the "what else is in there" tour.

1. The dynamic domain map β€” the TV publishes its own endpoint list

/APPS/domain/domain_list.json (written at runtime by jhkservice/dynamicDomain.js, fetched from domain.vidaahub.com with a cloud token; ReleaseDate: 2026-07-06, per-area variants β€” ours is DomainArea: "na"). Complete map extracted from the p41 image:

Two critical properties:

  1. DoH evasion is explicit: dohServers: ["dns.google/dns-query"] with dohDomains: ["vidaahub.com"] β€” vidaahub lookups bypass the LAN resolver (AdGuard) via DNS-over-HTTPS by design. DNS-layer blocking of vidaahub domains requires blocking dns.google bootstrap + DoH itself, or router-level IP blocks.
  2. The map is a writable file: /APPS/domain/domain_list.json is written by phoenix (uid 314) via the bridge's mode-6 base β€” poisonable from a page with no traversal (redirect any vidaahub service to an arbitrary host, or point the telemetry sinks at a black hole). The file is md5-stamped ("md5": "032da1b9…") β€” the consumer may verify.

2. On-box tooling worth knowing (/usr/local/bin)

iptables (full netfilter), opkg + ipk-decrypt + app_upgrade, openssl, 7za, unzip, jq, screenshot (framebuffer capture), iperf, wpa_cli, keystore, envAccess/envClient (uboot env), secure_exec (signature-gated exec wrapper), superwatch(_server) (process supervisor β€” resurrects phoenix), r2tcpserver, dectool (OEM archive crypto), mdharvester, hi_logreport_service, write_stat, bizm. Busybox applets are NOT symlinked system-wide β€” use /usr/local/bin/busybox <applet>; tail/pgrep/nohup/scp/ timeout do not exist as commands.

3. JS service packages (the phoenix API surface)

4. Package-manager metadata on /APPS/pkgs (and /opt/pkgs)

appinfo.json, serviceinfo.json, pkgAppInfo.json, opkgmeta(+_oad.bk, _apps.bk), opkg.conf, and rsa_public_2048.key / rsa_public_4096.key β€” the package-signature public keys, world-readable on the rw partition. IPK forging still requires the private/keystore-wrapped side (ipk-decrypt, keystore 9602_tv_openssl …), which is root-only on a stock box.

5. euladpp β€” the consent/telemetry control plane

/APPS/euladpp/ (rw): eulaDpp.tar.gz + current/ with eula_dpp_status.ini and seven consent sections (pn1_hbbtv … pn7_registration β€” hbbtv, account, voice, enhance, improvement, management, registration). Root-run boot scripts repair/upgrade it from the tarball (see 04). This is the settings-layer telemetry switch the wiretap baseline measures against.

6. Loose ends worth a look

7. Audio: the ALSA capture lane is dead on this model (2026-11-06)

The userspace-visible ALSA stack looks usable β€” card 0 MStar-MAD, five mad_pcm devices each playback 1 : capture 1, /dev/snd/pcmC0D0{c,p} present (root:mi 660) β€” but it carries no audio. The capture probe (tools/audio/ β€” links against the TV's own /vendor/lib/libasound.so.2; full method and evidence there) measured: hw:0,0 opens, set_params and snd_pcm_start succeed, then every snd_pcm_readi returns EIO (snd_pcm_recover βˆ’5, frames=0). The EIO is the correct answer, not a failure: during playback all ten PCMs report closed in /proc/asound/card0/pcm*/sub0/status β€” tested with audio going to an optical (S-PDIF) speaker and to the internal speakers, same result both ways, which rules out "tested the wrong output". Conclusion: the TV's audio never enters a userspace ALSA stream; the mad_pcm nodes are the MStar decoder's internal interface, not the output mix. Consequence: snapcast and librespot are not viable through ALSA on this model (issue #19) β€” an architecture answer, not a build one. One path stays untested and is labelled as such: the TV browser (odin) declares --alsa-output-device=default;hw:0,0;…, so audio played in a web page might open a PCM a native app does not.