FORUMS

 View Poll Results: Does this thread helped you well?

Yes
 
38 Vote(s)
80.85%
No
 
3 Vote(s)
6.38%
Neutral
 
6 Vote(s)
12.77%

[Android][Guide]Hacking And Bypassing Android Password/Pattern/Face/PI

100 posts
Thanks Meter: 380
 
Post Reply Email Thread
3rd September 2014, 11:35 AM |#21  
Junior Member
Thanks Meter: 2
 
More
How can i remove the password if the phone is not rooted?

I tried all the method but no luck as the phone is locked now.

Quote:
Originally Posted by piraterex

- DISCLAIMER -

Code:
This Is For Educational Purposes Only
You Shall Not Use This On Other People Phones Without Permission Under Any Circumstances
I'm Not Responsible For Any Eventual Errors And Misbehaving Of Your Devices
Files And Tutorials Are Used And Partially Created According My Expirience And Also Collected From Internet & XDA Forums
All Regards Are Going To Their Authors



Requirements:
The Device Needs To Have Usb Debugging Enabled
In Case Usb Debugging Isn't Enabled And You Have Recovery,you Can Run The Same Instructions From Recovery
For Some Methods Root Is Not Required (Though It Will Be Better If Device Is Rooted)



If None Of This Methods Works For You - Unfortunally You Probably Must Full Wipe Your Device




METHOD I

Solution For Everyone With Recovery (Cwm, Twrp, Xrec,Etc...) Installed:

INSTRUCTIONS:

1. Download this zip Pattern Password Disable (Download from attachments) on to your sdcard (using your PC, as you cant get into your phone, right )
2. Insert the sdcard into your phone
3. Reboot into recovery mode
4. Flash the zip
5. Reboot
6. Done!

Note : If You See The Gesture Pattern Grid Or Password After Restarting, Don't Worry. Just Try Any Random Pattern Or Password And it Should Unlock.





METHOD 2
Solution For Everyone Without Recovery Installed - ADB :

What You Need:
=>A computer running a Linux distro or Windows+Cygwin
=>USB cable to connect your phone to the PC
=>Adb installed

How to install adb:
1. Open Terminal
2. Type:
Code:
sudo apt-get install android-tools-adb
Hit [Enter]
3. Follow the instructions until everything is installed.

INSTRUCTIONS:
1. Connect you (turned on) Phone to the Computer via USB.
2. Open a terminal window.
3. Type:
Code:
adb devices
adb shell
cd data/system
su
rm *.key
4. Done...Now You Just Have To Reboot.

Note : If You See The Gesture Pattern Grid Or Password After Restarting, Don't Worry. Just Try Any Random Pattern Or Password And it Should Unlock.





METHOD 3
Solution For Everyone Before Lock Accident :

SMS Bypass - Download Link - Install It On Your Device (Download from attachments)
This App Allows You To Remotely Bypass Your Phone's Screen Lock By Sending A SMS.
It Removes Your Gesture Pattern Or Password After Receiving A Preset Keyword Along With A Secret Code Via SMS.
SMS Bypass App Requires Root.


INSTRUCTIONS:
1.First, make sure you give permanent root access 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:
Code:
secret_code reset
Example:
Code:
1234 reset
Note 1 : There is a space between your secret code and reset. Also the secret code is case sensitive.
Note 2 : There is an option available to change the preset keyword. Default is : reset - Your phone will restart and your lock screen will be reset.
Note 3 : If You See The Gesture Pattern Grid Or Password After Restarting, Don't Worry. Just Try Any Random Pattern Or Password And it Should Unlock.






METHOD 4
Solution For Everyone Via Adb - SQL Command :

INSTRUCTIONS:
=>Type This Commands Separated In Your Terminal (CMD Prompt) :
Code:
adb shell
cd /data/data/com.android.providers.settings/databases
sqlite3 settings.db
update system set value=0 where name='lock_pattern_autolock';
update system set value=0 where name='lockscreen.lockedoutpermanently';
.quit
=>Now You Just Have To Reboot.

