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

    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.
     
  2. minueh_12

    minueh_12 Enthusiast Established

  3. Jaymark123

    Jaymark123 Forum Guru Established

  4. G Flum

    G Flum PHC Master Established

    Keep on sharing boss (y)
     
  5. this is interesting...
     
  6. mharpogi02

    mharpogi02 Enthusiast Established

  7. buLad1234

    buLad1234 Forum Veteran Established

  8. mochateddy

    mochateddy Grasshopper Established

  9. JeRiMy1225

    JeRiMy1225 Addict Established

  10. AsulusA

    AsulusA Honorary Poster Established

  11. prince_zeus

    prince_zeus Enthusiast Established

    Nice sir thanks for info.
     
  12. mack2016

    mack2016 Enthusiast Established

  13. Poksa

    Poksa Enthusiast Established

  14. Makiapps28

    Makiapps28 Addict Established

  15. vladilus

    vladilus Journeyman Established

    Salamat dito ts, maiiwasan ko Na ireset yung phone may 2nd option pa.
     
  16. azura666

    azura666 Addict Established

  17. thanks for sharing boss
     
  18. JOHN STEPHEN

    JOHN STEPHEN Addict Established

    wow.. salamat ts. galing nito :)
     
Tags / Keywords: