Ask / Submit
4

[guide update] New command line for unlock Sony bootloader 26.0.2 or newer?

asked 2018-09-13 14:37:59 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2018-09-17 12:56:58 +0200

Hallo sailers, I am doing another Xperia transformation, but this time I am stuck with the fastboot devices step:

I get an error:

fastboot: invalid option -- i

Then I read carefully the Sony page, it's a new version than 2017, and I found this note:

Note: In this step you will need the unlock code for your device. The command below requires Platform tools 26.0.2 or older.

What i need to do? And why the Sailfish guide was not updated?

update Please note that I am from a MAC

edit retag flag offensive close delete

3 Answers

Sort by » oldest newest most voted
2

answered 2018-09-16 00:31:15 +0200

andersenep gravatar image

updated 2018-09-16 00:42:34 +0200

Had the same problem a month ago. It had to do with different/newer versions of ADB/fasboot. I used Sony Flashtool in the end. There is a button to unlock bootloader. You just paste in the unlock code to dialog box. Worked like a charm.🤘

Edit: you might need to kill any existing running ADB processes.

edit flag offensive delete publish link more

Comments

You mean the PC version? Optionally I can have access to a PC. I installed the updated Emma tool but don't see unlock buttons.

How to kill Android Debug Bridge processes? "killal?..."

minojolla ( 2018-09-17 12:58:43 +0200 )edit
1

Not Emma, this one:

https://androidmtk.com/download-sony-mobile-flasher

Note: If you use Windows 10, you will have to allow installation of unsigned drivers. Instructions to do so can be found here:

https://ph.answers.acer.com/app/answers/detail/a_id/38288/~/windows-10%3A-disable-signed-driver-enforcement

There are versions for Mac, Windows, Linux. To unlock bootloader, the button is the one that says BLU, right next to the lightning bolt.

Easiest way to kill any existing running ADB server (on Windows) is to reboot. Otherwise, you can search through the running processes in task manager.

andersenep ( 2018-09-17 15:15:35 +0200 )edit
1

answered 2018-09-13 17:45:21 +0200

velox gravatar image

You may get it to work by leaving out the -i option (leave out the following device code, as well) if only one device is connected.

source: https://talk.maemo.org/showpost.php?p=1545973&postcount=2624

edit flag offensive delete publish link more

Comments

mmm I omitted the '-i 0x0fce ' part.

Now I get this error at the 6 step: "Searching device to flash.. Found device with vendor id '0fce': Vendor ID: 0x0fce: Fastboot command: fastboot -i 0x0fce

This script is not meant for device invalid. Please connect the right device and try again."

minojolla ( 2018-09-13 21:39:23 +0200 )edit

Basically now the last command line 'bash ./flash.sh' is not working.

minojolla ( 2018-09-13 21:56:21 +0200 )edit
2

Your version of android-tools (fastboot and adb commands) is likely too old. Hence the reference to version 26.0.2 is minimum version to use. Download newer version from Google SDK sites. https://developer.android.com/studio/releases/platform-tools#downloads

Nieldk ( 2018-09-13 22:19:31 +0200 )edit

Thanks @Nieldk hjust downloaded on Mac. But precisely this Platform-tool folder where goes? I need to do some terminal app command line in order to install on device?

minojolla ( 2018-09-14 14:54:33 +0200 )edit
3

unzip Platform-tool folder somewhere, in terminal go to where you extracted it.

$ mkdir ~/.android-sdk-macosx
$ mv platform-tools/ ~/.android-sdk-macosx/platform-tools

Add platform-tools to your path

$ echo 'export PATH=$PATH:~/.android-sdk-macosx/platform-tools/' >> ~/.bash_profile
$ source ~/.bash_profile

Now you should be able to use adb and fastboot commands

Nieldk ( 2018-09-14 15:02:56 +0200 )edit
0

answered 2018-09-15 21:44:17 +0200

I contacted jolla zendesk about this issue - I am yet in my year license - and they said that they're working at a guide update. Maybe the new guide will be directly the Sailfish 3 guide?

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

Question tools

Follow
4 followers

Stats

Asked: 2018-09-13 14:37:59 +0200

Seen: 714 times

Last updated: Sep 17