Note : If You See The Gesture Pattern Grid Or Password After Restarting, Don't Worry. Just Try Any Random Pattern Or Password And it Should Unlock.





METHOD 5
Solution For Everyone Via Adb - File Removal :

INSTRUCTIONS:
=>Type This Command In Your Terminal (CMD Prompt) :
Code:
adb shell rm /data/system/gesture.key
Note : If You See The Gesture Pattern Grid Or Password After Restarting, Don't Worry. Just Try Any Random Pattern Or Password And it Should Unlock.





METHOD 6
Solution For Everyone With USB Debugging Enabled :

INSTRUCTIONS:

Primary Step for all method:
  1. Download & Extract to anywhere - Bypass Security Hack (Download from attachments)
  2. Open SQLite Database Browser 2.0.exe in SQLite Database Browser.
  3. Run pull settings.db.cmd inside By-pass security Hacks folder to pull out the setting file out of your phone.
  4. Drag settings.db and drop to SQLite Database Browser 2.0.exe program.
  5. Navigate to Browse data tab, At table there, click to list down the selection & selete secure

Instruction To Remove Pattern Lock:
  1. Now, find lock_pattern_autolock, Delete Record
  2. Close & save database
  3. Run push settings.db.cmd and reboot your phone

Instruction To Remove PIN Lock:
  1. Now, Find Or Create lockscreen.password_type, double-click & change it's value to 65536, Apply changes!
  2. Now, find lock_pattern_autolock, Delete Record, If doesn't exist, Ignore
  3. Close & save database
  4. Run push settings.db.cmd and reboot your phone

Instruction To Remove Password Lock:
  1. Now, find lockscreen.password_salt, Delete Record
  2. Now, find lockscreen.password_type, Delete Record
  3. Close & save database
  4. Run push settings.db.cmd and reboot your phone

Note : If You See The Gesture Pattern Grid Or Password After Restarting, Don't Worry. Just Try Any Random Pattern Or Password And it Should Unlock.






METHOD 7
Solution For Everyone With Recovery Installed :

INSTRUCTIONS:

1.Download and Copy Aroma File manager.zip (Download from attachments or http://forum.xda-developers.com/show....php?t=1646108) to your memory card.

2. Open your recovery (press volume Down + Power button or it can be different according to the phones. Generally the phones who have press able button on the middle they have to press all three buttons. Google for you pattern there are lots)

3. There’ll b an option in recovery called “mount”. Go in that option and then mount all the cache and everything it is there.

4. Then select “update” and select “apply update from SD/external” and select aroma file manger.zip file that you downloaded using above QR code above.

5. After Flashing or updating, the aroma file manger will open. Use volume keys for up/down and power button 2 select like you use to get into recovery.

6. In aroma File manager , Go to menu , which is located in bottom strip and then select Settings.

7. Go to bottom n select “mount all partition in startup ” then exit from aroma file manger.

8. Now after exit , re-update that aroma file again and it will open again.

9. Go to data >> and then System.
Then find ‘gesture.key’ (for pattern lock) and ’password.key’ (for password lock) then long touch on gesture.key or password.key and sum option will be prompted , choose delete and delete that file and restart.

Note : If You See The Gesture Pattern Grid Or Password After Restarting, Don't Worry. Just Try Any Random Pattern Or Password And it Should Unlock.


Credits:
PHP Code:
iamareebjamal(http://forum.xda-developers.com/member.php?u=4782403)
amarullz(http://forum.xda-developers.com/member.php?u=402300)
me myself (@piraterex) :(http://forum.xda-developers.com/member.php?u=5002224)

I don't all Devs so pls PM me and ask for credits for their tools/app 



---------- Post added at 11:35 AM ---------- Previous post was at 11:29 AM ----------

same issue as me, waiting for answer.
Quote:
Originally Posted by JOYGR

what one will do if he has stock recovery with usb debugging disabled and has forgotten lock screen pattern or pin ? Is there anyway to enable usb debugging in fastboot or stock recovery or any other way?

The Following 2 Users Say Thank You to patriotzhou For This Useful Post: [ View ] Gift patriotzhou Ad-Free
3rd September 2014, 01:28 PM |#22  
piraterex's Avatar
OP Senior Member
Flag New Delhi
Thanks Meter: 380
 
Donate to Me
More
Quote:
Originally Posted by JOYGR

what one will do if he has stock recovery with usb debugging disabled and has forgotten lock screen pattern or pin ? Is there anyway to enable usb debugging in fastboot or stock recovery or any other way?

Quote:
Originally Posted by patriotzhou

How can i remove the password if the phone is not rooted?

I tried all the method but no luck as the phone is locked now.





Then No way is there!
5th September 2014, 04:36 AM |#23  
Senior Member
Thanks Meter: 7
 
More
thanks it worked
25th September 2014, 10:52 AM |#24  
Member
Thanks Meter: 3
 
More
How if forgot lock pattern and also email address...and the phone also not rooted..any solution?

Think to used method six...
26th September 2014, 05:23 AM |#25  
gurgao's Avatar
Senior Member
Flag GURGAON
Thanks Meter: 43
 
More
Unhappy no success
device micromax ninja a67 (rooted)
stuck in pattern lock, no info about gmail id
adb svc wifi not working, reset gesture key permission denied,
recovery not installed,
device listed when searched through adb devices but adb reboot fastboot not working
plzzzzz help
18th October 2014, 01:41 PM |#26  
Junior Member
Thanks Meter: 1
 
More
method 2 basically works except that in order to run su from adb shell, the user must confirm su allow via the phone's screen, and you can't do this from a lock screen. is there another version of the su executable that would bypass this confirmation dialog?

stock rooted ng2 rom

also, during testing the phone popped up some kind of confirmation to allow connection to the computer (RSA key or something) and i allowed xithout testing, but i'm guessing this probably also couldn't be done from the lock screen, so my second question is: would it be possible to adb shell into a locked phone frome a computer that the phone has never been connectmd to before, assuming usb debugging had already been enabled on the phone?
amit.tiger12
20th November 2014, 01:29 PM |#27  
Guest
Thanks Meter: 0
 
More
OP your thread is great. But my problem is that, my nexus 5 display is not working and I cant open the pattern lock. Is there any method which I can refer without using screen/only using cmd adb commands. I want to copy one of my folder in /sdcard/.
Nexus 5 rooted with stock rom and TWRP recovery installed. USB Debugging enabled already.
Please help me.
Thank you.
The Following User Says Thank You to For This Useful Post: [ View ] Gift Ad-Free
20th November 2014, 01:43 PM |#28  
k.janku1's Avatar
Senior Member
Flag Poznań
Thanks Meter: 253
 
Donate to Me
More
Quote:
Originally Posted by amit.tiger12

OP your thread is great. But my problem is that, my nexus 5 display is not working and I cant open the pattern lock. Is there any method which I can refer without using screen/only using cmd adb commands. I want to copy one of my folder in /sdcard/.
Nexus 5 rooted with stock rom and TWRP recovery installed. USB Debugging enabled already.
Please help me.
Thank you.

forum.xda-developers.com/showthread.php?t=2786395
The Following User Says Thank You to k.janku1 For This Useful Post: [ View ] Gift k.janku1 Ad-Free
amit.tiger12
20th November 2014, 01:55 PM |#29  
Guest
Thanks Meter: 0
 
More
Thanks buddy, you made my day...
20th November 2014, 01:56 PM |#30  
Junior Member
Thanks Meter: 2
 
More
Hi,

I am trying to unlock an S4 which is not rooted or no USB debug. I am completely confused about all the methods.

I am able to get into the standard android recovery. When trying the aroma method, it doesn't work.

Which method would u guys recommend. I want to try and steer away from a hard reset.
amit.tiger12
20th November 2014, 01:57 PM |#31  
Guest
Thanks Meter: 0
 
More
Quote:
Originally Posted by k.janku1

forum.xda-developers.com/showthread.php?t=2786395

Thanks friend... You made my day...
Post Reply Subscribe to Thread

Tags
bypassing password, bypassing pattern, unlocking pattern

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes