1 2 3 4 5 6
# Detect Android and do the needful if [ -e /system/build.prop ]; then mount -o rw,remount / mkdir -p /bin cp /system/bin/sh /bin/sh fi