My screen is dead and I want to unlock my phone so I can access it through Kies to backup my pictures.
I locked the phone through Android Device Manager setting an e
Tested in Nexus 5:
adb shell input keyevent 26 #Pressing the lock button adb shell input touchscreen swipe 930 880 930 380 #Swipe UP adb shell input text XXXX #Entering your passcode adb shell input keyevent 66 #Pressing Enter
Worked for me.