Ask / Submit

Sailfish X install: flash-on-macOS

asked 2018-07-10 13:22:31 +0300

2-shell gravatar image

Not sure, if anybody else encountered this - I couldn't find any question targeting this, so I'm posting it:

When installing Sailfish X on my Xeperia X, I made the first attempt to install from my MacBook, following the macOS installation guide.

I installed android-platform-tools via Homebrew (according to the guide), but the fastboot command seems to be missing the -i command line option, which I find really odd.

This is the version, which homebrew installed:

# fastboot --version
fastboot version 28.0.0-4797878
Installed as /usr/local/bin/fastboot

The bootloader unlocking seemed to work but flashing the image failed with an error message.
(Sorry, for not giving the exact error message. It's been some weeks since that installation attempt and I forgot to save the terminal output. If anybody wants to investigate, I'd be happy to reproduce and provide the exact error messages)

I also tried to download different fastboot versions (e.g. from the Android developer page), but all recent versions seem to omit the -i option.

Has anybody else experienced this?

Is an older/special version of fastboot required?
If so, it might be a good idea to update the instalation instructions to mention the version required.

After some fiddling, I switched to my linux box and everything worked right away as described in the linux installation instructions.
So I was able to circumvent this problem, but I wanted to post it here nevertheless, since I'm wondering what went wrong and in case anybody else runs into this as well.

edit retag flag offensive close delete


Yes, I did experience the same problem 06/2017.

Resulting error: "fastboot: invalid option --i"

I wonder why apparently the procedure is not widely tested befor posting it on the website.

Also installing all these tools on your Macbook is good and well but for people who like to keep their system clean, a procedure on how to clean them after installation of Sailfish X would be a welcome addition. It is like the typical plumber leaving the cleanup for the customer.

vandersmash ( 2018-07-10 14:18:34 +0300 )edit

The recent version of fastboot is lacking the -i option. We are adapting our flashing scripts to this change. The new scripts will be included in the upcoming 2.2.1 release.

For now, the command below appers to unlock the bootloader:

fastboot oem unlock 0x<insert your unlock code>
jovirkku ( 2018-07-11 11:23:06 +0300 )edit

@jovirkku: Thank you very much for acknowleding my findings and the heads up as to when a change is to be expected.

Yes, the bootloader unlocking did work for me as well with the command you gave.
However, I did not manage to perform the flashing.

I take it from your answer, that there is currently no easy workaround, right?

Can you provide a version number of fastboot / android-platform-tools for macOS, that supports the flag?
This might help out people, who don't have the option of using Linux or Windows.

... on the other hand - with 2.2.1 around the corner, it probably sorts it self out anyway.

2-shell ( 2018-07-11 15:15:26 +0300 )edit

1 Answer

Sort by » oldest newest most voted

answered 2018-09-06 10:11:24 +0300

2-shell gravatar image

updated 2018-09-06 10:11:50 +0300

Answering my own question:

This should be fixed along with the 2.2.1 Nurmonjoki Release.

(Haven't tested it yet, though)

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools



Asked: 2018-07-10 13:22:31 +0300

Seen: 422 times

Last updated: Sep 06 '18