Xperia 10 IV flash 4.6.0.15 faulty

REPRODUCIBILITY: 100%
OS VERSION: 4.6.0.15
HARDWARE: Xperia 10 IV
UI LANGUAGE: slovak
REGRESSION:

DESCRIPTION:

A. Linux
Upload SFOS to Xperia 10 IV according to the instructions in “Xperia 10 IV install on Linux.pdf”. In the “8 Flash Sailfish X” section, the process ends with an error

$ sudo ./flash.sh
Flash utilities v1.2
Detected Linux
Searching device to flash..
Found XQ-CC54, serial:, baseband:, bootloader:
Found matching device with serial XXXXXXXXX
Fastboot command: fastboot -s XXXXXXXXX
>> fastboot -s XXXXXXXXX getvar secure
<< getvar:secure FAILED (remote: 'GetVar Variable Not found')

Separately running commands are executed correctly and without error

$ fastboot -s XXXXXXXXXX getvar secure
secure: no
Finished.
Total time: 0.003s
$ fastboot -s XXXXXXXXXX getvar version-baseband
version-baseband: 65.2.A.2.179
Finished.
Total time: 0.003s
$ fastboot -s XXXXXXXXXX getvar version-bootloader
version-bootloader: 6375-0001_X_Boot_SM6375_LA2.0.1_T_112
Finished.
Total time: 0.003s

B. Windows
Uploading SFOS to Xperia 10 IV according to the instructions in “Xperia 10 IV install on Windows.pdf”. In the “8 Flash Sailfish X” section, the process will end on

Rebooting into fastboot OKEY [0.016s]
< waiting for XXXXXXXXX >

while the Xperia will display the Fastboot menu and the process will stop here (I waited 2 hours).

PRECONDITIONS:

  • [Xperia 10 IV] - [XQ-CC54] - [Android 14] with unlocked bootloader
  • Ubuntu 23.10/Virtualbox-win10, PC/Windows 10
  • USB 2.0 + cable verified
  • SW_binaries_for_Xperia_Android_14_5.4_v3a_murray.img
  • I restarted the phone between attempts, waited 15 seconds

STEPS TO REPRODUCE:

  1. Done everything without error according to the instructions until step “8 Flash Sailfish X
  2. Xperia connected with USB 2.0 cable, blue LED lights up
  3. Running the command
    sudo ./flash.sh
    resp.
    flash-on-windows.bat

EXPECTED RESULT:

Performing flash SFOS

ACTUAL RESULT:

The flash process ends with an error (linux) or won’t complete (windows)

MODIFICATIONS:

ADDITIONAL INFORMATION:

Maybe you can try with --force?

You mean sudo ./flash.sh --force, or
flash-on-windows.bat --force? I tried it, it didn’t help.

Hi, I know absolutely nothing about this…but when flashing Tama devices there’s a check for the correct slot: fastboot getvar current-slot…maybe try that

Yes, but defactofactotum’s answer is better. If it’s a slot issue it could be that it automatically switches between slots everytime you flash, but if you already tried again with --force then probably not

returned
current-slot: a
what does that mean? I don’t have more OS on my mobile (slot b?), only Android 14, it’s a new unused device, the original was Android 12, I uploaded version 14 there using Xperia Companion.
I don’t understand why the standalone commands execute without error, but flash.sh ends up with an error on them.
I don’t have much experience with flashing, so I don’t know if it’s normal that after (almost) every other fastboot command I have to disconnect the cable, because the phone switches to normal mode (blue LED turns off, red turns on) and goes into charging mode.

This part could be USB autosuspend in action… On Linux, could you try doing this before plugging the phone to the computer, and then flashing “as usual”?

4 Likes

BINGO!!! That’s it, you’re right @direc85, thank you! :grinning:

1 Like

Got the same issue on Windows 11.
Hopefully a fix will come. :slight_smile: