On my Xperia III, installing from Arch Linux I get the following crash.
So now my phone is in a half flashed state and I’m unsure how to proceed.
$ ./flash.sh
Flash utility v1.2
Detected Linux
Searching device to flash..
Found XQ-BT52, serial:HQ619U1C3E, baseband:62.0.A.3.70, bootloader:1322-1665_X_Boot_SM6350_LA2.0_R_49
Found matching device with serial HQ619U1C3E
Fastboot command: fastboot -s HQ619U1C3E
>> fastboot -s HQ619U1C3E getvar secure
<< secure: no
>> fastboot -s HQ619U1C3E flash:raw boot_a hybris-boot.img
Sending 'boot_a' (25912 KB) OKAY [ 0.662s]
Writing 'boot_a' OKAY [ 0.063s]
Finished. Total time: 0.733s
>> fastboot -s HQ619U1C3E flash:raw boot_b hybris-boot.img
Sending 'boot_b' (25912 KB) OKAY [ 0.668s]
Writing 'boot_b' OKAY [ 0.080s]
Finished. Total time: 0.755s
>> fastboot -s HQ619U1C3E flash dtbo_a dtbo.img
Sending 'dtbo_a' (238 KB) OKAY [ 0.008s]
Writing 'dtbo_a' OKAY [ 0.002s]
Finished. Total time: 0.020s
>> fastboot -s HQ619U1C3E flash dtbo_b dtbo.img
Sending 'dtbo_b' (238 KB) OKAY [ 0.017s]
Writing 'dtbo_b' OKAY [ 0.002s]
Finished. Total time: 0.028s
>> fastboot -s HQ619U1C3E 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: 45604 Aborted (core dumped) $@
Flashing failed (134)