So somewhat predictably having had no response from Jolla to my question of support for the Xperia 10 iv for the last three weeks or so (yes, I know, they’re very busy) I decided to have a go at getting SFOS on my Android 14 Sony Xperia 10 iv (dual sim variant) myself using help from this forum.
Firstly, I realised this was indeed possible thanks to @oliviosu above.
I used the XQ-CC54 image from the Jolla shop here:
and standard Jolla instructions for the Xperia 10 iv here:
My first try flashing the single sim variant on the dual sim variant failed because fastboot couldn’t find any compatible devices. I guessed this was because it didn’t recognise the XQ-CC72 as an XQ-CC54 for which the SFOS image was meant.
So, after a little tinkering around amongst the flashing files I found the answer in ‘flash-config.sh’. I simply edited the VALID_PRODUCTS=(“XQ-CC54”) line so it read VALID_PRODUCTS=(“XQ-CC72”).
Trying to flash again then gave me a checksum error and I realised that by changing the file I’d also changed the checksum. So, being on Linux and dredging my memory from when I was a developer some 30 years ago I re-did the checksum:
md5sum ./flash-config.sh
I copied the output from the above command into the relevant line of ‘md5.lst’ (i.e. replacing the original checksum value against the ‘flash-config.sh’ line) and tried flashing again. This worked successfully.
Booting up got me a usable SFOS installation, but it was still only single sim.
By following the instructions from @zuyev above (thanks) I was then able to make the 2nd sim slot work successfully. Note that you have to be root to do this so a ‘devel-su’ command and password is required (you set this in the ‘Developer tools’ menu of the Sailfish settings app). I had two issues in trying to to this. The first set of instructions:
pkcon install jolla-settings-networking-multisim
# cat > /etc/ofono/binder.d/dual-sim.conf
[Settings]
ExpectSlots+=slot2
[slot2] path = /ril_1
slot = 1
worked fine, but for the second set of instructions:
# cat /etc/ofono/ril_subscription.d/dual-sim.conf
[ril_1]
transport=binder:name=slot2
name=slot2
ecclistFile=/run/ofono/ril.ecclist1
the ril_subscription.d directory and the dual-sim.conf file did not exist on my phone, so the command failed. I therefore created these as follows (assuming your current directory is /etc/ofono):
# mkdir ril_subscription.d
# cd ril_subscription.d
# touch dual-sim.conf
I then did (note the extra ‘>’):
# cat > /etc/ofono/ril_subscription.d/dual-sim.conf
[ril_1]
transport=binder:name=slot2
name=slot2
ecclistFile=/run/ofono/ril.ecclist1
I used the cat command, but if you have the root version of @ichthyosaurus File Browser (available on Openrepos) installed you can use that to create and edit the files.
After editing the files you then need to reboot the phone.
The Results
With the standard Jolla instructions v3a of the Sony binary blobs are used. Differently to my X10 v, both the battery indicator and the fingerprint sensor work absolutely fine. Mobile networking is stable, as is the switch between wifi and mobile.
The only serious issue that I have encountered so far is that the phone randomly reboots. I have now flashed the v4b blobs to see if they make any difference (they made a massive difference on my 10 v, enabling both the battery indicator to work and mobile networking to become usable).
I’ll post any updates here - but at least my X10 iv is now semi usable with SFOS (still no camera, but maybe Cameral API 2 will fix this?), and better than my X10 v.
As a near daily driver, sadly my older X10 iii still rules the roost.