We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2020-05-02 12:35:09 +0200

Userdata flash failed

Hello everyone,

I am trying to flash Sailfish OS on a Sony Xperia 10 dual sim that previously had Lineage OS running. I followed the tutorial with the exception that the driver Sony sa0114 wouldn't be updated and shows up as Android device bootloader instead. But fastboot is running fine anyway.

The flash of the userdata via fastboot fails (see output below). I assume that the phone doesn't have enough storage left. Am I right and if yes how can I safely remedy this? Note that I have to replug the phone in order to get fastboot running again.

 D:\CloudStation\SonyCustomROM\Sailfish_OS-Jolla-3.3.0.16-i4113-0.0.4.6>fastboot.exe -s CQ30022HSH flash userdata sailfish.img001
    Sending sparse 'userdata' 1/3 (523679 KB)          OKAY [ 11.673s]
    Writing 'userdata'                                 OKAY [  0.000s]
    Sending sparse 'userdata' 2/3 (523507 KB)          OKAY [ 12.062s]
    Writing 'userdata'                                 OKAY [  0.000s]
    Sending sparse 'userdata' 3/3 (333601 KB)          FAILED (Error reading sparse file)
    fastboot: error: Command failed

    ERROR: Failed to execute 'fastboot.exe -s CQ30022HSH flash userdata sailfish.img001'.

    FLASHING FAILED

    Please go to https://together.jolla.com/ and ask for guidance.

Thank you very much for your help.

Userdata flash failed

Hello everyone,

I am trying to flash Sailfish OS on a Sony Xperia 10 dual sim that previously had Lineage OS running. I followed the tutorial with the exception that the driver Sony sa0114 wouldn't be updated and shows up as Android device bootloader instead. But fastboot is running fine anyway.

The flash of the userdata via fastboot fails (see output below). I assume that the phone doesn't have enough storage left. Am I right and if yes how can I safely remedy this? Note that I have to replug the phone in order to get fastboot running again.

 D:\CloudStation\SonyCustomROM\Sailfish_OS-Jolla-3.3.0.16-i4113-0.0.4.6>fastboot.exe -s CQ30022HSH flash userdata sailfish.img001
    Sending sparse 'userdata' 1/3 (523679 KB)          OKAY [ 11.673s]
    Writing 'userdata'                                 OKAY [  0.000s]
    Sending sparse 'userdata' 2/3 (523507 KB)          OKAY [ 12.062s]
    Writing 'userdata'                                 OKAY [  0.000s]
    Sending sparse 'userdata' 3/3 (333601 KB)          FAILED (Error reading sparse file)
    fastboot: error: Command failed

    ERROR: Failed to execute 'fastboot.exe -s CQ30022HSH flash userdata sailfish.img001'.

    FLASHING FAILED

    Please go to https://together.jolla.com/ and ask for guidance.

Thank you very much for your help.EDIT: Editing the package size with an additional -S option seemed to do the trick. I flashed the remaining partitions manually similarly to the command below

fastboot flash -s CQ30022HSH -S 256M userdata .\sailfish.img001