Skip to content

I did 'adb locksettings clear --old XXXXXX' and now my device ask for a PIN I don't know #6020

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
KingPowa opened this issue Apr 19, 2025 · 2 comments

Comments

@KingPowa
Copy link

As the title, after restart of my phone it is asking for a PIN I don't know. I cleared it while using it via scrcpy and now it is failing. Any suggestion?

@jaredcat
Copy link

jaredcat commented Apr 29, 2025

Sounds like you might be locked out and need to reformat your device

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

https://android.stackexchange.com/questions/224407/reset-pin-from-adb-shell

@KingPowa
Copy link
Author

Sounds like you might be locked out and need to reformat your device

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

https://android.stackexchange.com/questions/224407/reset-pin-from-adb-shell

I don't care to lose the data since I was able to recover everything prior rebooting. I was wondering if this instruction causes reset of the password with a default PIN. It seems very strange this happened after rebooting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants