[GUIDE]Xperia 10 V:faster boot, mic, SIM recovery, fingerprint

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.

7 Likes

Could that work on the Xperia IV, too?
Sounds like solid work… B)

1 Like

Also, I haven’t mentioned it yet: I got the camera working on my 10 V too. All four cameras, OIS and video recording work, using Sony’s v4b binaries, the 10 V stock camera files and a small device-tree fix. Happy to help with the 10 IV as well. The only issues are the hardware differences (different camera modules) and Sony’s proprietary files, which can’t be shared, so everyone has to take them from their own stock firmware.

Thanks! :sweat_smile:: Probably partly. The 10 IV has the same chip and the same Sony binaries, so the boot and SIM fixes should work if you have those issues. The mic fix stops safely if your audio config is different. Fingerprint is 10 V-specific. I tried to get hand on 10 IV to test, but bad luck: I could only find the Japanese version. If anyone with a 10 IV tries it, please post sh fixes.sh status and I’ll help.

1 Like

Ever since I got the v4 blobs, the camera has been working on the Xperia 10 IV as well. I’m still relying on that device for now, until my Jolla2026 arrives on September 2. Then I’ll be happy to test it on the Sony! Thanks for your replies. :hugs: :folded_hands:

1 Like

Of course, they’re referring to the Sept-II shipment—stupid translation tool… :roll_eyes: :face_in_clouds:

1 Like

Nicely done. Everything is well documented. One precompiled binary with source included.

2 Likes

I assume it is for the offical Sailfish Port from Jolla?

It’s an Official version of SFOS updated to pispala.

1 Like

Update (2026-10-30): root causes and status

Here is what I know so far on SFOS 5.2.0.22 (XQ-DC54, Sony v4b). Everything below is also covered by the scripts in this guide.

Fingerprint — fixed and verified

  • Status: 4 fingerprints enrolled, all work. Survives reboot (one passcode prompt on first unlock after boot, as normal) and survived the 5.1.0.11 → 5.2.0.22 update.
  • Open HAL: android.hardware.biometrics.fingerprint@2.1-service.sony (egistec) crash-loops with SetDataPath failed rc=1. The egisap TA in newer stock firmware likely no longer matches it.
  • Root cause of the stock-HAL route failing: IRQ polarity. The stock stack (bix.fingerprint) talks to /dev/esfp0 with Egistec ioctls (0xa4 arms the IRQ with int_mode 3 = level-high) and waits in poll(POLLIN). The SODP et51x driver exposes /dev/fingerprint, and its poll() reports POLLIN while the GPIO is low (idle). So every capture looked like a touch and came back empty (BIX_FTC_SKIP / BIX_FP_IMG_NONE).
  • Workaround: a small GPL LD_PRELOAD shim maps /dev/esfp0 → /dev/fingerprint, translates the ioctls and overrides poll() to read ET51X_IOCRIRQ with the right polarity.
  • Proper fix (suggestion): in the et51x driver — correct the poll polarity and provide /dev/esfp0-compatible ioctls — so no shim is needed. Sony’s stock blobs can’t be redistributed, so an official fix has to be driver/HAL side.

Microphone

  • primary_audio_policy_configuration.xml lists only AUDIO_FORMAT_PCM_8_24_BIT for the “primary input” mix port. A 16-bit recording makes pulseaudio-modules-droid log Couldn't find compatible configuration for mix port "primary input" in a tight loop on the realtime thread, and ~200 ms later RLIMIT_RTTIME kills PulseAudio → broken recordings and no sound until restart.
  • Fix: add a PCM_16_BIT profile (8000–48000 Hz, mono/stereo). Separately, TX_DEC0 Volume defaults to 81 (−3 dB); 93 takes speech from about −34 dBFS to about −20 dBFS peak.

Slow boot

  • bluebinder.service is Type=notify, so boot waits for Bluetooth, and the Sony BT HAL often fails chip init at boot (SoC Initialization stuck) and restarts; StartLimitBurst=3 then marks bluebinder failed.
  • Starting bluebinder from a non-blocking wrapper (Type=simple, StartLimitIntervalSec=0, start once the BT HAL pid has been stable for 10 s) cut a full reboot from 4:02 to 2:23.

No SIM after some boots (~1 in 3–5)

  • ofono SIGSEGVs ~60 s after boot, right after session_read_info not implemented. The restarted ofono sends setRadioPower 0 while the SIM is already active, so the modem powers the card down (uim POWER_DOWN, card error 0x17).
  • Restarting only vendor.qcrilNrd and vendor.qcrilNrd2 brings the SIM back without a reboot; the guide includes an automatic watcher for that.
  • Bluetooth is not the cause: seen with it enabled, disabled, and not yet started.
2 Likes

I just asked in the next community meeting about what is the smoothest way to get your work included in the official port. The sooner the better :slight_smile: : Community meeting on November 12, 2026 - #7 by yusssufff

3 Likes

Xperia 10 IV. I have applied only boot fix. From almost 4m - i got 1:37

2 Likes

Very nice, I just tried it - the launch is much faster! If you keep tinkering around like this, many will cancel your JP2026 and offer premium prices for the Xperia 10IV & V… :hushed_face: :winking_face_with_tongue:

3 Likes

Thanks both, glad it helped! Good to know it works on the 10 IV too. If anyone hits something odd after applying it, tell me the model and SFOS version and I’ll take a look.

1 Like

Unfortunately, I had to turn it off again. On the 10IV, it shuts down all Bluetooth activity, so my beloved Pebble Steel (manufactured in 1619 or so) stopped working, and the LADA (technically from 1989 or so) wouldn’t connect. Once I turned it off, everything worked again… :hushed_face: :cry: :smiling_face_with_tear:

Thanks for testing, and sorry about the Pebble and the LADA. I only built and tested this on a 10 V, so it’s likely my wrapper doesn’t suit the 10 IV’s BT HAL, e.g. it waits for the HAL to be stable and then never starts bluebinder. If you’re willing to try once more, could you send the output of systemctl status bluebinder and journalctl -u bluebinder -b with the fix on and BT dead? I’d rather fix it properly than leave you with it off. Until then, off is the right call.

3 Likes