notes/Android Start Termux shell from ADB-FXfT3AGv.sh
#!/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

syntax highlighted by Code2HTML, v. 0.9.1