Search code examples
androidadb

how to run binary in android without adb shell


when you run a binary in adb shell, if you exit adb, then the process is over too.

So is there a way to run a binary without adb's help?


Solution

  • If you have busybox installed on your device, then you could use 'busybox nohup [your binary] &' command. This way it will keep running even after you close adb