View Single Post
Mara's Avatar
Posts: 1,310 | Thanked: 820 times | Joined on Mar 2006 @ Irving, TX
#310
I gave it a first shot to flash Sailfish on my new XperiaX using the latest community build image. Unfortunately it did not work.

I tried first the windows method (flash.bat) but it seems the bat file has some issues and doesn't work. I manually executed the steps on the bat file in terminal window and everything seemed to go fine.

Code:
F:\SONY\SailfishOS-2.1.2.3-f5121-0.0.1+master.20170125170904.537a491.15>fastboot flash boot hybris-boot.img
target reported max download size of 536870912 bytes
sending 'boot' (10846 KB)...
OKAY [  0.354s]
writing 'boot'...
OKAY [  0.075s]
finished. total time: 0.435s

F:\SONY\SailfishOS-2.1.2.3-f5121-0.0.1+master.20170125170904.537a491.15>fastboot flash system fimage.img001
target reported max download size of 536870912 bytes
erasing 'system'...
OKAY [  0.983s]
sending sparse 'system' 1/2 (524284 KB)...
OKAY [ 18.141s]
writing 'system' 1/2...
OKAY [  3.845s]
sending sparse 'system' 2/2 (44832 KB)...
OKAY [  1.582s]
writing 'system' 2/2...
OKAY [  0.323s]
finished. total time: 24.885s

F:\SONY\SailfishOS-2.1.2.3-f5121-0.0.1+master.20170125170904.537a491.15>fastboot flash userdata sailfish.img001
target reported max download size of 536870912 bytes
erasing 'userdata'...
OKAY [  0.542s]
sending sparse 'userdata' 1/1 (0 KB)...
OKAY [  0.013s]
writing 'userdata' 1/1...
OKAY [  0.011s]
finished. total time: 0.571s

F:\SONY\SailfishOS-2.1.2.3-f5121-0.0.1+master.20170125170904.537a491.15>fastboot flash oem xperiax_m_loire.img
target reported max download size of 536870912 bytes
sending 'oem' (163040 KB)...
OKAY [  5.297s]
writing 'oem'...
OKAY [ 21.028s]
finished. total time: 26.329s
After restart the phone entered to bootloop (shows SONY logo and restarts endlessly).

The only difference is that I did shorten the Sony OEM blob file name... This should have nothing to do with this? There are several versions of the Sony OEM blob files available. I used the one that was mentioned in the instructions.

I was able to recover it back to Android using the EMMA tool. It flashed back slightly older version (228) while the version before was 344 if I recall.

I retried flashing after the EMMA tool recovery but I still get the bootloop. This time I can't even get the EMMA to recognize the phone any more... so I'll need to recover it using the fastboot only.

One interesting point I noted with EMMA: It can not be used in the fastboot mode (blue LED after holding volume up key up) but only in "standard mode" showing green LED...

EDIT: Now I'm seeing the userdata size being 0... that's probably the issue...

EDIT2: For testing I flashed the fimage.img001 to the userdata and it worked. Trying again to flash the sailfish.img001 to the userdata shows 0 size, so for some reason the fastboot don't like the sailfish.img001 file. (File size too big? corrupted?)

Last edited by Mara; 2017-11-19 at 20:06.
 

The Following 3 Users Say Thank You to Mara For This Useful Post: