Initial commit
Dieser Commit ist enthalten in:
Ursprung
a6eff7f6c3
Commit
be944bb60e
14
README.md
14
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
clean_lock_passwd.sh
Normale Datei
16
clean_lock_passwd.sh
Normale Datei
@ -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
|
BIN
locksettings.db-shm
Normale Datei
BIN
locksettings.db-shm
Normale Datei
Binäre Datei nicht angezeigt.
BIN
locksettings.db-wal
Normale Datei
BIN
locksettings.db-wal
Normale Datei
Binäre Datei nicht angezeigt.
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren