-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Hello
I have managed to compile the crdroid https://github.com/crdroidandroid rom with your sources and everything works correctly with the exception of the fingerprint sensor. I can register fingerprints and the device is unlocked correctly at the beginning, but after I turn on and off the screen several times the following message appears in the screen of the device: "fingerprint hardware issue" and the screen starts turning on and off and the device becomes unusable.
This is the logcat of the error:
05-04 07:08:04.997 2447 2447 D WVCdm : PrepareKeyRequest: nonce=3081831643
05-04 07:08:04.998 2863 2863 W View : requestLayout() improperly called by android.widget.TextView{fe4cc26 V.ED..... ......ID 6,0-97,72 #7f0a005d app:id/battery_percentage_view} during layout: running second layout pass
05-04 07:08:05.003 2863 2863 W View : requestLayout() improperly called by android.widget.TextView{fe4cc26 V.ED..... ........ 6,0-97,72 #7f0a005d app:id/battery_percentage_view} during second layout pass: posting in next frame
05-04 07:08:05.017 2863 2863 W View : requestLayout() improperly called by android.widget.TextView{fe4cc26 V.ED..... ......ID 6,0-97,72 #7f0a005d app:id/battery_percentage_view} during layout: running second layout pass
05-04 07:08:05.021 2863 2863 W View : requestLayout() improperly called by android.widget.TextView{fe4cc26 V.ED..... ........ 6,0-97,72 #7f0a005d app:id/battery_percentage_view} during second layout pass: posting in next frame
05-04 07:08:05.031 2863 2863 W View : requestLayout() improperly called by android.widget.TextView{fe4cc26 V.ED..... ......ID 6,0-97,72 #7f0a005d app:id/battery_percentage_view} during layout: running second layout pass
05-04 07:08:05.037 2863 2863 W View : requestLayout() improperly called by android.widget.TextView{fe4cc26 V.ED..... ........ 6,0-97,72 #7f0a005d app:id/battery_percentage_view} during second layout pass: posting in next frame
05-04 07:08:05.048 2863 2863 W View : requestLayout() improperly called by android.widget.TextView{fe4cc26 V.ED..... ......ID 6,0-97,72 #7f0a005d app:id/battery_percentage_view} during layout: running second layout pass
05-04 07:08:05.053 2863 2863 W View : requestLayout() improperly called by android.widget.TextView{fe4cc26 V.ED..... ........ 6,0-97,72 #7f0a005d app:id/battery_percentage_view} during second layout pass: posting in next frame
05-04 07:08:05.065 2863 2863 W View : requestLayout() improperly called by android.widget.TextView{fe4cc26 V.ED..... ......ID 6,0-97,72 #7f0a005d app:id/battery_percentage_view} during layout: running second layout pass
05-04 07:08:05.069 2470 2516 E McDaemon: *****************************
05-04 07:08:05.069 2470 2516 E McDaemon: *** ERROR: <t-base halted. Status dump:
05-04 07:08:05.069 2470 2516 E McDaemon: *** Detected in dumpMobicoreStatus/317()
05-04 07:08:05.069 2470 2516 E McDaemon: *****************************
05-04 07:08:05.070 2470 2516 E McDaemon: *****************************
05-04 07:08:05.070 2470 2516 E McDaemon: *** ERROR: waiting for MCP notification failed
05-04 07:08:05.070 2470 2516 E McDaemon: *** Detected in mshNotifyAndWait/403()
05-04 07:08:05.070 2863 2863 W View : requestLayout() improperly called by android.widget.TextView{fe4cc26 V.ED..... ........ 6,0-97,72 #7f0a005d app:id/battery_percentage_view} during second layout pass: posting in next frame
05-04 07:08:05.070 2470 2516 E McDaemon: *****************************
05-04 07:08:05.070 2470 2516 E McDaemon: *****************************
05-04 07:08:05.070 2470 2516 E McDaemon: *** ERROR: mshNotifyAndWait failed for CLOSE_SESSION, code 15.
05-04 07:08:05.070 2470 2516 E McDaemon: *** Detected in sendSessionCloseCmd/166()
05-04 07:08:05.070 2470 2516 E McDaemon: *****************************
05-04 07:08:05.070 2470 2516 E McDaemon: *****************************
05-04 07:08:05.068 2505 2505 W fingerprint@2.1: type=1701 audit(0.0:223): auid=4294967295 uid=1000 gid=1000 ses=4294967295 subj=u:r:hal_fingerprint_default:s0 reason="memory violation" sig=11
05-04 07:08:05.070 2470 2516 E McDaemon: *** ERROR: sendSessionCloseCmd error 15
05-04 07:08:05.070 2470 2516 E McDaemon: *** Detected in closeSessionInternal/191()
05-04 07:08:05.070 2470 2516 E McDaemon: *****************************
05-04 07:08:05.070 2470 2516 E McDaemon: *****************************
05-04 07:08:05.070 2470 2516 E McDaemon: *** ERROR: closeSession failed with 3855
05-04 07:08:05.070 2470 2516 E McDaemon: *** Detected in closeSession/677()
05-04 07:08:05.070 2470 2516 E McDaemon: *****************************
05-04 07:08:05.070 2505 2514 E McClient: *****************************
05-04 07:08:05.070 2505 2514 E McClient: *** ERROR: CMD_CLOSE_SESSION failed, respId=986895
05-04 07:08:05.070 2505 2514 E McClient: *** Detected in mcCloseSession/949()
05-04 07:08:05.070 2505 2514 E McClient: *****************************
05-04 07:08:05.070 2505 2514 E tlc_communication: *****************************
05-04 07:08:05.070 2505 2514 E tlc_communication: *** ERROR: Closing the Driver session is failed : 7
05-04 07:08:05.070 2505 2514 E tlc_communication: *** Detected in tlc_close/157()
05-04 07:08:05.070 2505 2514 E tlc_communication: *****************************
05-04 07:08:05.070 2470 2516 E McDaemon: *****************************
05-04 07:08:05.071 2470 2516 E McDaemon: *** ERROR: waiting for MCP notification failed
05-04 07:08:05.071 2470 2516 E McDaemon: *** Detected in mshNotifyAndWait/403()
05-04 07:08:05.071 2470 2516 E McDaemon: *****************************
05-04 07:08:05.071 2470 2516 E McDaemon: *****************************
05-04 07:08:05.071 2470 2516 E McDaemon: *** ERROR: mshNotifyAndWait failed for CLOSE_SESSION, code 15.
05-04 07:08:05.071 2470 2516 E McDaemon: *** Detected in sendSessionCloseCmd/166()
05-04 07:08:05.071 2470 2516 E McDaemon: *****************************
05-04 07:08:05.071 2470 2516 E McDaemon: *****************************
05-04 07:08:05.071 2470 2516 E McDaemon: *** ERROR: sendSessionCloseCmd error 15
05-04 07:08:05.071 2470 2516 E McDaemon: *** Detected in closeSessionInternal/191()
05-04 07:08:05.071 2470 2516 E McDaemon: *****************************
05-04 07:08:05.071 2470 2516 E McDaemon: *****************************
05-04 07:08:05.071 2470 2516 E McDaemon: *** ERROR: closeSession failed with 3855
05-04 07:08:05.071 2470 2516 E McDaemon: *** Detected in closeSession/677()
05-04 07:08:05.071 2470 2516 E McDaemon: *****************************
05-04 07:08:05.071 2470 2516 E McDaemon: *****************************
05-04 07:08:05.071 2470 2516 E McDaemon: *** ERROR: waiting for MCP notification failed
05-04 07:08:05.071 2470 2516 E McDaemon: *** Detected in mshNotifyAndWait/403()
05-04 07:08:05.071 2470 2516 E McDaemon: *****************************
05-04 07:08:05.071 2470 2516 E McDaemon: *****************************
05-04 07:08:05.071 2470 2516 E McDaemon: *** ERROR: mshNotifyAndWait failed for CLOSE_SESSION, code 15.
05-04 07:08:05.071 2470 2516 E McDaemon: *** Detected in sendSessionCloseCmd/166()
05-04 07:08:05.071 2470 2516 E McDaemon: *****************************
05-04 07:08:05.071 2470 2516 E McDaemon: *****************************
05-04 07:08:05.071 2470 2516 E McDaemon: *** ERROR: sendSessionCloseCmd error 15
05-04 07:08:05.071 2470 2516 E McDaemon: *** Detected in closeSessionInternal/191()
05-04 07:08:05.071 2470 2516 E McDaemon: *****************************
05-04 07:08:05.071 2470 2516 E McDaemon: *****************************
05-04 07:08:05.071 2470 2516 E McDaemon: *** ERROR: closeSession failed with 3855
05-04 07:08:05.071 2470 2516 E McDaemon: *** Detected in closeSession/677()
05-04 07:08:05.071 2470 2516 E McDaemon: *****************************
05-04 07:08:05.071 2505 2514 E McClient: *****************************
05-04 07:08:05.071 2505 2514 E McClient: *** ERROR: reading from Daemon failed
05-04 07:08:05.071 2505 2514 E McClient: *** Detected in mcCloseSession/946()
05-04 07:08:05.071 2505 2514 E McClient: *****************************
05-04 07:08:05.071 2505 2514 E McClient: *****************************
05-04 07:08:05.072 2505 2514 E McClient: *** ERROR: Connection is dead, removing device.
05-04 07:08:05.072 2505 2514 E McClient: *** Detected in mcCloseSession/967()
05-04 07:08:05.072 2505 2514 E McClient: *****************************
05-04 07:08:05.072 2505 2514 E tlc_communication: *****************************
05-04 07:08:05.072 2505 2514 E tlc_communication: *** ERROR: Closing the Trustlet session is failed : 15
05-04 07:08:05.072 2505 2514 E tlc_communication: *** Detected in tlc_close/164()
05-04 07:08:05.072 2505 2514 E tlc_communication: *****************************
05-04 07:08:05.072 2505 2514 I tlc_communication: Free WSM;171
05-04 07:08:05.072 2505 2514 E McClient: *****************************
05-04 07:08:05.072 2505 2514 E McClient: *** ERROR: Device has not been found
05-04 07:08:05.072 2505 2514 E McClient: *** Detected in mcFreeWsm/1182()
05-04 07:08:05.072 2505 2514 E McClient: *****************************
05-04 07:08:05.072 2505 2514 E tlc_communication: *****************************
05-04 07:08:05.072 2505 2514 E tlc_communication: *** ERROR: Free WSM for Trustlet is failed : 7
05-04 07:08:05.072 2505 2514 E tlc_communication: *** Detected in tlc_close/175()
05-04 07:08:05.072 2505 2514 E tlc_communication: *****************************
05-04 07:08:05.072 2505 2514 E McClient: *****************************
05-04 07:08:05.072 2505 2514 E McClient: *** ERROR: Device has not been found
05-04 07:08:05.072 2505 2514 E McClient: *** Detected in mcFreeWsm/1182()
05-04 07:08:05.072 2505 2514 E McClient: *****************************
05-04 07:08:05.072 2505 2514 E tlc_communication: *****************************
05-04 07:08:05.072 2505 2514 E tlc_communication: *** ERROR: Free WSM for Driver is failed : 7
05-04 07:08:05.072 2505 2514 E tlc_communication: *** Detected in tlc_close/182()
05-04 07:08:05.072 2505 2514 E tlc_communication: *****************************
05-04 07:08:05.072 2505 2514 I tlc_communication: Closing MobiCore device;189
05-04 07:08:05.072 2505 2514 E McClient: *****************************
05-04 07:08:05.072 2505 2514 E McClient: *** ERROR: Device not open
05-04 07:08:05.072 2505 2514 E McClient: *** Detected in mcCloseDevice/291()
05-04 07:08:05.072 2505 2514 E McClient: *****************************
05-04 07:08:05.072 2505 2514 E tlc_communication: *****************************
05-04 07:08:05.072 2505 2514 E tlc_communication: *** ERROR: Closing MobiCore device is failed : 33
05-04 07:08:05.073 2505 2514 E tlc_communication: *** Detected in tlc_close/197()
05-04 07:08:05.073 2505 2514 E tlc_communication: *****************************
05-04 07:08:05.073 2505 2514 I tlc_communication: tlc_close() successed;202
05-04 07:08:05.073 2505 2514 E TLC_BAUTH: *****************************
05-04 07:08:05.073 2505 2514 E TLC_BAUTH: *** ERROR: Close Trustlet Session is failed!!!
05-04 07:08:05.073 2505 2514 E TLC_BAUTH: *** Detected in BAuth_SessionClose/796()
05-04 07:08:05.073 2505 2514 E TLC_BAUTH: *****************************
05-04 07:08:05.073 2505 2514 D bauth_FPBAuthService: FPBAuthService, 6459
05-04 07:08:05.073 2505 2514 D bauth_FPBAuthService: FPBAuthService, 6654
05-04 07:08:05.073 2505 2514 D bauth_FPBAuthService: FPBAuthService, 6291
05-04 07:08:05.073 2505 6562 E McClient: *****************************
05-04 07:08:05.073 2505 2514 D bauth_FPBAuthService: FPBAuthService, 6268
05-04 07:08:05.073 2505 2514 D bauth_FPBAuthService: FPBAuthService, 6391
05-04 07:08:05.073 2505 6562 E McClient: *** ERROR: Device has not been found
05-04 07:08:05.073 2505 2514 D bauth_FPBAuthService: FPBAuthService, 6643
05-04 07:08:05.073 2505 6562 E McClient: *** Detected in mcMap/1236()
05-04 07:08:05.073 2505 2514 D bauth_FPBAuthService: FPBAuthService, 6654
05-04 07:08:05.073 2505 6562 E McClient: *****************************
05-04 07:08:05.073 2505 2514 D bauth_FPBAuthService: FPBAuthService, 6287
05-04 07:08:05.073 2505 6562 E TLC_BAUTH: *****************************
05-04 07:08:05.073 2505 2514 D bauth_FPBAuthService: FPBAuthService, 6338
05-04 07:08:05.073 2505 6562 E TLC_BAUTH: *** ERROR: Error during memory registration for inp data : 0x7
05-04 07:08:05.073 2505 2514 D bauth_FPBAuthService: FPBAuthService, 6291
05-04 07:08:05.073 2505 6562 E TLC_BAUTH: *** Detected in BAuth_SessionOpen/571()
05-04 07:08:05.073 2505 6562 E TLC_BAUTH: *****************************
05-04 07:08:05.073 2505 6562 E TLC_BAUTH: *****************************
05-04 07:08:05.073 2505 6572 D bauth_FPBAuthService: BAuthSessionOpen Skip
05-04 07:08:05.073 2505 6562 E TLC_BAUTH: *** ERROR: error out during session open
05-04 07:08:05.073 2505 6562 E TLC_BAUTH: *** Detected in BAuth_SessionOpen/673()
05-04 07:08:05.073 2505 6562 E TLC_BAUTH: *****************************
05-04 07:08:05.073 2505 6562 I TLC_BAUTH: Call FUNC ID 0x4;685
05-04 07:08:05.073 2505 6572 D bauth_FPBAuthService: FPBAuthService, 2789
05-04 07:08:05.073 2505 6562 E bauth_FPBAuthService: [fp_sigh] : 11
05-04 07:08:05.073 2505 6562 D bauth_FPBAuthService: FPBAuthService, 6321
05-04 07:08:05.073 2505 6562 I TLC_BAUTH: Call FP cmd 0xa;1496
05-04 07:08:05.073 2505 6562 I TLC_BAUTH: status : 1, cmd : 0x0xea700000 rsp : 0x0x0;1506
05-04 07:08:05.073 2505 6562 E TLC_BAUTH: *****************************
05-04 07:08:05.073 2505 6562 E TLC_BAUTH: *** ERROR: TZ Session is not opened properly - Ignore
05-04 07:08:05.074 2505 6562 E TLC_BAUTH: *** Detected in BAuth_Cancel/1506()
05-04 07:08:05.074 2505 6562 E TLC_BAUTH: *****************************
05-04 07:08:05.074 2505 6562 E bauth_FPBAuthService: [fp_sigh] BAuth_Cancel Fail
05-04 07:08:05.079 2626 3539 V FingerprintService: fingerprint HAL died
05-04 07:08:05.080 2626 3539 W FingerprintService: Got ERROR_HW_UNAVAILABLE; try reconnecting next client.
05-04 07:08:05.083 2863 2863 W View : requestLayout() improperly called by android.widget.TextView{fe4cc26 V.ED..... ......ID 6,0-97,72 #7f0a005d app:id/battery_percentage_view} during layout: running second layout pass
05-04 07:08:05.087 2863 2863 W View : requestLayout() improperly called by android.widget.TextView{fe4cc26 V.ED..... ........ 6,0-97,72 #7f0a005d app:id/battery_percentage_view} during second layout pass: posting in next frame
05-04 07:08:05.102 2863 2863 W View : requestLayout() improperly called by android.widget.TextView{fe4cc26 V.ED..... ......ID 6,0-97,72 #7f0a005d app:id/battery_percentage_view} during layout: running second layout pass
05-04 07:08:05.106 2863 2863 W View : requestLayout() improperly called by android.widget.TextView{fe4cc26 V.ED..... ........ 6,0-97,72 #7f0a005d app:id/battery_percentage_view} during second layout pass: posting in next frame
05-04 07:08:05.115 2863 2863 W View : requestLayout() improperly called by android.widget.TextView{fe4cc26 V.ED..... ......ID 6,0-97,72 #7f0a005d app:id/battery_percentage_view} during layout: running second layout pass
05-04 07:08:05.120 2863 2863 W View : requestLayout() improperly called by android.widget.TextView{fe4cc26 V.ED..... ........ 6,0-97,72 #7f0a005d app:id/battery_percentage_view} during second layout pass: posting in next frame
05-04 07:08:05.133 2863 2863 W View : requestLayout() improperly called by android.widget.TextView{fe4cc26 V.ED..... ......ID 6,0-97,72 #7f0a005d app:id/battery_percentage_view} during layout: running second layout pass
05-04 07:08:05.141 2863 2863 W View : requestLayout() improperly called by android.widget.TextView{fe4cc26 V.ED..... ........ 6,0-97,72 #7f0a005d app:id/battery_percentage_view} during second layout pass: posting in next frame
05-04 07:08:05.150 2863 2863 W View : requestLayout() improperly called by android.widget.TextView{fe4cc26 V.ED..... ......ID 6,0-97,72 #7f0a005d app:id/battery_percentage_view} during layout: running second layout pass
05-04 07:08:05.155 2863 2863 W View : requestLayout() improperly called by android.widget.TextView{fe4cc26 V.ED..... ........ 6,0-97,72 #7f0a005d app:id/battery_percentage_view} during second layout pass: posting in next frame
05-04 07:08:05.158 6801 6801 D android.hardware.biometrics.fingerprint@2.1-service: Opening fingerprint hal library...
05-04 07:08:05.167 2863 2863 W View : requestLayout() improperly called by android.widget.TextView{fe4cc26 V.ED..... ......ID 6,0-97,72 #7f0a005d app:id/battery_percentage_view} during layout: running second layout pass
05-04 07:08:05.171 2863 2863 W View : requestLayout() improperly called by android.widget.TextView{fe4cc26 V.ED..... ........ 6,0-97,72 #7f0a005d app:id/battery_percentage_view} during second layout pass: posting in next frame
05-04 07:08:05.184 2863 2863 W View : requestLayout() improperly called by android.widget.TextView{fe4cc26 V.ED..... ......ID 6,0-97,72 #7f0a005d app:id/battery_percentage_view} during layout: running second layout pass
05-04 07:08:05.221 5369 5369 I Binder:5369_4: type=1400 audit(0.0:224): avc: denied { open } for path="/dev" dev="tmpfs" ino=1212 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:device:s0 tclass=dir permissive=1
05-04 07:08:05.221 5369 5369 W Binder:5369_4: type=1300 audit(0.0:224): arch=40000028 syscall=322 per=8 success=yes exit=61 a0=ffffff9c a1=d2cfcd11 a2=20000 a3=0 items=0 ppid=2438 auid=4294967295 uid=10020 gid=10020 euid=10020 suid=10020 fsuid=10020 egid=10020 sgid=10020 fsgid=10020 ses=4294967295 tty=(none) exe="/system/bin/app_process32" subj=u:r:priv_app:s0:c512,c768 key=(null)
05-04 07:08:05.221 2423 2423 W auditd : type=1327 audit(0.0:224): proctitle="com.google.android.gms.unstable"
05-04 07:08:05.221 2423 2423 W auditd : type=1320 audit(0.0:224):
05-04 07:08:05.224 6801 6801 I android.hardwar: type=1400 audit(0.0:225): avc: denied { getattr } for path="/dev/esfp0" dev="tmpfs" ino=5120 scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1
05-04 07:08:05.224 6801 6801 W android.hardwar: type=1300 audit(0.0:225): arch=40000028 syscall=327 per=8 success=yes exit=0 a0=ffffff9c a1=e75ec5df a2=ffb65a10 a3=0 items=0 ppid=1 auid=4294967295 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=4294967295 tty=(none) exe="/system/vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service" subj=u:r:hal_fingerprint_default:s0 key=(null)
05-04 07:08:05.224 2423 2423 W auditd : type=1327 audit(0.0:225): proctitle="/vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service"
05-04 07:08:05.224 2423 2423 W auditd : type=1320 audit(0.0:225):
05-04 07:08:05.224 6801 6801 I android.hardwar: type=1400 audit(0.0:226): avc: denied { read write } for name="esfp0" dev="tmpfs" ino=5120 scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1
05-04 07:08:05.224 6801 6801 I android.hardwar: type=1400 audit(0.0:226): avc: denied { open } for path="/dev/esfp0" dev="tmpfs" ino=5120 scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1
05-04 07:08:05.190 2863 2863 W View : requestLayout() improperly called by android.widget.TextView{fe4cc26 V.ED..... ........ 6,0-97,72 #7f0a005d app:id/battery_percentage_view} during second layout pass: posting in next frame
05-04 07:08:05.202 2863 2863 W View : requestLayout() improperly called by android.widget.TextView{fe4cc26 V.ED..... ......ID 6,0-97,72 #7f0a005d app:id/battery_percentage_view} during layout: running second layout pass
05-04 07:08:05.207 2863 2863 W View : requestLayout() improperly called by android.widget.TextView{fe4cc26 V.ED..... ........ 6,0-97,72 #7f0a005d app:id/battery_percentage_view} during second layout pass: posting in next frame
05-04 07:08:05.214 2626 2765 I PowerManagerService: Going to sleep due to power button (uid 1000)...
05-04 07:08:05.220 2863 2863 W View : requestLayout() improperly called by android.widget.TextView{fe4cc26 V.ED..... ......ID 6,0-97,72 #7f0a005d app:id/battery_percentage_view} during layout: running second layout pass
05-04 07:08:05.224 2863 2863 W View : requestLayout() improperly called by android.widget.TextView{fe4cc26 V.ED..... ........ 6,0-97,72 #7f0a005d app:id/battery_percentage_view} during second layout pass: posting in next frame
05-04 07:08:05.226 6801 6
Metadata
Metadata
Assignees
Labels
No labels