[4.4.0.58][Xperia X]Cannot add fingreprint

REPRODUCIBILITY : 100%
BUILD ID = 4.4.0.58
HARDWARE : Xperia X Dual Sim
UI LANGUAGE: UK English
REGRESSION: Yes

DESCRIPTION:

The v4.4 OS was installed via flashing ( clean install).
The fingerprints are not recorded - no progress when touching the fingerprint reader.

PRECONDITIONS:

None in particular

STEPS TO REPRODUCE:

  1. Open Settings/Device lock/ Add Fingreprint
  2. Repeatedly touch the FP reader ( on/off button)
  3. Nothing happens

EXPECTED RESULT:

Fingerprints are recorded

ACTUAL RESULT:

No FP recording progress

ADDITIONAL INFORMATION:

FP reader used to work on this phone, SFOS v4.2

1 Like

Same here. Single sim Xperia X. Installed via flashing.

In 4.3 the fingerprint reader worked without problems with this phone.

I just added one on my Xperia X F5122 4.4.0.58 and it worked fine.

Exactly the same problem on 4.4.0.58 clean install.

Did you clean flash, or update?

My update failed. So I re-flashed to the 4.3.x version from the download site, then updated to 4.4.0.58.

So this is a new install.

But update from 4.3 - I bet that’s the issue…

Become root, then can you share the file fpd-log.txt?

journalctl -u sailfish-fpd > /home/defaultuser/Documents/fpd-log.txt

I had the exact same problem with a fresh install of 4.4.0.58 on my single sim X. Tried twice, the same problem in both occasions. Solved by flashing 4.3.15 and then upgraded (via sfos_upgrade tool from openrepos) to 4.4.0.58.

2 Likes

Forgotten the CSD tool: it fails for FP sensor
( 4.4 flashed, no upgrade - upgrade from 4.2 to 4.3 was unusable)

Launching sailfish-fpd as root gives
#sailfish-fpd -v
[gbinder] ERROR: Can't open /dev/hwbinder: No such file or directory

Thanks for the bug report. All additional comments, logs etc. are very welcome in order to debug this further.

XA2 4.4 flashed.
I had 1 fingerprint recorded since days (some reboots for diverse reasons) and all was ok.
I tried to add a new one but it repeatedly failed.
After the 12 to 14th finger press, recording stopped saying it was not possible (I don’t remember text exactly alas).

journalctl -u sailfish-fpd

gave:

Apr 04 17:53:58 XperiaXA2-DualSIM fpslave[4284]: fpdevice_gatekeeper_verify: gatekeeper verify returned something which doesn’t look like an hw_auth_token_t
Apr 04 17:54:05 XperiaXA2-DualSIM sailfish-fpd[4280]: mrcontrol_set_fperror: error: FPERROR_NONE → FPERROR_UNABLE_TO_PROCESS
Apr 04 17:54:08 XperiaXA2-DualSIM sailfish-fpd[4280]: mrcontrol_fphal_timeout_cb: fp hal is stuck; terminating
Apr 04 17:54:08 XperiaXA2-DualSIM fpslave[4284]: fpcontrol_master_rd_cb: unexpected master wakeup: condition=0x10
Apr 04 17:54:08 XperiaXA2-DualSIM sailfish-fpd[4280]: *** SLAVE TERMINATE
Apr 04 17:54:08 XperiaXA2-DualSIM fpslave[4284]: fpcontrol_master_rd_cb: disabling master io watch
Apr 04 17:54:08 XperiaXA2-DualSIM sailfish-fpd[4280]: main: sailfish-fpd terminating with exit value 1
Apr 04 17:54:08 XperiaXA2-DualSIM systemd[1]: sailfish-fpd.service: Main process exited, code=exited, status=1/FAILURE
Apr 04 17:54:08 XperiaXA2-DualSIM systemd[1]: sailfish-fpd.service: Failed with result ‘exit-code’.
Apr 04 17:54:09 XperiaXA2-DualSIM systemd[1]: sailfish-fpd.service: Service hold-off time over, scheduling restart.
Apr 04 17:54:09 XperiaXA2-DualSIM systemd[1]: sailfish-fpd.service: Scheduled restart job, restart counter is at 1.
Apr 04 17:54:09 XperiaXA2-DualSIM systemd[1]: Stopped Fingerprint Daemon.
Apr 04 17:54:09 XperiaXA2-DualSIM systemd[1]: Starting Fingerprint Daemon…
Apr 04 17:54:09 XperiaXA2-DualSIM systemd[1]: Started Fingerprint Daemon.
Apr 04 17:54:09 XperiaXA2-DualSIM fpslave[20335]: fpsettings_scan_directory: /usr/lib/sailfish-fpd: can’t open directory: No such file or directory
Apr 04 17:54:10 XperiaXA2-DualSIM fpslave[20335]: fpdevice_gatekeeper_verify: gatekeeper verify returned something which doesn’t look like an hw_auth_token_t
Apr 04 17:54:22 XperiaXA2-DualSIM sailfish-fpd[20332]: mrcontrol_set_fperror: error: FPERROR_NONE → FPERROR_UNABLE_TO_PROCESS
Apr 04 17:54:25 XperiaXA2-DualSIM sailfish-fpd[20332]: mrcontrol_fphal_timeout_cb: fp hal is stuck; terminating
Apr 04 17:54:25 XperiaXA2-DualSIM fpslave[20335]: fpcontrol_master_rd_cb: unexpected master wakeup: condition=0x10
Apr 04 17:54:25 XperiaXA2-DualSIM sailfish-fpd[20332]: *** SLAVE TERMINATE
Apr 04 17:54:25 XperiaXA2-DualSIM fpslave[20335]: fpcontrol_master_rd_cb: disabling master io watch
Apr 04 17:54:25 XperiaXA2-DualSIM sailfish-fpd[20332]: main: sailfish-fpd terminating with exit value 1
Apr 04 17:54:25 XperiaXA2-DualSIM systemd[1]: sailfish-fpd.service: Main process exited, code=exited, status=1/FAILURE
Apr 04 17:54:25 XperiaXA2-DualSIM systemd[1]: sailfish-fpd.service: Failed with result ‘exit-code’.
Apr 04 17:54:26 XperiaXA2-DualSIM systemd[1]: sailfish-fpd.service: Service hold-off time over, scheduling restart.
Apr 04 17:54:26 XperiaXA2-DualSIM systemd[1]: sailfish-fpd.service: Scheduled restart job, restart counter is at 2.
Apr 04 17:54:26 XperiaXA2-DualSIM systemd[1]: Stopped Fingerprint Daemon.
Apr 04 17:54:26 XperiaXA2-DualSIM systemd[1]: Starting Fingerprint Daemon…
Apr 04 17:54:26 XperiaXA2-DualSIM systemd[1]: Started Fingerprint Daemon.
Apr 04 17:54:26 XperiaXA2-DualSIM fpslave[20479]: fpsettings_scan_directory: /usr/lib/sailfish-fpd: can’t open directory: No such file or directory
Apr 04 17:54:31 XperiaXA2-DualSIM fpslave[20479]: fpdevice_gatekeeper_verify: gatekeeper verify returned something which doesn’t look like an hw_auth_token_t
Apr 04 17:54:40 XperiaXA2-DualSIM sailfish-fpd[20476]: mrcontrol_set_fperror: error: FPERROR_NONE → FPERROR_UNABLE_TO_PROCESS
Apr 04 17:54:43 XperiaXA2-DualSIM sailfish-fpd[20476]: mrcontrol_fphal_timeout_cb: fp hal is stuck; terminating
Apr 04 17:54:43 XperiaXA2-DualSIM sailfish-fpd[20476]: *** SLAVE TERMINATE
Apr 04 17:54:43 XperiaXA2-DualSIM sailfish-fpd[20476]: main: sailfish-fpd terminating with exit value 1
Apr 04 17:54:43 XperiaXA2-DualSIM systemd[1]: sailfish-fpd.service: Main process exited, code=exited, status=1/FAILURE
Apr 04 17:54:43 XperiaXA2-DualSIM systemd[1]: sailfish-fpd.service: Failed with result ‘exit-code’.
Apr 04 17:54:44 XperiaXA2-DualSIM systemd[1]: sailfish-fpd.service: Service hold-off time over, scheduling restart.
Apr 04 17:54:44 XperiaXA2-DualSIM systemd[1]: sailfish-fpd.service: Scheduled restart job, restart counter is at 3.
Apr 04 17:54:44 XperiaXA2-DualSIM systemd[1]: Stopped Fingerprint Daemon.
Apr 04 17:54:44 XperiaXA2-DualSIM systemd[1]: Starting Fingerprint Daemon…
Apr 04 17:54:44 XperiaXA2-DualSIM systemd[1]: Started Fingerprint Daemon.
Apr 04 17:54:44 XperiaXA2-DualSIM fpslave[20693]: fpsettings_scan_directory: /usr/lib/sailfish-fpd: can’t open directory: No such file or directory
Apr 04 17:54:48 XperiaXA2-DualSIM fpslave[20693]: fpdevice_gatekeeper_verify: gatekeeper verify returned something which doesn’t look like an hw_auth_token_t
Apr 04 17:54:57 XperiaXA2-DualSIM sailfish-fpd[20686]: mrcontrol_set_fperror: error: FPERROR_NONE → FPERROR_UNABLE_TO_PROCESS
Apr 04 17:55:00 XperiaXA2-DualSIM sailfish-fpd[20686]: mrcontrol_fphal_timeout_cb: fp hal is stuck; terminating
Apr 04 17:55:00 XperiaXA2-DualSIM fpslave[20693]: fpcontrol_master_rd_cb: unexpected master wakeup: condition=0x10
Apr 04 17:55:00 XperiaXA2-DualSIM sailfish-fpd[20686]: *** SLAVE TERMINATE

