Created
July 9, 2016 13:45
-
-
Save casperbiering/cf9f3ef8f548d3d19c1eb31659ba4234 to your computer and use it in GitHub Desktop.
Fix Android Invalid Unlock Code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Boot to recovery (and attach to PC) | |
adb shell | |
mount /system | |
/system/xbin/sqlite3 /data/system/locksettings.db | |
UPDATE locksettings SET value = '1' WHERE name = 'lockscreen.disabled'; | |
UPDATE locksettings SET value = '0' WHERE name = 'lockscreen.password_type'; | |
UPDATE locksettings SET value = '0' WHERE name = 'lockscreen.password_type_alternate'; | |
.quit | |
reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment