How to root Droid 2

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

  1. Quie2Droid
    Offline

    Quie2Droid New Member

    Joined:
    Dec 6, 2009
    Messages:
    292
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Las Vegas
    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.
    Last edited: Aug 26, 2010
  2. Quie2Droid
    Offline

    Quie2Droid New Member

    Joined:
    Dec 6, 2009
    Messages:
    292
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Las Vegas
    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.
    Last edited: Aug 26, 2010
  3. MechaDoozer
    Offline

    MechaDoozer New Member

    Joined:
    Aug 26, 2010
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    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 :)
    Last edited: Aug 26, 2010
  4. Quie2Droid
    Offline

    Quie2Droid New Member

    Joined:
    Dec 6, 2009
    Messages:
    292
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Las Vegas
    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.
    Last edited: Aug 26, 2010
  5. Jedidr0id
    Offline

    Jedidr0id New Member

    Joined:
    Aug 18, 2010
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    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.
  6. hookbill
    Offline

    hookbill Premium Member Premium Member

    Joined:
    Nov 30, 2009
    Messages:
    19,545
    Likes Received:
    5
    Trophy Points:
    0
    Location:
    N.E. Ohio
    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.
  7. MechaDoozer
    Offline

    MechaDoozer New Member

    Joined:
    Aug 26, 2010
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    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.
  8. Verizon Dragon
    Offline

    Verizon Dragon New Member

    Joined:
    Aug 17, 2010
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    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
  9. pc747
    Offline

    pc747 DF Administrator Staff Member Rescue Squad

    Joined:
    Dec 23, 2009
    Messages:
    17,514
    Likes Received:
    1,050
    Trophy Points:
    113
    Add me to the droid 2 rooted club :icon_ banana:
  10. pc747
    Offline

    pc747 DF Administrator Staff Member Rescue Squad

    Joined:
    Dec 23, 2009
    Messages:
    17,514
    Likes Received:
    1,050
    Trophy Points:
    113
  11. youngti
    Offline

    youngti New Member

    Joined:
    Apr 5, 2010
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    0
    Now that we have Root!

    Has anybody tried a new boot animation?

    Wait, just tried it and worked with no issues.
    Last edited: Aug 31, 2010
  12. Malvado
    Offline

    Malvado DF News Team/Mod Premium Member

    Joined:
    Nov 7, 2009
    Messages:
    1,993
    Likes Received:
    15
    Trophy Points:
    38
    have they already made a stock backup file for it? i wanna do it but not until i know theres a way back to stock
  13. deftdrummer
    Offline

    deftdrummer New Member

    Joined:
    Jul 23, 2010
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    0
    Could someone please walk me through this? I've never had enough guts to do ADB stuff and I quickly found out why. I am getting pretty pissed at Moto and VZ for repeatedly making it harder to do what we want with our phones.
  14. bmaxxm4
    Offline

    bmaxxm4 New Member

    Joined:
    Aug 24, 2010
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    0
    can somebody PLEASE help me out? i have been trying forever to setup the sdk and everytime i get the same error... WARNING!: Java not found in your path. checking it it's installed in C/:program Files (x86)Java instead... etc... i have tried every video, blog, etc, none of it works. all i need to do is set up the sdk. i am running windows 7 x64
    Last edited: Sep 14, 2010
  15. MechaDoozer
    Offline

    MechaDoozer New Member

    Joined:
    Aug 26, 2010
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    Assuming you just want to root....you don't need to setup or install the SDK. You need to download SDK zip file but you really only need the one folder inside called "tools". All I did was extract that folder to my C drive, so it shows up as C:\tools

    Inside this folder is the adb program. open your command prompt and navigate to that directory. now type 'adb devices' to get started.
  16. komputerfreek
    Offline

    komputerfreek New Member

    Joined:
    Sep 14, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    What happens if I brick my phone by doing this incorrectly? Is there a fool proof way to recover to factory settings? I have no problem rooting as long as I can fix it myself if I mess up. Thanks.

    Sent from my DROID2 using Tapatalk
  17. bmaxxm4
    Offline

    bmaxxm4 New Member

    Joined:
    Aug 24, 2010
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    0
    okay, i get to this step every time - ./rageagainstthecage-arm5.bin and then it says cannot find adb: No such file or directory

    and then it never gets to this part..

    - let the process run until it returns you to c:/Droid2Root
    what do i do???
  18. efexay
    Offline

    efexay New Member

    Joined:
    Jun 17, 2010
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    0
    after I change drives to :

    C:\Users\*Uzer*\Downloads\android-sdk_r07-windows\android-sdk-windows\tools\Droid2Root

    and type "- adb push Superuser.apk /sdcard/Superuser.apk" I get the following:

    "'adb' is not recognized as an internal or external command, operable program or batch file"

    any ideas?
  19. pc747
    Offline

    pc747 DF Administrator Staff Member Rescue Squad

    Joined:
    Dec 23, 2009
    Messages:
    17,514
    Likes Received:
    1,050
    Trophy Points:
    113
  20. zanzeroth
    Offline

    zanzeroth New Member

    Joined:
    Oct 29, 2010
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    damn verizon updated software now i cant get root access. i can re do all the steps but as soon as i cycle power on my phone i get the $ sign when i log into the shell. it seems i still have root access but the programs wont work correctly. any ideas on how to proceed
Search tags for this page
download droid2root.rar
,
droid 2 root rar download
,
droid 2 root.rar
,
droid 2 root.rar download
,
droid 2root .rar
,
droid2root free download
,
droid2root rar how to
,
droid2root.rar
,
droid2root.rar download free
,
droid2root.rar/
,
how to jailbreak droid 2 by verizon
,

how to root droid 2