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

alvidaa findings β€” root, achieved β€” the kill chain and working state

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

11. Root, achieved (Oct 2026)

The full chain, in the order each layer fell:

  1. HiUtils_createRequest file bridge β†’ chroot /APPS, escaped via ../ (Β§10.3).
  2. /var/local/otaTest.sh root boot hook, written through the bridge (Β§10.9).
  3. Static busybox (telnetd) + dropbear 2025.88 built with zig cc -target arm-linux-musleabihf, delivered over bash /dev/tcp at boot (Β§10.12–13).
  4. Firmware firewall holes for ports 2222/2323 (Β§10.14).
  5. Dropbear patched three times (Β§10.15–16): authorized_keys via -D (no .ssh/ subdir), shell-validity check removed (no /etc/shells, and root's shell is the USB gate script), perms walk removed (/var/local is 777 by firmware design).
  6. Final layer: root's login shell is rootlogin.sh β€” dropbear execs pw_shell for every session including forced commands, so the gate ran instead of a shell. get_user_shell() patched to return /bin/sh always.

Working state: server/tv (PATH-fixing wrapper) β†’

uid=0(root) … Linux hisensetv-<ethernet-mac> 4.19.79+ #1 SMP PREEMPT
Wed Aug 13 14:09:29 CST 2025 armv7l

Backup completeness (Oct 30)

Before/after (Oct 30, post power-cycle): targeted reads at both hung offsets (p42 @240 MB, @878 MB) return exit 0 β€” the power cycle cleared it. Verdict: wedged eMMC controller, not failing flash. The /OAD dump stays partial by decision; the region is readable again if ever needed (chunked, spaced, and only with a good reason).