Bypassing Android’s Pattern Lock

by 11:07 0 comments

Bypassing Android’s Pattern Lock Is A Piece Of Cake, All You Need Is ADB And USB Debugging Enabled

 

Android introduced a very different kind of entry protection in 2008. Named Pattern Lock, it allowed users to swipe in a specific way across 9 dots to unlock their smartphone. It is arguably easier to input and technically much more secure than a 4 digit PIN code.
But, as time goes by, people found ways to bypass it. The first method I’ve heard of is actually pretty simple: if your fingers are the least bit oily, they will be leave smudges in line with pattern you use to unlock. If an intruder, then, observes the smudges, they may be able to gain access to your phone. The second method is to just go by trial and error as, in my own personal experience, I’ve noticed a lot of people use letters of the alphabet (such as V, D, U, O, etc. alphabets that can be easily recreated in the pattern lock).




Now, the methods I’ve mentioned above aren’t the best when it comes to results. We’ve come across two technical ways of bypassing the pattern lock. Check them out after the jump.

The two technical ways in question have been developed by m.sabra over on XDA-Developers. They require your Android device to have USB Debugging enabled from Settings > Security and that you have installed ADB on your computer.
The first method changes the value of variables lock_pattern_autolock  andlockscreen.lockedoutpermanently to 0. The second simply deletes gesture.key under/data/system.
If one of them doesn’t work, the developer suggests running the first one, rebooting, running the second one, rebooting to bypass the Android lock screen.
For detailed instructions, you can check out the official thread on XDA-Developers. The commands required are scarily simple and, overall, the two workarounds are very simple to apply. So, what can you do to protect yourself from such sorcery? It’s simple: ensure USB Debugging is disabled when you’re not using it.

We are only discussing this for educational purposes: to inform you about how you can get access to your own phone in case you forget the pattern, how you can be compromised and you can protect yourself from it. We are not to be held responsible if this method gets used for nefarious purposes.






Requirements :
Linux distro
Android phone
USB cable
ADB

Step 1. -Connect your phone to your PC using USB
cable.

Step 2. - Installing ADB over terminal
1.Boot into any Linux distro you have.

2.Open up terminal and type :
Quote:sudo apt-get install android-tools-adb
This will install ADB.

Step 3. - Disabling pattern unlock over terminal
1.Open up terminal again and type :
Quote:adb devices
adb shell
cd data/system
su
rm *.key
Now,disconnect your phone and reboot.Unlock
pattern should be here.Just try some random gesture and it will unlock

Tejen Dave

Developer

I'm a hacker, but I'm the good kind of hackers. And I've never been a criminal.

0 comments:

Post a Comment