Scripts to install Termux on Android through ADB. Along with preparing Termux for python3 with sklearn.
Note: You can also download Termux from the Android Play Store.
- Download repository using
git
andcd
into directory on Linux host
git clone https://github.com/saitiku/TermuxScripts
cd TermuxScripts/
- Run script on host. Make sure you ADB, WGET working before hand.
bash run_host.sh
The above command will download APK and install it. The script should end with Success
.
Note: Assuming Step A completed with success
.
- Open the Termux App on the Android device. If it is the first time, it will install some additional components. Wait for install to finish.
- Once install is finished. Run the following command in the Termux App.
apt update && apt upgrade -y && apt install -y git wget curl
- Download the same repository on Android device.
git clone https://github.com/saitiku/TermuxScripts
cd TermuxScripts/
- Execute the Termux Script as follows:
bash run_termux.sh
This will take some time to finish.
Note: Assuming Step B completed with no errors.
python3 run_test.py
See tflite/README.md