FORUMS

How a HTC Droid Eris Changed a Members Life

Rarely can a member say that Android development or XDA had a profound effect on … more

XDA Office Space: Frankenstein’s Perfect IM Client?

The portal’s decentralized XDA office lies in a Hangouts chatroom, where … more

Which IM Client on Android is best?

With so many different messengers to choose from, it can be tough to find the best one for you and … more

Android Factory Reset Security Flaw and More – XDA TV

Nvidia is releasing a 500Gb SHIELD TV Pro! That and much more news is … more
Thread Closed Subscribe to Thread Email Thread

Pattern Lock.. Defeated!

23rd February 2009, 09:06 PM |#1  
OP Senior Member
Flag Sunrise
Thanks Meter: 9
 
More
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.
Last edited by haykuro; 23rd February 2009 at 10:53 PM.
The Following 5 Users Say Thank You to haykuro For This Useful Post: [ View ]
 
 
Joeriginal
23rd February 2009, 10:23 PM |#2  
Guest
Thanks Meter: 0
 
More
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?
23rd February 2009, 11:18 PM |#3  
Senior Member
Flag Dallas, TX
Thanks Meter: 25
 
More
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.
24th February 2009, 03:38 AM |#4  
Senior Member
Thanks Meter: 42
 
More
Quote:
Originally Posted by Joeriginal

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.
24th February 2009, 03:44 AM |#5  
Senior Member
Flag Poughkeepsie
Thanks Meter: 3
 
More
whats the point of this?
24th February 2009, 03:49 AM |#6  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by The Great NY

whats the point of this?

http://forum.xda-developers.com/showthread.php?t=485903
24th February 2009, 03:58 AM |#7  
Senior Recognized Developer
Thanks Meter: 771
 
More
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 )
24th February 2009, 09:14 AM |#8  
Senior Member
Flag New York
Thanks Meter: 0
 
More
interesting to know

thx.
24th February 2009, 11:13 AM |#9  
sino8r's Avatar
Senior Member
Flag Birmingham, Alabama
Thanks Meter: 689
 
More
Could be useful if you forget your own pattern Maybe we can remove the regular lock screen now?
24th February 2009, 01:25 PM |#10  
Member
Thanks Meter: 0
 
More
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 to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes