Created
October 11, 2016 02:31
-
-
Save BCsl/7578db531ce88ffc48e8d19f1477fb11 to your computer and use it in GitHub Desktop.
Adb shell to unlock my Mx4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# power button | |
adb shell input keyevent 26 && | |
adb shell sleep 0.1 && | |
# swipe to unlock | |
adb shell input swipe 655 1774 655 874 && | |
adb shell sleep 0.1 && | |
# input 2 | |
adb shell input tap 612 726 && | |
adb shell sleep 0.1 && | |
# input 6 | |
adb shell input tap 813 1000 && | |
adb shell sleep 0.1 && | |
# input 6 | |
adb shell input tap 813 1000 && | |
adb shell sleep 0.1 && | |
# input 4 | |
adb shell input tap 255 1000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment