How to root Droid 2

Discussion in 'Motorola Droid 2 Development' started by pc747, Aug 25, 2010.

  1. dunefreak91910

    Joined:
    Dec 9, 2009
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    San Diego, CA
    Ratings:
    +0
    - Open commnad prompt
    - cd c:/wherever-your-sdk-tools-folder-is
    - adb devices (to verify the connection)
    - adh shell (you should now have a # prompt)
    - exit

    If you have the # then you have root.
     
  2. gonnadie4thegov

    Joined:
    Mar 3, 2010
    Messages:
    452
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    South Jersey
    Ratings:
    +0
    By having the superuser app at all means you are rooted. When you open it up its blank screen cause it hasnt authorized any apps yet.

    Download adfree, root explorer, setcpu, wifi tether, or any other root requring app then you will get the allow window prompt and after you hit accept then it will be in the list when you open the superuser app
     
  3. Jedidr0id

    Jedidr0id Member

    Joined:
    Aug 18, 2010
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    Thanks, I downloaded adfree and it works. Sorry for all the posts but I was worried about messing up and bricking my phone.
     
  4. Jedidr0id

    Jedidr0id Member

    Joined:
    Aug 18, 2010
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    I installed setcup, adsfree, Barnacle, and WiFi Tether. Any other interesting apps to install?
     
  5. Quie2Droid

    Quie2Droid Member

    Joined:
    Dec 6, 2009
    Messages:
    293
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Las Vegas
    Ratings:
    +1
    I'm stuck with no devices listed also. How do you switch your phone to data mode or pc mode. Thanks a bunch.

    Never mind, I figured it out.
     
    #41 Quie2Droid, Aug 26, 2010
    Last edited: Aug 26, 2010
  6. Quie2Droid

    Quie2Droid Member

    Joined:
    Dec 6, 2009
    Messages:
    293
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Las Vegas
    Ratings:
    +1
    after I finish the first part and type "adb shell" I get the $ not the #. Any ideas?

    Update: I can get to the # prompt, then it says I can't push superuser.apk as system is read only.

    Okay, I finally got it by going to the original thread on XDA and noticed there was a lot of command lines left out of the first post of this thread. You have to push the files, superuser and su to the sd card before you can copy them back to system. That is the only way it would work for me as those files are in the tools directory and for some reason it wouldn't let me push them to system that way. Most of that paragraph of command on XDA is not it the first post. Maybe this will help someone else.
     
    #42 Quie2Droid, Aug 26, 2010
    Last edited: Aug 26, 2010
  7. MechaDoozer

    MechaDoozer New Member

    Joined:
    Aug 26, 2010
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    As Quie2Droid said, there are some steps missing. Following the first post I got a read-only error on the third chunk of commands.

    gonnadie4thegov provided the other commands needed on the first page.

    Differences are in bold. Hope I remember how I did this :) If there is an error let me know and I'll edit this post.

    Setup:
    - Install adb (here) and Motorola drivers (here)
    - Download attached archive
    - Extract to a directory, I used c:\Droid2Root
    - Make sure you have USB degugging enabled
    - Change connection to PC Mode

    Process:
    - Open command prompt
    - cd c:/wherever-your-sdk-tools-folder-is
    - adb devices (to verify the connection)
    - cd c:/Droid2Root
    - adb push rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage-arm5.bin
    - adb shell
    - cd data/local/tmp
    - chmod 0755 rageagainstthecage-arm5.bin
    - ./rageagainstthecage-arm5.bin

    - let the process run until it returns you to c:/Droid2Root
    - cd c:/wherever-your-sdk-tools-folder-is
    - adb devices (to verify the connection)
    - adh shell (you should now have a # prompt)
    - mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
    - exit

    - cd c:/Droid2Root
    - adb push Superuser.apk /system/app/Superuser.apk
    - adb push su /system/bin/su
    - adb push busybox /system/bin/busybox
    - adb shell
    - cp /sdcard/Superuser.apk /system/app/Superuser.apk
    - cp /sdcard/su /system/bin/su
    - cp /sdcard/busybox /system/bin/busybox

    - chmod 4755 /system/bin/su
    - chmod 4755 /system/bin/busybox
    - mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
    - exit

    this is my first post, by the way. Hi droid forums!
    Oh, and thanks to those who made all this possible :)
     
    #43 MechaDoozer, Aug 26, 2010
    Last edited: Aug 26, 2010
  8. Quie2Droid

    Quie2Droid Member

    Joined:
    Dec 6, 2009
    Messages:
    293
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Las Vegas
    Ratings:
    +1
    I am going to just cut and paste from XDA: This is what I followed and worked like a charm. I believe the process is a little different than what is already posted. Can a Mod update the OP, please? I hope it's okay that I do this, but seems someone else will need it posted exactly like it was done on XDA as I needed to run this exactly like it is.

    Connect your phone to your pc, make sure debugging mode is set, then make sure you are set to pc mode when you drag the notification bar down, click on the USB connected notification and select "PC MODE"! Then follow below.

    All credit goes to Sebastian Krahmer at C skills.

    ***NOTE: Proceed at your own risk. I and the providers of this code are not responsible for anything you do to your phone!***

    Setup:
    - Install adb (here) and Motorola drivers for windows(32-bit or 64-bit)
    - Download attached archive
    - Extract to a directory, I used c:\Droid2Root
    - Make sure you have USB degugging enabled
    - Change connection to PC Mode

    Process:
    - Open command prompt
    - cd c:/wherever-your-sdk-tools-folder-is
    - adb devices (to verify the connection)
    - cd c:/Droid2Root
    - adb push Superuser.apk /sdcard/Superuser.apk
    - adb push su /sdcard/su
    - adb push busybox /sdcard/busybox
    - adb push rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage-arm5.bin
    - adb shell
    - cd data/local/tmp
    - chmod 0755 rageagainstthecage-arm5.bin

    - ./rageagainstthecage-arm5.bin
    - let the process run until it 'kicks' you out (may take a minute or two)
    - cd c:/wherever-your-sdk-tools-folder-is
    - adb devices (to verify the connection)
    - adb shell (you should now have a # prompt, if not return to ./rage step above)

    - mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
    - cp /sdcard/Superuser.apk /system/app/Superuser.apk
    - cp /sdcard/su /system/bin/su
    - cp /sdcard/busybox /system/bin/busybox
    - chmod 4755 /system/bin/su
    - chmod 4755 /system/bin/busybox
    - mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
    - exit
    - exit

    I'm sure there are certain steps that could be streamlined or eliminated, so please feel free to make a suggestion and I'll edit the post.

    Additional thanks to @rainabba and AllDroid.org for their excellent Droid X rooting tutorial, which assisted me greatly in this process.
     
    #44 Quie2Droid, Aug 26, 2010
    Last edited: Aug 26, 2010
  9. Jedidr0id

    Jedidr0id Member

    Joined:
    Aug 18, 2010
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    I'll also add my experience to help others.

    On the this part:

    Process:
    - Open command prompt
    - cd c:/wherever-your-sdk-tools-folder-is
    - adb devices (to verify the connection)
    - cd c:/Droid2Root
    - adb push Superuser.apk /sdcard/Superuser.apk If you are getting a message like invalid command for adb you have to set adb to your path. This is another process. Go to this site for help on setting adb to path.
    What Is ADB And How To Install It? [Android]
    - adb push su /sdcard/su
    - adb push busybox /sdcard/busybox
    - adb push rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage-arm5.bin
    - adb shell After you type this it'll show a $ sign, no worries, type the rest of the commands below one at a time.
    - cd data/local/tmp
    - chmod 0755 rageagainstthecage-arm5.bin


    ./rageagainstthecage-arm5.bin
    - let the process run until it 'kicks' you out (may take a minute or two) wait for this to bring you back to c:\droid2root, took me less than a minute.

    cd c:/wherever-your-sdk-tools-folder-is
    - adb devices (to verify the connection)
    - adb shell (you should now have a # prompt, if not return to ./rage step above) after you type adb shell it should show a # instead of $

    - mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
    type each command below and when you press enter it'll dupe what you typed, just keep on typing each line and enter
    - cp /sdcard/Superuser.apk /system/app/Superuser.apk
    - cp /sdcard/su /system/bin/su
    - cp /sdcard/busybox /system/bin/busybox
    - chmod 4755 /system/bin/su
    - chmod 4755 /system/bin/busybox
    - mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
    - exit
    - exit


    To test if it was rooted sucessfully, on the apps market download a free app that requires root like Titanium backup. Once downloaded and installed, load the app and you'll get a screen saying Superuser is asking for permission. Accept it, congrats your Droid 2 is rooted.
     
  10. hookbill

    hookbill Premium Member
    Premium Member

    Joined:
    Nov 30, 2009
    Messages:
    19,502
    Likes Received:
    8
    Trophy Points:
    168
    Location:
    N.E. Ohio
    Ratings:
    +8
    Can't you just look for the Ninja?

    sigh…..

    I just ordered the Droid 2. I hope it performs better then my rooted Droid because I'm definitely not going through all this.

    There has got to be an easier way. Preferably one that works with a Mac.
     
  11. MechaDoozer

    MechaDoozer New Member

    Joined:
    Aug 26, 2010
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    another little thing that can make life easier...

    just copy the files from Droid2Root folder into the tools folder where adb is located. In the command prompt, just cd into tools folder and work from there the entire time. No need to change directories back and forth or add adb to your path.
     
  12. Verizon Dragon

    Verizon Dragon New Member

    Joined:
    Aug 17, 2010
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    I have read everything.

    The part where i having trouble like this

    C:/>android-sdk/tools> adb devices
    its says "access is denied"

    I have downloaded files from xdadevelopers
     
Search tags for this page
download droid2root.rar
,
droid2root download
,
droid 2 root.rar
,
droid2root rar
,
droid 2 root rar download
,
droid 2 root.rar download
,
droid2root.rar download free
,
droid2root rar how to
,
how to jailbreak droid 2 by verizon
,

how to root droid 2