ananjaser1211 / FloydQ_Reports

BUG Reporting for Exynos8890 OneUI 2.0 Project
57 stars 7 forks source link

[BUG] Fingerprint in most 3rd party apps #158

Open ananjaser1211 opened 4 years ago

ananjaser1211 commented 4 years ago

Fingerprint usage with most 3rd party apps (Such as Paypal) Does not work.

This issue exists in Pie and Q OneUI Ported ROMs. The bug happens due to using OREO mcDriver / McRegistry blobs from stock S7. while using Pie or higher libbauth server.

The conflict mainly is due to different file paths, our stock mcRegistry looks for FP auth files in /data/fp while pie switched to /data/vendor/fp.

Samsung added a migration script to help with OTA from OREO To Pie however that requires Pie mcRegistry stack in order to work.

For obvious reasons we cant use Any pie mcregistry as this is very device specific, the closest one is the note 7 fe, but due to secure_sensor (IRIS) We cant boot with it.

Right now there is no way to fix this issue. using OREO auth server causes enroll issues. and using custom HALs from AOSP for example has been unsuccessful.

While it is not "impossible" to fix, as there might be ways to shim it, right now it is very unlikely.

For reference. here is the migration service from stock Pie FWs


    # FINGERPRINT
    fp_migration /data/biometrics /data/vendor/biometrics
    mkdir /data/vendor/biometrics 0770 system system
    mkdir /data/vendor/fpSnrTest 0770 system system
    restorecon_recursive /data/vendor/biometrics
irfankhokhar commented 4 years ago

I have also same issue fingerprint not work with some third party apps

arkgnan commented 4 years ago

So, it will never fix. I think, it's ok to have this bug, but if it fixed in the next release, it will be awesome

SypeR54 commented 4 years ago

@arkgnan @irfankhokhar Sorry guys, detailed explanation done in first message. We tried to port from other SOC's mcRegistry/mcDriver but it doesn't work either. Because all mcRegistry files crypted by SOC spesific and only that origin SOC can unlock and read the files inside. (i.e 5433 mcRegistry files doesn't work on 8890 or vice versa) Until Samsung release a Pie or Q for 8890 (which is never in this case) we can't fix it.

Leymooo commented 4 years ago

So if there is notthing what can do with mcRegistry, but maybe there is something what can do with libbauth server, like adapt PIE+ auth to work with mcRegistry or adapt OREO libauth to work with pie+?

SypeR54 commented 4 years ago

@Leymooo Apps using Pie's native functions. Oreo libauth.so file doesnt have these functions. And in the end you will completely lose your "fingerprint" function. We still gonna try new things to bypass that restriction but we don't want to give false hope.

Leymooo commented 3 years ago

Looks like fingerprint in 3rd apps was fixed in LineageOS 17.1 and 18.1. Any chance that fix can be ported to OneUi roms?

ananjaser1211 commented 3 years ago

@Leymooo The fix couldn't be adapted to oneui

n00b69 commented 1 year ago

Note 7 FE has 8890 and supports OneUI, porting that or using its files doesn't work?

EDIT: Didn't read before commenting