Aqua Dark Material Theme for CM12

XDA Senior MemberSimix93prepared a nice looking theme changing the original colors into shades of green. … more

Fonts Collection for CyanogenMod 12

Check out this collection of amazing fonts ready to make your CyanogenMod 12 ROM even more beautiful. … more

Send Links to Any Nearby Device with CaastMe

There already are many solutions on the Google Play store if you want to send a link to one of … more

Samsung Galaxy S4 Is Getting Lollipop Update in Russia

Samsung Galaxy S4 users in Russia are getting the Lollipop update via OTA. The update … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Thread Closed

Pattern Lock.. Defeated!

OP haykuro

23rd February 2009, 10:06 PM   |  #1  
OP Senior Member
Flag Sunrise
Thanks Meter: 9
597 posts
Join Date:Joined: Nov 2008
EDIT: updated with step-by-step instructions.

Step 1. Download the Android 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:
> adb -d shell
# sqlite3 data/data/
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 11:53 PM.
The Following 5 Users Say Thank You to haykuro For This Useful Post: [ View ]
23rd February 2009, 11:23 PM   |  #2  
Thanks Meter: 0
n/a posts
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 that would do this?
24th February 2009, 12:18 AM   |  #3  
Senior Member
Flag Dallas, TX
Thanks Meter: 25
291 posts
Join Date:Joined: Sep 2006
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, 04:38 AM   |  #4  
Senior Member
Thanks Meter: 42
257 posts
Join Date:Joined: Feb 2009
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 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, 04:44 AM   |  #5  
Senior Member
Flag Poughkeepsie
Thanks Meter: 3
298 posts
Join Date:Joined: Oct 2008
whats the point of this?
24th February 2009, 04:49 AM   |  #6  
Junior Member
Thanks Meter: 0
18 posts
Join Date:Joined: Jan 2009
Originally Posted by The Great NY

whats the point of this?
24th February 2009, 04:58 AM   |  #7  
Senior Recognized Developer
Thanks Meter: 767
886 posts
Join Date:Joined: 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 )
24th February 2009, 10:14 AM   |  #8  
Senior Member
Flag New York
Thanks Meter: 0
104 posts
Join Date:Joined: Feb 2009
interesting to know

24th February 2009, 12:13 PM   |  #9  
sino8r's Avatar
Senior Member
Flag Birmingham, Alabama
Thanks Meter: 635
3,441 posts
Join Date:Joined: Sep 2006
Could be useful if you forget your own pattern Maybe we can remove the regular lock screen now?
24th February 2009, 02:25 PM   |  #10  
Thanks Meter: 0
66 posts
Join Date:Joined: 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 to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes