GrapheneOS / os-issue-tracker

Issue tracker for GrapheneOS Android Open Source Project hardening work. Standalone projects like Auditor, AttestationServer and hardened_malloc have their own dedicated trackers.
https://grapheneos.org/
352 stars 19 forks source link

Biometric prompt missing when switching profiles #1611

Open ghost opened 1 year ago

ghost commented 1 year ago

Biometric prompt is delayed when switching from secondary profile to owner on pixel 7.

popogomo commented 1 year ago

Same issue for me. Had to disable biometrics for secondary profile because of this. I hope AOSP devs fill fix it.

Jawshy commented 1 year ago

I'm experiencing a similar issue.

Expected: Fingerprint unlocks device after unlocking with password and locking

Actual: Can only unlock device with password

Steps to reproduce:

  1. Setup multiple profiles
  2. Register fingerprints and enable unlocking with fingerprints on all profiles
  3. With device unlocked using password, switch to another profile
  4. Unlock with password
  5. Lock device
  6. Attempt to unlock with fingerprint (may not work)
  7. Switch to another profile and unlock with fingerprint (may not work)

Allow fingerprint unlocking is enabled. I’ve rebooted my phone. I’ve noticed this issue before version: TQ3A.230605.010.2023062300. I was told in #grapheneos:grapheneos.org that this is a known upstream issue that has existed for a while and it has became more prevalent since Android 13 QPR3. Device: Pixel 6a

zachvlat commented 1 year ago

I'm experiencing a similar issue.

Expected: Fingerprint unlocks device after unlocking with password and locking

Actual: Can only unlock device with password

Steps to reproduce:

  1. Setup multiple profiles
  2. Register fingerprints and enable unlocking with fingerprints on all profiles
  3. With device unlocked using password, switch to another profile
  4. Unlock with password
  5. Lock device
  6. Attempt to unlock with fingerprint (may not work)
  7. Switch to another profile and unlock with fingerprint (may not work)

Allow fingerprint unlocking is enabled. I’ve rebooted my phone. I’ve noticed this issue before version: TQ3A.230605.010.2023062300. I was told in #grapheneos:grapheneos.org that this is a known upstream issue that has existed for a while and it has became more prevalent since Android 13 QPR3. Device: Pixel 6a

To add to this, also after multiple of unlocks via pin, eventually you can unlock it with fingerprint. I didn't count how many times I had to unlock it with pin, though.

OfficialMuffin commented 1 year ago

Same issue here on Pixel 6a. Fingerprint prompt does not show on lockscreen after switching profiles.

Build version: TQ3A.230605.010.2023062300

Peter-Harmann commented 1 year ago

I just noticed it is more specific. The fingerprint unlock works (most of the time) when I lock the phone first and switch from locked screen but does not work when switching from unlocked device.

Hope this helps.

Device: Pixel 7 pro Version: TQ3A.230605.012.2023062800

dithmal commented 1 year ago

Found kind of a workaround to this (I think). If I use an app that has biometric unlocking enabled, the fingerprint device unlock also starts working again. Mentioning here thinking it might be relevant/helpful to the devs and users.

Device: Pixel 6 Version: TQ3A.230605.010.2023062800

Cheers!

snp42 commented 1 year ago

I have the same issue on my Pixel 6a and am waiting for a fix. It is really annoying

Build-Number: TQ3A.230805.001.2023080800

WofWca commented 1 year ago

Forum posts about this:

zachvlat commented 1 year ago

I can confirm with the recent update, it works on my Pixel 7 Pro.

Peter-Harmann commented 1 year ago

I am still having the issue with build TQ3A.230805.001.2023090600 on Pixel 7 Pro

@zachvlat are you perhaps on a beta/alpha channel?

zachvlat commented 1 year ago

I am still having the issue with build TQ3A.230805.001.2023090600 on Pixel 7 Pro

@zachvlat are you perhaps on a beta/alpha channel?

no Stable

zachvlat commented 1 year ago

I can confirm with the recent update, it works on my Pixel 7 Pro.

I retract my previous statement. The issue persist.

somehuman60 commented 11 months ago

I can confirm with the recent update, it works on my Pixel 7 Pro.

I retract my previous statement. The issue persist.

For me, it started with Android 14. I never had such a problem before with Android 13. When I switch from Second Profile to Main Profile, or exit Second Profile, fingerprint sensor shows up very briefly and is replaced with Lock, so I have to enter PIN each time.

doma9on commented 8 months ago

Genuinely stumped how little response this issue has had on Google's bug tracker.. Still seeing this issue on 14 (UQ1A.240105.004) and hate having to input my PIN in public when I need to access my phone.. I've tried giving it a few mins before unlocking but bio prompt just never shows lol :)

W1zardK1ng commented 6 months ago

After updating to Android 14 QPR2 (GrapheneOS version 2024030800) this issues is resolved for me on my Pixel 6a.

matchboxbananasynergy commented 6 months ago

Doesn't actually seem to be resolved for me. Re-opening.

somehuman60 commented 6 months ago

For me is resolved on Pixel 7 Pro.

dithmal commented 6 months ago

Not resolved (Pixel 6, build number 2024030800).

GCLW1994 commented 6 months ago

Not resolved for me either. Really annoying :/

