1 #!/system/bin/sh 2 spath=$( cd "$(dirname "$0")" ; pwd -P ) 3 cd $spath 4 5 source run.common 6 7 # Directly execute a command within the chroot of an Android device 8 CMD="$*" 9 10 chroot debian /bin/bash --rcfile '.bashrc.silent' -i -c "$CMD" 11