參考資料:
https://ivonblog.com/en-us/posts/fix-termux-signal9-error/
解法如下:
$ su # settings put global settings_enable_monitor_phantom_procs false
Android 12需要多做如下這個步驟:
# /system/bin/device_config set_sync_disabled_for_tests persistent; /system/bin/device_config put activity_manager max_phantom_processes 2147483647