How to unlock android phone through ADB

后端 未结 12 1163
自闭症患者
自闭症患者 2020-12-12 15:04

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

12条回答
  •  轮回少年
    2020-12-12 15:23

    Below commands works both when screen is on and off

    To lock the screen:

    adb shell input keyevent 82 && adb shell input keyevent 26 && adb shell input keyevent 26
    

    To lock the screen and turn it off

    adb shell input keyevent 82 && adb shell input keyevent 26
    

    To unlock the screen without pass

    adb shell input keyevent 82 && adb shell input keyevent 66
    

    To unlock the screen that has pass 1234

    adb shell input keyevent 82 && adb shell input text 1234 && adb shell input keyevent 66
    

提交回复
热议问题