4 ms·
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
by greentea23 2y ago
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 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 https://github.com/VR-25/acc
- Oxodao 2y agoFor having a sshd server on my phone I do really like this magisk module https://gitlab.com/d4rcm4rc/MagiskSSH 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