Here are the instructions cut from other site. I claim no credit for creating this:
Instructions:
*Note 2* - You need to have current Motorola USB drivers depending on your system.
*Note 3* - You need the Android SDK and adb working properly.
*Note 4* – You need to download and unzip this file to your PC. This contains everything needed to root. Link to File (
MEGAUPLOAD - The leading online storage and file delivery service )
1.) Enable usb debugging on your device if you dont already have it enabled.
2.) Extract Droid2Root.rar to c:\droid2root
3.) Connect your phone to the computer via usb cable
4.) On the computer open the command prompt. (In the start menu under accessories)
5.) cd to your adb tools directory:
For most the command would look like this cd C:\android-sdk-windows\tools
6.) Now enter the following commands:
adb devices (This should list a device as a long number. If it doesnt something is wrong.)
adb push c:\droid2root\rageagainstthecage-arm5.bin /data/local/tmp
adb shell
cd /data/local/tmp
chmod 0755 rageagainstthecage-arm5.bin
./rageagainstthecage-arm5.bin (Be patient here. When finished it will return you to c:\droid2root)
adb devices
adb shell (you should now see a # instead of a $)
mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
exit
adb push c:\droid2root\Superuser.apk /system/app
adb push c:\droid2root\su /system/bin
adb push c:\droid2root\busybox /system/bin
adb shell
chmod 4755 /system/bin/su
chmod 4755 /system/bin/busybox
mv /system/recovery-from-boot.p /system/recovery-from-boot.p.disabled
mount -o ro,remount -t yaffs2 /dev/block/mtdblock4 /system
rm /data/local/tmp/rageagainstthecage-arm5.bin
exit
7.) Done! Reboot your phone for good measure. You are now rooted.