Skip to content

Instantly share code, notes, and snippets.

@Geofferey
Created August 11, 2018 04:28
Show Gist options
  • Save Geofferey/e83a4b83ad05a551497f50c071d4e875 to your computer and use it in GitHub Desktop.
Save Geofferey/e83a4b83ad05a551497f50c071d4e875 to your computer and use it in GitHub Desktop.
#!/system/xbin/bash
# Android Remote Unlock Script
# By: Geofferey @ IG & XDA 2018
# Just a simple script to input PIN
# via ADB, SSH, Telnet etc on Android
# Pace in /system/xbin/pin-unlock &
# give execute perms (e.g. chmod 500)
echo ""
read -s -p "Enter password:" PASS
input keyevent KEYCODE_POWER
input keyevent 62
sleep 1
input text $PASS
input keyevent 62
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment