Commit Graph

3 Commits

Author SHA1 Message Date
Matthew Garrett
23edacc877 Make more idiomatic 2024-01-10 20:28:14 -08:00
Matthew Garrett
ea84d74f9d Some fixes
Ensure the mode switch works, and handle broken pipe failures. Also handle
devices that are in diag+rndis mode.
2024-01-10 15:13:28 -08:00
Matthew Garrett
4d39248bf9 Add bootstrapping support
Add tools for launching a root shell on the device, and for sending
serial commands to the device. Extend the make.sh script to push those
and configure a root shell. Commands can now be executed as root via:

adb shell rootshell -c \"touch /tmp/test\"

allowing automatic configuration of the tooling.
2024-01-07 19:45:15 -08:00