I know nothing about fastboot but usually the $ means a prompt where you type stuff, not part of the actual command to be typed. Anyway, few things I would check.

Where is the fastboot executable file located? If it's in /usr/local/bin then just try doing

cd /usr/local/bin

then you don't have to worry about whether it's in your path or not, although that one usually is. You can see all the paths terminal will check to find executable files by doing

echo $PATH

Anyway, once you're in the same directory as fastboot I'd check the permissions by just doing

chmod 755 fastboot

Then you can make sure terminal looks in your current directory by preceding the command with dot slash

./fastboot oem get_unlock_data

Apparently there are multiple versions of this tool so make sure you got the Mac one. Some distros actually call it fastboot-mac.

CB

On 6/3/15 5:32 PM, erik burggraaf wrote:
Hi,  I think there's a problem with what I'm trying to do.

I've installed fastboot in /usr/local/bin
Then tried this command
$ fastboot oem get_unlock_data

I get $ no such file or command.

So I tried without the $ and got:
"permission denied"

Then I tried:
  sudo fastboot oem get_unlock_data
I typed my password and hit enter and got:
No such file or directory /usr/local/bin/fastboot

Next I did an LS and I could clearly see that fastboot is in /usr/local/bin.  I 
also checked for case and found there were no misplaced capitals.

I'm using the instructions for unlocking a boot loader from the motorola 
website which you have to log in to get.

It reads:

1 Put your device in fastboot mode (power off, then press the power and volume 
down buttons simultaneously).
2 On your desktop, open a command prompt or terminal, and go to the directory 
where you installed the Android SDK tools (or make sure fastboot is in your 
$PATH)
3 At the prompt, type
$ fastboot oem get_unlock_data
4 The returned string will be used to retrieve your unlock key. Example: On a 
Windows Desktop, the returned string format would be
blah blah,
On a Mac OS Desktop, the returned string format would be
blah blah,

Does anyone see what I'm doing wrong?

Thanks,

Erik Burggraaf
June is amazon gift card mania month at inclusive android.  For details on how 
to enter for your chance to win a $25 gift card, please visit:
http://www.inclusiveandroid.com/?q=content/play-amazon-giftcard-mania-sweepstakes




--
¯\_(ツ)_/¯

--
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/macvisionaries.
For more options, visit https://groups.google.com/d/optout.

Reply via email to