I have a Samsung Galaxy S5 which I dropped on the ground so the screen broke. I had a swipe lock enabled. To be able to unlock it before it was repaired I locked it through Android Device Manager and tried to send commands to it from ADB. I was unsuccessful. The phone was repaired but wasn't wiped but now I can't access it. It keeps saying incorrect pin even though I know I've entered the pin I set through Android Device Manager.
I can't seem to set a new pin through ADM it says it's not needed since it is already protected by a pin.
Is there any way I can access my phone? Either:
- Backup my pictures and then reset the phone
- Bypass the lock somehow (I have ADB access and debug mode enabled)
I've tried all sorts of guides with ADB shell to remove *.key files but they don't work either because I don't have permission or because su or sqlite3 doesn't exist.
I'd prefer if I could keep the stock android image on the phone.