So, I found an Xperia 10 III on Amazon at a good price - the right model and carrier unlocked. I checked that it had Android 11 and followed the Jolla instructions to the letter to install a newly purchased Sailfish X for the device.
I downloaded and extracted the ASOP binaries, the Sailfish 4.4.0.64 image for the Xperia 10 III, etc and cd’d to the folder where they all were (I’m on Linux).
Unlocking the bootloader was successful and confirmed by the unlocked padlock display and ‘Please lock the bootloader - your software can’t be checked for corruption’ as it booted up into Android.
I shut it down again as per the instructions, connected the USB cable, waited for the blue light and did ./flash.sh
The flashing failed with 'Failed (remote: Erase of userdata is not allowed in a snapshotted state), the output being:
Flash utility v1.2
Detected Linux
Searching device to flash…
Found XQ-BT52, serial:HQ622R1088, baseband:62.0.A.3.163, bootloader:1322-1665_X_Boot_SM6350_LA2.0_R_52
Found matching device with serial HQ622R1088
Fastboot command: fastboot -s HQ622R1088
fastboot -s HQ622R1088 getvar secure
<< secure: nofastboot -s HQ622R1088 flash boot_a hybris-boot.img
target reported max download size of 805306368 bytes
sending ‘boot_a’ (25800 KB)…
OKAY [ 0.805s]
writing ‘boot_a’…
OKAY [ 0.106s]
finished. total time: 0.911sfastboot -s HQ622R1088 flash boot_b hybris-boot.img
target reported max download size of 805306368 bytes
sending ‘boot_b’ (25800 KB)…
OKAY [ 0.669s]
writing ‘boot_b’…
OKAY [ 0.100s]
finished. total time: 0.769sfastboot -s HQ622R1088 flash dtbo_a dtbo.img
target reported max download size of 805306368 bytes
sending ‘dtbo_a’ (238 KB)…
OKAY [ 0.014s]
writing ‘dtbo_a’…
OKAY [ 0.004s]
finished. total time: 0.017sfastboot -s HQ622R1088 flash dtbo_b dtbo.img
target reported max download size of 805306368 bytes
sending ‘dtbo_b’ (238 KB)…
OKAY [ 0.015s]
writing ‘dtbo_b’…
OKAY [ 0.004s]
finished. total time: 0.019sfastboot -s HQ622R1088 flash userdata sailfish.img001
target reported max download size of 805306368 bytes
erasing ‘userdata’…
FAILED (remote: Erase of userdata is not allowed in snapshotted state)
finished. total time: 0.002s
Flashing failed (1)
Obviously the phone won’t boot up into Android anymore coz its not there, and Sailfish is not there - so all it does is cycle in a bootloop.
What can I do to fix this?