How to unlock android phone through ADB

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

    I would like to share my way, first of all i had Huawei ascend p7 and my touch screen stopped handling touch, so none of the above solutions helped me to be unlock the phone, i have found a better clever way to do it since i can see the screen on thus i thought that my display is 1080 x 1920 px thus i had to simulate a drawing on my photoshop with keypad with (x,y) so i can try instead with input mouse tap command.

    Since i have pin lock as you can see in the picture, i have got all the (x,y) for all the numbers on the screen to simulate touch and unlock my screen and have to backup my data, thus if my password is 123 i did all the following commands

    adb shell input mouse tap 100 1150
    adb shell input mouse tap 500 1150
    adb shell input mouse tap 900 1150
    

    And then my phone just got unlocked, i hope it was helpful.

提交回复
热议问题