You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 line
403 B

  1. #!/bin/bash
  2. adb root
  3. adb remount
  4. # Remove old passwords
  5. adb shell rm /data/system/gatekeeper.password.key
  6. adb shell touch /data/system/gatekeeper.password.key
  7. adb shell rm /data/system/gatekeeper.pattern.key
  8. adb shell touch /data/system/gatekeeper.password.key
  9. # Copy virgin version of locksettings DB
  10. adb push locksettings.db-shm /data/system/
  11. adb push locksettings.db-wal /data/system/
  12. adb reboot