Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/system/bin/sh
- if [ `whoami` != 'root' ]
- then
- echo "You need to be root"
- exit 1
- fi
- export PREFIX='/data/data/com.termux/files/usr'
- export HOME='/data/data/com.termux/files/home'
- export LD_LIBRARY_PATH='/data/data/com.termux/files/usr/lib'
- export PATH="/data/data/com.termux/files/usr/bin:/data/data/com.termux/files/usr/bin/applets:$PATH"
- export LANG='en_US.UTF-8'
- export SHELL='/data/data/com.termux/files/usr/bin/bash'
- cd "$HOME"
- exec "$SHELL" -l
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement