Xperia 10 III flashing issue

I am trying to reflash my 10 III (xq/bt52). It has been unbootlocked and was running Sailfish, so started on the installation guide at step 8.

My terminal looks like this:

[tomas@mother-orange Sailfish_OS-Jolla-4.5.0.24-xqbt52-1.0.1.23]$ ls
AdbWinApi.dll     flash-config.sh       hw-release           os-release
AdbWinUsbApi.dll  flashing-README.txt   hybris-boot.img      sailfish.img001
dtbo.img          flash-on-windows.bat  hybris-recovery.img  SW_binaries_for_Xperia_Android_11_4.19_v8a_lena.img
fastboot.exe      flash.sh              md5.lst
[tomas@mother-orange Sailfish_OS-Jolla-4.5.0.24-xqbt52-1.0.1.23]$ sudo bash ./flash.sh
Flash utility v1.2
Detected Linux
Searching device to flash..
Found XQ-BT52, serial:HQ61A19AC1, baseband:62.1.A.0.533, bootloader:1322-1665_X_Boot_SM6350_LA2.0.1_S_108
Found matching device with serial HQ61A19AC1
Fastboot command: fastboot -s HQ61A19AC1
>> fastboot -s HQ61A19AC1 getvar secure
<< secure: no

The supported Sony Vendor partition image wasn't found in the current directory.
Please download it from
https://developer.sony.com/develop/open-devices/downloads/software-binaries/
Ensure you download the supported version of the image found under:
"Software binaries for AOSP Android 11.0 - Kernel 4.19 - Lena"
and unzip it into this directory.
Note: information on which versions are supported is written in our Sailfish X
installation instructions online https://jolla.com/sailfishxinstall

[tomas@mother-orange Sailfish_OS-Jolla-4.5.0.24-xqbt52-1.0.1.23]$

I dl\ed the image file from Sony and have it in there.

It asks for

Software binaries for AOSP Android 11.0 - Kernel 4.19 - Lena

And I give it

SW_binaries_for_Xperia_Android_11_4.19_v8a_lena.img

Not sure what else to do. Phone has blue LED, running arch, latest android-tools.

1 Like

Why did you download v8a when it wants v9a?
SW_BINARIES_FOR_XPERIA_ANDROID_11_4.19_V9A_LENA.ZIP.

1 Like

That was it, thanks!

Although now there is some other issue…

[tomas@mother-orange Sailfish_OS-Jolla-4.5.0.24-xqbt52-1.0.1.23]$ sudo bash ./flash.sh
Flash utility v1.2
Detected Linux
Searching device to flash..
Found XQ-BT52, serial:HQ61A19AC1, baseband:62.1.A.0.533, bootloader:1322-1665_X_Boot_SM6350_LA2.0.1_S_108
Found matching device with serial HQ61A19AC1
Fastboot command: fastboot -s HQ61A19AC1
>> fastboot -s HQ61A19AC1 getvar secure
<< secure: no
>> fastboot -s HQ61A1A9C1 flash:raw boot_a hybris-boot.img
Sending 'boot_a' (25912 KB)                        OKAY [  0.779s]
Writing 'boot_a'                                   OKAY [  0.058s]
Finished. Total time: 0.855s
>> fastboot -s HQ61A19AC1 flash:raw boot_b hybris-boot.img
Sending 'boot_b' (25912 KB)                        OKAY [  0.793s]
Writing 'boot_b'                                   OKAY [  0.076s]
Finished. Total time: 0.884s
>> fastboot -s HQ61A19AC1 flash dtbo_a dtbo.img
Sending 'dtbo_a' (238 KB)                          OKAY [  0.008s]
Writing 'dtbo_a'                                   OKAY [  0.003s]
Finished. Total time: 0.022s
>> fastboot -s HQ61A19AC1 flash dtbo_b dtbo.img
Sending 'dtbo_b' (238 KB)                          OKAY [  0.011s]
Writing 'dtbo_b'                                   OKAY [  0.005s]
Finished. Total time: 0.027s
>> fastboot -s HQ61A19AC1 flash userdata sailfish.img001
terminate called after throwing an instance of 'std::out_of_range'
  what():  basic_string::compare: __pos (which is 464) > this->size() (which is 0)
./flash.sh: line 121: 1534073 Aborted                 (core dumped) $@
Flashing failed (134)
1 Like

Try to unzip Sailfish_OS-Jolla-4.5.0.24… with another archiver.

Might be a corrupted file like arustg says.

Open a terminal; what is the output of:

md5sum /path/to/file/sailfish.img001

EDIT:
Might be something else, the flash script would have complained about the md5 if the file was corrupt.