[ GUIDE ] How to bypass Android pattern lock security without system wipe
Everytime you forget the pattern or the password , the only way out is to boot into recovery and wipe all user data. And then when you switch on , you see a fresh device with nothing at all left . The contacts , games , applications - all gone !
Now , I'm here with a solution for the same. By doing this , you can easily bypass the lockscreen and you need not wipe anything.
That's the best part ! But the uninteresting part is that , for this method to work , you need root access in your Android device .
So , let us begin :
Pre requisites :
* Java JDK on your machine.
http://www.oracle.com/ technetwork/java/javase/downloads/index.html
* ADB ( Android Debudding Bridge ) installed on your Windows / Linux / Mac .
http://www.howtogeek.com/125769/how-to-install-and-use-abd-the-android-debug-bridge-utility/
* Root access in your device .
* USB debugging should be switch-on.
Procedure :
The principle behind this whole process is to be able to access the root shell inside Android devices using ADB ( Android Debugging Bridge ). To be able to be debugged , the USB debugging option has to enabled in your Android device .
To enable USB debugging :
> Go to About phone
> Tap on build number for 7 times.
> Now in the settings menu , you will have the Developer options menu enabled.
> Within Developer options , enable ' USB debugging '.
- > If you already have Java and ADB installed in your device , you can proceed.
* Connect your locked Android device to the computer via USB cable.
* Now open terminal / CMD on Linux / Windows respectively.
* Type : sudo adb devices
NOTE : Incase you get errors like : " ??????? Device not found / no permissions "
Just do this : sudo adb kill-server and then sudo adb start-server
and then follow the above procedures.
* The device will be shown along with its serial number.
* > sudo adb shell
Then , you will be able to see : " shell@Your-Device "
> su
Note : Once you have rooted your device , it is adviced that you keep the ' Default access ' as ' Grant ' inside SuperSU application . This will allow super user permissions to be accessed easily.
> cd /data/system/
These are the contents of /data/system
Here , we have two ' .key ' files :
1. gesture.key
This file stores the lockscreen information if the password protection you have used is of gesture kind : pattern .
2. password.key
This file stores the password information if it's a number lock or a password lock.
> rm *.key
This removes the password files . After this , you will be able to open your Android device without any lockscreen at all !