Esqueci o pino de um dispositivo, mas tenho acesso a uma concha de raiz com
adb shell e
Existe alguma maneira que eu poderia remover o bloqueio de pino de tela ou alterá-lo?
I have forgotten the PIN of a device but I do have access to a root shell with
adb shell and
Is there some way I could remove the screen PIN lock or change it?
if your device is not encrypted with login credentials you can delete
adb shell su -c "rm /data/system/locksettings.db*"
However, bear in mind the following files are required for FBE encryption. If you delete these files you won't be able to decrypt userdata partition, all data is lost
/data/system/gatekeeper.password.key /data/system/gatekeeper.pattern.key /data/system/locksettings.db /data/system/locksettings.db-shm /data/system/locksettings.db-wal
A brute force solution existed as I had access to fastboot too.
To remove the PIN, removed the entire userdata partition with
fastboot erase userdata
as described here: https://android.stackexchange.com/a/175887/320098