Wednesday, 21 December 2016

Bypassing Android Screen Lock Mechanism.

There are cases when you set a pattern on your phone and later forget that pattern. It's very possible for on to receive a phone that may require you to use this guide.
Don't try this on any devices you don't own, since you are doing so at your own risk.

Requirements:
1. The device needs to have USB debugging enabled. In case USB Debugging is not enabled and you have a custom recovery, you can run the same instructions from recovery.
2. For some methods root is not required (Though it will be better if the device is rooted)
3. If Google Asks you For Password (Credentials) - Simply Turn On WIFI Via ADB In Order To Google Accept Your Device Via this Command:
adb shell svc wifi enable

IF NONE OF THESE METHODS WORKS FOR YOU, YOU WILL HAVE TO HARD-RESET YOUR PHONE

METHOD 1-Using SMS bypass:
Download SMS Bypass and install it on your device
SMS Bypass app requires root access
Instructions:
1.Make sure you give permanent root to the App
2. Change the secret code to your preferred choice.The default password is 1234
3.To reset your screen lock, send the following message from another phone:
[SecretCode] reset
Example:
1234reset
NOTE:
1. There is a space between your secret code and reset.Also the secret code is case sensitive
2. There is an option available to change the . Default is: reset. Your phone will restart and your lock screen will be reset.
3. If you see the gesture pattern grid or password after restarting. Don’t Worry. Just try any random pattern or password and it will unlock

METHOD 2 -Using ADB to delete the lock file:
Requirements:
-A computer running a Linux Distro or Windows+Cygwin
-USB cable to connect your phone to the PC
-ADB installed

Instructions:
1.Connect your turned on phone to computer via USB
2. Open a terminal windows
3. Type: adb devices
adb shell
cd data/system
su
rm *.key
4. Done
5. Reboot.
If you see the gesture pattern grid or password,try any random pattern or password and it should unlock

METHOD 3 - Using ADB to delete the gesture File
Instructions:
Type this command in your Terminal (CMD Prompt):
adb shell rm/data/system/gesture.key
If you see the gesture pattern grid or password after restarting, don’t worry. Just try random pattern or password and it should unlock

METHOD 4 - Using ADB to reset the lock screen keys:
Instructions:
Type this commands separated in your Terminal (CMD Prompt):
adb shell
cd/data/data/com.android.providers.settings/databases
sqlite3 settings.db
update system setvalue=0 where name=’lock_pattern_autolock’;
update system setvalue=0 where name=’lockscreen.lockedoutpermanently’;
.quit

--Now you just have to reboot
If you see the gesture pattern grid or password after restarting, don’t worry. Just try random pattern or password and it should unlock.

No comments:

Post a Comment