[Droid 2 Android Development] darkonion:
This is outdated information and should be used as a reference only! All updated versions have moved to POST #1.

Hi all. Made it to the front page of XDA Developers.

http://www.xda-developers.com/android/easy-rooting-method-for-droid-2/

I just want to make sure credit is given where due. First of all, the original procedure was produced Sebastian Krahmer. From there I wrote an indepth tutorial to root the Droid 2. I took a vague instruction set and help it grown into something that the average person could understand. Understanding the need to simplify the process, I decided to write scripts to further streamline the process. What started out as a 3 part script that involved 8 or 9 commands eventually became a two part script that involved 3 or 4 commands. I have no programming background, by the way. Having trouble getting the process down into one part, facelessuser volunteered to take my work, and put a bunch of neat things into it to get it to work as one thing with error checking! So, with that said, I'd like to thank everyone that had a part in the project, especially facelessuser for his dark magic arts that made the script run, matt4542 for constantly testing my various scripts, and everyone who directly or indirectly ran the scripts!

We are moving forward!

===

Hi all.

We (me), facelessuser, and a few others are working furiously to get an easy one step program out for you guys. In the mean-time, I have a pretty safe, and clean, and easy 2 step method for Windows, Mac, and Linux. I am still cleaning stuff up, but for the most part, it all runs well.

What you need:

Android-SDK for your operating system which can be found here:

http://developer.android.com/sdk/index.html

Motorola Drivers (if you are using Windows) which can be found here:

http://www.motorola.com/Support/US-...tware_and_Drivers/USB-and-PC-Charging-Drivers

And the files/scripts/programs to root for your OS:

Want to try the one step process, go down to post #2!

Windows [1.0]: http://www.kimete.com/droid/DORootforD2Windows.zip

Mac/Linux [1.0]: http://www.kimete.com/droid/DORootforD2Linux.zip

Instruction for Windows:

GO DOWN TO POST #2 AND DOWNLOAD THE ONE STEP

1. Extract and Update Android SDK package to your computer. The file comes in a zip file. Just open it up and drag and drop the android-sdk-windows folder to your C drive. Next, extract the files from the DORoot zip file to the tools folder of Android SDK. You should be moving 7 or 8 files into the tools folder.

2. Install Motorola Drivers

(Tip, to stop the launching of the Verizon/Motorola site, go to the MotoConnect icon in the bottom right, right click, when phone connects, nothing.)

3. Make sure you phone is in PC Mode with USB Debugging enabled

PC Mode: Notification blind -> USB connection -> PC Mode

USB Debugging: Settings -> Applications -> Development -> USB debugging

You need USB debugging icon showing in notifications. Try Charge Only if you can't get PC Mode to show USB debugging.

4. Double-click and run doroot1.bat

5. Follow the instructions. You will enter into the shell and be prompted with a $.

6. enter [./data/local/tmp/rageagainstthecage-arm5.bin] and let it run. Can take up to 15 minutes before it boots you out.

6a. To check if rageagainstthecage worked it's magic, enter the shell with adb shell. You should see a # sign. If you don't, you need to run rageagainstthecage again by entering the command from step six.

6b. If you see the #, exit the shell by typing exit.

7. After being booted from shell and back to DOS, enter or double click doroot2.bat

8. That's it, you are done.

Instruction for Linux and Mac:

GO DOWN TO POST #2 AND DOWNLOAD THE 1-STEP!

1. Extract and Update Android SDK package to your computer. The file comes in a .tar.gz file. Just open it up and drag and drop the android-sdk-linux folder to your home directory or desktop. Next, extract the files from the DORoot zip file to the tools folder of Android SDK. You should be moving 7 or 8 files into the tools folder.

2. Make sure you phone is in PC Mode with USB Debugging enabled

PC Mode: Notification blind -> USB connection -> PC Mode

USB Debugging: Settings -> Applications -> Development -> USB debugging

You need USB debugging icon showing in notifications. Try Charge Only if you can't get PC Mode to show USB debugging.

3. Navigate to the tools folder of your android-sdk

[cd /android-sdk-linux_x86/tools]

4. enter [chmod 0755 doroot1.sh] then run it [./doroot1.sh]

5. Follow the instructions. You will enter into the shell and be prompted with a $.

6. enter [./data/local/tmp/rageagainstthecage-arm5.bin] and let it run. Can take up to 15 minutes.

6a. To check if rageagainstthecage worked it's magic, enter the shell with adb shell. You should see a # sign. If you don't, you need to run rageagainstthe cage again by entering the command from step six.

6b. If you see the #, exit the shell by typing exit.

7. After being booted from shell and back to command prompt, [./doroot2.sh]

8. That's it, you are done.

Enjoy my works? Want to show your gratitude? Just want to help a poor college student out, donate via PayPal to: darkonion@kimete.com. All donations are greatly appreciated. Money will be spent on escorts, food, adult beverages, higher education and its bs fees, paying off my phone, and the wonderful speeding ticket I got this week! :P