Ok, let me first say that I have not tried this, but the MotoFail root method has a section showing how to root using Mac or Linux. The site is here:
Security Research by Dan Rosenberg
To simplify that a bit:
- you set the phone to use USB debugging mode. Settings->applications->development->turn on USB debugging
- attach to pc = should be obvious, but attach the phone to your PC by USB cable.
- extract zip file = open the zip file that you download into a folder on your Mac
- change to the zip directory = start the Mac application Terminal. (It is in the utilities folder in your applications folder.) This will open a terminal window with a $ prompt. Switch to the Finder and change to the directory where the files you unzipped are located. If you look at the top of the finder window, you will see a blue folder icon with the name of the folder next to it. Switch back to the terminal window and type "cd " (that's the letter c, the letter d, followed by a space - do not hit enter.) Now, drag that folder icon at the top of the finder window I mentioned before to the terminal window and drop it. This will type the actual folder path next to the "cd " that you typed before. Now, activate the terminal window if it is not the active window and hit enter. You have now changed to the zip directory. (Whew! That was a lot of steps for five words!)
- invoke ?./run.sh? from a shell = type that exact phrase in the terminal window - period, slash, letter r, letter u, letter n, period, letter s, letter h, hit enter. This should start the root procedure.
I followed your exact steps and I get the following errors, any clue? Mac OSX 10.8.2 Droid Bionic ICS 4.0.4:
MiniMe:motofail_linux_osx zothecula$ ./run.sh
[*]
[*] Motofail: Universal Motorola Gingerbread Root Exploit (OS X version)
[*] by Dan Rosenberg (@djrbliss)
[*]
[*] Tested on Droid 3, Droid Bionic, Droid RAZR, and Droid 4
[*]
[*] Before continuing, ensure USB debugging is enabled and that your phone
[*] is connected via USB.
[*]
[*] Press enter to root your phone...
[*]
[*] Waiting for device...
[*] Device found.
[*] Deploying payload...
failed to copy 'motofail' to '/data/local/motofail': Permission denied
Unable to chmod /data/local/motofail: No such file or directory
[*] Owning phone...
/system/bin/sh: /data/local/motofail: not found
[*] Rebooting device...
[*] Waiting for phone to reboot.
[*] Attemping persistence...
remount failed: Operation not permitted
failed to copy 'su' to '/system/bin/su': Read-only file system
Unable to chmod /system/bin/su: No such file or directory
link failed Read-only file system
failed to copy 'busybox' to '/system/xbin/busybox': Read-only file system
Unable to chmod /system/xbin/busybox: No such file or directory
/system/bin/sh: /system/xbin/busybox: not found
failed to copy 'Superuser.apk' to '/system/app/Superuser.apk': Read-only file system
[*] Cleaning up...
/system/bin/sh: /data/local/motofail: not found
rm failed for /data/local/motofail, No such file or directory
[*] Rebooting...
[*] Exploit complete!
[*] Press any key to exit.