/TermuxDisableProcces

a help for those who don't have root or computer to disable the termux error processes

Termux Disable Proccess Error 9 Kill (No ROOT | NO COMPUTER)

A guide for those who don't have root or a computer to disable the termux error processes


Requirements

  • Android 12+ (tested only AOSP)
  • Connection with Wi-Fi

Tutorial (Video)

Video Uploaded On Youtube

Deactivation Instructions (ADB):

On an ADB console, paste the following commands on the following order:

adb shell "/system/bin/device_config set_sync_disabled_for_tests persistent"
adb shell "/system/bin/device_config put activity_manager max_phantom_processes 2147483647"
adb shell settings put global settings_enable_monitor_phantom_procs false

If your device's brand is Samsung, you may have to do this first (Termux/terminal):

export ADB_SERVER_SOCKET=localfilesystem:$(pwd)/adb_socket
adb start-server
adb devices

Check this out if you would like to re-enable Phantom processes https://www.reddit.com/r/termux/comments/11tkms8/comment/jcjuldr

adb shell /system/bin/device_config set_sync_disabled_for_tests none
adb shell /system/bin/device_config put activity_manager max_phantom_processes 32
adb shell /system/bin/settings put global settings_enable_monitor_phantom_procs true

Make sure to download the latest termux version from F-Droid. It's important to keep it up to date!


If you'd like to read more about Phantom Processes then check this out