Skip to content

Termux

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.

Follow Termux Wiki Remote access, OpenSSH option.

Terminal window
# Upgrade all packages
pkg update
pkg upgrade
# Install Openssh packages
pkg install openssh
# Get username of Termux
whoami
# Set password of user
passwd
# Get IP of phone
ifconfig | grep "inet "
# Start SSHD server
sshd

Follow Termux:Boot to enable SSHD on start up

Switch to your SSH client machine

Terminal window
ssh -p 8022 username_from_termux@phone_IP
# Accept known hosts

If issues check the following:

  • Deactivate VPNs on client/server
  • Deactivate mobile phone’s mobile network

Follow Termux wiki API page

Install on F-Droid and use

Terminal window
# Install in terminal
pkg install termux-api
# Check API installed ok and can read from phone
termux-battery-status

In the Magisk app, switch to the “shield” tab to grant individual apps su rights.