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

06 β€” Root re-arms itself at cold boot (2026-11-08)

Owner-requested boot persistence on the 55E7QTUK (09.09D.P1001). Deployed the 55A7KAU-verified re_sshd pattern (same 09.09 OS branch, identical superwatch ids 54/53) into the basic package's service tree and verified it on a genuine cold boot (kernel sysrq restart, no PC in the loop).

What is deployed (verified)

Path What
/APPS/pkgs/tv.vidaa.jsservice.basic/CHA/services/re_sshd/index.js the service (1:1 the source/re_sshd/ blueprint from the 55A7KAU/V0000.09.09O.P1015 guide): PHOENIX_LIB-based BaseService require (the 09.09 idiom), module-load line to /tmp/re_sshd_boot.log, dropbearRunning() via /proc/net/tcp :1F48 LISTEN (never the uid-314-unreadable pidfile), arm loop 36Γ—5 s attacking the superwatch socket with sid:54:sid;re.installer + sid:53:sid;/APPS/installer.ipk;re.installer; framing
/APPS/pkgs/tv.vidaa.jsservice.basic/CHA/services/re_sshd/package.json main: index.js, type: commonjs, selfStart: true
/APPS/pkgs/tv.vidaa.jsservice.basic/CHA/services/serviceList.json fourth entry {"id":"re_sshd","autoStart":true,"isKeepAlive":false} appended; owner/mode preserved (314:314, 640); pristine copy at /APPS/.re_sshd/serviceList.json.pristine (teardown: cp it back)
/APPS/installer.ipk in place β€” the service reinstalls from it each boot

Cold-boot evidence (verified)

After sync; echo b > /proc/sysrq-trigger (the initctl path refused /run/initctl: Permission denied under SELinux β€” also note /sbin/reboot is a symlink to halt and needs initctl too; sysrq is enabled, sysrq:1; systemd-style plain init confirmed via /proc/1/comm):

uptime 241 s (fresh boot)
installer_log.txt mtime 19:52:49 (this boot's postinst run)
dropbear pid 2479 (fresh; the previous pid 5969 was the pre-reboot session)
iptables OUTPUT freeze rules: 3 (re-applied by this boot's postinst)
ssh -p 8008 root@<tv-ip> β†’ ROOT-OK, Uid 0, CapEff 000001ffffffffff

No PC touched the TV during that boot β€” the arm chain runs from the boot's own service tree.

Traps of the day (this persistence layer)

Teardown (verified commands, persistence layer)

cp -f /APPS/.re_sshd/serviceList.json.pristine \
      /APPS/pkgs/tv.vidaa.jsservice.basic/CHA/services/serviceList.json
chown 314:314 /APPS/pkgs/tv.vidaa.jsservice.basic/CHA/services/serviceList.json
chmod 640      /APPS/pkgs/tv.vidaa.jsservice.basic/CHA/services/serviceList.json
rm -rf /APPS/pkgs/tv.vidaa.jsservice.basic/CHA/services/re_sshd

Then the root teardown from 05 (dropbear kill, package uninstall, file cleanup, freeze rules) β€” all as root over 8008.

State after this session