Xperia 10 ii and Android 12

In order to flash my X10ii running Android 12, I am using an USB hub because the procedure fails with USB3. The instructions are about using ASOP Android 10 but I have also downloaded the ASOP Android 12 and tried to use it but it fails

https://developer.sony.com/file/download/software-binaries-for-aosp-android-12-0-kernel-4-19-seine/

I can edit the flash.sh script in such a way, it will take this image instead. Does this make sense for you or ASOP Android 10 is the unique option available? Thanks.

I have found this thread about using ASOP Android 11 and the test failed but no harm have been done. The test was done on March 22th, possibly something might be changed in two months or not.

FLASHING LOG:

roberto@laptop: ~/Sailfish_OS-Jolla-4.5.0.19-xqau52-1.0.0.19$ sudo bash ./flash.sh --dry-run

Flash utility v1.2
Detected Linux
Searching device to flash..
Found XQ-AU52, serial:QxxxxxA, baseband:1xxxxx3, bootloader:1xxxxx5
Found matching device with serial QxxxxxA
Fastboot command: fastboot -s QxxxxxA
>> fastboot -s QxxxxxA 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 10.0 - Kernel 4.14 - Seine"
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

That does not make sense. Why not just follow the instructions?

Just curious about Android 12 because the phone arrived with such version.

$ sudo bash ./flash.sh 
Flash utility v1.2
Detected Linux
Searching device to flash..
Found XQ-AU52, serial:QxxxxA, baseband:1xxxx3, bootloader:1xxxx5
Found matching device with serial QxxxxA
Fastboot command: fastboot -s QxxxxA
>> fastboot -s QxxxxA getvar secure
<< secure: no
>> fastboot -s QxxxxA flash:raw boot_a hybris-boot.img
Sending 'boot_a' (18404 KB)                        OKAY [  0.588s]
Writing 'boot_a'                                   OKAY [  0.107s]
Finished. Total time: 0.714s
>> fastboot -s QxxxxA flash:raw boot_b hybris-boot.img
Sending 'boot_b' (18404 KB)                        OKAY [  0.592s]
Writing 'boot_b'                                   OKAY [  0.106s]
Finished. Total time: 0.719s
>> fastboot -s QxxxxA flash dtbo_a dtbo.img
Sending 'dtbo_a' (272 KB)                          OKAY [  0.019s]
Writing 'dtbo_a'                                   OKAY [  0.007s]
Finished. Total time: 0.033s
>> fastboot -s QxxxxA flash dtbo_b dtbo.img
Sending 'dtbo_b' (272 KB)                          OKAY [  0.009s]
Writing 'dtbo_b'                                   OKAY [  0.008s]
Finished. Total time: 0.023s
>> fastboot -s QxxxxA flash userdata sailfish.img001
Sending sparse 'userdata' 1/3 (778236 KB)          OKAY [ 24.748s]
Writing 'userdata'                                 OKAY [  0.003s]
Sending sparse 'userdata' 2/3 (751411 KB)          OKAY [ 24.193s]
Writing 'userdata'                                 OKAY [  0.001s]
Sending sparse 'userdata' 3/3 (109100 KB)          OKAY [  7.250s]
Writing 'userdata'                                 OKAY [  0.001s]
Finished. Total time: 56.230s
>> fastboot -s QxxxxA flash oem_a ./SW_binaries_for_Xperia_Android_10.0.7.1_r1_v12b_seine.img
Sending 'oem_a' (265376 KB)                        OKAY [  8.252s]
Writing 'oem_a'                                    OKAY [ 37.886s]
Finished. Total time: 54.733s

Flashing completed.

Remove the USB cable and bootup the device by pressing powerkey.