Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,729,619 Members 46,760 Now Online
XDA Developers Android and Mobile Development Forum

Pattern Lock.. Defeated!

Tip us?
 
haykuro
Old
(Last edited by haykuro; 23rd February 2009 at 10:53 PM.)
#1  
Senior Member - OP
Thanks Meter 9
Posts: 597
Join Date: Nov 2008
Location: Sunrise
Default Pattern Lock.. Defeated!

EDIT: updated with step-by-step instructions.

Step 1. Download the Android SDK (http://developer.android.com/sdk/)
Step 2. Make sure to configure the ADB usb interface drivers (search the forums for more information on this if you're confused.)
Step 3. Plug your G1 into your computer (via usb). (Settings -> Application -> Development -> USB Debugging, must be enabled [it is enabled by default in JesusFreke releases i think])
Step 4. Open command prompt and enter the following:
Code:
> adb -d shell
# sqlite3 data/data/com.android.providers.settings/databases/settings.db
sqlite> update system set value=0 where name='lock_pattern_autolock';
sqlite> .exit
# exit
Step 5. Now power off the phone, and turn it back on. Tada! No more pattern lock.
The Following 5 Users Say Thank You to haykuro For This Useful Post: [ Click to Expand ]
Joeriginal Old
#2  
Guest
Thanks Meter
Posts: n/a
Sorry, Im speaking on behalf of the simpler folk, but how exactly do you go about doing this, and if so can you make an update.zip that would do this?
 
twistkill
Old
#3  
Senior Member
Thanks Meter 24
Posts: 289
Join Date: Sep 2006
Location: Dallas, TX
hey haykuro, probably you should post this in the development sub-forums..
anyways great stuff man..the code looks so simple lol..i am sure you toiled hard tho!
thanks again.
Nokia 3310 > Samsung R210 > Nokia 6610 > Nokia 6600 > SE T610 > Motorola RAZR > Nokia 6630 > QTEK 8300 > HTC Kaiser > iPhone > HTC G1 > Nokia N78 > iPhone 3GS > Nokia N97 > Samsung Vibrant > Galaxy Nexus > Nexus 4 >

Nexus 5
PA|franco.Kernel
 
Ron Overdrive
Old
#4  
Senior Member
Thanks Meter 41
Posts: 256
Join Date: Feb 2009
Quote:
Originally Posted by Joeriginal View Post
Sorry, Im speaking on behalf of the simpler folk, but how exactly do you go about doing this, and if so can you make an update.zip that would do this?
None of this is done on the phone itself. It's done using the adb utility for your computer. Just download the adb.exe file and the USB drivers then repeat the commands shown above at your command prompt.
 
The Great NY
Old
#5  
Senior Member
Thanks Meter 3
Posts: 298
Join Date: Oct 2008
Location: Poughkeepsie
whats the point of this?
HTC One Dev. Edition (Rooted+Stock Rom)
TRWP Recovery

T-Mobile G2 - rooted
Rom: Shokouhi Saga G2 Gingerbread Sense 3.0
Clockwork Recovery 3.0+
Newest Radio

T-Mobile G1 Black - retired (original from Oct 08') (SOLD)
ROM: Froyo'd Out
SD: 16GB
Radio: 2.22.19.26I
SPL: 1.33.2005 (aka DANGER!)
Recovery: Amon_RA-Dream-1.5.2
 
masterjedidan
Old
#6  
Junior Member
Thanks Meter 0
Posts: 18
Join Date: Jan 2009
Quote:
Originally Posted by The Great NY View Post
whats the point of this?
http://forum.xda-developers.com/showthread.php?t=485903
 
coolbho3000
Old
#7  
Senior Recognized Developer
Thanks Meter 758
Posts: 886
Join Date: Dec 2008
Yay! Now I can finally use that stolen G1!

J/k I already got rid of the previous owner's account by flashing DREAIMG.NBH

(No, I did not really steal a G1 )
Galaxy Nexus (GSM)
Control your Android phone's CPU! SetCPU for Root Users
Follow me on Twitter!

Like my work? Buy SetCPU on the market or buy me some [insert drink here].
 
Nitro212
Old
#8  
Senior Member
Thanks Meter 0
Posts: 104
Join Date: Feb 2009
Location: New York
interesting to know

thx.
 
sino8r
Old
#9  
sino8r's Avatar
Senior Member
Thanks Meter 539
Posts: 3,301
Join Date: Sep 2006
Location: Birmingham, Alabama
Could be useful if you forget your own pattern Maybe we can remove the regular lock screen now?
evolution
HTC Wizard G3
HTC Excalibur
HTC Dream
HTC Sapphire
HTC Rhodium
HTC Espresso
HTC Glacier
HTC Vision
HTC Doubleshot
Samsung Note 2

My recent works:
2G/3G/4G/H+ icons for CM7.1 and Nightly

How to defeat data throttling

2.1 with JIT enabled on MTS

boot animation (Nexus "X"/HTC "quietly brilliant") for MTS
 
ICBM
Old
#10  
Member
Thanks Meter 0
Posts: 66
Join Date: Feb 2009
As a follow-up, how difficult would it be to replace the regular lock screen with a different one (non-pattern based)? I struggle with the pattern one, because it's pretty easy for anybody to hold the phone up to the light to see the pattern. Would be useful to have a different, more secure lock screen.

THREAD CLOSED
Subscribe
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Make Your Own DIY Capacitive Stylus

The XDA Portal is a place where we like to talkabout things that are interesting, fun, and sometimes … more

Remove Unnecessary WhatsApp Elements with Xposed

In modern life, you can’t underestimate the power ofthe dark sidemessaging … more