Android ADB Cheat Sheet: Difference between revisions

From myWiki
Created page with "Start the server/service ./adb kill-server ./adb start-server Show connected devices ./adb devices Enter the O/S shell (ls,...) ./adb shell"
 
No edit summary
Line 8: Line 8:
Enter the O/S shell (ls,...)
Enter the O/S shell (ls,...)
  ./adb shell
  ./adb shell
On a un-rooted device you'll need to run-as within the shell
run-as me.stevet.android.gpsapplication

Revision as of 19:34, 10 March 2020

Start the server/service

./adb kill-server
./adb start-server

Show connected devices

./adb devices

Enter the O/S shell (ls,...)

./adb shell

On a un-rooted device you'll need to run-as within the shell

run-as me.stevet.android.gpsapplication