Then (as root) I did a:

systemctl stop sailfish-fpd
/usr/libexec/sailfish-fpd/fpslave --remove-all
/usr/libexec/sailfish-fpd/fpslave --flush-cache
systemctl start sailfish-fpd

and

ln -s /usr/libexec/sailfish-fpd /usr/lib/sailfish-fpd

Then everythink was ok.

Then, I removed the link, just to see what happens:

rm -f /usr/lib/sailfish-fpd

And, very odd, I had no complaints of a missing /usr/lib/sailfish-fpd directoy, even after a reboot.
??? :thinking:

Now, I can record as much fp I want and journalctl -u sailfish-fpd does not show anything anymore.

1 Like

In my case /dev/hwbinder is missing. As a result sailfish-fpd fails to start.
# /usr/libexec/sailfish-fpd/fpslave
produces the same result:
[gbinder] ERROR: Can't open /dev/hwbinder: No such file or directory

I don’t know who was supposed to create the hwbinder device - it doesn’t exist in /dev.

Does it make sense to attempt force-reinstalling sailfish-fpd?

My two pence: I experienced recently several Xperia X crashes with bricked phone, so I had to re-flash it several times, using various methods including factory reset. EVERY time I flashed it WITH device encryption, I could not add any fingerprint. So I restarted from an old encryption-free SFOS release (nuuksio), the only known way to avoid device encryption.

Does anyone know what is /dev/hwbinder, what module backs it?

i have the same problem on 4.4.0.58 the FP is not working. Also the /dev/hwbinder is missing. Any idea how to solve it without flashing completely the phone?

I added a fingerprint to my X last night running 4.4.0.58 and it worked fine.

My $0.02

Also on my 2 devices (freshly installed 4.4.0.58) i cannot use finderprint and get the erorr /dev/hwbinder is missing.

does anyone know a workaround or solution?

is anyone within Sailfish team working on this ?