Advertisement
metalx1000

Android Camera ADB script

Nov 6th, 2019
900
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.24 KB | None | 0 0
  1. #store in tmp dir "/data/local/tmp/camera.sh"
  2. #Start with: adb shell '/data/local/tmp/camera.sh&'
  3.  
  4. sleep 60
  5. am start -a android.media.action.STILL_IMAGE_CAMERA
  6. sleep 2
  7. input keyevent KEYCODE_CAMERA
  8. sleep 2
  9. input keyevent KEYCODE_CAMERA
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement