[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] yonsh:
Fingerprint service seems to randomly stop working, until a full reboot.

Rom: Havoc-OS-v2.5-20190521-chiron-Official

Firmware: fw_chiron_miui_MIMIX2Global_9.5.8_abbfb1e4ff_9.0

Recovery: twrp 3.3.1 by wight554

Logcat: (Filtered with "fingerprint". Service stopped working at 13:27:20)

06-03 12:59:07.009 W/FingerprintManager(2187): Invalid acquired message: 6, 22
06-03 13:00:29.371 W/FingerprintManager(2187): Invalid acquired message: 6, 21
06-03 13:00:43.050 W/FingerprintManager(2187): Invalid acquired message: 6, 21
06-03 13:04:48.903 F/DEBUG (18376): Build fingerprint: 'Xiaomi/chiron/chiron:8.0.0/OPR1.170623.027/V9.5.4.0.ODEMIFA:user/release-keys'
06-03 13:05:26.034 W/ViewRootImpl[NovaShortcutHandler](18662): Dropping event due to root view being removed: MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=931.0, y[0]=1243.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=2070473, downTime=2070439, deviceId=4, source=0x1002 }
06-03 13:05:26.034 W/ViewRootImpl[NovaShortcutHandler](18662): Dropping event due to root view being removed: MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=931.0, y[0]=1243.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=2070481, downTime=2070439, deviceId=4, source=0x1002 }
06-03 13:10:45.948 W/FingerprintManager(2187): Invalid acquired message: 6, 21
06-03 13:16:02.734 W/FingerprintManager(2187): Invalid acquired message: 6, 22
06-03 13:16:03.377 W/FingerprintManager(2187): Invalid acquired message: 6, 23
06-03 13:16:03.859 W/FingerprintManager(2187): Invalid acquired message: 6, 22
06-03 13:16:04.551 W/FingerprintManager(2187): Invalid acquired message: 6, 23
06-03 13:16:04.703 W/FingerprintManager(2187): Invalid acquired message: 6, 22
06-03 13:16:04.918 I/PowerManagerService(1254): Waking up from dozing (uid=10046 reason=android.policy:FINGERPRINT)...
06-03 13:16:32.161 W/FingerprintManager(2187): Invalid acquired message: 6, 21
06-03 13:22:17.959 W/FingerprintManager(2187): Invalid acquired message: 6, 22
06-03 13:22:18.239 I/PowerManagerService(1254): Waking up from dozing (uid=10046 reason=android.policy:FINGERPRINT)...
06-03 13:23:55.463 W/keepass2androi(21345): JNI RegisterNativeMethods: attempt to register 0 native methods for md5f0702f468598c68ce18586502249fb40.FingerprintDecryption
06-03 13:23:55.463 D/KP2A (21345): FP: Create FingerprintDecryption
06-03 13:23:55.552 D/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8998(887): onAcquired(6)
06-03 13:23:55.558 W/FingerprintManager(21345): Invalid acquired message: 6, 21
06-03 13:23:56.391 I/[goodix][gf_hal_milan_f_series](887): [hal_milan_f_series_irq] irq_type=[GF_IRQ_FINGER_DOWN_MASK], irq_type=0x0002
06-03 13:23:56.391 I/[goodix][gf_hal_milan_f_series](887): [hal_milan_f_series_irq] irq_type=[GF_IRQ_FINGER_DOWN_MASK], irq_type=0x00000002
06-03 13:23:56.391 D/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8998(887): onAcquired(6)
06-03 13:23:56.393 W/FingerprintManager(21345): Invalid acquired message: 6, 22
06-03 13:23:56.559 D/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8998(887): onAcquired(0)
06-03 13:23:56.559 D/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8998(887): onAuthenticated(fid=-361469357, gid=0)
06-03 13:23:57.209 I/[goodix][gf_hal_milan_f_series](887): [hal_milan_f_series_irq] irq_type=[GF_IRQ_FINGER_UP_MASK], irq_type=0x0004
06-03 13:23:57.209 I/[goodix][gf_hal_milan_f_series](887): [hal_milan_f_series_irq] irq_type=[GF_IRQ_FINGER_UP_MASK], irq_type=0x00000004
06-03 13:23:57.209 D/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8998(887): onAcquired(6)
06-03 13:24:17.052 I/keystore(847): del USRPKEY_MMB_Fingerprint_Key 10333
06-03 13:24:17.053 I/keystore(847): del USRCERT_MMB_Fingerprint_Key 10333
06-03 13:24:17.054 I/keystore(847): del CACERT_MMB_Fingerprint_Key 10333
06-03 13:26:39.479 I/keystore(847): del USRPKEY_MMB_Fingerprint_Key 10333
06-03 13:26:39.490 I/keystore(847): del USRCERT_MMB_Fingerprint_Key 10333
06-03 13:26:39.490 I/keystore(847): del CACERT_MMB_Fingerprint_Key 10333
06-03 13:26:39.597 D/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8998(887): onAcquired(6)
06-03 13:26:39.625 W/FingerprintManager(21559): Invalid acquired message: 6, 21
06-03 13:26:40.761 D/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8998(887): onError(5)
06-03 13:27:20.129 D/KP2A (21345): FP: Create FingerprintDecryption
06-03 13:27:20.210 D/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8998(887): onAcquired(6)
06-03 13:27:20.211 W/FingerprintManager(21345): Invalid acquired message: 6, 21
06-03 13:27:20.879 F/libc (887): Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 1139 (fingerprint@2.1), pid 887 (fingerprint@2.1)
06-03 13:27:20.917 F/DEBUG (22260): Build fingerprint: 'Xiaomi/chiron/chiron:8.0.0/OPR1.170623.027/V9.5.4.0.ODEMIFA:user/release-keys'
06-03 13:27:20.917 F/DEBUG (22260): pid: 887, tid: 1139, name: fingerprint@2.1 >>> /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8998 <<<
06-03 13:27:20.966 V/FingerprintService(1254): fingerprint HAL died
06-03 13:27:20.968 W/FingerprintService(1254): Got ERROR_HW_UNAVAILABLE; try reconnecting next client.
06-03 13:27:20.973 D/KP2A (21345): FP: OnAuthenticationError: Fingerprint hardware not available., False
06-03 13:27:20.996 D/vndksupport(22263): Loading /vendor/lib64/hw/fingerprint.fpc.msm8998.so from current namespace instead of sphal namespace.
06-03 13:27:21.008 D/fpc_fingerprint_hal(22263): fpc_hal_open
06-03 13:27:21.042 D/fpc_tac (22263): 'modalias'='of:Nfingerprint_fpcT<NULL>Cfpc,' found on path '/sys/bus/platform/devices/soc:fingerprint_fpc/'
06-03 13:27:21.071 D/fpc_tac (22263): 'modalias'='of:Nfingerprint_fpcT<NULL>Cfpc,' found on path '/sys/bus/platform/devices/soc:fingerprint_fpc/'
06-03 13:27:21.306 E/fpc_fingerprint_hal(22263): fpc_hal_open failed
06-03 13:27:21.306 D/fpc_fingerprint_hal(22263): fpc_hal_close
06-03 13:27:21.307 D/fpc_fingerprint_hal(22263): fpc_module_close
06-03 13:27:21.307 D/fpc_fingerprint_hal(22263): fpc_hal_close
06-03 13:27:21.307 E/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8998(22263): Can't open fingerprint methods, class fpc, error: -1
06-03 13:27:21.307 E/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8998(22263): Failed to load fpc fingerprint module
06-03 13:27:21.307 D/vndksupport(22263): Loading /vendor/lib64/hw/fingerprint.goodix.msm8998.so from current namespace instead of sphal namespace.
06-03 13:27:21.859 E/goodixFingerprintHal(22263): open goodix hal failed
06-03 13:27:21.859 E/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8998(22263): Can't open fingerprint methods, class goodix, error: -22
06-03 13:27:21.859 E/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8998(22263): Failed to load goodix fingerprint module
06-03 13:27:21.866 E/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8998(22263): Can't open HAL module
06-03 13:27:21.866 I/ServiceManagement(22263): Removing namespace from process name android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8998 to fingerprint@2.1-service.xiaomi_msm8998.