TechDiary

Tune into here for latest happening!! and all the Tips and DIY about the IT world..

Main menu

Skip to content
  • Home
  • About

Tag Archives: unlock android pin

Post navigation

Sep 5 2012

[Guides] How to bypass the android pattern lock in case if you forgot the pattern a detailed GUIDE

Disclaimer: This is for educational and personal purposes only,You should not apply this to other people phones without permission.

Image representing Android as depicted in Crun...

So, today I am going to post a very detailed guide about how we can unlock android device pattern in-case you forgot, and can’t bypass it via official method i.e. via Google account login authentication because of you didn’t have DATA connection enabled or it was disabled before it got locked.

Actually this happened to me once, That day while going to sleep I just set a unlock pattern, but the next day when I woke and trying to wake my device, It was asking for the unlock pattern but my mind was completely back and I just forgot the pattern and it got locked.

But I tried going via Forgot pattern? option but no luck due to unable to sign in cause I have disabled the data connection last night before going to sleep. But, I somehow managed to unlock it via CWM and restored a nan-droid backup.(my device was already rooted & CWM recovery flashed, was running 2.3(Gingerbread))

This slideshow requires JavaScript.


So, later I found a way to bypass it via ADB.(android debug bridge).

These methods are confirmed working on Eclair(2.1), Froyo(2.2),Ginger-bread(2.3), Ice cream Sandwich(4.0) and Jelly-Bean(4.1) versions.

Prerequisites:

  • The device needs to have ” USB Debugging “ enabled in application settings under development menu.
  • Or in-case usb debugging isn’t enabled and you have ” cwm ” installed then you can run the same instructions from cwm.
  • Root is not mandatory but chances would be more if the device was rooted.
  • Setup ADB on your machine.(I have already explained a topic here on how to setup adb very easily in a previous guide).

Now, connect your phone USB to your computer and browse to your ABD Directory  via command prompt.

below are the commands you should be executing now one line at a time.

So, below are the commands you should be executing it via ADB.

  • 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
  • exit
  • adb shell rm /data/system/gesture.key

Instructions:

  1. Execute all the commands via adb while phone is connected via usb.
  2. Restart the phone.
  3. After rebooting you may see the pattern lock, just try any random pattern and it will unlock and then remove the pattern from settings.
0.000000 0.000000

Rate this:

Share this:

  • Tweet
  • Print
  • More
  • Email

Like this:

Like Loading...
By msonowal • Posted in All Windows, ANDROID, LINUX, Utility • Tagged android, android pattern bypass, Apple Desktop Bus, bypass pattern, commands, Debugging, forgot pattern, Gingerbread, Google, Google Account, hack, pattern, unlock android pin, USB, via
0

Post navigation

Like us on Facebook and get UPDATED

Like us on Facebook and get UPDATED

Categories

  • All Windows (14)
  • App Diary (1)
  • CPU (2)
  • Developer (1)
    • PHP (1)
  • driver (1)
  • GAMING (1)
  • hackintosh (1)
  • LINUX (5)
    • ANDROID (3)
  • Utility (5)

Trends..!

activate bypass adb amd is the best android apple Apple Desktop Bus asus AT&T awesome database backup boot from usb command prompt Compact Disc comparison computer core2quad cpu diary driver enterprise-it file folder access Filesystem permissions fix gaming Google hackintosh iBOOT Intel AMD Vmware Image download intel is the best intel vs amd iPac ipc iphone iPod ISO image issues leopard Macintosh Mac OS X Mac OSX Snow Leopard 10.6.6 manash Microsoft Microsoft Windows MongoDB motherboard ntfs file system security Operating system overclock ownership P5G41TM_LX Personal computer Run command snow Snow Leopard sonowal sync tech tech diary technology USB USB flash drive via virtualization Virtual machine VMware VMware Workstation WGATRAY.dll Windows Windows 7 windows 7 permissions Windows Genuine Advantage Windows Registry Windows Server 2003 Windows XP Window XP

Tweets!

  • Mounting an Android System For Write & Modify Operations -               @So you have an old andr... ow.ly/2EXEiw 6 years ago
  • [How To] Solve svchost.exe high CPU usage in Windows 7 or Windows 8.1 easily ow.ly/2D8gZi 7 years ago
  • [How To] Solve svchost.exe high CPU usage in Windows 7 or Windows 8.1 easily wp.me/p1Iwxn-7a fb.me/3jIuXfY7j 7 years ago
  • Solve svchost.exe high CPU usage in Windows 7 [How To] wp.me/p1Iwxn-78 fb.me/6Bopy38uP 7 years ago
  • How to Detect Browser Type in PHP - PHP is a very versatile web programming language that allows web server to ser... ow.ly/2D2cdm 7 years ago
Follow @techdiary2008

Blog Stats

  • 58,271 hits

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 324 other followers

Archives

  • March 2014
  • January 2014
  • December 2013
  • February 2013
  • September 2012
  • August 2012
  • June 2012
  • May 2012
  • April 2012
  • August 2011
  • July 2011
  • April 2008
January 2021
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031
« Mar    

  • msonowal
  • Samuel
Blog at WordPress.com.
Cancel
loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
%d bloggers like this: