phhusson / treble_experimentations

Notes about tinkering with Android Project Treble
3.4k stars 659 forks source link

v416 Fingerprint enrollment crashes System UI on Galaxy A31 #2470

Open MGDproductions opened 1 year ago

MGDproductions commented 1 year ago

Current Behavior:

Fingerprint enrollment crashes System UI on Galaxy A31

Describe the bug:

When i try to enroll my fingerprint from settings, with the new v416 version it now gets to the part where i have to touch the under display fingerprint scanner. But when i touch the scanner there is a vibration and System UI crashes, throwing me back at my home screen.

To Reproduce:

Try to enroll a fingerprint via the settings app.

Expected behavior:

Enrolling my fingerprint correctly.

Smartphone:

Notable logcat errors:

2022-11-09 21:21:29.994 435-435/? E/SELinux: avc: denied { find } for interface=vendor.goodix.hardware.biometrics.fingerprint::IGoodixFingerprintDaemon sid=u:r:system_server:s0 pid=7716 scontext=u:r:system_server:s0 tcontext=u:object_r:default_android_hwservice:s0 tclass=hwservice_manager permissive=0 2022-11-09 21:21:29.995 7716-7872/system_process E/UdfpsHelper: Tried sending goodix daemon cmd failed java.util.NoSuchElementException

2022-11-09 21:21:29.995 435-435/? E/SELinux: avc: denied { find } for interface=vendor.oplus.hardware.biometrics.fingerprint::IBiometricsFingerprint sid=u:r:system_server:s0 pid=7716 scontext=u:r:system_server:s0 tcontext=u:object_r:default_android_hwservice:s0 tclass=hwservice_manager permissive=0 2022-11-09 21:21:29.996 7716-7872/system_process E/UdfpsHelper: Tried sending oplus daemon cmd failed java.util.NoSuchElementException

2022-11-09 21:21:29.996 435-435/? E/SELinux: avc: denied { find } for interface=vendor.oppo.hardware.biometrics.fingerprint::IBiometricsFingerprint sid=u:r:system_server:s0 pid=7716 scontext=u:r:system_server:s0 tcontext=u:object_r:default_android_hwservice:s0 tclass=hwservice_manager permissive=0 2022-11-09 21:21:29.997 7716-7872/system_process E/UdfpsHelper: Tried sending oplus daemon cmd failed java.util.NoSuchElementException

2022-11-09 21:21:30.002 7908-7908/com.android.systemui E/SurfaceHolder: Exception locking surface java.lang.IllegalArgumentException

2022-11-09 21:21:30.004 7908-7908/com.android.systemui E/AndroidRuntime: FATAL EXCEPTION: main Process: com.android.systemui, PID: 7908 java.lang.NullPointerException: Attempt to invoke virtual method 'void android.graphics.Canvas.drawOval(android.graphics.RectF, android.graphics.Paint)' on a null object reference

MGDproductions commented 1 year ago

I guess because the fingerprint sensor is egis_fingerprint which is a wierd sensor from http://www.deviceinfohw.ru/devices/item.php?item=583414