SHARE
TWEET

Untitled

a guest Jul 18th, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2. : Wakeup and unlock
  3. adb shell input keyevent KEYCODE_WAKEUP
  4. adb shell input touchscreen swipe 930 880 930 380
  5. adb shell input keyevent KEYCODE_HOME
  6.  
  7. : Launch camera
  8. adb shell am start -a android.media.action.STILL_IMAGE_CAMERA
  9. timeout 1 /nobreak > NUL
  10.  
  11. :repeat
  12. adb shell input keyevent KEYCODE_FOCUS
  13. timeout 1 /nobreak > NUL
  14. adb shell input keyevent KEYCODE_CAMERA
  15. timeout 2 /nobreak > NUL
  16. adb shell "ls /sdcard/DCIM/Camera/*"
  17. adb pull /sdcard/DCIM/Camera/ ./scans
  18. adb shell "rm /sdcard/DCIM/Camera/*"
  19.  
  20. goto repeat
  21. :adb shell input keyevent KEYCODE_SLEEP
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top