This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Add this file on you /sdcard directory on you android Phone | |
# Enable Debug Mode and ADB, connect you phone on PC, Download ADB Tools | |
# Run "adb shell" and on adb shell run "sh /sdcard/run-as-termux.sh" | |
# Enjoy termux, but with restrictions to access some folders like /sdcard | |
TERMUX_PACKAGE=com.termux | |
TERMUX_PATH=$ANDROID_DATA/data/$TERMUX_PACKAGE | |
TERMUX_TMPDIR=$TERMUX_PATH/files/usr/tmp |