What does 'adb shell start/stop' do?

后端 未结 3 967
甜味超标
甜味超标 2020-12-29 04:21

Question

What do adb shell start and adb shell stop actually do?

Description

I think they call /system/bin/start<

3条回答
  •  既然无缘
    2020-12-29 04:58

    I have been wondering what "stop" does on Android too. Learned from someone that "stop" stops AP being rendered by SurfaceFlinger.

    Had a try with the command like below. Execute the command, wait for a few seconds and then execute "stop" on Android. The command keeps printing increased number and creating .txt files. So maybe it only stops the Android part while the Linux part remains active. Just FYI.

    busybox sh -c 'i=0;while [ $i -ne 100 ]; do echo $i >> count.txt; sleep 1; i=$(($i + 1)); echo $i; touch "$i.txt"; done;'
    

提交回复
热议问题