maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   [UNOFFICIAL GUIDE] Flash Sailfish X using Linux or MacOS (https://talk.maemo.org/showthread.php?t=99952)

jakibaki 2017-10-11 15:37

[UNOFFICIAL GUIDE] Flash Sailfish X using Linux or MacOS
 
UPDATE: If your bootloader is still locked or if you updated to firmware 34.3.A.0.228 or newer before unlocking consider following the official
linux-instructions
instead! Otherwise their guide recommends using windows for updating so in that case this one is still useful if you don't want to deal with windows.

This is an unofficial Guide for installing the official Sailfish X image on your Xperia X (single sim-version, it might possibly work with the dual-sim version but that's untested) using Linux/MacOS.

Some people are reporting that this guide also works with the dual-sim version.

Please keep in mind that while I don't think it is possible to accidentally permanently damage your phone by following this tutorial it's still you who does the flashing and since these are unofficial instructions neither me nor Jolla is responsible for any damage that might happen in the process.

If your bootloader is still locked updating to the latest android-ota eliminates the need for the flashtool step (do the update before unlocking the bootloader). It may be needed to update multiple times (until android doesn't find any new updates anymore) so don't assume that you're done after updating once.

If you haven't already unlocked your bootloader you may want to consider backing up your drm-keys first.

First we'll need to unlock the bootloader, this will void your guarantee (at least officially, in some places this is not enforceable).

If you already unlocked our bootloader you can skip to the flashtool-step.

It will also will erase your drm-keys from your phone! They'll be lost forever unless you backed them up! (irrelevant for sailfish x but backing them up might be useful if you ever want to use stock android again)

Go to the developer-settings in Android (can be made visible by repeatedly tapping the build-version in the settings) and activate OEM unlock.

After that we'll need to install fastboot on your computer. To do that on Ubuntu/Debian run

Code:

sudo apt install android-tools-fastboot
On MacOS install homebrew and run

Code:

brew cask install android-platform-tools
Obtain your unlock-key by following the instructions here.

Get the device into fastboot mode by fully turning it off and plugging in the power-cable while holding volume up.

Run
Code:

fastboot oem unlock 0xYOUR_KEY
on MacOS and
Code:

sudo fastboot oem unlock 0xYOUR_KEY
on linux.

Congrats! Your bootloader is now unlocked :)

We will download and install the newest official firmware from Sony which allows flashing to a special partition (on Windows this step is done using Emma, but we don't have that on Linux/MacOS so we'll use the unofficial flashtool).

Download and install the unofficial flashtool for your platform.

Download this image (mirror, mirror 2) (source). If you have the dual-sim version (again, untested) you should look for the newest update for the f5122.

Fully turn off your phone.

Open flashtool.

Plug your phone into your computer. Flashtool should now recognize your phone. If it doesn't unplug it again and plug it back in while holding volume-down.

Click on the Flash-Symbol, select Flash Mode, select the folder where you downloaded the file and select the xperia-x firmware (34.3.*). Leave the rest of the settings alone unless you know what you're doing.

Click on the Flash button. This will now install the update so it will take a while. Don't get scared if it's stuck at preparing files for a long time, it's supposed to be that way. If an error pops up (can't quite remember what the message was) select continue.

After this is done unplug your phone, Quit Flashtool (hint for MacOS: cmd-q won't properly exit the program so be sure to click on File->Exit to exit Flashtool) and boot into Android once.

Now fully turn off your phone again and enter fastboot-mode (hold volume-up while plugging in your phone).
The led should now be blue.

Extract the Sailfish-X zip to a location of your choice.

Go to this site, accept the terms and conditions and extract the SW_binaries_for_Xperia_AOSP_M_MR1_3.10_v13_loire.i mg file to the unpacked folder.

cd to the location where you unpacked the zip and run
Code:

chmod +x flash.sh
to mark the flash.sh as executable.

Now run
Code:

sudo ./flash.sh
on Linux and
Code:

./flash.sh
on MacOS to flash Sailfish OS.

Finally reboot your phone and enjoy Sailfish OS!

mrsellout 2017-10-11 15:43

Re: [UNOFFICIAL GUIDE] Flash Sailfish X using Linux or MacOS
 
The Mega link is down :(
Quote:

The file you are trying to download is no longer available.

jakibaki 2017-10-11 16:06

Re: [UNOFFICIAL GUIDE] Flash Sailfish X using Linux or MacOS
 
Quote:

Originally Posted by mrsellout (Post 1536383)
The Mega link is down :(

I updated the link to a new one which works for me. At least one person in the irc is having trouble with it though so I'll also link to a mirror in a few minutes.

mbo 2017-10-11 16:25

Re: [UNOFFICIAL GUIDE] Flash Sailfish X using Linux or MacOS
 
I have my xperia x already unlocked, flashed with TWRP and a custom rom.

Do I have to go back to the official Sony rom before flashing? And do I need this drm-keys for the steps described above?

jakibaki 2017-10-11 16:48

Re: [UNOFFICIAL GUIDE] Flash Sailfish X using Linux or MacOS
 
Quote:

Originally Posted by mbo (Post 1536395)
I have my xperia x already unlocked, flashed with TWRP and a custom rom.

Do I have to go back to the official Sony rom before flashing? And do I need this drm-keys for the steps described above?

You don't need any drm keys.

If you didn't run ota while on an official sony rom in the last few days you'll need to install the update. It enables a special partition to be written to from fastboot-mode which is needed to install sailfish-x. (there is a workaround but this way is much easier)

acrux 2017-10-11 17:27

Re: [UNOFFICIAL GUIDE] Flash Sailfish X using Linux or MacOS
 
Thanks jakibaki for your instructions!

One additional question: If I installed the community build, performed these countermeasures:
devel-su
mkdir ~/oem
mount /dev/disk/by-partlabel/oem ~/oem
rm -rf ~/oem/*
cp -ar /system/vendor/* ~/oem
umount ~/oem
rmdir ~/oem
then do I still have to use emma to return to the latest Android for XperiaX or can I just flash official downloaded SailfishX over the community build?

jakibaki 2017-10-11 17:33

Re: [UNOFFICIAL GUIDE] Flash Sailfish X using Linux or MacOS
 
Quote:

Originally Posted by acrux (Post 1536421)
Thanks jakibaki for your instructions!

One additional question: If I installed the community build, performed these countermeasures:
devel-su
mkdir ~/oem
mount /dev/disk/by-partlabel/oem ~/oem
rm -rf ~/oem/*
cp -ar /system/vendor/* ~/oem
umount ~/oem
rmdir ~/oem
then do I still have to use emma to return to the latest Android for XperiaX or can I just flash official downloaded SailfishX over the community build?

That should also work. Just remove the oem line from the flash.sh script before flashing :)

EDIT: Turns out there are some problems with that way because the blobs were updated. Read this if you really don't want to use flashtool.

objectifnul 2017-10-11 18:00

Re: [UNOFFICIAL GUIDE] Flash Sailfish X using Linux or MacOS
 
Sony sent me an unlock key like 146xxxxxxxxxx761. However
sudo fastboot oem unlock <MY_KEY> failed:

FAILED (remote: Incorrect format for unlock data. Should be on the form "0x)

Just added "0x" before the unlock key, then okay.

jakibaki 2017-10-11 18:13

Re: [UNOFFICIAL GUIDE] Flash Sailfish X using Linux or MacOS
 
Quote:

Originally Posted by objectifnul (Post 1536431)
Just added "0x" before the unlock key, then okay.

Thanks for the hint, I'll clarify it in the guide :)

m4r0v3r 2017-10-11 18:17

Re: [UNOFFICIAL GUIDE] Flash Sailfish X using Linux or MacOS
 
i flashed that then flashed sfos but network isnt working :/ guessing something didnt flash?

jakibaki 2017-10-11 18:17

Re: [UNOFFICIAL GUIDE] Flash Sailfish X using Linux or MacOS
 
Quote:

Originally Posted by m4r0v3r (Post 1536436)
i flashed that then flashed sfos but network isnt working :/ guessing something didnt flash?

That's weird :/ Network is working flawlessly for me.

Does it just not find any wifi-networks or what's happening?

m4r0v3r 2017-10-11 18:21

Re: [UNOFFICIAL GUIDE] Flash Sailfish X using Linux or MacOS
 
Quote:

Originally Posted by jakibaki (Post 1536437)
That's weird :/ Network is working flawlessly for me.

Does it just not find any wifi-networks or what's happening?

doesnt find wifi or ofono. I am downgrading from android 7 to android 6 so maybe thats it?

jakibaki 2017-10-11 18:22

Re: [UNOFFICIAL GUIDE] Flash Sailfish X using Linux or MacOS
 
Quote:

Originally Posted by m4r0v3r (Post 1536438)
doesnt find wifi or ofono. I am downgrading from android 7 to android 6 so maybe thats it?

Wait, did you not flash the 7.1 image I linked?

speactra 2017-10-11 18:26

Re: [UNOFFICIAL GUIDE] Flash Sailfish X using Linux or MacOS
 
I flashed the community build before, and prepared the oem partition.
Now flashed official without flashing the oem part from flash.sh.

Wi-fi doesn't work, but 4G network is.
Camera doesn't work.

With the community build, SW xperia blobs was V12. With the official it is V13 (SW_binaries_for_Xperia_AOSP_M_MR1_3.10_v13_loire. zip)

I guess it's the blobs that needs updating, any ideas to how to do that without flashing android and do it the official way?

EDIT:
Updating the blobs made wonders. Camera and wi-fi is working now:

Quote:

Originally Posted by lantern (Post 1536434)
If you don't wanna use EMMA or flash latest .228 image, you can flash oem from recovery.

use https://github.com/anestisb/android-simg2img tool to convert SW...img to ext4 image

and then setup 500mb tmpfs on X from recovery, use netcat to move the image to the phone, and then
dd if=new-converted-oem.img of=/dev/mmcblk0p28 bs=512


m4r0v3r 2017-10-11 18:26

Re: [UNOFFICIAL GUIDE] Flash Sailfish X using Linux or MacOS
 
Quote:

Originally Posted by jakibaki (Post 1536439)
Wait, did you not flash the 7.1 image I linked?

Think I did? Its a spanish image?

mrsellout 2017-10-11 18:26

Re: [UNOFFICIAL GUIDE] Flash Sailfish X using Linux or MacOS
 
Finally managed to do this. It wouldn't flash SailfishX for me saying the android version was wrong, so I reflashed the image you shared, booted into android, and then shutdown and repeated and it worked fine.

Brilliant! All the worries about having to find a Windows PC seem unfounded :)



As for the network issues, there was a post on another thread where the user reported that leaving the phone in Airplane mode before flashing SF resulted in the SIM services being inoperative. Is this the case here?

jakibaki 2017-10-11 18:29

Re: [UNOFFICIAL GUIDE] Flash Sailfish X using Linux or MacOS
 
Quote:

Originally Posted by m4r0v3r (Post 1536441)
Think I did? Its a spanish image?

Try flashing android again and check if everything is working in android.

m4r0v3r 2017-10-11 18:29

Re: [UNOFFICIAL GUIDE] Flash Sailfish X using Linux or MacOS
 
Quote:

Originally Posted by jakibaki (Post 1536444)
Try flashing android again and check if everything is working in android.

Trying it now tbh, I rebooted android, and checked modem and wifi working fine. Just reflashing SFOS now

paolomi 2017-10-11 18:52

Re: [UNOFFICIAL GUIDE] Flash Sailfish X using Linux or MacOS
 
Tested your guide under linux: it works! Thanks :-)

acrux 2017-10-11 18:56

Re: [UNOFFICIAL GUIDE] Flash Sailfish X using Linux or MacOS
 
Quote:

Originally Posted by jakibaki (Post 1536424)
That should also work. Just remove the oem line from the flash.sh script before flashing :)

Hmm, but what about the blobs itself?
When flashing the community build I used SW_binaries_for_Xperia_AOSP_M_MR1_3.10_v12_loire.z ip, but now the recommended one is: SW_binaries_for_Xperia_AOSP_M_MR1_3.10_v13_loire.z ip?
v12 vs v13?

jakibaki 2017-10-11 19:41

Re: [UNOFFICIAL GUIDE] Flash Sailfish X using Linux or MacOS
 
Quote:

Originally Posted by acrux (Post 1536457)
Hmm, but what about the blobs itself?
When flashing the community build I used SW_binaries_for_Xperia_AOSP_M_MR1_3.10_v12_loire.z ip, but now the recommended one is: SW_binaries_for_Xperia_AOSP_M_MR1_3.10_v13_loire.z ip?
v12 vs v13?

Use the normal blob img file (the one I linked in the guide) in combination with these instructions.

mousse04 2017-10-11 19:48

Re: [UNOFFICIAL GUIDE] Flash Sailfish X using Linux or MacOS
 
Quote:

Originally Posted by m4r0v3r (Post 1536436)
i flashed that then flashed sfos but network isnt working :/ guessing something didnt flash?

You need to boot onto Android once. That's very important. I had same problem than you ;)

objectifnul 2017-10-11 20:41

Re: [UNOFFICIAL GUIDE] Flash Sailfish X using Linux or MacOS
 
Currently in the final step: sudo ./flash.sh
Detected Linux
Searching device to flash..
Found device with vendor id '0fce': Bus 001 Device 023: ID 0fce:adde Sony Ericsson Mobile Communications AB C2005 (Xperia M dual) in service mode
Fastboot command: fastboot -i 0x0fce

How long is it supposed to be? (15 minutes so far)

(...) Aborted :-(
Phone still running Android.

(...) Retrying after pressing volume up a bit longer than before. Blue LED instead of green. Now flashing. Phone rebooted as SFOS (Without a SIM card, as the required size is now even smaller.)

Thanks a lot, Jakibaki!

benny1967 2017-10-11 21:02

Re: [UNOFFICIAL GUIDE] Flash Sailfish X using Linux or MacOS
 
Quote:

Originally Posted by jakibaki (Post 1536378)
This is an unofficial Guide for installing the official Sailfish X image on your Xperia X (single sim-version, it might possibly work with the dual-sim version but that's untested) using Linux/MacOS.

You're my hero. Worked great! Thank you so much!

bruce-one 2017-10-11 21:56

Re: [UNOFFICIAL GUIDE] Flash Sailfish X using Linux or MacOS
 
Thanks jakibaki!

Flashed a F5122 from Linux and seems to working well :-)

colin.stephane 2017-10-11 22:01

Re: [UNOFFICIAL GUIDE] Flash Sailfish X using Linux or MacOS
 
Quote:

Originally Posted by jakibaki (Post 1536401)
You don't need any drm keys.

If you didn't run ota while on an official sony rom in the last few days you'll need to install the update. It enables a special partition to be written to from fastboot-mode which is needed to install sailfish-x. (there is a workaround but this way is much easier)

Hi jakibaki,


What do you mean by « (there is a workaround but this way is much easier) ».

Also, I own a F5122 (double sim), I am running build n° 34.3.A.0.238, so it look like it is at the right level of build.

Is there a way to just verify the special partition exist on my device, before engaging the process to flash SFOS for X ?


Regards,

COLIN Stéphane

aspergerguy 2017-10-11 22:27

Re: [UNOFFICIAL GUIDE] Flash Sailfish X using Linux or MacOS
 
Quote:

Originally Posted by jakibaki (Post 1536378)
Now run
Code:

./flash.sh
on MacOS to flash Sailfish OS.Finally reboot your phone and enjoy Sailfish OS on your Phone!

Just completed using Mac OSX High Sierra, many thanks.

HTML Code:

Last login: Wed Oct 11 22:24:22 on console
iMac:~ adrian$ cd //Users/adrian/Desktop/SailfishX/SailfishOS-2.1.3.5-1-f5121-0.0.1.16
iMac:SailfishOS-2.1.3.5-1-f5121-0.0.1.16 adrian$ chmod +x flash.sh
iMac:SailfishOS-2.1.3.5-1-f5121-0.0.1.16 adrian$ ./flash.sh
Detected Mac OS X - Version: 10 13-
Searching device to flash..
Found device with vendor id '0fce': Vendor ID: 0x0fce:
Fastboot command: fastboot -i 0x0fce
./flash.sh: line 167: md5sum: command not found
Flashing boot partition..
target reported max download size of 536870912 bytes
sending 'boot' (10842 KB)...
OKAY [  0.342s]
writing 'boot'...
OKAY [  0.077s]
finished. total time: 0.420s
target reported max download size of 536870912 bytes
erasing 'system'...
OKAY [  0.228s]
sending sparse 'system' 1/2 (524284 KB)...
OKAY [ 16.455s]
writing 'system' 1/2...
OKAY [  3.677s]
sending sparse 'system' 2/2 (92428 KB)...
OKAY [  2.961s]
writing 'system' 2/2...
OKAY [  0.654s]
finished. total time: 23.974s
target reported max download size of 536870912 bytes
erasing 'userdata'...
OKAY [  0.173s]
sending sparse 'userdata' 1/3 (524284 KB)...
OKAY [ 16.456s]
writing 'userdata' 1/3...
OKAY [  3.668s]
sending sparse 'userdata' 2/3 (524284 KB)...
OKAY [ 16.500s]
writing 'userdata' 2/3...
OKAY [  3.673s]
sending sparse 'userdata' 3/3 (252840 KB)...
OKAY [  7.986s]
writing 'userdata' 3/3...
OKAY [  1.767s]
finished. total time: 50.222s
Flashing oem partition..
target reported max download size of 536870912 bytes
sending 'oem' (163040 KB)...
OKAY [  5.140s]
writing 'oem'...
OKAY [ 22.583s]
finished. total time: 27.723s

Flashing completed.

Remove the USB cable and bootup the device by pressing powerkey.


jakibaki 2017-10-12 05:25

Re: [UNOFFICIAL GUIDE] Flash Sailfish X using Linux or MacOS
 
The workaround would have been booting into recovery and moving the blobs to the special partition from there (the partition is only read-only in fastboot mode) but since you're already on a new firmware you very likely won't need that.

Quote:

Originally Posted by colin.stephane (Post 1536498)
Is there a way to just verify the special partition exist on my device, before engaging the process to flash SFOS for X ?

Download and extract the .img file from here, enter fastboot mode and then cd to the folder where you downloaded that image and run
Code:

sudo fastboot flash oem SW_binaries_for_Xperia_AOSP_M_MR1_3.10_v13_loire.img
If it runs without an error that means that the partition is properly writable.

mariusmssj 2017-10-12 07:11

Re: [UNOFFICIAL GUIDE] Flash Sailfish X using Linux or MacOS
 
Quote:

Originally Posted by jakibaki (Post 1536519)
The workaround would have been booting into recovery and moving the blobs to the special partition from there (the partition is only read-only in fastboot mode) but since you're already on a new firmware you very likely won't need that.



Download and extract the .img file from here, enter fastboot mode and then cd to the folder where you downloaded that image and run
Code:

sudo fastboot flash oem SW_binaries_for_Xperia_AOSP_M_MR1_3.10_v13_loire.img
If it runs without an error that means that the partition is properly writable.

So if this works we don't need EMMA for the official build?

jakibaki 2017-10-12 07:29

Re: [UNOFFICIAL GUIDE] Flash Sailfish X using Linux or MacOS
 
Quote:

Originally Posted by mariusmssj (Post 1536527)
So if this works we don't need EMMA for the official build?

You don't need emma for the official build at all (that's the whole point of this guide).
If this works you can just skip the flashtool step of the guide.

jukk 2017-10-12 07:46

Re: [UNOFFICIAL GUIDE] Flash Sailfish X using Linux or MacOS
 
Great guide. Worked great to flash in Linux. I have a few improvement proposals.

I had some problems understanding how flashtool works. It became clear once I booted up the phone into Android and then run Flashtool and plugged the cable. The phone was recognized and there were instructions how to power it off and press volume-down when plugging in the cable etc.

Quote:

Fully turn off your phone.

Open flashtool.

Plug your phone into your computer. Flashtool should now recognize your phone.

Please add that you need to press volume-down to enter flash mode while plugging the USB cable. This is also explained when using Flashtool.



Quote:

...
Now fully turn off your phone again and enter fastboot-mode (hold volume-up while plugging in your phone).
The led should now be blue.
...
Hold volume-down to enter flash mode here (not fastboot mode). It is true that led is blue in flash mode.

jakibaki 2017-10-12 08:11

Re: [UNOFFICIAL GUIDE] Flash Sailfish X using Linux or MacOS
 
Quote:

Originally Posted by jukk (Post 1536530)
Great guide. Worked great to flash in Linux. I have a few improvement proposals.

I had some problems understanding how flashtool works. It became clear once I booted up the phone into Android and then run Flashtool and plugged the cable. The phone was recognized and there were instructions how to power it off and press volume-down when plugging in the cable etc.

Please add that you need to press volume-down to enter flash mode while plugging the USB cable. This is also explained when using Flashtool.

I didn't need to hold any volume-key to enter flash mode but a few people had to do that so I'll add it to the instructions.

Quote:

Hold volume-down to enter flash mode here (not fastboot mode). It is true that led is blue in flash mode.
No, you're really supposed to enter fastboot mode there, not flashmode (the flash.sh script executes fastboot commands).

And you do that by holding volume up while the phone is fully turned off and then plugging in the usb cable as I said in my guide.

mariusmssj 2017-10-12 08:15

Re: [UNOFFICIAL GUIDE] Flash Sailfish X using Linux or MacOS
 
Quote:

Originally Posted by jakibaki (Post 1536533)
I didn't need to hold any volume-key to enter flash mode but a few people had to do that so I'll add it to the instructions.



No, you're really supposed to enter fastboot mode there, not flashmode (the flash.sh script executes fastboot commands).

And you do that by holding volume up while the phone is fully turned off and then plugging in the usb cable as I said in my guide.

For flashing it's volume up to get blue LED and be in fastboot mode. Volume down is used for EMMA flashing

jukk 2017-10-12 09:26

Re: [UNOFFICIAL GUIDE] Flash Sailfish X using Linux or MacOS
 
Quote:

Originally Posted by jakibaki (Post 1536533)

And you do that by holding volume up while the phone is fully turned off and then plugging in the usb cable as I said in my guide.

That is really strange. I did hold the volume-up first, and it didn't blink blue (it was red or something else). The flash command just stopped there, waiting. Then I did it the other way and it worked. I'm confused now :confused:

Edit. Maybe I have it all wrong, it was late and I was tired. Following the instructions in the Flash tool worked, though. And no harm is done by pushing volume button wrong way. You can just try again the other way.

ljo 2017-10-12 14:00

Re: [UNOFFICIAL GUIDE] Flash Sailfish X using Linux or MacOS
 
Quote:

Originally Posted by jukk (Post 1536541)
That is really strange. I did hold the volume-up first, and it didn't blink blue (it was red or something else). The flash command just stopped there, waiting. Then I did it the other way and it worked. I'm confused now :confused:

Edit. Maybe I have it all wrong, it was late and I was tired. Following the instructions in the Flash tool worked, though. And no harm is done by pushing volume button wrong way. You can just try again the other way.

Summary:
VolUp+USB firstly shows red led until ready, then switches to blue (release) for fastboot
VolDown+USB shows red led until ready, then switches to green (release) for flash.

richie 2017-10-12 16:56

Re: [UNOFFICIAL GUIDE] Flash Sailfish X using Linux or MacOS
 
Quote:

Originally Posted by jakibaki (Post 1536378)
Click on the Flash button. This will now install the update so it will take a while. Don't get scared if it's stuck at preparing files for a long time, it's supposed to be that way. If an error pops up (can't quite remember what the message was) select continue.

Hi Jakibaki

By any chance was that error that popped up in Flashtool about RESET-NON-SECURE-ADB being missing?

Rich

jakibaki 2017-10-12 19:00

Re: [UNOFFICIAL GUIDE] Flash Sailfish X using Linux or MacOS
 
Quote:

Originally Posted by richie (Post 1536585)
Hi Jakibaki

By any chance was that error that popped up in Flashtool about RESET-NON-SECURE-ADB being missing?

Rich

No that actually wasn't it D:

Did it work anyways for you? In that case there are multiple non-fatal errors that can happen.

jabgoe 2017-10-12 19:01

Re: [UNOFFICIAL GUIDE] Flash Sailfish X using Linux or MacOS
 
thanks for the guide!

flashing starts fine on my xperia x until it stops with an error:

Flashing oem partition..
target reported max download size of 536870912 bytes
sending 'oem' (163040 KB)...
OKAY [ 5.309s]
writing 'oem'...
FAILED (remote: Command not allowed)

:confused:

the phone is unlocked,

could anybody help me with some hints?

best regards,

jakibaki 2017-10-12 19:02

Re: [UNOFFICIAL GUIDE] Flash Sailfish X using Linux or MacOS
 
Quote:

Originally Posted by jabgoe (Post 1536597)
thanks for the guide!

flashing starts fine on my xperia x until it stops with an error:

Flashing oem partition..
target reported max download size of 536870912 bytes
sending 'oem' (163040 KB)...
OKAY [ 5.309s]
writing 'oem'...
FAILED (remote: Command not allowed)

:confused:

the phone is unlocked,

could anybody help me with some hints?

best regards,

It looks like you didn't properly update it. Were there any errors during the flashtool step?

jabgoe 2017-10-12 19:15

Re: [UNOFFICIAL GUIDE] Flash Sailfish X using Linux or MacOS
 
Quote:

Originally Posted by jakibaki (Post 1536598)
It looks like you didn't properly update it. Were there any errors during the flashtool step?

properly update? ... i'm quite sure i did this

flashing starts correctly, the phone is found and all previous steps end with OK. like this here:

Searching device to flash..
Found device with vendor id '0fce': Bus 001 Device 034: ID 0fce:0dde Sony Ericsson Mobile Communications AB Xperia Mini Pro Bootloader
Fastboot command: fastboot -i 0x0fce
Flashing boot partition..
target reported max download size of 536870912 bytes
sending 'boot' (10842 KB)...
OKAY [ 0.356s]
...

just this oem partition doesn't want to be flashed :(


All times are GMT. The time now is 14:00.

vBulletin® Version 3.8.8