How to unlock android phone through ADB

后端 未结 12 1177
自闭症患者
自闭症患者 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:27

    If you have to click OK after entering your passcode, this command will unlock your phone:

    adb shell input text XXXX && adb shell input keyevent 66
    

    Where

    • XXXX is your passcode.
    • 66 is keycode of button OK.
    • adb shell input text XXXX will enter your passcode.
    • adb shell input keyevent 66 will simulate click the OK button

提交回复
热议问题