From Guides
DISCLAIMER: We're still in a development phase with Mac flashing and flexing. It works, and it works fine,
BUT you have to have X-Code installed, which is a 1 GB download. Yup, you read that right. 987 MB of data has to be transferred
to ya from Apple in order to make this whole thing work. You WILL
have to register, but its free.
Still with me? Ok, now, this X-Code necessity is only a temporary thing, although we are not 100% sure how quick we can build a
program to flash flex with more ease. Just know that we ARE working on it, and it shouldn't be too long (couple months?). For
now, though, if you want to flash with OS X, you gotta have that. So register on the
Apple Developer site, and
download and install X-Code.
Got it installed? I'm sure you had a nice hour break there, depending on your connection speed. How was it? Moving on... Before
we get started you will need two things:
Flasher- this is the program we use to flash
with. And...
libusb- this is the library we need for Flasher
to work, and the reason that we have to install X-Code--so we can install this. Annoying, yup, but for now it is what it is, and you
gotta download this.
OK, lets get started.
I'm assuming you've already downloaded those three things I just told you to get (X-Code, Flasher, and libusb), and have installed
X-Code. I will also assume you have followed the [getconnected.php Get Connected] guide and have got Moto4Lin recognizing your phone. Good. Lets
get started installing libusb and then flasher.
Go ahead an download libusb if you haven't.
You will have a .tar file on your Desktop called libusb-0.1.12.tar. Go ahead and double-click it.
Now you have the folder with the same name (libusb-0.1.12).
All right, now open up Terminal (in the Utilities folder in your Applications folder). And type the following:
cd ~/Desktop/libusb-0.1.12/
Hit Return and then type:
./configure
You should get quite a bunch of text, and the last line should say config.status: executing default commands. This is
good.
Now go ahead and type
make
You should get a full minute or so worth of code across the screen, ending with something like Making all in
doc
and one last line...
Now type
sudo make install
It will ask you for your Administrator password, enter it.
You should see a quite a bit of code go by, then a line saying Making install in doc, then two more lines, and then we'll
come back to the command line.
Ok, now we need to get Flasher to work. Go ahead and double-click the
flasher.zip archive you downloaded,
and you will then
see a flasher folder on your Desktop.
Good. Now in Terminal, enter the following:
cd ~/Desktop/flasher/
Then, type:
patch < patch
Thats important!
::note:: After typing patch < patch, you will have two more prompts to which you need to respond with an n. It will look
something like this:
patch < patch
patching file flasher.c
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] n
Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file flasher.c.rej
Then you'll go back to your main prompt.
And type:
make
You should see the following:
Now go ahead and type:
./flasher
You should now have this displayed:
Perfect. Now, just to make sure we can use Flasher in the future, type:
sudo mv flasher /usr/bin/
Whew... lets take a break. Now you have everything installed, and the easy part is coming up on...