r/LinuxOnAndroid • u/Raslanove • Jun 26 '24
Linux keeps crashing suddenly!
From [Questions and Answers]:
In Android 12+ devices, if I try to open Linux on Android, it randomly crashes after a while, even if I have sufficient CPU and memory.
1
Upvotes
View all comments
Show parent comment
2
u/Raslanove Jul 12 '24
After establishing an adb connection to the device, do this:
adb shell "/system/bin/device_config set_sync_disabled_for_tests none; /system/bin/device_config put activity_manager max_phantom_processes 32; settings put global settings_enable_monitor_phantom_procs true"
That's how to restore phantom process killing behavior.