Fingerprint sensor / unlock now working on the Fairphone 6 on Linux Mobile
https://x.com/nmcmildotcom/status/2092708375465263166Open linkView original on piefed.zipSyndicated from the fediverse. Read and engage on the original instance.
View original on piefed.zip
https://x.com/nmcmildotcom/status/2092708375465263166Open linkView original on piefed.zip
18 replies
x.com ?
no, thanks.
you can be forced to biometrically unlock your phone by police
Now that i am thinking about it, There should be nothing stopping you from mapping a specific finger to either wipe data or load into a decoy. I'll look into this.
EDIT: Confirmed, the reader gives the ID of which print was matched, so a userspace implementation for per finger macros should be possible, this goes beyond unlocking or duress too, in theory any script could be called from a specific finger?
Sounds like a cool feature!
Yah, but you better be damn sure it's bulletproof recognition, especially for the wipe variant, although, being Linux a good backup strategy is a viable option, maybe gate it behind a successful restore. Seems like it could be easy to just use the wrong finger too, perhaps your subconscious hates you today. Still, options are always good.
I have touched the fingerprint reader on accident with the incorrect finger when picking the device up or something because it's on the side with the power button, but I have never had an issue where I've meant to unlock my device with the correct finger and used the wrong finger instead.
I have used the wrong finger on purpose in order to press the power button in order to bring up my lock screen without actually unlocking the phone to see the time or whatever, though so perhaps a 3 strikes your out rule would be best where if you hit the fingerprint reader with the wrong finger 3 times in a row it would then wipe
Let's say my pointer finger is the registered finger for the reader. If I want to unlock my phone, I'll just touch the fingerprint reader with my pointer finger and the phone is unlocked. If I wanted to say interact with a running media file, or check the time, I would deliberately press the power button with my middle finger, that way it registers it as a press to bring up the lock screen, but does not unlock the phone. And then, when I want into the phone next time, I would touch the fingerprint reader with my pointer finger to unlock it. If I am picking my phone up off of a table, for example, and my ring finger just happens to touch the fingerprint reader, it's obviously not going to recognize, and then once I get the phone in my hand properly, I would use my pointer finger to unlock it.
This is why I think perhaps a three-time rule might work, where if you deliberately touch the fingerprint reader three times within a short period of time with the incorrect finger, it would initiate a wipe.
I'm thinking maybe like within 10 seconds.
Could probably also make it a sequence of several fingers to reduce risk even further.
Well that's not really under my control as i don't make the sensor, but it does expose an accuracy value, so the user can set their own threshold.
Not implying it was, just pointing out the foot shooting scenario.
Thanks again for the great work.
Makes me wonder why no mainstream Android fork has bothered implementing a duress fingerprint feature. Maybe this is an opportunity for Linux phones.
Graphene has a duress PIN, but I'd like to see a feature where using the wrong fingerprint both locks the phone and opens into a fake, nondescript home screen to deceive the authorities.
The only other protection for anyone using biometrics at the moment is to reboot the device, which will always default to PIN unlock, but not so easy to do when caught by the authorities unawares.
Not if you don't register your fingerprint into the device in the first place
yeah i never use biometrics
Well then there's not much point to a fingerprint sensor is there xd
True, but if you're concerned about law enforcement forcing you to unlock your phone, PINs/passwords are still safer than fingerprint readers or cameras
Looks like he beat me to the punch, but this proves it is possible atleast. Coming soon to a fp6-img near you!
My version is also mostly ready. So expect a post about it soon.
Unrelated, but have you programmed the Moments button to do anything in your fp6 image?
No, it currently does nothing. No idea if its even in the DTS.
I suppose i can't claim true 100% hardware support without having it work and it doesn't seem much trouble so i think i'll add it as an edev and the user can decide what to do with it.
Nice! It might be a good idea to set it by default to turn on Do Not Disturb mode, to keep the functionality similar to the original OS.