os-issue-tracker icon indicating copy to clipboard operation
os-issue-tracker copied to clipboard

Cannot unlocked locked sim card (after entering wrong PIN three times)

Open PatrykMis opened this issue 1 year ago • 6 comments

  • Phone: Pixel 8
  • Version/tag: 2024070201

Steps to reproduce:

  1. Power off the phone and power on.
  2. Enter wrong PIN 3 times.
  3. Enter valid PUK.
  4. Enter two times new PIN, like asked.
  5. There is a message that PIN codes do not match.

Tried several times, but no luck. I had to put my SIM into a different phone to unlock it.

PatrykMis avatar Jul 05 '24 14:07 PatrykMis

Was this SIM working before?

thestinger avatar Jul 05 '24 14:07 thestinger

Yes, before and now.

PatrykMis avatar Jul 05 '24 15:07 PatrykMis

It's working again in your GrapheneOS Pixel 8?

thestinger avatar Jul 05 '24 15:07 thestinger

Yes, after I unlocked the card in a different device with Android 13 (not GrapheneOS) by entering PUK and setting new pin (I entered the same as before).

In my GrapheneOS device, I tried to set new PIN to be the same as before as well as 1111: it always was saying the pins do not match.

PatrykMis avatar Jul 05 '24 15:07 PatrykMis

Could it be an issue with the SIM card? It's hard to see how it could be an OS issue.

thestinger avatar Jul 05 '24 15:07 thestinger

No, it's not possible that the issue is related to the SIM card.

I think one way to reproduce and debug the problem is to temporarily set a permissive USB policy, turn on and authorize ADB, reboot the phone, lock the card by entering the wrong PIN three times, then enter the PUK and try to set a new PIN while observing the logcat.

Maybe I used the wrong subject, because the problem is not related to unlocking, but to setting a new PIN after three incorrect attempts with a locked device.

PatrykMis avatar Jul 05 '24 16:07 PatrykMis