Rooting Froyo on DX


Last Updated:

  1. OMJ

    OMJ Bazinga VIP Member This Topic's Starter

    Joined:
    Nov 27, 2009
    Messages:
    3,288
    Likes Received:
    825
    This method was originally used to root the Droid2

    First off All credit goes to Sebastian Krahmer at C skills. Please see fit to donate via Paypal to 7-4-3-C@web.de

    Credit for the tutorial goes to karnovaran at xda. You can find his original thread here. I have changed the directions a little to make them slightly easier and suited for the Droid X.

    Whats needed
    ADB for instructions on setting up adb see this video by unlockr
    Current Motorola Drivers
    Rageagainstthecage

    1.) Enable usb debugging if you dont already have it enabled
    Go to settings on your phone
    then applications
    then development
    check the box for usb debugging[/Hide]
    2.) Extract rageagainstthecage.zip to c:\droidxroot
    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.) adb devices (This should list a device as a long number under list of devices. If it doesnt something is wrong.)
    7.) adb push c:\droidxroot\rageagainstthecage-arm5.bin /data/local/tmp
    8.) adb shell
    9.) cd /data/local/tmp
    10.) chmod 0755 rageagainstthecage-arm5.bin
    11.) ./rageagainstthecage-arm5.bin (This can take a minutes just let it go until you are returned to your adb tools folder)
    12.) adb devices
    13.) adb shell (you should now see a # instead of a $)
    14.) mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
    15.) exit
    16.) adb push c:\droidxroot\Superuser.apk /system/app
    17.) adb push c:\droidxroot\su /system/bin
    18.) adb push c:\droidxroot\busybox /system/bin
    19.) adb shell
    20.) chmod 4755 /system/bin/su
    21.) chmod 4755 /system/bin/busybox
    22.) mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
    23.) rm /data/local/tmp/rageagainstthecage-arm5.bin
    24.) exit

    I would suggest rebooting your phone but its not required.
     

    Advertisement
    trbo, swagner53, LaZeR and 5 others like this.
  2. D13

    D13 Well-Known Member

    Joined:
    May 28, 2010
    Messages:
    2,088
    Likes Received:
    234
    Thanks looks awesome:D
    Should be a lot easier, with the adb commands instead of the cp ones:p
     
  3. ECFfighter7232

    ECFfighter7232 Well-Known Member

    Joined:
    Jul 21, 2010
    Messages:
    1,493
    Likes Received:
    336
    so all the files that I've got from rooting my friends droid 2 will work fine for rooting the X on froyo?
     
  4. OMJ

    OMJ Bazinga VIP Member This Topic's Starter

    Joined:
    Nov 27, 2009
    Messages:
    3,288
    Likes Received:
    825
    yea...the file I linked has the updated superuser that will continue to get updates from the market though.
     
  5. Fabolous

    Fabolous Superuser VIP Member

    Joined:
    Nov 7, 2009
    Messages:
    3,635
    Likes Received:
    2,126
    I'd just like to add, don't get impatient at step 11.

    It took me almost 5 minutes before my adb connection was reset. It was all smooth sailing from then on though.
     
  6. ECFfighter7232

    ECFfighter7232 Well-Known Member

    Joined:
    Jul 21, 2010
    Messages:
    1,493
    Likes Received:
    336
    yeah when I did it on my friends droid 2 I waited around 15 minutes and it never pushed back to the tools folder. the directions I'd found said this may happen and to exit out and I think it was to try to push the rage file again, I did that and it still didnt push me back to the tools folder but when I exited out and went to adb shell I had the # sign so it had worked for me. everything else went smooth as butter.
     
  7. jdk33

    jdk33 Well-Known Member

    Joined:
    Jul 16, 2010
    Messages:
    211
    Likes Received:
    37
    This might also be a link worth checking out if you're having problems getting your Froyo Droid X to show up in 'adb devices'

    ADB not working after froyo


    I had to do the above to get it to show up.
     
  8. SFWB

    SFWB Well-Known Member

    Joined:
    Jul 13, 2010
    Messages:
    427
    Likes Received:
    27
    Ok.. Just tried this. It worked. I was able to apply the market fix mod to my phone. I am debating installing the new Froyo OTA leak.
     
  9. Gotta Be Mac

    Gotta Be Mac Well-Known Member

    Joined:
    Mar 27, 2010
    Messages:
    73
    Likes Received:
    20
    I realize this thread is a little old, but has anybody done this on a mac...i started editing all the steps into the correct format for Terminal on a mac, but I get to a few points where I'm not sure and don't want to mess things up.

    What i mean is instead of cd \c:\ on a PC...it's cd /users/username and so on...some things are back wards.


    Also: the reason I'm doing this is because I'm already on 2.2 from the leak, I'd really like to gain root back as 1 click and Universal Androot are no longer the easy option.
     
  10. jdk33

    jdk33 Well-Known Member

    Joined:
    Jul 16, 2010
    Messages:
    211
    Likes Received:
    37


    I would just put all of the files in Droid2Root.rar in the adb tools directory, then use the relative path when you're rooting.


    eg:

    adb push ./ageagainstthecage-arm5.bin /data/local/tmp



    I'm using a mac too, so let me know if you have any other questions.
     
  11. SlvrScoobie

    SlvrScoobie Well-Known Member

    Joined:
    Aug 21, 2010
    Messages:
    393
    Likes Received:
    11
    is this currently the only way to root a 2.2 update on the DX?
    Just wondering if I get the update tomorrow, if it doesnt stay rooted if I can use the androot program I already have, since it was super easy
    :)
     
  12. OMJ

    OMJ Bazinga VIP Member This Topic's Starter

    Joined:
    Nov 27, 2009
    Messages:
    3,288
    Likes Received:
    825
    universal androot wont work on 2.2
     
  13. deadmoney920

    deadmoney920 Member

    Joined:
    Sep 16, 2010
    Messages:
    5
    Likes Received:
    0

    can someone tell me what he means by exiting out? and to try and push the rage file again. And exiting out again, "went to adb shell" where at?
     
  14. dimitri407

    dimitri407 Well-Known Member

    Joined:
    Jul 21, 2010
    Messages:
    239
    Likes Received:
    16
    So is this method suppose to work on the OTA Froyo update that I got today?
     
  15. deadmoney920

    deadmoney920 Member

    Joined:
    Sep 16, 2010
    Messages:
    5
    Likes Received:
    0
    now im just stuck waiting

    adb connection will be reset. restart adb server on desktop and re-login

    what does this mean, I though I was told to wait and it would reset on its own

    HELP!!!! please
     
  16. OMJ

    OMJ Bazinga VIP Member This Topic's Starter

    Joined:
    Nov 27, 2009
    Messages:
    3,288
    Likes Received:
    825
    it will eventually reset just be patient some have said it takes up to 10 minutes
     
  17. dimitri407

    dimitri407 Well-Known Member

    Joined:
    Jul 21, 2010
    Messages:
    239
    Likes Received:
    16
    Has your adb connection reset yet? I am going on 12 minutes so far and still no reset.
     
  18. dimitri407

    dimitri407 Well-Known Member

    Joined:
    Jul 21, 2010
    Messages:
    239
    Likes Received:
    16
    Ok. So I have been patiently waiting for 20 minutes for the adb connection to be reset and for it to send me back to the Tools folder but that has not happened. Is there anything I can do to reset the connection?
     
  19. OMJ

    OMJ Bazinga VIP Member This Topic's Starter

    Joined:
    Nov 27, 2009
    Messages:
    3,288
    Likes Received:
    825
    whats the last line right now?

    Is it just $
     
  20. dimitri407

    dimitri407 Well-Known Member

    Joined:
    Jul 21, 2010
    Messages:
    239
    Likes Received:
    16
    Yeah it is just the $
     
  21. OMJ

    OMJ Bazinga VIP Member This Topic's Starter

    Joined:
    Nov 27, 2009
    Messages:
    3,288
    Likes Received:
    825
    ok do the following

    exit
    adb kill-server
    adb devices
    adb shell
    You should now see a # instead of a $

    If you dont you will need to go back to step 9 and try again.
     
    LaZeR likes this.
  22. dimitri407

    dimitri407 Well-Known Member

    Joined:
    Jul 21, 2010
    Messages:
    239
    Likes Received:
    16
    It seems that the exit command is not bringing me back to the command prompt. It now is just a blank line. Should I just open another command prompt and kill the adb server?
     
  23. OMJ

    OMJ Bazinga VIP Member This Topic's Starter

    Joined:
    Nov 27, 2009
    Messages:
    3,288
    Likes Received:
    825
    yea...sounds like rageagainstthecage stalled out. Just close the current prompt and open a new one and adb kill-server
     
  24. dimitri407

    dimitri407 Well-Known Member

    Joined:
    Jul 21, 2010
    Messages:
    239
    Likes Received:
    16
    So I just killed the server from another command prompt but when I do the adb shell all I get is the $ instead of the #. So I guess I will have to redo it. One more question, am I suppose to be in PC Mode or USB Mass Storage?
     
  25. OMJ

    OMJ Bazinga VIP Member This Topic's Starter

    Joined:
    Nov 27, 2009
    Messages:
    3,288
    Likes Received:
    825
    yea start over at step 9 pc mode
     

Share This Page

Loading...