It randomly and infrequently pops up sometimes. Most of the time it just constantly switches between the locked icon and the fingerprint icon.

Pixel 6, Build 2024031100

matchboxbananasynergy commented 6 months ago

Not resolved for me either. Really annoying :/

It randomly and infrequently pops up sometimes. Most of the time it just constantly switches between the locked icon and the fingerprint icon.

Pixel 6, Build 2024031100

Could you try gettin logs from Settings > System > View logs right after reproducing this to see if we can get anything relevant from there?

GCLW1994 commented 6 months ago

Not resolved for me either. Really annoying :/ It randomly and infrequently pops up sometimes. Most of the time it just constantly switches between the locked icon and the fingerprint icon. Pixel 6, Build 2024031100

Could you try gettin logs from Settings > System > View logs right after reproducing this to see if we can get anything relevant from there?

Here you go! Hope there's nothing private, and it'll be useful (hopefully I did it right) :)

Let me know if I can help with anything else.

System log 273c6f4a8f65.txt

GCLW1994 commented 6 months ago

Not resolved for me either. Really annoying :/

It randomly and infrequently pops up sometimes. Most of the time it just constantly switches between the locked icon and the fingerprint icon.

Pixel 6, Build 2024031100

Could you try gettin logs from Settings > System > View logs right after reproducing this to see if we can get anything relevant from there?

Hey there. Seems to be a resolution in the forums: https://discuss.grapheneos.org/d/5731-bug-fingerprint-unlock-disabled-after-profile-change

Hope it works!

matchboxbananasynergy commented 6 months ago

I have confirmed that the fix in the forum post above works. I've had this issue for months, and had 5 fingers enrolled in Owner. I reduced those to 2, and it works just fine now.

FID02 commented 6 months ago

Stock PixelOS, Pixel 6a, AP1A.240305.019.A1: can't reproduce. Owner: added 4 fingerprints (which is the max it allows me). Secondary: added one fingerprint. Switched between them several times. Switching to the owner profile shows weird glitches, but after 4 seconds shows the fingerprint prompt and successfully unlocks the device with the fingerprint. Also confirmed this after a reboot.

Same settings and steps on the Pixel 8, GrapheneOS 2024032100: can reproduce. It only allows max 4 fingerprints as well.

FID02 commented 6 months ago

I can repro on stock with these steps: add 4 fingerprints in Owner, create a new guest user and switch to it, then add a fingerprint in the guest user, then exit the guest session. The owner profile lock screen then glitches out, shows the fingerprint unlock option for about 0.3 seconds a couple of times. Can only unlock with PIN.

Did these steps twice to confirm, with a reboot in between before reproing the second time.

hollunder commented 4 months ago

Same problem with Pixel 6a. The mentioned workaround does not seem to work for me. Maybe I misunderstood it, maybe someone here can rephrase/summarize how it is supposed to work?

GCLW1994 commented 4 months ago

Same problem with Pixel 6a. The mentioned workaround does not seem to work for me. Maybe I misunderstood it, maybe someone here can rephrase/summarize how it is supposed to work?

Hopefully I'm explaining this right.

Have two fingerprints registered in owner profile, two fingerprints in second profile. Can't have more than two, and also need to have the same number.

Currently, there's a new bug where the pinpad shows up when switching profiles. Workaround is to just go back i.e. swipe or button, and the fingerprint reader will come up.

Hope that clears things up and it works :)

hollunder commented 4 months ago

Same problem with Pixel 6a. The mentioned workaround does not seem to work for me. Maybe I misunderstood it, maybe someone here can rephrase/summarize how it is supposed to work?

Hopefully I'm explaining this right.

Have two fingerprints registered in owner profile, two fingerprints in second profile. Can't have more than two, and also need to have the same number.

Currently, there's a new bug where the pinpad shows up when switching profiles. Workaround is to just go back i.e. swipe or button, and the fingerprint reader will come up.

Hope that clears things up and it works :)

Thank you for your explanation!

I currently have three profiles. I tried it today with two fingerprints in each and also with one fingerprint in each, but neither worked. I guess it is time to delete one of the profiles and try again.

Regarding the back swipe or button, at least the swipe does not seem to work for me on the lock screen.

hollunder commented 4 months ago

OK, I could not get it to work with three profiles, but with two and one fingerprint each as well as with two and two fingerprints each it seems to work. Thank you!

I now also see what you mean with the other bug. I get the pin pad overlaid on the lock screen with the fingerprint sensor icon. I then need to swipe up to be able to use the fingerprint sensor.

GCLW1994 commented 4 months ago

OK, I could not get it to work with three profiles, but with two and one fingerprint each as well as with two and two fingerprints each it seems to work. Thank you!

I now also see what you mean with the other bug. I get the pin pad overlaid on the lock screen with the fingerprint sensor icon. I then need to swipe up to be able to use the fingerprint sensor.

Glad it partially fixed! Fingers crossed next AOSP update fixes all of these.

hollunder commented 4 months ago

Glad it partially fixed! Fingers crossed next AOSP update fixes all of these.

I hope so too. Bugs like these make me wonder which other bugs lurk around login and user switching. It is not exactly inspiring confidence in Android in general and GrapheneOS in particular.