ADB lock screen with broken screen ( Pattern)
Andrew Henderson
My phone ( android 5.0.2) have a pattern for password and broken screen,NO ROOTED.
I try this software ()for control my phone but I can't unlock my android device.
Can you give a solution for delete lock screen (I have tried this -> adb shell rm /data/system/gesture.key but I don't have permission)/others tools or others solutions?
13 Answers
You can remove any lock or pattern by deleting a file *.key located in /data/system.
You will need a shell and a rooted phone.
Otherwise, you could install a clockworkmod recovery that comes with an adb shell and use it to get full access to the file system.
Hope this helps.
2if you aren't a root, you can not access the key file. So you can not change key or delete it. You must be root for deleting key file or changing the key file. Sorry.
1You can only install a custom recovery if your bootloader is unlocked. On Nexus devices this wipes the device, I don't know about other devices. Many are not even capable of being unlocked.
So the solution to install a custom recovery to get write access to the system partition is not likely to work unless you've previously unlocked your bootloader.