On a DNS T-818 with an RK3066 and an ARMv7 userspace, first decide whether you want to run a Linux tool or use the box as a router. A tool can use the existing Android kernel if compatible. Routing also requires working drivers, permissions and a verified data path. A chroot changes a process's root directory. It leaves the Android kernel running.
Check the root filesystem against the Android host
In an authorized local terminal on your device, record uname -m, uname -r and id. On a Linux computer inspect the extracted filesystem. Resolve /bin/sh inside that tree, then run file BINARY and readelf -l BINARY on the executable. Read its architecture, bitness and Requesting program interpreter. A dynamically linked binary needs that loader at the stated path inside the root. A static binary usually has no interpreter entry. Resolve absolute symlinks within the extracted tree so you do not inspect the computer's own /bin/sh.
If a supported chroot, existing permissions and a trusted, separately extracted root are available, test with chroot /path/to/test-root /bin/sh -c 'uname -r; id'. If permissions or SELinux prevent access, restrict the check to offline inspection. For Exec format error, compare the ELF and host architectures. For No such file when the binary exists, check the interpreter, symlinks and script header. For Permission denied, inspect execute permissions, mount flags and system policy.
On an isolated OpenWrt system with file and readelf, practise with its own shell. Here /bin/sh points to busybox and the interpreter name contains x86_64. This identifies only the guest. For an ARMv7 filesystem, inspect the executable inside that tree.
uname -m
ls -l /bin/sh
file /bin/busybox
readelf -l /bin/busybox | grep interpreter

Decide whether to proceed with a userspace service
If the shell starts, use a simple tool to read a file you created in the test directory. Compare the kernel version inside and outside. Matching versions are expected. For WAN, NAT or Wi-Fi you still need drivers for this board and a separate test link. An ARMv7 target name alone cannot establish board support. Do not write an arbitrary ARMv7 image to the box.
To assess native boot, use old SoC kernel sources as a starting point. Look for this board's device tree or board code, the bootloader image format, storage layout, recovery path and the profile in the intended release. If evidence is missing, continue offline. An image for another board with the same chip is insufficient.
These checks assess userspace compatibility. Native boot and forwarding on a physical DNS T-818 have not been verified here. Exit the test shell to return to Android. If prerequisites are missing, keep the installed system and leave the boot area intact.
Related guide Check overlay space, image storage and RAM before running Docker on OpenWrt
Comments