Skip to content

saideeptiku/TermuxScripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TermuxScripts

Scripts to install Termux on Android through ADB. Along with preparing Termux for python3 with sklearn.

A. Install Termux On Android Device

Note: You can also download Termux from the Android Play Store.

  1. Download repository using git and cd into directory on Linux host
git clone https://github.com/saitiku/TermuxScripts
cd TermuxScripts/
  1. 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.

B. On Android Client Side (Installing Python3 for ML)

Note: Assuming Step A completed with success.

  1. 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.
  2. Once install is finished. Run the following command in the Termux App.
apt update && apt upgrade -y && apt install -y git wget curl 
  1. Download the same repository on Android device.
git clone https://github.com/saitiku/TermuxScripts
cd TermuxScripts/
  1. Execute the Termux Script as follows:
bash run_termux.sh

This will take some time to finish.

C. Running ML Test Scripts (On Android Client Side)

Note: Assuming Step B completed with no errors.

python3 run_test.py

D. SSH Setup (Running Tensorflow Model)

See tflite/README.md

About

Scripts I use for Termux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published