I. Install the Motorola Drivers
1. Download the drivers for your computer and unzip them. Then double click the program inside to install the drivers.
2. On your phone, go to Menu > Settings > Applications > Development > and make sure USB Debugging is checked ON.
II. Install the Android SDK
1. Follow our How To Setup ADB procedure just until you can see the device’s serial number at the end of step 6. Then come back to this procedure.
III. Root the Phone
1. Download the Rooting Files and extract them to the C: drive on your computer (like you did the AndroidSDK).
2. Plug in your phone via USB cable and select Charge Only on the phone.
3. On your computer, open a command prompt by clicking on the Start menu then typing in cmd and hitting enter in the search box.
4. In the command prompt, type the following, with hitting enter at the end of each line:
adb push c:\Superuser.apk /sdcard/Superuser.apk
adb push c:\su /sdcard/su
adb push c:\rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage-arm5.bin
adb push c:\install-root.sh /data/local/tmp/install-root.sh
chmod 0755 rageagainstthecage-arm5.bin
chmod 0755 install-root.sh
5. Once you have done that, leave the phone plugged in and go to the Market and download the Free version of ConnectBot and install it.
6. Open the ConnectBot, select local in the dropdown menu, then type local into the field and hit enter. Then type the following in, on the phone, with hitting enter at the end of each line (leave the phone plugged in to the computer while you do this).
7. If it worked, you should see the following on the screen.
[+] Forked xxxx childs. (xxxx will have an actual number in there)
If you do not, then close the ConnectBot and reopen it and try again.
8. If it worked, close the terminal by either typing exit and hitting enter or by hitting menu and clicking close.
9. Once it is closed, reopen ConnectBot.
10. You should now see a # symbol, if so continue. If not then start over from step 4 or go here for a tip from another reader.
11. Now, with the # symbol in ConnectBot on your phone, type the following with hitting enter at the end of the line:
You should see nothing pop up after you hit enter, that means it worked, you now should have root access and be able to open your App Drawer on the phone and see Superuser Permissions inside.
12. To load a custom ROM and other fun stuff, head from here to our How To Load a Custom ROM procedure.
Thanks Sebastian Krahmer!