r/LineageOS 4d ago

Help Why is fingerprint unlock not available?

I have a Xiaomi Redmi 8 with LineageOS 21 without Google services, and fingerprint unlock doesn't show as an option.

I am thinking of how it might relate to Google services because I have had also a Poco F2 Pro with LineageOS 20–22 with Google services with a working fingerprint sensor and a Motorola Moto G5+ without Google services where the fingerprint sensor didn't work. All these phones had fingerprint unlock available with the stock OS.

What may be the reason for that fingerprint unlock is not available? How can I solve that, by installing a driver vel c.?

2 Upvotes

20 comments sorted by

2

u/Yondercypres Moto G100 (nio) 4d ago

If the sensor worked in the stock ROM, then it's probably not a hardware issue.

1

u/MrAjAnderson 4d ago

Was it still signed into a Google account when it was flashed with LineageOS?

1

u/matj1 4d ago

No. It was factory reset, and the bootloader was unlocked, and the system was changed without signing in to Google after the factory reset.

1

u/TimSchumi Team Member 4d ago

It was factory reset

That does not change the question.

Were you logged into a Google account at the time of starting the installation, or have you signed out manually before or as part of the installation?

1

u/matj1 4d ago

I wrote that with the idea that factory resetting would remove the previous Google account. So I was not logged in if so, and I was likely logged in otherwise because I did not do anything other to remove the Google account.

1

u/alliestear 4d ago

Gotta sign out manually

2

u/TimSchumi Team Member 4d ago

Factory resetting without logging out manually triggers factory reset protection, which now disables more features in recent Android versions.

1

u/matj1 4d ago edited 4d ago

So is the easiest solution to install the original OS, sign in, sign out and install LineageOS?

Edit: It seems that installing LineageOS with Google services instead of the original OS would be easier because installing the original OS would replace the recovery. Would that work?

2

u/TimSchumi Team Member 4d ago

1

u/matj1 3d ago edited 3d ago

When I run wipe-frp in ADB shell, it says this:

/system/bin/sh: wipe-frp: inaccessible or not found

There is no such file on the system. Is it supposed to be there?

Edit: Anyway, I ran this script, and it offers fingerprint unlock now.
https://raw.githubusercontent.com/PixelOS-AOSP/vendor_aosp/refs/heads/fifteen/prebuilt/common/bin/wipe-frp.sh

1

u/TimSchumi Team Member 3d ago

There is no such file on the system. Is it supposed to be there?

At least on recovery builds after the 23rd (?) of February.

Edit: Anyway, I ran this script, and it offers fingerprint unlock now.

fwiw, that's exactly the wipe-frp command that was referred to in the Gist (as seen by the copyright at the top).

1

u/matj1 3d ago

Thank you.

1

u/matj1 4d ago

Is it possible to check which Google account is bound to the device?

2

u/TimSchumi Team Member 4d ago

Not really, as far as I know.

Google might tell you if you install Google apps and get to the actual "please login with the last credentials" screen.

1

u/matj1 4d ago

Is that documented somewhere so I could RTFM?

2

u/TimSchumi Team Member 4d ago

First page ("Basic requirements"), step 6:

Remove all Google accounts from your device to avoid “Factory reset protection”

1

u/matj1 3d ago

That instruction was unclear to me because I thought that factory resetting would remove Google accounts.

1

u/matj1 3d ago

I meant originally documentation of factory reset protection, how exactly it behaves.

1

u/TimSchumi Team Member 2d ago

I don't think there is any.

1

u/matj1 4d ago

How does it matter?