Termux
Install
Section titled “Install”Use F-Droid store (do not use Google Play).
In Termux, to hide keyboard: You can show/hide the virtual keyboard, by swiping right (in from the left of the screen) to open the “drawer”, then pressing the button labeled “keyboard” (might need to try it a couple times), then swiping left to close the drawer.
Install SSHD
Section titled “Install SSHD”Follow Termux Wiki Remote access, OpenSSH option.
# Upgrade all packagespkg updatepkg upgrade# Install Openssh packagespkg install openssh# Get username of Termuxwhoami# Set password of userpasswd# Get IP of phoneifconfig | grep "inet "# Start SSHD serversshdFollow Termux:Boot to enable SSHD on start up
Switch to your SSH client machine
ssh -p 8022 username_from_termux@phone_IP# Accept known hostsIf issues check the following:
- Deactivate VPNs on client/server
- Deactivate mobile phone’s mobile network
Install Termux API
Section titled “Install Termux API”Install on F-Droid and use
# Install in terminalpkg install termux-api# Check API installed ok and can read from phonetermux-battery-statusUse Magisk to Control Superuser rights
Section titled “Use Magisk to Control Superuser rights”In the Magisk app, switch to the “shield” tab to grant individual apps
su rights.