Advertisement
metalx1000

Open Programs Android ADB Shell commands

Oct 17th, 2017
786
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.24 KB | None | 0 0
  1. #if you need to turn on the screen and unlock the device first you can
  2. adb shell input keyevent 26 #Pressing the lock button
  3. adb shell input touchscreen swipe 930 880 930 380 #Swipe UP
  4. adb shell input text XXXX #Entering your passcode
  5. adb shell input keyevent 66 #Pressing Enter
  6.  
  7. #or
  8. adb shell input keyevent 26 #Pressing the lock button
  9. adb shell input keyevent 82 #Get pin screen
  10. adb shell input text XXXX #Entering your passcode
  11. adb shell input keyevent 66 #Pressing Enter
  12.  
  13. #Dial a number from adb shell on Android
  14. adb shell am start -a android.intent.action.CALL -d tel:"18004664411"
  15.  
  16. #open Google Maps
  17. adb shell am start -a android.intent.action.MAIN -n com.google.android.apps.maps/com.google.android.maps.MapsActivity
  18.  
  19. #start chrome
  20. adb shell am start -n com.android.chrome/com.google.android.apps.chrome.Main
  21.  
  22. #open url in default browser
  23. adb shell am start -a android.intent.action.VIEW -d http://www.filmsbykris.com
  24.  
  25. #open Google Photos
  26. adb shell am start -n com.google.android.apps.photos/.home.HomeActivity
  27.  
  28. #open an image in default image viewer
  29. adb shell am start -d "file:///sdcard/DCIM/Camera/IMG_20170815_101355.jpg" -t "image/jpeg" -a android.intent.action.VIEW
  30.  
  31. #open camera and controls
  32. https://pastebin.com/1CfwxmjE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement