Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,742,696 Members 37,796 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
piraterex
Old
(Last edited by piraterex; 20th July 2014 at 06:20 AM.)
#1  
piraterex's Avatar
Member - OP
Thanks Meter 152
Posts: 85
Join Date: Dec 2012
Location: Vadodara
Default [Android][Guide]Hacking And Bypassing Android Password/Pattern/Face/PI

- DISCLAIMER -

Code:
Select 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

Quote:
If Just Google Ask you For Password (Credentials) - You Can Turn On WIFI Via ADB In Order To Google Accept Your Device Via this Command:
Code:
Select Code
adb shell svc wifi enable
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:
Select 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:
Select 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:
Select Code
secret_code reset
Example:
Code:
Select 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:
Select 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:
Select 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 
Attached Files
File Type: zip Pattern-Password-disable.zip - [Click for QR Code] (564.5 KB, 8812 views)
File Type: apk SMSBypass.apk - [Click for QR Code] (188.8 KB, 2438 views)
File Type: 7z By-pass security Hacks.7z - [Click for QR Code] (4.84 MB, 4146 views)
File Type: zip aromafilemanager.zip - [Click for QR Code] (1.37 MB, 3599 views)
MY WORK

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The Following 60 Users Say Thank You to piraterex For This Useful Post: [ Click to Expand ]
 
me1mon
Old
#2  
Junior Member
Thanks Meter 0
Posts: 15
Join Date: Apr 2014
I LOVE YOU sooooooooo much
 
cheetah81
Old
#3  
cheetah81's Avatar
Member
Thanks Meter 11
Posts: 59
Join Date: Jan 2013
Super sharing Dear Big Thanks.. :thumbup:



Sent from my GT-I9300 using Tapatalk 2
 
Gibz97
Old
#4  
Senior Member
Thanks Meter 11
Posts: 107
Join Date: Nov 2012
Nice. Method 2 worked on my S2 plus
 
Mohdsultan
Old
#5  
Mohdsultan's Avatar
Senior Member
Thanks Meter 18
Posts: 101
Join Date: Sep 2013
Location: HYDERABAD
a million thanks my FRIEND:victory :
you saved my day
I LOVE YOU
I AM SO HAPPY
please press thanks button
 
piraterex
Old
#6  
piraterex's Avatar
Member - OP
Thanks Meter 152
Posts: 85
Join Date: Dec 2012
Location: Vadodara
Quote:
Originally Posted by me1mon View Post
I LOVE YOU sooooooooo much
Quote:
Originally Posted by cheetah81 View Post
Super sharing Dear Big Thanks.. :thumbup:



Sent from my GT-I9300 using Tapatalk 2
Quote:
Originally Posted by Gibz97 View Post
Nice. Method 2 worked on my S2 plus
Quote:
Originally Posted by Mohdsultan View Post
a million thanks my FRIEND:victory :
you saved my day
I LOVE YOU
I AM SO HAPPY
thanx guyz..
MY WORK

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 
TheArc
Old
#7  
TheArc's Avatar
Recognized Themer
Thanks Meter 1573
Posts: 2,014
Join Date: Jan 2012
Location: Auckland City
Thank you very much, you saved me from factory resetting my device.

Sent from my Nexus 5 using Tapatalk
iOS7 Kik Messenger | Svelte UI CM11 Theme | Active Launcher
 
Left4DeadMW
Old
#8  
Left4DeadMW's Avatar
Senior Member
Thanks Meter 225
Posts: 541
Join Date: Oct 2011
Location: Skopje
I believe this thread deserves more, it's help is so valuable.

Sent from my LG-P500 using XDA Free mobile app
The help you receive depends on the information you provide.

Device | LG Optimus One P500
Recovery | AmonRa 3.06
CurrentROM | CM-9.2.3-ICS.
 
MoonDogg98
Old
#9  
MoonDogg98's Avatar
Senior Member
Thanks Meter 18
Posts: 105
Join Date: Jul 2011
Location: Hot Springs, AR
Worked great.. did the Aroma method because I already had that installed... just a note. at&t Galaxy S4 4.4.2 mine was sparepassword.key and there was not password.key and I was using a password.
 
blackrose1
Old
#10  
Senior Member
Thanks Meter 11
Posts: 208
Join Date: Apr 2012
tnx dude


is there any way to bypass email verification???

if not...can you make it ...??

Tags
bypassing password, bypassing pattern, unlocking pattern
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Slide Dial Replacement Dialer Lets You Make Calls from Anywhere

If you frequently make phone calls, your dialer (aka phone app)is one of the … more

Navigate with Your Samsung Gear 2 Using DMA Navi Watch

Whether you’re travelling to a new destination or exploring some previously … more

Xperia Z1 Stereo Speaker Mod, Cell Phone Unlocking Legal Again! – XDA Developer TV

Cell Phone Unlocking is legal again!! That and much … more

[OTA Captured] Verizon LG G Pad 8.3 Finally Gets Official KitKat Update

It’s been almost nine months since the LG G Pad … more