Cyker Cyker - 1 year ago 53
Android Question

What does 'adb shell start/stop' do?


What do
adb shell start
adb shell stop
actually do?


I think they call
. But these two executables don't give any clue about what they do. When tested on a real device, I found the zygote process is started and stopped. So these two commands seem to control the Android runtime (which corresponds to the yellow and blue parts in the figure below).

Android Architecture

But what exact processes/services are started/stopped with these two commands?

Answer Source

Run this on your device

grep ^service /init*rc