Re:Install postmarketOS on Android phone and use Docker as a...
by Oxodao on Monday December 09, 2024 @07:44AM
(#42365759)
For having a sshd server on my phone I do really like this magisk module https://gitlab.com/d4rcm4rc/MagiskSSH
This let me ssh into the real android instead of inside termux, which might be preferable depending on the use case
setprop persist.sys.fflag.override.settings_enable_monitor_phantom_procs false
/system/bin/settings put global settings_enable_monitor_phantom_procs false
Termux as an example supports several services that run forever. Works great, sshd and crond don't get killed for example. https://wiki.termux.com/wiki/Termux-services
Battery wise you can use this app to keep it in a healthy range and temperature indefinitely: https://github.com/VR-25/acc