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 easy password (was hoping for an Unlock option once I locked it) and tried various methods to unlock it for example:
adb shell input text 1234
In my phone, after typing the passcode, I should press OK to unlock. So this command will unlock my phone:
adb shell input text XXXX && adb shell input keyevent 66
XXXX is your passcode.
66 is keycode of key Enter.