1. Welcome to PHCorner Forums. Take a moment to Sign up and gain unlimited access and extra privileges that guests are not entitled to, such as:

    All that and more! Registration is quick, simple and absolutely free. Join our community today!

How to unlock android lock pattern using cmd !

Discussion in 'Android Phones' started by kuligma, Oct 3, 2016.

  1. Today I am going to share that how to unlock the pattern lock of your android phone. So don't worry if u have forgotten your pattern. Enjoy this and share.

    Step 1: Connect your Android Phone to Your Computer.

    Step 2: Open Command Prompt as Administrator.

    Step 3: Now in command prompt window type the following code carefully exactly as it is and then press enter.

    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';

    Step 4: Now you will some screen as shown below and then you can reboot your phone and now when your will start again then try unlocking your phone using any random lock pattern and it will work pretty fine.

    Step 5: If you face any problem repeat same steps but instead of the above code try using adb shell rm/data/system/gesture.key and then press enter and now try rebooting your device to see if it works.
    jami16, prince_zeus, AsulusA and 4 others like this.
  2. minueh_12

    minueh_12 Enthusiast Established

  3. Lil Malware

    Lil Malware Forum Guru Established

  4. logshotz

    logshotz PHC Contributor Established

    Top Poster Of Month

    this is interesting...
  5. mharpogi02

    mharpogi02 Journeyman Established

  6. buLad1234

    buLad1234 Forum Veteran Established

  7. mochateddy

    mochateddy Grasshopper Established

  8. JeRiMy1225

    JeRiMy1225 Addict Established

  9. prince_zeus

    prince_zeus Enthusiast Established

  10. mack2016

    mack2016 Enthusiast Established

  11. Makiapps28

    Makiapps28 Addict Established

Tags / Keywords: