[Treble-Enabled Device Development A/AB ROMS] kylek389:
Fingerprint authentication is broken in AOSP 9.0 v123 for Huawei P20 Lite ANE-LX3. Previously I was running v117 fine and had no problems setting up "Security & locations -> Fingerprint", now in v123 it fails with fpc_tac_send_cmd failed with retval: -69. Also there's ton of access file(/data/sec_storage_data/log/LOG@*) mode(0) failed: Permission denied errors.

system-arm64-aonly-vanilla-nosu.img-AOSP 9.0 [B]v123[/B]
HWANE:/ # logcat *:E
01-11 01:41:45.091 601 606 E teecd : mkdir /data/sec_storage_data/log fail
01-11 01:41:45.092 784 1054 E fpc_tac : Enrol took 51 ms (p: 100 q: 56 t: 0 e: 0)
01-11 01:41:45.094 601 606 E teecd : access file(/data/sec_storage_data/log/LOG@A32B3D00CB5711E39C1A0800200C9A66-0) mode(0) failed: Permission denied
01-11 01:41:45.095 601 606 E teecd : mkdir /data/sec_storage_data/log fail
01-11 01:41:45.096 601 606 E teecd : access file(/data/sec_storage_data/log/LOG@A32B3D00CB5711E39C1A0800200C9A66-0) mode(0) failed: Permission denied
01-11 01:41:45.097 601 606 E teecd : mkdir /data/sec_storage_data/log fail
01-11 01:41:45.124 601 606 E teecd : access file(/data/sec_storage_data/log/LOG@A32B3D00CB5711E39C1A0800200C9A66-0) mode(0) failed: Permission denied
01-11 01:41:45.124 601 606 E teecd : mkdir /data/sec_storage_data/log fail
01-11 01:41:45.126 601 606 E teecd : access file(/data/sec_storage_data/log/LOG@A32B3D00CB5711E39C1A0800200C9A66-0) mode(0) failed: Permission denied
01-11 01:41:45.126 601 606 E teecd : mkdir /data/sec_storage_data/log fail
01-11 01:41:45.130 601 606 E teecd : access file(/data/sec_storage_data/log/LOG@A32B3D00CB5711E39C1A0800200C9A66-0) mode(0) failed: Permission denied
01-11 01:41:45.130 601 606 E teecd : mkdir /data/sec_storage_data/log fail
01-11 01:41:45.132 601 606 E teecd : access file(/data/sec_storage_data/log/LOG@A32B3D00CB5711E39C1A0800200C9A66-0) mode(0) failed: Permission denied
01-11 01:41:45.132 601 606 E teecd : mkdir /data/sec_storage_data/log fail
01-11 01:41:45.134 601 606 E teecd : access file(/data/sec_storage_data/log/LOG@A32B3D00CB5711E39C1A0800200C9A66-0) mode(0) failed: Permission denied
01-11 01:41:45.134 601 606 E teecd : mkdir /data/sec_storage_data/log fail
01-11 01:41:45.135 601 606 E teecd : access file(/data/sec_storage_data/log/LOG@A32B3D00CB5711E39C1A0800200C9A66-0) mode(0) failed: Permission denied
01-11 01:41:45.136 601 606 E teecd : mkdir /data/sec_storage_data/log fail
01-11 01:41:45.138 601 606 E teecd : access file(/data/sec_storage_data/log/LOG@A32B3D00CB5711E39C1A0800200C9A66-0) mode(0) failed: Permission denied
01-11 01:41:45.139 601 606 E teecd : mkdir /data/sec_storage_data/log fail
01-11 01:41:45.141 601 606 E teecd : access file(/data/sec_storage_data/log/LOG@A32B3D00CB5711E39C1A0800200C9A66-0) mode(0) failed: Permission denied
01-11 01:41:45.142 601 606 E teecd : mkdir /data/sec_storage_data/log fail
01-11 01:41:45.144 601 606 E teecd : mkdir /data/sec_storage_data/fp fail
01-11 01:41:45.145 601 606 E teecd : access file(/data/sec_storage_data/log/LOG@A32B3D00CB5711E39C1A0800200C9A66-0) mode(0) failed: Permission denied
01-11 01:41:45.146 601 606 E teecd : mkdir /data/sec_storage_data/log fail
01-11 01:41:45.147 601 606 E teecd : access file(/data/sec_storage_data/log/LOG@A32B3D00CB5711E39C1A0800200C9A66-0) mode(0) failed: Permission denied
01-11 01:41:45.148 601 606 E teecd : mkdir /data/sec_storage_data/log fail
01-11 01:41:45.150 601 606 E teecd : access file(/data/sec_storage_data/log/LOG@A32B3D00CB5711E39C1A0800200C9A66-0) mode(0) failed: Permission denied
01-11 01:41:45.151 601 606 E teecd : mkdir /data/sec_storage_data/log fail
01-11 01:41:45.152 601 606 E teecd : access file(/data/sec_storage_data/log/LOG@A32B3D00CB5711E39C1A0800200C9A66-0) mode(0) failed: Permission denied
01-11 01:41:45.153 601 606 E teecd : mkdir /data/sec_storage_data/log fail
01-11 01:41:45.154 784 1054 E fpc_tac : fpc_tac_send_cmd failed with retval: -69
01-11 01:41:45.156 784 1054 E fpc_fingerprint_hal: do_enroll_out failed -38
01-11 01:41:45.156 784 1054 E fpc_fingerprint_hal: dsm_buf:dsm_fingerprint,912001004,sensor_id=0x612,ChargerType=0,do_enroll: fpc_tac_end_enrol failed, index=-69
01-11 01:41:45.156 784 1054 E fpc_fingerprint_hal:

You can see logcat from v117 during successful fingerprint setup:

system-arm64-aonly-vanilla-nosu.img-AOSP 9.0 [B]v117[/B]
HWANE:/ # logcat *:E
01-11 01:34:58.930 1117 1257 E UserRestrictionsUtils: Unknown restriction: null
01-11 01:35:07.048 684 795 E BufferQueueProducer: [com.android.settings/com.android.settings.SubSettings#0] disconnect: not connected (req=1)
01-11 01:35:08.164 1117 1128 E UserRestrictionsUtils: Unknown restriction: null
01-11 01:35:08.741 684 1200 E BufferQueueProducer: [com.android.settings/com.android.settings.fingerprint.FingerprintEnrollIntroduction#0] disconnect: not connected (req=1)
01-11 01:35:08.168 1117 1128 E UserRestrictionsUtils: Unknown restriction: null
01-11 01:35:10.841 684 1200 E BufferQueueProducer: [com.android.settings/com.android.settings.password.ChooseLockGeneric#0] disconnect: not connected (req=1)
01-11 01:35:15.215 757 757 E gatekeeperd: clear_sid: could not remove file [No such file or directory], attempting 0 write
01-11 01:35:15.319 757 757 E gatekeeperd: clear_sid: could not remove file [No such file or directory], attempting 0 write
01-11 01:35:15.407 1117 1581 E LockSettingsStorage: Cannot read file java.io.FileNotFoundException: /data/system_de/0/spblob/4b65e163bd24c5ed.weaver: open failed: ENOENT (No such file or directory)
01-11 01:35:15.459 1117 1581 E LockSettingsStorage: Cannot read file java.io.FileNotFoundException: /data/system_de/0/spblob/0000000000000000.handle: open failed: ENOENT (No such file or directory)
01-11 01:35:15.664 1117 1728 E LockSettingsStorage: Cannot read file java.io.FileNotFoundException: /data/system_de/0/spblob/196cf68d1ff456e6.weaver: open failed: ENOENT (No such file or directory)
01-11 01:35:16.179 684 1685 E BufferQueueProducer: [com.android.settings/com.android.settings.password.ChooseLockPattern#0] disconnect: not connected (req=1)
01-11 01:35:18.714 684 985 E BufferQueueProducer: [com.android.settings/com.android.settings.fingerprint.FingerprintEnrollIntroduction#0] disconnect: not connected (req=1)
01-11 01:35:19.001 684 794 E BufferQueueProducer: [com.android.settings/com.android.settings.notification.RedactionInterstitial#0] disconnect: not connected (req=1)
01-11 01:35:19.467 769 960 E fpc_tac : Enrol took 24 ms (p: 20 q: 37 t: 0 e: 0)
01-11 01:35:19.579 769 960 E fpc_fingerprint_hal: wait_finger_up interrupted
01-11 01:35:19.590 769 769 E hw-IPCThreadState: binder thread pool (1 threads) starved for 116 ms
01-11 01:35:19.875 769 960 E fpc_tac : Enrol took 28 ms (p: 20 q: 62 t: 0 e: 0)
01-11 01:35:20.077 684 985 E BufferQueueProducer: [com.android.settings/com.android.settings.fingerprint.FingerprintEnrollFindSensor#0] disconnect: not connected (req=1)
01-11 01:35:20.637 769 960 E fpc_tac : Enrol took 25 ms (p: 29 q: 64 t: 0 e: 0)
01-11 01:35:21.728 769 960 E fpc_tac : Enrol took 26 ms (p: 40 q: 51 t: 0 e: 0)
01-11 01:35:23.217 769 960 E fpc_tac : Enrol took 40 ms (p: 51 q: 62 t: 0 e: 0)
01-11 01:35:24.603 769 960 E fpc_tac : Enrol took 35 ms (p: 56 q: 56 t: 0 e: 0)
01-11 01:35:25.784 769 960 E fpc_tac : Enrol took 34 ms (p: 61 q: 60 t: 0 e: 0)
01-11 01:35:26.914 769 960 E fpc_tac : Enrol took 29 ms (p: 71 q: 62 t: 0 e: 0)
01-11 01:35:28.012 769 960 E fpc_tac : Enrol took 33 ms (p: 81 q: 62 t: 0 e: 0)
01-11 01:35:28.531 1117 1131 E system_server: No package ID 7f found for ID 0x7f08017e.
01-11 01:35:28.531 1117 1131 E system_server: No package ID 7f found for ID 0x7f120f65.
01-11 01:35:28.532 1117 1131 E system_server: No package ID 7f found for ID 0x7f08017d.
01-11 01:35:28.532 1117 1131 E system_server: No package ID 7f found for ID 0x7f120475.
01-11 01:35:28.532 1117 1131 E system_server: No package ID 7f found for ID 0x7f08017c.
01-11 01:35:28.532 1117 1131 E system_server: No package ID 7f found for ID 0x7f120992.
01-11 01:35:28.560 1437 1437 E PhoneInterfaceManager: [PhoneIntfMgr] getCarrierPackageNamesForIntent: No UICC
01-11 01:35:29.884 769 960 E fpc_tac : Enrol took 36 ms (p: 83 q: 54 t: 0 e: 0)
01-11 01:35:32.140 769 960 E fpc_tac : Enrol took 39 ms (p: 84 q: 57 t: 0 e: 0)
01-11 01:35:34.165 769 960 E fpc_tac : Enrol took 42 ms (p: 93 q: 65 t: 0 e: 0)
01-11 01:35:36.278 769 960 E fpc_tac : Enrol took 35 ms (p: 100 q: 56 t: 0 e: 0)
01-11 01:35:37.411 684 1200 E BufferQueueProducer: [com.android.settings/com.android.settings.fingerprint.FingerprintEnrollEnrolling#0] disconnect: not connected (req=1)
01-11 01:35:39.383 684 794 E BufferQueueProducer: [com.android.settings/com.android.settings.fingerprint.FingerprintEnrollFinish#0] disconnect: not connected (req=1)