-
-
Save vaginessa/f84b852003cd485d4604 to your computer and use it in GitHub Desktop.
Remove Android PIN
This file contains hidden or 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
This method requires: | |
- Root access and debugging* enabled | |
- Reboot recovery and follow code: | |
*if debugging is not enabled it can be done from any custom recovery | |
adb shell | |
# sqlite3 /data/data/com.android.providers.settings/databases/settings.db | |
sqlite> update secure set value=65536 where name='lockscreen.password_type'; | |
sqlite> .exit | |
# exit | |
adb reboot | |
This file contains hidden or 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
adb push sqlite3 /data/local/tmp/sqlite3 | |
adb shell | |
su | |
mount -o rw,remount /system | |
cp /data/local/tmp/sqlite3 /system/xbin/ | |
rm /data/local/tmp/sqlite3 | |
chmod 755 /system/xbin/sqlite3 | |
sqlite3 -h | |
... | |
exit | |
exit | |
adb reboot |
This file contains hidden or 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
adb root | |
adb remount | |
adb push sqlite3 /system/xbin/sqlite3 | |
adb shell | |
chmod 755 /system/xbin/sqlite3 | |
sqlite3 -h | |
... | |
exit | |
adb reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment