Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/data/data/com.termux/files/usr/bin/sh
- # https://wiki.debian.org/ChrootOnAndroid # Ref only
- # https://wiki.termux.com/wiki/Debian # this is what the script is based on
- export SDCARD=/mnt/sdcard #Not needed
- #export ROOT=/data/data/jackpal.androidterm #Just in case
- export ROOT=/dara/data/com.termux/files/debian/stable #=~/debian/stable
- proot -0 -r $ROOT -b /dev/ -b /sys/ -b /proc/ \
- -b /data/data/com.termux/files/home /usr/bin/env \
- -i HOME=/root TERM="xterm-256color" PS1='[root@stable \W]$ ' \
- PATH=/bin:/usr/bin:/sbin:/usr/sbin:/bin /bin/bash --login
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement