Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/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
You can’t perform that action at this time.