Reply
Thread Tools
Posts: 343 | Thanked: 819 times | Joined on Jan 2010 @ Paris, France
#61
Does it matter/Is it better to follow the Sony Developer website proposed command to unlock the bootloader?

They give
fastboot -i 0x0fce oem unlock 0x<key>

the -i option is for specifying a custom USB vendor id
 

The Following 2 Users Say Thank You to P@t For This Useful Post:
Posts: 367 | Thanked: 1,442 times | Joined on Feb 2015
#62
It's important only if you have more than 1 phone connected to your computer. Otherwise no difference.
 

The Following 6 Users Say Thank You to lantern For This Useful Post:
Posts: 343 | Thanked: 819 times | Joined on Jan 2010 @ Paris, France
#63
Thanks and then I have another question

I am using Mageia distribution and unfortunately the android-tools there use 'fastboot-android' and not 'fastboot' as the command line ...

And this creates an error message with flash.sh which thinks that I do not have the package installed.
I tried using an alias but same error message.
I tried filling in "FASTBOOT_BIN_NAME=fastboot-android" in the script flash.sh but that did not work either.

I am not that fine playing too much with the script with the limited knowledge I have and I prefer to ask for any advice before trying remove the section checking if android-tools are rightly installed...

so please any guidance :P ?
 

The Following User Says Thank You to P@t For This Useful Post:
Posts: 177 | Thanked: 427 times | Joined on Sep 2017
#64
Try this to create an alias in bash so one command runs the other.
Code:
alias fastboot="fastboot-android"
Not sure it will work if you're using sudo though...
 

The Following 4 Users Say Thank You to suicidal_orange For This Useful Post:
Posts: 343 | Thanked: 819 times | Joined on Jan 2010 @ Paris, France
#65
Originally Posted by suicidal_orange View Post
Try this to create an alias in bash so one command runs the other.
Code:
alias fastboot="fastboot-android"
Not sure it will work if you're using sudo though...
thanks I did try an alias and I can run for instance
fastboot devices
instead of
fastboot-android devices

but still the script flash.sh complains :-( about the missing android-tools installation:

"No 'fastboot' found in $PATH"
 

The Following User Says Thank You to P@t For This Useful Post:
Posts: 177 | Thanked: 427 times | Joined on Sep 2017
#66
OK, try this to create a symlink (like a shortcut but better)

First find where it is
Code:
which fastboot-android
Then you can run this to make the link
Code:
symlink /path/fastboot-android /path/fastboot
Replacing path with the path. You might also need to chmod +x on the symlink.
 

The Following 3 Users Say Thank You to suicidal_orange For This Useful Post:
Posts: 2 | Thanked: 10 times | Joined on Oct 2017
#67
Thanks for the guide jakibaki, it worked fine!
 

The Following 3 Users Say Thank You to hannesm For This Useful Post:
Posts: 343 | Thanked: 819 times | Joined on Jan 2010 @ Paris, France
#68
Thanks it is running now !

This is great to see SFOS on such device

PS: there was clearly no need for drama about the 'forced to use windows'

Last edited by P@t; 2017-10-14 at 20:27. Reason: flashed and working device
 

The Following 4 Users Say Thank You to P@t For This Useful Post:
Posts: 248 | Thanked: 1,142 times | Joined on Dec 2014 @ Earth
#69
Originally Posted by suicidal_orange View Post
Try this to create an alias in bash so one command runs the other.
Code:
alias fastboot="fastboot-android"
Not sure it will work if you're using sudo though...
For the record : no, aliases won't be inherited.
 

The Following 4 Users Say Thank You to DrYak For This Useful Post:
Posts: 287 | Thanked: 618 times | Joined on Jan 2011 @ Estonia
#70
Originally Posted by P@t View Post
Thanks and then I have another question

I am using Mageia distribution and unfortunately the android-tools there use 'fastboot-android' and not 'fastboot' as the command line ...

And this creates an error message with flash.sh which thinks that I do not have the package installed...
Actually the solution was here waiting for you in another thread: http://talk.maemo.org/showpost.php?p...&postcount=165

Anyway - greetings from another Mageia user
 

The Following 4 Users Say Thank You to acrux For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 21:32.