Root Rooting Froyo on DX

Discussion in 'Android Devices' started by OMJ, Sep 14, 2010.

  1. OMJ

    OMJ Bazinga
    VIP Member
    213

    Nov 27, 2009
    3,290
    825
    213
    Finance
    Pennsylvania
    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
    143

    May 28, 2010
    2,088
    234
    143
    Elkridge, Maryland
    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
    163

    Jul 21, 2010
    1,493
    336
    163
    Maryland
    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
    213

    Nov 27, 2009
    3,290
    825
    213
    Finance
    Pennsylvania
    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
    313

    Nov 7, 2009
    3,635
    2,126
    313
    Multi-platinum Rapper
    Illinois
    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
    163

    Jul 21, 2010
    1,493
    336
    163
    Maryland
    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
    43

    Jul 16, 2010
    211
    37
    43
    Flo Rida
    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
    53

    Jul 13, 2010
    427
    27
    53
    Male
    IT Hardware/Network Specialist
    Florida's Nature Coast
    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
    18

    Mar 27, 2010
    73
    20
    18
    High School Technology/Architecture Teacher
    New Jersey
    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
    43

    Jul 16, 2010
    211
    37
    43
    Flo Rida


    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
    38

    Aug 21, 2010
    393
    11
    38
    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
    213

    Nov 27, 2009
    3,290
    825
    213
    Finance
    Pennsylvania
    universal androot wont work on 2.2
     
  13. deadmoney920

    deadmoney920 Member
    5

    Sep 16, 2010
    5
    0
    5

    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
    38

    Jul 21, 2010
    239
    16
    38
    IT
    Orlando, Fl
    So is this method suppose to work on the OTA Froyo update that I got today?
     
  15. deadmoney920

    deadmoney920 Member
    5

    Sep 16, 2010
    5
    0
    5
    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
    213

    Nov 27, 2009
    3,290
    825
    213
    Finance
    Pennsylvania
    it will eventually reset just be patient some have said it takes up to 10 minutes
     
  17. dimitri407

    dimitri407 Well-Known Member
    38

    Jul 21, 2010
    239
    16
    38
    IT
    Orlando, Fl
    Has your adb connection reset yet? I am going on 12 minutes so far and still no reset.
     
  18. dimitri407

    dimitri407 Well-Known Member
    38

    Jul 21, 2010
    239
    16
    38
    IT
    Orlando, Fl
    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
    213

    Nov 27, 2009
    3,290
    825
    213
    Finance
    Pennsylvania
    whats the last line right now?

    Is it just $
     
  20. dimitri407

    dimitri407 Well-Known Member
    38

    Jul 21, 2010
    239
    16
    38
    IT
    Orlando, Fl
    Yeah it is just the $
     
  21. OMJ

    OMJ Bazinga
    VIP Member
    213

    Nov 27, 2009
    3,290
    825
    213
    Finance
    Pennsylvania
    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
    38

    Jul 21, 2010
    239
    16
    38
    IT
    Orlando, Fl
    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
    213

    Nov 27, 2009
    3,290
    825
    213
    Finance
    Pennsylvania
    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
    38

    Jul 21, 2010
    239
    16
    38
    IT
    Orlando, Fl
    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
    213

    Nov 27, 2009
    3,290
    825
    213
    Finance
    Pennsylvania
    yea start over at step 9 pc mode
     

Share This Page

Loading...