News for hackers. Stuff that matters.
Re:Install postmarketOS on Android phone and use Docker as a... by greentea23 on Friday December 06, 2024 @11:58AM (#42341534)
You can run these commands to turn that kill behavior off:

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

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