Remove screen lock in android with ADB
1 min readMay 2, 2018
Have you forgotten the unlock pattern on your phone? Fear not it's not that hard to crack that.
Here are the steps I followed that got me to unlock a locked phone.
- Restart the phone in Recovery mode.
Switch off the phone. then press the Power button and Volume down key together to move to the Bootloader. Then select Recovery mode. - Connect the phone via USB. You need to have ADB installed in your machine. (Android Developer Bundle includes ADB)
- Run the following command on a shell
adb shell rm /data/system/gesture.key
- Restart the phone in normal mode. You will be asked to enter the pattern but any pattern will unlock the screen.