Droid 2 Root for DX OTA 2.2...

Discussion in 'Droid X Hacks' started by Soupy McD, Sep 22, 2010.

  1. Soupy McD
    Offline

    Soupy McD New Member

    Joined:
    Aug 22, 2010
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Portland, Oregon
    It works. Follow these instructions:

    DROID2 Rooting Method Works for DROIDX Running Froyo - Droid Life: A Droid Community Blog

    WOOT!

    EDIT: Here are all the ways that you can get yourself to a rooted 2.2, deodexed so you can theme, and build.props installed.

    Download the Droid2Root from this link.

    Place the Droid2Root in your C:\ hdd folder. Make sure you have the Android SDK installed, and debugging enabled on your DX. Also make sure your phone is in PC Mode when connected.

    Follow these instructions

    1. Open up cmd prompt
    2. cd c:\Droid2Root
    3. adb devices (to verify the connection)
    4. cd c:\Droid2Root
    5. adb push Superuser.apk /sdcard/Superuser.apk
    6. adb push su /sdcard/su
    7. adb push busybox /sdcard/busybox
    8. adb push rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage-arm5.bin
    9. adb shell
    10. cd data/local/tmp
    11. chmod 0755 rageagainstthecage-arm5.bin
    12. ./rageagainstthecage-arm5.bin 13. let the process run until it returns you to c:\Droid2Root (be patient, it may take a bit)


    -I am adding this in here because I used to have a problem with this. Run adb start-server, and daemon tools should reboot. If you don't see anything, don't worry about it.


    14. cd c:\Droid2Root
    15. adb devices (to verify the connection)
    16. adb shell (you should now have a # prompt)
    17. mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
    18. cp /sdcard/Superuser.apk /system/app/Superuser.apk
    19. cp /sdcard/su /system/bin/su
    20. cp /sdcard/busybox /system/bin/busybox
    21. chmod 4755 /system/bin/su
    22. chmod 4755 /system/bin/busybox
    23. mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
    24. EDIT: instead of the 'exit' cmd, type 'reboot' instead. Just to make sure your phone boots with Superuser all fresh and installed.


    (Credits for this go out to Droid Life and Sebastian Krahmer at xda-devs.)


    AFTER YOU DO THIS, INSTALL KOUSH'S BOOTSTRAPPER. Make sure you can reboot into Clockwork.



    ON TO DEODEXING. After Clockwork, boot into 2.2 again.



    Download xUltimate version 2.2.2 from here.


    1. Unzip and run Main.exe
    2. Pull the files, so run options 1 and 2.

    3. Run options 3 and 4, which will deodex your apps and framework. This WILL take awhile so make sure you have a beer and some chips ready. Maybe a tv show.

    4. Those files will output to the xUltimate folder under done_app and done_frame.
    5. Connect the phone into Mass Storage and copy those folders over to the sdcard root.
    6. Now go back to PC Mode.
    7. Time for some cmd prompt goodness with adb, so open up cmd prompt.
    8. adb shell
    9. mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
    10. cp /sdcard/done_app/* /system/app
    11. cp /sdcard/done_frame/* /system/framework/
    12. rm /system/app/*.odex
    13. rm /system/framework/*.odex
    14. mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
    15. reboot


    (Partial/three-quarters credit out to WebSt3r at DroidxForums)



    Phone will reboot, don't be afraid if it takes awhile to reboot. After that, feel free to install themes, and download Rom Manager for the latest OTA 2.2 build.props!


    Enjoy!


    PS I'M NOT RESPONSIBLE FOR YOUR PHONE IF YOU SCREW SOMETHING UP...I hope to god no one does. No .sbf yet. Once someone posts a deodexed .zip then none of this will be relevant! r00t!
  2. Sydman
    Offline

    Sydman Premium Member Rescue Squad Premium Member

    Joined:
    Jul 18, 2010
    Messages:
    3,442
    Likes Received:
    214
    Trophy Points:
    63
    Location:
    Austin, Tx
    Is that for the newest one though? Those posts are a week and older, I know that works for the 2.2 leak cause that is how I got my root back when doing 2.3.3. Does this work for the newest 2.3.15?
  3. Soupy McD
    Offline

    Soupy McD New Member

    Joined:
    Aug 22, 2010
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Portland, Oregon
    The Droid2Root file that I have (which is most likely the one released with that post), worked beautifully and I have root with 2.3.15. I'm deodexing now and seeing what else I can do...

    It seems the new 2.2 froyo update is the same as the leaked versions for rooting, lets see if after deodexing themes can be applied? I'll keep y'all updated.
  4. Sydman
    Offline

    Sydman Premium Member Rescue Squad Premium Member

    Joined:
    Jul 18, 2010
    Messages:
    3,442
    Likes Received:
    214
    Trophy Points:
    63
    Location:
    Austin, Tx
    Nice good to hear man, I am stuck at work till 3am watching what everyone is doing. Did you sbf back to 2.1 then do the over air update then root using D2 method?
  5. Soupy McD
    Offline

    Soupy McD New Member

    Joined:
    Aug 22, 2010
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Portland, Oregon
    Yes I did. Stock 2.1 sbf without root, updated to the OTA, got home from the pub and low and behold, the D2 method works like a charm. I'm halfway through the deodexing process right now.
  6. Sydman
    Offline

    Sydman Premium Member Rescue Squad Premium Member

    Joined:
    Jul 18, 2010
    Messages:
    3,442
    Likes Received:
    214
    Trophy Points:
    63
    Location:
    Austin, Tx
    Very nice, keep us in the loop.
  7. wdprice3
    Offline

    wdprice3 New Member

    Joined:
    Sep 5, 2010
    Messages:
    149
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    NC
    I'd like to see a one touch root/unroot app. like universal androot.
  8. Soupy McD
    Offline

    Soupy McD New Member

    Joined:
    Aug 22, 2010
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Portland, Oregon
    Those are nice and everything...but you are honestly saving maybe four minutes of time with that instead of doing the adb push method. Plus having adb set up with Win7 cmd prompt is useful for other things.
  9. wdprice3
    Offline

    wdprice3 New Member

    Joined:
    Sep 5, 2010
    Messages:
    149
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    NC
    well I never could get adb working on my W7 machine; It's annoying to have to look up code constantly, and I like the idea of being able to do things on the fly/on the device.
  10. Soupy McD
    Offline

    Soupy McD New Member

    Joined:
    Aug 22, 2010
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Portland, Oregon
    If you need help brother I can post a walk-through for you...
  11. Sydman
    Offline

    Sydman Premium Member Rescue Squad Premium Member

    Joined:
    Jul 18, 2010
    Messages:
    3,442
    Likes Received:
    214
    Trophy Points:
    63
    Location:
    Austin, Tx
    I love ADB cause you know what is happening to your phone because you are doing it. And not trusting the program to run unknown commands, I too am running Win 7 if you need help.
  12. Sydman
    Offline

    Sydman Premium Member Rescue Squad Premium Member

    Joined:
    Jul 18, 2010
    Messages:
    3,442
    Likes Received:
    214
    Trophy Points:
    63
    Location:
    Austin, Tx
    Hey man you tested Bootstrap and Clockwork?
  13. Soupy McD
    Offline

    Soupy McD New Member

    Joined:
    Aug 22, 2010
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Portland, Oregon
    Yep they both work.
  14. Sydman
    Offline

    Sydman Premium Member Rescue Squad Premium Member

    Joined:
    Jul 18, 2010
    Messages:
    3,442
    Likes Received:
    214
    Trophy Points:
    63
    Location:
    Austin, Tx
    What about the market a user said he is stock and the market is missing a bunch of apps even ones he purchased.
  15. meraki1990
    Offline

    meraki1990 New Member

    Joined:
    Sep 14, 2010
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    This worked, now OTA 2.2 is rooted Hooray!
  16. Soupy McD
    Offline

    Soupy McD New Member

    Joined:
    Aug 22, 2010
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Portland, Oregon
    Considering the only apps I have installed are necessities, I haven't had a problem? Could be a problem between 2.1 apps and 2.2 (different versions and kernel). I'm no expert though.
  17. Soupy McD
    Offline

    Soupy McD New Member

    Joined:
    Aug 22, 2010
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Portland, Oregon
    DEODEX IS WORKING!!!!

    More progress. Time to apply a theme with Bootstrapper. Honestly this thing is a breeze. Thank you MOTO for being, well, simple. (for once?)
  18. wdprice3
    Offline

    wdprice3 New Member

    Joined:
    Sep 5, 2010
    Messages:
    149
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    NC
    well, I guess I'll give SDK another shot tomorrow and try to root this thing.

    I've got the feeling I'll be on here begging for help since my last attempt with installing/using SDK failed miserably.
  19. Soupy McD
    Offline

    Soupy McD New Member

    Joined:
    Aug 22, 2010
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Portland, Oregon
    Got skype? I'll help you out man... it really isn't that hard. It doesn't take much to get to where you need to be. PM me if you need help. I'm gonna be working on this for awhile tonight. And I have a huge interview tomorrow...oh well.
  20. lithiasales.js
    Offline

    lithiasales.js New Member

    Joined:
    Sep 14, 2010
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Grand Forks, North Dakota
    Can you use Terminal Emulator for this Thanks
Search tags for this page
* daemon not running. starting it now on port 5037 * createp
,

adb connection will be reset

,

adb connection will be reset. restart adb server on desktop

,
adb.exe adbwinapi.dll from your computer
,
adbwinapi.dll missing droid manager
,
can't deodex qcnvitems.odex
,
droid2root
,
droid2root apk
,
droid2root download
,
droid2root free download
,
restart adb server on desktop and re-login
,
root droid x2 run inn on froyo