While Termux doesn’t require root, my device is rooted which allows for a lot more.
A few examples:
Using mitmproxy to capture and analyze app traffic from phone apps (automated w/ a widget shortcut to configure android proxy settings on launch and then reset back when I’m finished).
SSHing into my servers (mosh is useful to keep connections alive if network cuts out). I have my own homescreen widgets to automatically launch for specific nodes. Also use tmux everywhere to handle multiple sessions.
Scripting my android phone as a USB keyboard input (simulating BadUSB).
I’ve implemented my own “lost phone rescue” so I have a way to remote into my device if I lose it.
Reading man pages about a command
Git cloning projects to examine source code when I’m feeling curious
Running web servers for sample projects
Managing files on device (sometimes easier with CLI)
What kind of scenarios do you pull out a terminal on your phone for?
While Termux doesn’t require root, my device is rooted which allows for a lot more.
A few examples:
mitmproxy
to capture and analyze app traffic from phone apps (automated w/ a widget shortcut to configure android proxy settings on launch and then reset back when I’m finished).mosh
is useful to keep connections alive if network cuts out). I have my own homescreen widgets to automatically launch for specific nodes. Also usetmux
everywhere to handle multiple sessions.man
pages about a command