Hi all, here is one package with four fixes for the Xperia 10 V (XQ-DC54) on Sailfish OS 5.1.0.11. All tested on my phone; feedback welcome. Use all of them or only the ones you need.
1. Faster boot and shutdown – reboot to home screen 4:02 → 2:23
bluebinder.service is Type=notify, so boot waits for Bluetooth. Sony’s BT HAL sometimes crashes or fails chip init at boot (SoC Initialization stuck detected), so boot hangs until systemd gives up.
Fix: a wrapper starts bluebinder once the BT HAL has been stable for 10 s instead of blocking boot; shorter stop timeouts for nfcd and droid-hal-init (shutdown hung on them).
2. Microphone / Recorder – loud, playable recordings
The mic input only allows 24-bit. When the Recorder asks for 16-bit, pulseaudio-modules-droid loops on Couldn’t find compatible configuration for mix port “primary input” until the kernel kills PulseAudio (RLIMIT_RTTIME). The file is left unfinished and sound stops until reboot. Mic gain was also −3 dB.
Fix: adds a 16-bit profile and +12 dB gain (adjustable), via a bind-mounted copy. Peak level about −34 dB before, −20 dB after.
3. “No SIM card” after some boots – automatic recovery
ofono crashes (SIGSEGV) ~60 s after boot during SIM setup (after session_read_info not implemented). The restarted ofono starts with the radio off, and because the SIM is already active the modem powers the card down (uim POWER_DOWN - permanent card error 0x17). Not Bluetooth-related.
Fix: a small service notices the ofono restart and, if the SIM is still missing after 30 s, restarts only the RIL daemons (vendor.qcrilNrd, vendor.qcrilNrd2). SIM back ~40 s after the crash, no reboot. Restarting ofono itself doesn’t help.
Manual version: devel-su, then setprop ctl.restart vendor.qcrilNrd; setprop ctl.restart vendor.qcrilNrd2
4. Fingerprint – enrol, unlock, survives reboot
The open-source HAL crashes (SetDataPath failed rc=1): the egisap TA in the current firmware no longer matches it.
Fix: Sony’s stock fingerprint HAL (68.2.A.3.123) plus a small LD_PRELOAD shim (source included, reproducible build) that maps /dev/esfp0 → et51x /dev/fingerprint and translates the ioctls. Key bug: the stock software expects a level-high finger IRQ while et51x’s poll is active-low, so it always “saw” a finger and captured empty images. The shim reads the IRQ line instead.
Sony’s files are not included: you copy 9 files from your own firmware download (list in `fingerprint/README.txt`; extraction as in the [Nagara wiki]( Extracting data from stock ROM · sailfishos-sony-nagara/main Wiki · GitHub ): unsin → lpunpack super → vendor_a.img).
Install
Copy the xperia10v-fixes folder to the phone, then:
devel-su
cd /home/defaultuser/Downloads/xperia10v-fixes
sh fixes.sh on # boot + mic + sim
sh fixes.sh on fingerprint # optional, after adding Sony’s files
Reboot once.
sh fixes.sh status to check, sh fixes.sh off (or off mic etc.) to remove. Nothing in the system is overwritten; every fix removes cleanly.
Download: xperia10v-fixes.zip
Tested on one XQ-DC54 with Sony binaries v4b. The ofono crash is reported to Jolla; the SIM watcher is a workaround until it’s fixed.
MIT licence, unofficial, no warranty – use at your own risk and keep a backup.