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

Xperia X : Flash from Linux works (not a question) [not relevant]

asked 2017-10-11 21:19:47 +0200

fishandchips gravatar image

updated 2017-10-12 10:36:37 +0200

jiit gravatar image

Flashing the Xperia X works fine from Linux. My plattform: - Arch Linux - Fastboot installed and in path - Sudo installed and configured for my account - flash.sh from Sailfish within zip file

edit retag flag offensive reopen delete

The question has been closed for the following reason "question is not relevant or outdated" by JoHe
close date 2017-10-15 11:01:30.097092

Comments

1

THANK YOU! IYF trolls!

tortoisedoc ( 2017-10-11 21:30:57 +0200 )edit

Thank you! Great to know!

Do I understand correctly I just need to run the flash.sh script ('course sudo and fastboot available)?

Have a nice evening!

shiro kitsune ( 2017-10-11 21:44:57 +0200 )edit
3

first: this is no guide

yes, upgrade Android on the phone to atleast the version from the Jolla Guide, unlock it according to Sonys guide, download the image from the Jolla Store. Extract the zip- file. Add the Sony Image to the folder as descibed.

My post was to let evryone know that one can flash Sailfish Offical to Xperia X without MS- Windows. Not a guide.

fishandchips ( 2017-10-11 21:54:08 +0200 )edit

Yes, I understood this is no guide. Just wanted to ask as asking is free of charge(*-^). Maybe I should have been more specific (e.g. flashing the image by hand). Question answered. 'bowing'

shiro kitsune ( 2017-10-11 21:57:24 +0200 )edit

thanks! sounds encouraging. will try this then. emma at least is no wine compatible program ... :(

jabgoe ( 2017-10-11 22:00:43 +0200 )edit

4 Answers

Sort by » oldest newest most voted
9

answered 2017-10-11 22:06:20 +0200

accumulator gravatar image

updated 2017-10-13 10:53:26 +0200

Flashing from LInux only works iff you first upgraded the installed Android to 34.3.A.0.228. If you unlocked the phone before upgrading, the partitioning is still in an old layout, which prohibits flashing from Linux.

I unlocked it before fully upgrading, so now I'm battling with the Sony Emma tool, which is a PITA because my C: disk doesn't have much free space, and Emma instists on downloading the image to C:, which fails :(

Edit: As @Jarno noted, you can fix the partitioning from linux:

devel-su
mkdir ~/oem
mount /dev/disk/by-partlabel/oem ~/oem
rm -rf ~/oem/*
cp -ar /system/vendor/* ~/oem
umount ~/oem
rmdir ~/oem
edit flag offensive delete publish link more

Comments

I didnt upgrade Android before unlocking mine because why would you!? Well thats a pain now that i know why you would.

Will let you know about my exerience using MacOS for some reason tgere arent a lot of Jolla users apparently that use MacOS, beats me.

DarkTuring ( 2017-10-11 22:10:01 +0200 )edit
2

That could be, but you can solve the partitioning. I did so myself as I was running the community build previously from https://talk.maemo.org/showthread.php?s=4746a68f84eaf847787524559a7f07fd&t=99875&highlight=flash.sh

devel-su
mkdir ~/oem
mount /dev/disk/by-partlabel/oem ~/oem
rm -rf ~/oem/*
cp -ar /system/vendor/* ~/oem
umount ~/oem
rmdir ~/oem
Jarno ( 2017-10-12 11:51:35 +0200 )edit

According to the Linux instructions on TMO, Emma is not required to flash the latest firmware, you can do it with flashtool, like any other firmware: http://talk.maemo.org/showthread.php?t=99952

Sthocs ( 2017-10-12 14:37:27 +0200 )edit

i wish i had had read your comment before. you are correct, with older versions flashing from linux doesn't work.

i made the mistake not to upgrade to the correct version and flashing failed (obviously oem partition missing or wrong). but i found a workaround based on the instructions for the installation of the community version earlier this month: http://talk.maemo.org/showpost.php?p=1536613&postcount=46

jabgoe ( 2017-10-13 00:41:04 +0200 )edit

Thanks @Jarno. Made it possible for me to flash my device which already had community build installed.

pfbach ( 2017-10-13 10:36:02 +0200 )edit
0

answered 2017-10-12 11:34:24 +0200

elkiaer gravatar image

I did also unlocked the phone before fully upgrading through the phone. I did not have any issue with the EMMA tool.

edit flag offensive delete publish link more
0

answered 2017-10-13 11:50:54 +0200

JoHe gravatar image

Great, there is a wiki here.

edit flag offensive delete publish link more
0

answered 2017-10-15 02:14:26 +0200

bandix400 gravatar image

Hello, My Xperia was flashed with community Sailfish and it is OK : is it possible to just reflash it with the official SFOS ? Or maybe, just to update with the official zip?

edit flag offensive delete publish link more

Question tools

Follow
7 followers

Stats

Asked: 2017-10-11 21:19:47 +0200

Seen: 2,169 times

Last updated: Oct 15 '17