07 β OS map + root-avenue inventory (2026-11-08, post-root read-only)
The filesystem/OS survey over the root session, and the honest ledger of
other root lanes β measured or documented on this branch β for units that
do not have our dropbear running yet. All reads; androidboot.serialno
sits in the cmdline and is redacted here; no shadow content read.
Committed binaries: none.
OS identity (verified)
- Kernel
5.15.167-gfb69e158f1f4-dirty, Android clang 14.0.7/LLD, built 2025-10-01,SMP PREEMPT;/proc/1/comm= plaininit(busybox-style, runlevel 3, UARTgettyonttyS0). - Boot flags (verified root):
androidboot.verifiedbootstate=green,androidboot.vbmeta.device_state=locked,veritymode=enforcing; dm-verity on the rootfs with FEC (hash tree + forward-error blocks,restart_on_corruption), A/B slots, currentslot_suffix=_a(root/dev/mmcblk0p20squashfs ro β/dev/dm-0verity chain);tee_mode=optee(TEE supplicant init present ininit.d/fusion);bootreason=rebootβ this unit's current boot was our sysrq restart, matching the vendor's own boot-reason plumbing. - Chip identifiers:
androidboot.vendor.cf.hardware=mt5873, boardmmap_mt5873_mtk_2g_linuxβ the boot-side family id for the userspaceMTK9603bridge name. /etc/profileexports:DTO_CHIP=mt5873,SYS_ODM=mtk,SYS_MODEL_NAME=hisense_mt9603_linux,SYS_VERSION=Debug(a Debug-tagged ODM build β strings of the flag-wrapped shell set say the same)./etc/init.dtree splits intocommon/,fusion/,merak/(+mixed/in the dir set) β per-chipset init module families.
The vendor root-gate lane (verified structure)
rootlogin.sh (root's own shell, root-only readable) is the factory
USB key gate:
- enumerates USB partitions (
/proc/diskstats), computesseed_name = vendor_id . product_id . tv_model, thendst_file = md5(seed_name); a USB device whose key file carries that name satisfies the first stage; - then execs
/usr/local/bin/check_usb_keywithnormal <vid> <pid> <tv_model> <file_name>β the binary validates the file's CONTENT (the second stage); - the sibling
cli_login.sh(the serial-console login script) carries its own chain (openssl+critical.iniunder/hidata/critical/), Chinese-header comments dated 2024 by the ODM author.
Both gates read rw-partition state (critical.ini(_bak)); the USB key
is replayable hardware: lsusb + the model at build time are all an
attacker needs for the filename half β recorded as the hardware-free
root escape hatch for this build family; the content-staging half needs
check_usb_key's own audit (static, nodule-level; not disassembled
today).
Other root avenues on THIS branch (measured / documented)
| # | Lane | State here | Notes |
|---|---|---|---|
| 1 | NewUpdatedIPK.txt symlink-flipper (start-kilby.sh:319 β set_ipk_path.sh) |
present, untested | same A/B current flicker as the reference: a writable /APPS/pkgs/NewUpdatedIPK.txt lists dirs; each line creates <dir>/current β <basename> as root at boot. Requires a boot to apply β a candidate lane but untested here (our dropbear path already covers; recorded for community pre-root work). |
| 2 | euladpp untar lane |
absent on this branch | /APPS/euladpp/current/ holds only eula_dpp_status.ini(+_bak); euladpp-init-check is not in this build's init tree (no boot-time consumer greps clean in init.d/{common,merak,mixed,fusion}); only migrate_scripts/ota_migrate_package_eula_dpp.sh, reset-factory.sh, security-firewall-start.sh, getlog read the eula files. The reference's arming condition (current/versionInfo.json missing) cannot fire here. (Correction to our pre-root 04 wording: the checked path is /APPS/euladpp/current/versionInfo.json, not /var/local/versionInfo.json.) |
| 3 | OEM staging deployer (deploy_oem_data.sh + deploy_oem_common.sh) |
present | same copy-from-/var/local/oem/β¦ shape; a root-run whole-tree deployer. Not exercised (our lane didn't need it); it is the vendor's own root writer β candidate. |
| 4 | masman (root, secure_exec run) 127.0.0.1:12321 |
present | boot invocation masman -d -p dvb -u 127.0.0.1:12321 -i -P 0x000003 -l 3000 -R usb3/β¦ (from start-masman.sh); loopback command interface ("Available commands" in the static record) β not probed blind (unknown lexical commands; too risky to fuzz on the user's unit). Method option: controlled disassembly or a documented vendor command list from the static audit. |
| 5 | superwatch_server per-command auth matrix | partially measured | the UDS command registry is runtime-built (std::unordered_map<string,string> in strings; the idβclass table has no static strings on this stripped ARM build). Run{IpkInstall,IpkUninstall,IpkBackup,IpkRestore,IpkClearBackup}Command, RunCheckPkgsUsdCommand, RunRecreateSoftlinkCommand, MkDirForPVRCommand, GetDirUsageCommand, IrGetLogCommand, EnterWifiTestmodeCommand, DropCacheCommand enumerated (C++ typenames); per-wire unauthorized TRACE exists. Method option: disassembly of the map construction (43Q60SEVS's 80/82/85 set vs our 53/54 map suggests per-branch renumbering). |
| 6 | adbd (Android debug bridge daemon) |
boot-enabled lane present | /etc/init.d/common/init_adbd.rc runs /bin/adbd with the functionfs mount (uid=2000,gid=2000); the USB gadget-side is the reachable surface β USB-only on this build (checked the init lines; no tcp:5555/tcp: listener flags). A root sidecar IF a USB host link is used β hardware-free once a USB link exists. |
| 7 | UART console (ttyS0 getty) |
live at boot | the login lands in rootlogin.sh/cli_login.sh (gate section above) β the hardware-free path depends on the gate script; recorded against the family. |
| 8 | /OAD staging + /OAD/pkgs/backup (rw) |
present, untouched | OTA staging partition (our ground rule: never write); the AppUpgradeSwitch.json here carries "upgradeFlag": "0" for country: GBR β the cloud-side app-upgrade switch is already off for this market. |
| 9 | recoverOTA/checkEmergentOTA.sh |
present | the emergency lane fires when the UI fails to flag READY in 60 s (reference static audit) β emergency-only; noted for completeness. |
The firewall plane (verified)
init_iptables.rc restores /etc/iptables/iptables.conf at boot β the
vendor's own policy file is small:
-A INPUT -p tcp --match multiport --dports 0:1023 -j DROP
(the two OUTPUT lines about the root uid are commented out), then
FIREWALL_IN_EULAON
builds up during boot; on this unit it contained no debug-port
blacklist β the pre-root unit reads (our postinst listing) show only
the localhost/mark ACCEPTs. Kernel-resident rules (including our OTA
freeze) come back only through the boot-time postinst β the firewall
plane is rebuilt from this config file at every boot.
Build family: hybrid β Linux (MStar Utopia) userland on an Android-platform kernel (2026-11-08)
The kernel and the userland come from different build worlds, and both are named on the unit:
Kernel = Android-platform build tooling. Built with the Android
clang/LLD toolchain, booted via the Android verified-boot harness
(androidboot.* cmdline, AVB/vbmeta 1.1, dm-verity with FEC,
veritymode=enforcing, A/B slots, SELinux, OP-TEE) β MediaTek's TV Linux
kernel config carries the Android-platform components because the same
MTK9603/mt5873 SoC family serves both Android-TV builds and this Linux
VIDAA build.
Userland = MStar/MTK Utopia Linux, no Android init or services. Verified by marker absence (root read):
| Marker | State |
|---|---|
/system, /apex, /sdcard, /odm |
absent |
logcat, init.rc, vold, installd, zygote |
absent |
BusyBox init (/etc/inittab, runlevel 3, getty ttyS0) |
present |
bash (/bin/bash), opkg (/usr/local/bin/opkg β OpenWrt-family packaging) |
present |
MStar middleware names (rcS.utopia.linux, UTOPIA_LINUX=true, /basic, /3rd, /linux_rootfs/etc, mi_ipc_client/directfb in LD_LIBRARY_PATH) |
present |
secure_exec/label service-shim family (masman, systemserver, tvmain, startgui.sh) |
present (root-run via secure_exec) |
The Android userspace pieces that DO exist on this unit are
tools, not system: /bin/adbd + a functionfs USB gadget mount (the
debug bridge, USB-only), libselinux tooling (load_policy, restorecon,
setenforce), and the kernel's own Android boot actors. Everything else
is the MStar Linux TV platform Hisense ships as VIDAA's build base.
So the correct family label for the record: "Android-platform kernel (bring-up/verified-boot lineage) + MStar Utopia Linux userland" β i.e. Android-secured, not Android-based.
Package surface (root read)
opkgstatus db at/APPS/pkgs/opkgmeta/status;re.installer 1.0.0(ours β verifiable in/APPS/pkgs/opkgmeta/info/)./usr/local/scripts/ipk_install.shreads as a plain bash wrapper (usessession_id,ipk_path,pkg_name,options_string; callsipk-update -nafter a clean--force-reinstall).- The app context installs from this bridge are unauthenticated β confirmed on 50A51HUV first, measured here too (root + the tables).
What this changes for the family record
- The
euladppprobe-path correction landed in the records where the row lives: the 03 micro-probe table and the model README measured table β both now point at/APPS/euladpp/current/versionInfo.jsonand at the lane-absence record above (07 is that record). - The root-avenues ledger belongs on every future 09.09-family unit:
with the hook lane closed by SELinux on this branch, the community
pre-root set is: FaaS fetcher β socket β install (this PR's lane), or
NewUpdatedIPK/AβB flipper (untested here), or the OEM depot copy trick
(documented), or the USB gate (hardware-free replay shape, dst stage
unverified), or adbds' USB function line β while
euladppis NOT a lane on this branch at all.