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

Userdata flash failed [answered]

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

doudoune gravatar image

updated 2020-05-02 15:43:21 +0200

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.

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
edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by olf
close date 2020-05-02 15:53:16.115170

Comments

1

I am not an expert, but it doesn't seems like an issue with phone storage. Plus, why would it be, if you're flashing it new, whatever's on it should be wiped... Also, the error mentions a problem reading the file, not writing it. Maybe just try to reboot computer and try again... Fastboot can be finicky sometimes. I have heard about things like ``fastboot flash –S 256M userdata... but that seems like it addresses the writing of the info also, so not sure if it would apply here...

Levone1 ( 2020-05-02 13:52:20 +0200 )edit
1

Wow, thanks a lot! The 256M package size seems to have done the trick! No idea why it struggles with the default though.

doudoune ( 2020-05-02 15:39:52 +0200 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2020-05-02 15:47:01 +0200

doudoune gravatar image

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
edit flag offensive delete publish link more

Question tools

Follow
2 followers

Stats

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

Seen: 1,616 times

Last updated: May 02 '20