|
12345678910111213141516 |
- #!/bin/bash
-
- adb root
- adb remount
-
- # Remove old passwords
- adb shell rm /data/system/gatekeeper.password.key
- adb shell touch /data/system/gatekeeper.password.key
- adb shell rm /data/system/gatekeeper.pattern.key
- adb shell touch /data/system/gatekeeper.password.key
-
- # Copy virgin version of locksettings DB
- adb push locksettings.db-shm /data/system/
- adb push locksettings.db-wal /data/system/
-
- adb reboot
|