This is mostly common knowlegde by many users and already explained in another topic but in the last couple of days i needed to help some guys with a lockscreen problem like wrong PIN, pattern or password for whatever reason it started.
Instead of deleting some files I made a small flashable zip which can be held on your extSD in case something might go wrong in future
Normally with deleting in twrp file manager : /data/system/locksettings.db you would be good to go.
In other cases you might need to delete :
/data/system/gatekeeper.password.key
/data/system/gatekeeper.patern.key
/data/system/locksettings.db
/data/system/locksettings.db-shm
/data/system/locksettings.db-wal
Anyway, just flash this zip : A2017X_remove _all_ locksettings NEW VERSION due to typo - thnx @dnlilas
......and password, pattern and pin will be removed :good:
Btw, if you have FP + pin, pattern or password and apply this zip, only the FP remain. Pin, pattern or password are gone.
Tested on G version. Should work on U/CN too although in some cases it had no effect. Just try and see
Instead of deleting some files I made a small flashable zip which can be held on your extSD in case something might go wrong in future
Normally with deleting in twrp file manager : /data/system/locksettings.db you would be good to go.
In other cases you might need to delete :
/data/system/gatekeeper.password.key
/data/system/gatekeeper.patern.key
/data/system/locksettings.db
/data/system/locksettings.db-shm
/data/system/locksettings.db-wal
Anyway, just flash this zip : A2017X_remove _all_ locksettings NEW VERSION due to typo - thnx @dnlilas
......and password, pattern and pin will be removed :good:
Btw, if you have FP + pin, pattern or password and apply this zip, only the FP remain. Pin, pattern or password are gone.
Tested on G version. Should work on U/CN too although in some cases it had no effect. Just try and see
Last edited: