sailfishos-open / sailfish-fpd-community

Sailfish OS fingerprint support
GNU General Public License v3.0
6 stars 8 forks source link

Fingerprint lost after reboot #26

Open 0312birdzhang opened 4 years ago

0312birdzhang commented 4 years ago

It's working well before reboot, but after reboot there is no fingerprint record in Settings.

Logs after reboot, enter password, readd fingerprint and unlock ``` [root@Redmi5Plus nemo]# systemctl status sailfish-fpd-community.service ● sailfish-fpd-community.service - Community Fingerprint Daemon Loaded: loaded (/lib/systemd/system/sailfish-fpd-community.service; disabled; vendor preset: enabled) Active: active (running) since Tue 2020-04-21 22:00:42 EEST; 18s ago Process: 3149 ExecStartPre=/bin/sh -c /usr/bin/test -f /run/systemd/boot-status/init-done || sleep 5 || : (code=exited, status=0/SUCCESS) Main PID: 5237 (sailfish-fpd-co) CGroup: /system.slice/sailfish-fpd-community.service └─5237 /usr/bin/sailfish-fpd-community Apr 21 22:00:42 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::loadFingers() Apr 21 22:00:42 Redmi5Plus sailfish-fpd-community[5237]: QList AndroidFP::fingerprints() const Apr 21 22:00:42 Redmi5Plus sailfish-fpd-community[5237]: Loaded finger 460844875 "finger1" not found in store, removing Apr 21 22:00:42 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::saveFingers() Apr 21 22:00:42 Redmi5Plus sailfish-fpd-community[5237]: Loaded finger map: QMap() Apr 21 22:00:42 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::setState(FPDCommunity::State) FPDCommunity::State(FPSTATE_IDLE) Apr 21 22:00:42 Redmi5Plus sailfish-fpd-community[5237]: QString FPDCommunity::GetState() Apr 21 22:00:42 Redmi5Plus sailfish-fpd-community[5237]: QString FPDCommunity::GetState() Apr 21 22:00:42 Redmi5Plus sailfish-fpd-community[5237]: QStringList FPDCommunity::GetAll() Apr 21 22:00:42 Redmi5Plus sailfish-fpd-community[5237]: QStringList FPDCommunity::GetAll() [root@Redmi5Plus nemo]# journalctl | grep fpd Apr 21 22:00:41 Redmi5Plus sailfish-fpd-community[5237]: Starting sailfish-fpd-community daemon Apr 21 22:00:41 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:00:41 Redmi5Plus sailfish-fpd-community[5237]: FPDCommunity::FPDCommunity() Apr 21 22:00:41 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::setUser(uint32_t) 100000 Apr 21 22:00:42 Redmi5Plus sailfish-fpd-community[5237]: bool makePath(const char*, const char*, const char*, QFileDevice::Permissions) /data/system/users/100000/fpdata system system QFlags(0x1000|0x2000|0x4000) Apr 21 22:00:42 Redmi5Plus sailfish-fpd-community[5237]: bool makePath(const char*, const char*, const char*, QFileDevice::Permissions) /var/lib/sailfish-fpd-community/100000 QFlags(0x1000|0x2000|0x4000) Apr 21 22:00:42 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::setGroup(uint32_t, const QString&) 0 "/data/system/users/100000/fpdata" Apr 21 22:00:42 Redmi5Plus sailfish-fpd-community[5237]: setActiveGroup to /data/system/users/100000/fpdata Apr 21 22:00:42 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::enumerate() Apr 21 22:00:42 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::setState(FPDCommunity::State) FPDCommunity::State(FPSTATE_ENUMERATING) Apr 21 22:00:42 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::enumerate() Apr 21 22:00:42 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::enumerate_cb(uint64_t, uint32_t, uint32_t, uint32_t, void*) 0 0 Apr 21 22:00:42 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::registerDBus() Apr 21 22:00:42 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::enumerateCallback(uint32_t, uint32_t) 0 0 Apr 21 22:00:42 Redmi5Plus sailfish-fpd-community[5237]: Registering service on dbus org.sailfishos.fingerprint1 Apr 21 22:00:42 Redmi5Plus sailfish-fpd-community[5237]: Sucessfully registered to dbus systemBus Apr 21 22:00:42 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_enumerated() Apr 21 22:00:42 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::loadFingers() Apr 21 22:00:42 Redmi5Plus sailfish-fpd-community[5237]: QList AndroidFP::fingerprints() const Apr 21 22:00:42 Redmi5Plus sailfish-fpd-community[5237]: Loaded finger 460844875 "finger1" not found in store, removing Apr 21 22:00:42 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::saveFingers() Apr 21 22:00:42 Redmi5Plus sailfish-fpd-community[5237]: Loaded finger map: QMap() Apr 21 22:00:42 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::setState(FPDCommunity::State) FPDCommunity::State(FPSTATE_IDLE) Apr 21 22:00:42 Redmi5Plus sailfish-fpd-community[5237]: QString FPDCommunity::GetState() Apr 21 22:00:42 Redmi5Plus sailfish-fpd-community[5237]: QString FPDCommunity::GetState() Apr 21 22:00:42 Redmi5Plus sailfish-fpd-community[5237]: QStringList FPDCommunity::GetAll() Apr 21 22:00:42 Redmi5Plus sailfish-fpd-community[5237]: QStringList FPDCommunity::GetAll() Apr 21 22:00:44 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:00:46 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:00:58 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:00:58 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:00:58 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:00:58 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:00:58 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:00:58 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:00:58 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:00:58 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:00:58 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:00:58 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:00:58 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:01:32 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:01:32 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:01:32 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:01:33 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:01:33 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:01:33 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:01:33 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:01:33 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:01:33 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:01:33 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:05:59 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:00 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:00 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:00 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:00 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:02 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:02 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:02 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:02 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:02 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:02 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:02 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:02 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:02 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:02 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:02 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:08 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:08 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:09 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:09 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:10 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:13 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:13 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:13 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:13 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:13 Redmi5Plus sailfish-fpd-community[5237]: int FPDCommunity::Enroll(const QString&, const QDBusMessage&) "finger1" ":1.9" Apr 21 22:06:13 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::setState(FPDCommunity::State) FPDCommunity::State(FPSTATE_ENROLLING) Apr 21 22:06:13 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::enroll(uid_t) 100000 Apr 21 22:06:14 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::acquired_cb(uint64_t, UHardwareBiometryFingerprintAcquiredInfo, int32_t, void*) 6 Apr 21 22:06:14 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::acquiredCallback(UHardwareBiometryFingerprintAcquiredInfo) 6 Apr 21 22:06:14 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_acquired(int) 6 Apr 21 22:06:14 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::acquired_cb(uint64_t, UHardwareBiometryFingerprintAcquiredInfo, int32_t, void*) 6 Apr 21 22:06:14 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::acquiredCallback(UHardwareBiometryFingerprintAcquiredInfo) 6 Apr 21 22:06:14 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_acquired(int) 6 Apr 21 22:06:14 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::acquired_cb(uint64_t, UHardwareBiometryFingerprintAcquiredInfo, int32_t, void*) 0 Apr 21 22:06:14 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::acquiredCallback(UHardwareBiometryFingerprintAcquiredInfo) 0 Apr 21 22:06:14 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_acquired(int) 0 Apr 21 22:06:14 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::enrollresult_cb(uint64_t, uint32_t, uint32_t, uint32_t, void*) 2778789616 11 Apr 21 22:06:14 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::enrollCallback(uint32_t, uint32_t) 2778789616 11 Apr 21 22:06:14 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_enrollProgress(float) 0.0833333 Apr 21 22:06:14 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::acquired_cb(uint64_t, UHardwareBiometryFingerprintAcquiredInfo, int32_t, void*) 6 Apr 21 22:06:14 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::acquiredCallback(UHardwareBiometryFingerprintAcquiredInfo) 6 Apr 21 22:06:14 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_acquired(int) 6 Apr 21 22:06:15 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::acquired_cb(uint64_t, UHardwareBiometryFingerprintAcquiredInfo, int32_t, void*) 6 Apr 21 22:06:15 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::acquiredCallback(UHardwareBiometryFingerprintAcquiredInfo) 6 Apr 21 22:06:15 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_acquired(int) 6 Apr 21 22:06:15 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::acquired_cb(uint64_t, UHardwareBiometryFingerprintAcquiredInfo, int32_t, void*) 0 Apr 21 22:06:15 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::acquiredCallback(UHardwareBiometryFingerprintAcquiredInfo) 0 Apr 21 22:06:15 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::enrollresult_cb(uint64_t, uint32_t, uint32_t, uint32_t, void*) 2778789616 10 Apr 21 22:06:15 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::enrollCallback(uint32_t, uint32_t) 2778789616 10 Apr 21 22:06:15 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_acquired(int) 0 Apr 21 22:06:15 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_enrollProgress(float) 0.166667 Apr 21 22:06:15 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::acquired_cb(uint64_t, UHardwareBiometryFingerprintAcquiredInfo, int32_t, void*) 6 Apr 21 22:06:15 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::acquiredCallback(UHardwareBiometryFingerprintAcquiredInfo) 6 Apr 21 22:06:15 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_acquired(int) 6 Apr 21 22:06:16 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::acquired_cb(uint64_t, UHardwareBiometryFingerprintAcquiredInfo, int32_t, void*) 6 Apr 21 22:06:16 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::acquiredCallback(UHardwareBiometryFingerprintAcquiredInfo) 6 Apr 21 22:06:16 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_acquired(int) 6 Apr 21 22:06:16 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::acquired_cb(uint64_t, UHardwareBiometryFingerprintAcquiredInfo, int32_t, void*) 0 Apr 21 22:06:16 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::acquiredCallback(UHardwareBiometryFingerprintAcquiredInfo) 0 Apr 21 22:06:16 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::enrollresult_cb(uint64_t, uint32_t, uint32_t, uint32_t, void*) 2778789616 9 Apr 21 22:06:16 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::enrollCallback(uint32_t, uint32_t) 2778789616 9 Apr 21 22:06:16 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_acquired(int) 0 Apr 21 22:06:16 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_enrollProgress(float) 0.25 Apr 21 22:06:17 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::acquired_cb(uint64_t, UHardwareBiometryFingerprintAcquiredInfo, int32_t, void*) 6 Apr 21 22:06:17 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::acquiredCallback(UHardwareBiometryFingerprintAcquiredInfo) 6 Apr 21 22:06:17 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_acquired(int) 6 Apr 21 22:06:17 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::acquired_cb(uint64_t, UHardwareBiometryFingerprintAcquiredInfo, int32_t, void*) 6 Apr 21 22:06:17 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::acquiredCallback(UHardwareBiometryFingerprintAcquiredInfo) 6 Apr 21 22:06:17 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_acquired(int) 6 Apr 21 22:06:18 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::acquired_cb(uint64_t, UHardwareBiometryFingerprintAcquiredInfo, int32_t, void*) 0 Apr 21 22:06:18 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::acquiredCallback(UHardwareBiometryFingerprintAcquiredInfo) 0 Apr 21 22:06:18 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::enrollresult_cb(uint64_t, uint32_t, uint32_t, uint32_t, void*) 2778789616 8 Apr 21 22:06:18 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_acquired(int) 0 Apr 21 22:06:18 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::enrollCallback(uint32_t, uint32_t) 2778789616 8 Apr 21 22:06:18 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_enrollProgress(float) 0.333333 Apr 21 22:06:18 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::acquired_cb(uint64_t, UHardwareBiometryFingerprintAcquiredInfo, int32_t, void*) 6 Apr 21 22:06:18 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::acquiredCallback(UHardwareBiometryFingerprintAcquiredInfo) 6 Apr 21 22:06:18 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_acquired(int) 6 Apr 21 22:06:18 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::acquired_cb(uint64_t, UHardwareBiometryFingerprintAcquiredInfo, int32_t, void*) 6 Apr 21 22:06:18 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::acquiredCallback(UHardwareBiometryFingerprintAcquiredInfo) 6 Apr 21 22:06:18 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_acquired(int) 6 Apr 21 22:06:18 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::acquired_cb(uint64_t, UHardwareBiometryFingerprintAcquiredInfo, int32_t, void*) 0 Apr 21 22:06:18 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::acquiredCallback(UHardwareBiometryFingerprintAcquiredInfo) 0 Apr 21 22:06:18 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::enrollresult_cb(uint64_t, uint32_t, uint32_t, uint32_t, void*) 2778789616 7 Apr 21 22:06:18 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::enrollCallback(uint32_t, uint32_t) 2778789616 7 Apr 21 22:06:18 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_acquired(int) 0 Apr 21 22:06:18 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_enrollProgress(float) 0.416667 Apr 21 22:06:18 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::acquired_cb(uint64_t, UHardwareBiometryFingerprintAcquiredInfo, int32_t, void*) 6 Apr 21 22:06:18 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::acquiredCallback(UHardwareBiometryFingerprintAcquiredInfo) 6 Apr 21 22:06:18 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_acquired(int) 6 Apr 21 22:06:19 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::acquired_cb(uint64_t, UHardwareBiometryFingerprintAcquiredInfo, int32_t, void*) 6 Apr 21 22:06:19 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::acquiredCallback(UHardwareBiometryFingerprintAcquiredInfo) 6 Apr 21 22:06:19 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_acquired(int) 6 Apr 21 22:06:19 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::acquired_cb(uint64_t, UHardwareBiometryFingerprintAcquiredInfo, int32_t, void*) 0 Apr 21 22:06:19 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::acquiredCallback(UHardwareBiometryFingerprintAcquiredInfo) 0 Apr 21 22:06:19 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::enrollresult_cb(uint64_t, uint32_t, uint32_t, uint32_t, void*) 2778789616 6 Apr 21 22:06:19 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::enrollCallback(uint32_t, uint32_t) 2778789616 6 Apr 21 22:06:19 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_acquired(int) 0 Apr 21 22:06:19 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_enrollProgress(float) 0.5 Apr 21 22:06:19 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::acquired_cb(uint64_t, UHardwareBiometryFingerprintAcquiredInfo, int32_t, void*) 6 Apr 21 22:06:19 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::acquiredCallback(UHardwareBiometryFingerprintAcquiredInfo) 6 Apr 21 22:06:19 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_acquired(int) 6 Apr 21 22:06:19 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::acquired_cb(uint64_t, UHardwareBiometryFingerprintAcquiredInfo, int32_t, void*) 6 Apr 21 22:06:19 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::acquiredCallback(UHardwareBiometryFingerprintAcquiredInfo) 6 Apr 21 22:06:19 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_acquired(int) 6 Apr 21 22:06:19 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::acquired_cb(uint64_t, UHardwareBiometryFingerprintAcquiredInfo, int32_t, void*) 0 Apr 21 22:06:19 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::acquiredCallback(UHardwareBiometryFingerprintAcquiredInfo) 0 Apr 21 22:06:19 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_acquired(int) 0 Apr 21 22:06:19 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::enrollresult_cb(uint64_t, uint32_t, uint32_t, uint32_t, void*) 2778789616 5 Apr 21 22:06:19 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::enrollCallback(uint32_t, uint32_t) 2778789616 5 Apr 21 22:06:19 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_enrollProgress(float) 0.583333 Apr 21 22:06:20 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::acquired_cb(uint64_t, UHardwareBiometryFingerprintAcquiredInfo, int32_t, void*) 6 Apr 21 22:06:20 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::acquiredCallback(UHardwareBiometryFingerprintAcquiredInfo) 6 Apr 21 22:06:20 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_acquired(int) 6 Apr 21 22:06:20 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::acquired_cb(uint64_t, UHardwareBiometryFingerprintAcquiredInfo, int32_t, void*) 6 Apr 21 22:06:20 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::acquiredCallback(UHardwareBiometryFingerprintAcquiredInfo) 6 Apr 21 22:06:20 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_acquired(int) 6 Apr 21 22:06:20 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::acquired_cb(uint64_t, UHardwareBiometryFingerprintAcquiredInfo, int32_t, void*) 0 Apr 21 22:06:20 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::acquiredCallback(UHardwareBiometryFingerprintAcquiredInfo) 0 Apr 21 22:06:20 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::enrollresult_cb(uint64_t, uint32_t, uint32_t, uint32_t, void*) 2778789616 4 Apr 21 22:06:20 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::enrollCallback(uint32_t, uint32_t) 2778789616 4 Apr 21 22:06:20 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_acquired(int) 0 Apr 21 22:06:20 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_enrollProgress(float) 0.666667 Apr 21 22:06:20 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::acquired_cb(uint64_t, UHardwareBiometryFingerprintAcquiredInfo, int32_t, void*) 6 Apr 21 22:06:20 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::acquiredCallback(UHardwareBiometryFingerprintAcquiredInfo) 6 Apr 21 22:06:20 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_acquired(int) 6 Apr 21 22:06:20 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::acquired_cb(uint64_t, UHardwareBiometryFingerprintAcquiredInfo, int32_t, void*) 6 Apr 21 22:06:20 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::acquiredCallback(UHardwareBiometryFingerprintAcquiredInfo) 6 Apr 21 22:06:20 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_acquired(int) 6 Apr 21 22:06:20 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::acquired_cb(uint64_t, UHardwareBiometryFingerprintAcquiredInfo, int32_t, void*) 0 Apr 21 22:06:20 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::acquiredCallback(UHardwareBiometryFingerprintAcquiredInfo) 0 Apr 21 22:06:20 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::enrollresult_cb(uint64_t, uint32_t, uint32_t, uint32_t, void*) 2778789616 3 Apr 21 22:06:20 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::enrollCallback(uint32_t, uint32_t) 2778789616 3 Apr 21 22:06:20 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_acquired(int) 0 Apr 21 22:06:20 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_enrollProgress(float) 0.75 Apr 21 22:06:21 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::acquired_cb(uint64_t, UHardwareBiometryFingerprintAcquiredInfo, int32_t, void*) 6 Apr 21 22:06:21 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::acquiredCallback(UHardwareBiometryFingerprintAcquiredInfo) 6 Apr 21 22:06:21 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_acquired(int) 6 Apr 21 22:06:21 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::acquired_cb(uint64_t, UHardwareBiometryFingerprintAcquiredInfo, int32_t, void*) 6 Apr 21 22:06:21 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::acquiredCallback(UHardwareBiometryFingerprintAcquiredInfo) 6 Apr 21 22:06:21 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_acquired(int) 6 Apr 21 22:06:21 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::acquired_cb(uint64_t, UHardwareBiometryFingerprintAcquiredInfo, int32_t, void*) 0 Apr 21 22:06:21 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::acquiredCallback(UHardwareBiometryFingerprintAcquiredInfo) 0 Apr 21 22:06:21 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::enrollresult_cb(uint64_t, uint32_t, uint32_t, uint32_t, void*) 2778789616 2 Apr 21 22:06:21 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::enrollCallback(uint32_t, uint32_t) 2778789616 2 Apr 21 22:06:21 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_acquired(int) 0 Apr 21 22:06:21 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_enrollProgress(float) 0.833333 Apr 21 22:06:21 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::acquired_cb(uint64_t, UHardwareBiometryFingerprintAcquiredInfo, int32_t, void*) 6 Apr 21 22:06:21 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::acquiredCallback(UHardwareBiometryFingerprintAcquiredInfo) 6 Apr 21 22:06:21 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_acquired(int) 6 Apr 21 22:06:21 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::acquired_cb(uint64_t, UHardwareBiometryFingerprintAcquiredInfo, int32_t, void*) 6 Apr 21 22:06:21 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::acquiredCallback(UHardwareBiometryFingerprintAcquiredInfo) 6 Apr 21 22:06:21 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_acquired(int) 6 Apr 21 22:06:21 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::acquired_cb(uint64_t, UHardwareBiometryFingerprintAcquiredInfo, int32_t, void*) 0 Apr 21 22:06:21 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::acquiredCallback(UHardwareBiometryFingerprintAcquiredInfo) 0 Apr 21 22:06:21 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::enrollresult_cb(uint64_t, uint32_t, uint32_t, uint32_t, void*) 2778789616 1 Apr 21 22:06:21 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::enrollCallback(uint32_t, uint32_t) 2778789616 1 Apr 21 22:06:21 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_acquired(int) 0 Apr 21 22:06:21 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_enrollProgress(float) 0.916667 Apr 21 22:06:22 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::acquired_cb(uint64_t, UHardwareBiometryFingerprintAcquiredInfo, int32_t, void*) 6 Apr 21 22:06:22 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::acquiredCallback(UHardwareBiometryFingerprintAcquiredInfo) 6 Apr 21 22:06:22 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_acquired(int) 6 Apr 21 22:06:22 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::acquired_cb(uint64_t, UHardwareBiometryFingerprintAcquiredInfo, int32_t, void*) 6 Apr 21 22:06:22 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::acquiredCallback(UHardwareBiometryFingerprintAcquiredInfo) 6 Apr 21 22:06:22 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_acquired(int) 6 Apr 21 22:06:22 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::acquired_cb(uint64_t, UHardwareBiometryFingerprintAcquiredInfo, int32_t, void*) 0 Apr 21 22:06:22 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::acquiredCallback(UHardwareBiometryFingerprintAcquiredInfo) 0 Apr 21 22:06:22 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::enrollresult_cb(uint64_t, uint32_t, uint32_t, uint32_t, void*) 2778789616 0 Apr 21 22:06:22 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::enrollCallback(uint32_t, uint32_t) 2778789616 0 Apr 21 22:06:22 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_acquired(int) 0 Apr 21 22:06:22 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_enrollProgress(float) 1 Apr 21 22:06:22 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_succeeded(uint32_t) 2778789616 Apr 21 22:06:22 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::saveFingers() Apr 21 22:06:22 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::setState(FPDCommunity::State) FPDCommunity::State(FPSTATE_IDLE) Apr 21 22:06:22 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::acquired_cb(uint64_t, UHardwareBiometryFingerprintAcquiredInfo, int32_t, void*) 6 Apr 21 22:06:22 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::acquiredCallback(UHardwareBiometryFingerprintAcquiredInfo) 6 Apr 21 22:06:22 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_acquired(int) 6 Apr 21 22:06:29 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:29 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:29 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:29 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:29 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:29 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:29 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:30 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:30 Redmi5Plus sailfish-fpd-community[5237]: int FPDCommunity::Identify(const QDBusMessage&) ":1.9" Apr 21 22:06:30 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::setState(FPDCommunity::State) FPDCommunity::State(FPSTATE_IDENTIFYING) Apr 21 22:06:30 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::authenticate() Apr 21 22:06:30 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::acquired_cb(uint64_t, UHardwareBiometryFingerprintAcquiredInfo, int32_t, void*) 6 Apr 21 22:06:30 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::acquiredCallback(UHardwareBiometryFingerprintAcquiredInfo) 6 Apr 21 22:06:30 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_acquired(int) 6 Apr 21 22:06:30 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:30 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:31 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::acquired_cb(uint64_t, UHardwareBiometryFingerprintAcquiredInfo, int32_t, void*) 6 Apr 21 22:06:31 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::acquiredCallback(UHardwareBiometryFingerprintAcquiredInfo) 6 Apr 21 22:06:31 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_acquired(int) 6 Apr 21 22:06:31 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::acquired_cb(uint64_t, UHardwareBiometryFingerprintAcquiredInfo, int32_t, void*) 0 Apr 21 22:06:31 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::acquiredCallback(UHardwareBiometryFingerprintAcquiredInfo) 0 Apr 21 22:06:31 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::authenticated_cb(uint64_t, uint32_t, uint32_t, void*) 2778789616 Apr 21 22:06:31 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_acquired(int) 0 Apr 21 22:06:31 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_authenticated(uint32_t) 2778789616 Apr 21 22:06:31 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::setState(FPDCommunity::State) FPDCommunity::State(FPSTATE_IDLE) Apr 21 22:06:31 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:31 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:31 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:31 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:31 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:31 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:31 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:31 Redmi5Plus encsfa-fpd[3133]: Device /dev/sailfish/home doesn't exist or access denied. Apr 21 22:06:32 Redmi5Plus sailfish-fpd-community[5237]: static void AndroidFP::acquired_cb(uint64_t, UHardwareBiometryFingerprintAcquiredInfo, int32_t, void*) 6 Apr 21 22:06:32 Redmi5Plus sailfish-fpd-community[5237]: void AndroidFP::acquiredCallback(UHardwareBiometryFingerprintAcquiredInfo) 6 Apr 21 22:06:32 Redmi5Plus sailfish-fpd-community[5237]: void FPDCommunity::slot_acquired(int) 6 ```
piggz commented 4 years ago

Can you get logcat logs too please..anything to do with your fp hal

rinigus commented 4 years ago

I presume it will be the same result if you check with the -test app https://github.com/piggz/sailfish-fpd-community-test . But maybe you could try that and see if it works via that - enroll fingers via it and check if it works after reboot

0312birdzhang commented 4 years ago

Can you get logcat logs too please..anything to do with your fp hal

https://pastebin.com/p7zMhuzg

0312birdzhang commented 4 years ago

I presume it will be the same result if you check with the -test app https://github.com/piggz/sailfish-fpd-community-test . But maybe you could try that and see if it works via that - enroll fingers via it and check if it works after reboot

Yeah, same result.

Kabouik commented 4 years ago

I have the same issue on Pro¹ too, fingerprints are lost after reboot, but unlike @0312birdzhang unlocking with fingerprint does not work, so it might be best if I post my logs in a different issue to keep things tidy.

Kabouik commented 4 years ago

Can you try to reboot in bootloader mode and run ./fastboot erase persist? This worked for me (no data loss to expect).

Kabouik commented 4 years ago

Okay, do not do the above. While it did fix my issues with sailfish-fpd-community, it broke other things, including all sensors, which in turn broke cameras and video applications. I had to reflash the persist partition to fix it, and fortunately the filesystem was in the image file; else I was probably screwed since fastboot format doesn't work on raw partitions. I'm posting a new message instead of editing the previous message just in case someone would just read email notifications and run the command.

However, since persist is mounted in /mnt/vendor/persist, the files that cause the issue with sailfis-fpd-community can probably be removed selectively instead of erasing the whole partition.

calebccff commented 4 years ago

I had a very similar issue on OnePlus 6, sailfish 3.3.0.16.

Fingerprint records still show up in settings after reboot but the sensor is unresponsive, opening the fingerprint test in CSD tool fails the first time but works the seconds time, at which point the fingerprint records are lost from settings. Fingers that were already added can't be added again, but adding a different one then allows all fingers that were previously registered to work as well.

piggz commented 4 years ago

The official fpd support has the following known quirks https://github.com/mer-hybris/droid-config-sony-ganges-pie/blob/master/sparse/etc/sailfish-fpd/50-settings-ganges.ini

It may be that we need to implement some of these for certain devices. More than happy to accept PRs if people can work out what the quirks do, some are obvious from the name.

former-n900user commented 4 years ago

Hello I also have had those fingerprint problems.

History.

I support the proposal to mention that in the readme file, including a link to the persist.img file.

An additional question just to understand. Where does the persist.img file came from? I thought the vendor.img file contains the persist data. But obviously this isnt the case.

calebccff commented 4 years ago

@former-n900user from what I can tell persist contains important configuration data, like how all of the sensors are connected to your device, and perhaps camera calibration data etc.