瀏覽代碼

Initial commit

master
Krzysztof Kwiatkowski 8 年之前
父節點
當前提交
be944bb60e
共有 4 個檔案被更改,包括 29 行新增1 行删除
  1. +13
    -1
      README.md
  2. +16
    -0
      clean_lock_passwd.sh
  3. 二進制
     
  4. 二進制
     

+ 13
- 1
README.md 查看文件

@@ -1 +1,13 @@
# reset_android_gatekeeper_password
# Reset Android M Password

Script cleans lockscreen pattern/password/PIN (not fingerprint) from rooted Android M.

To use:
1. Connect device via USB
2. Make sure ``adb devices`` detects the device
3. Run:
```
./clean_lock_password.sh
```

Script will remove password and pattern from android filesystem and replace locksettings database.

+ 16
- 0
clean_lock_passwd.sh 查看文件

@@ -0,0 +1,16 @@
#!/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

二進制
查看文件


二進制
查看文件


Loading…
取消
儲存