For those of you with a Mac or Linux, here’s how to root your Droid Razr!
Step 1. Go to Settings->Applications->Development and make sure USB Debugging is checked on.
Step 2. Connect your micro-USB cable to your Droid Razr and computer then make sure USB Mode is set to “Charge Only”.
Step 3. Download DroidRazrRootMacLinux.zip and unzip. Download DroidRazrRootMacLinux.zip
Step 4. Open up a terminal