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

alvidaa findings β€” the MQTT bridge, the 2024 auth wall, and self-install

Split from the original FINDINGS.md lab notebook. Canonical record; the blog and STORY.md draw from these.

1. Discovery

2. RemoteNow control channel

3. The 2024 authentication gate (the big one)

Old guides use static MQTT credentials (hisenseservice / multimqttservice) plus the 2018 RemoteNOW certificate. On 2024+ firmware that fails with MQTT rc 5 (Not authorized) at CONNECT, and the TV pops "your TV mode is no longer compatible with the version of the app".

What actually matters, in order:

  1. Client certificate identity. The broker checks the client cert's subject and only accepts the current app's cert: CN=VidaaAppAndroidV01, OU=multimedia, O=hh (issued by CN=RemoteCA, valid 2024β†’2034). TLS handshake succeeds with any cert β€” the refusal is at the MQTT layer, which is why the popup appears per attempt.
  2. The cert lives inside the official VIDAA Smart TV Android APK (com.universal.remote.multi): - newer builds: res/raw/client_mobile_android.p12 (un-obfuscated) - older builds: res/El.p12 (obfuscated name, same 2565-byte keystore) - keystore password: 186e990688070325a1c4b0ce275d2388 - convert: openssl pkcs12 -legacy -in client_mobile_android.p12 -passin pass:… -clcerts -nokeys -out cert.pem (and -nocerts -nodes for the key). The -legacy flag matters β€” legacy RC2/3DES ciphers.
  3. Dynamic credentials (per-connect): digest = md5("38D65DC30F45109A369A86FCE866A85B$" + mac).upper() client_id = "<MAC>$his$" + digest[:6] + "_vidaacommon_001" username = "his$" + (timestamp ^ 6239759785777146216) # modern profile digit_sum = sum(int(d) for d in str(timestamp)) % 10 salt_hash = md5("his" + digit_sum + "h!i@s#$v%i^d&a*a").upper() password = md5(timestamp + "$" + salt_hash[:6]).upper() Older firmware generations use the same shape without the XOR mask and/or with the RemoteNOW salt h*i&s%e!r^v0i1c9 β€” hence the 4-profile cascade in pair.py.
  4. After the PIN, the TV issues real credentials (platform_service/data/tokenissuance): accesstoken (2 days) + refreshtoken (30 days). Subsequent CONNECTs use the dynamic username + access token as password; refresh via platform_service/data/gettoken with {"refreshtoken": …}.

Reading the error code. paho-mqtt 2.x β€” the version the server pins β€” reports MQTT 3.1.1 CONNACK codes as v5 reason codes, so the "rc 5" above arrives as rc=135 (Not authorized); a bad username/password is rc=134. Both mean the TV refused the identity, not the transport: the TLS handshake and TCP connect already succeeded. Check server/keys/tokens.json before anything else β€” with no token file the server falls back to the legacy static login and is guaranteed to be rejected on 2024+ firmware. The server now names the code and prints the identity it presented on every reject.

09.60 pairing report: controller identity

Wing-Tsit-Chong reported pairing a 43A60LEVS (MTK9603, V0000.09.60V.Q0612) after their TV MAC was rejected. On that set, an app-style MAC with colons in TV_MAC produced the accepted client ID with the modern profile; a distinct locally administered identity also worked in their test. They reported silent rc 5 for the rejected attempts instead of the popup seen on 09.01. pair.py uses TV_MAC as the client-identity input; keep the exact formatting, and avoid sharing a paired identity with another active MQTT client.

This is a community report for one model and firmware, not a requirement established for all 09.60 sets. Pairing and remote page loading were reported; launcher installation and the root chain remain untested on that unit.

A separate, user-supplied 65U7H / U6 report describes successful PIN pairing with a controller identity and the RemoteNOW credential profile, but no action responses afterward. The researcher and public source still need attribution; do not treat transport_protocol=3160 alone as a verified profile selector.

4. Pairing flow quirks

5. Firmware broker quirks

6. Installing a web app as a native app

Three generations of installers:

  1. hisense://debug in the TV browser β€” the 2021-era hidden installer. Closed on this firmware (URL does nothing).
  2. Hisense_installApp(appId, name, thumb, iconS, iconL, url, storeType, cb) β€” the JS bridge function from the Bananamafia era. May still exist.
  3. HiUtils_createRequest β€” the modern one, verified working on this TV: js const cur = HiUtils_createRequest("fileRead", {path: "websdk/Appinfo.json", mode: 6}); const list = cur.ret ? JSON.parse(cur.msg) : {AppInfo: []}; list.AppInfo.push({ Id: "vidaa-home", AppName: "Home", Title: "Home", URL: "http://<server>:8765/", StartCommand: "http://<server>:8765/", IconURL: icon, Icon_96: icon, Image: icon, Thumb: icon, Type: "Browser", InstallTime: "2026-10-29", RunTimes: 0, StoreType: "custom", PreInstall: false }); HiUtils_createRequest("fileWrite", {path: "websdk/Appinfo.json", mode: 6, writedata: JSON.stringify(list)}); Restart the TV afterwards; the app appears at the end of the app list.

Both JS bridge functions are exposed to any page the TV browser opens β€” no hisense://debug needed. This project's launcher page detects them and offers a self-install tile, so the TV installs itself from a plain http://<server>:8765/ visit. (This is also the silent-install attack the Bananamafia post demonstrated β€” one more reason to DNS-block TV telemetry and not browse the open web on the TV.)

7. The VIDAA browser (Chromium 111 "odin" vs. legacy Chrome 77 notes)

Launcher startup and action handling (code review, Oct 30)