Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to unlock android phone via adb, if I KNOW the pattern

Basically, idea is to add a pattern unlock in script, running on a computer, connected to phone via adb. So, something like adb shell input events. Pattern is KNOWN, no hacking.

like image 295
Andrew Kuch Avatar asked May 07 '14 22:05

Andrew Kuch


People also ask

How can I unlock my Android if I forgot the pattern without losing data?

On Find My Mobile page, click Unlock, sign in your Samsung account and click Next to continue. 3. After login, tap Unlock again and enter your Samsung account password to confirm this operation. Then you will bypass Android lock screen without losing data successfully.


1 Answers

This is an old question but in the interest of helping anyone who finds this post, check out my android-pattern-unlock shell script.

It uses ADB's sendevent to draw a known unlock pattern into the lock screen. Worked for me and allowed me to gain access with a broken screen.

like image 102
Matt Wilson Avatar answered Sep 21 '22 11:09

Matt Wilson