android hack

In a previous article I had explained methods to unlock your device when you forget the password. However those methods required you to remember your Google account’s password too. But what if you forget that too? There was another way which included doing a factory reset, but that tends to loose all your data. However, there is one method that can help you unlock your phone when you forget your password. This method is described as below.

Requirements:

  • Android SDK installed on your PC or download this ADB-Fastboot package
  • USB cable
  • (Possible amnesia to forget your password)

Process:

  1. Go to the folder where Android SDK is installed normally “C:/Users/username/android-sdks/platform-tools” or if you don’t have Android SDK download the provided package and unzip it at a convenient location.
  2. Once in the folder where adb is located press “shift + right click” and select “open command window here”
  3. Now connect your locked device to the PC.
  4. Type the following code in cmd:

    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

    (press enter key after every line)pattern crack

  5. Now type

    adb restart

    to restart your device.

  6. Close that cmd window and follow step 2 again to open a new cmd window.
  7. Once the device has restarted type the following line in cmd:

    adb shell rm /data/system/gesture.key

    pattern crack 2

  8. Now simply enter any pattern and the phone should unlock
  9. No go to “Settings>>Lock Screen>>Screen Security” and disable or set a new lock code.

You might also like these post :

About Sir Tech-A-Lot

My Friends call me Sir Tech-a-lot, cause well I constantly importune them with the latest news on mobiles and apps. So they trapped me in a room and gave me a blog to pester the entire world. Connect with me on Facebook: https://www.facebook.com/SirTechALot | Add my circles on Google+ :

One Comment

  1. galaxyS
    Posted July 5, 2013 at 3:00 pm | Permalink

    “adb devices” doesn’t show any devices connected, so can’t create a shell but when i go through “my coumpter” i can see the storage device. Can you help me with this? btw my device is galaxyS1.

Leave a Reply

Your email address will not be published. Required fields are marked *