DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Results 1 to 9 of 9

Thread: Manual rooting of DroidX after the 2.2.1 OTA

  1. Droid
    TuxDude's Avatar
    Member #
    147067
    Join Date
    Dec 2010
    Posts
    46
    Phone
    Galaxy Nexus LTE
    #1

    Manual rooting of DroidX after the 2.2.1 OTA

    I updated OTA to 2.2.1 on my Droid X....

    I had not previously tried rooting my phone - just was going through different apps and manual procedures available for rooting and besides I came to know about the 2.2.1 availability, so waited till it was available...

    So now I followed the manual instructions found all over the internet:

    I'm just doing a copy-paste of the same:
    - Open command prompt
    - cd C:\android-sdk-windows\tools
    - adb devices (to verify the connection)
    - 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) to C:\android-sdk-windows\tools
    - cd C:\android-sdk-windows\tools
    - adb kill-server
    - 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 tried these steps from a linux box. I'm able to push the required files onto the sdcard as well as the tmp directory. I'm also able to chmod the binary to make it executable. Also the application successfully kicks me out of the adb shell.

    But adb is not able to identify my device from then on even after restarting the adb daemon lot of times. If I reboot the phone, adb is able to discover the device again but the exploit becomes unusable after the reboot.

    Does any one else face the same issue ? Any other suggestions on what I might be missing ?

    I even tried keeping my USB mode in both Phone Mode as well as Charge-only mode.

    I know there are standalone and one-click apps available out there which does the rooting, but I prefer to know what is going on just to make sure I can cleanly unroot the phone if required in the future.

    Thanks.
  2.  
     
     
     
  3. Junior Droid
    thedevil'sadvocate's Avatar
    Member #
    123177
    Join Date
    Oct 2010
    Posts
    11
    Liked
    1 times
    Phone
    Droid X Rooted
    #2
    Quote Originally Posted by TuxDude View Post
    I updated OTA to 2.2.1 on my Droid X....

    I had not previously tried rooting my phone - just was going through different apps and manual procedures available for rooting and besides I came to know about the 2.2.1 availability, so waited till it was available...

    I tried these steps from a linux box. I'm able to push the required files onto the sdcard as well as the tmp directory. I'm also able to chmod the binary to make it executable. Also the application successfully kicks me out of the adb shell.

    But adb is not able to identify my device from then on even after restarting the adb daemon lot of times. If I reboot the phone, adb is able to discover the device again but the exploit becomes unusable after the reboot.

    Does any one else face the same issue ? Any other suggestions on what I might be missing ?

    I even tried keeping my USB mode in both Phone Mode as well as Charge-only mode.

    I know there are standalone and one-click apps available out there which does the rooting, but I prefer to know what is going on just to make sure I can cleanly unroot the phone if required in the future.

    Thanks.
    Same here. Been hammering on this SOB for 3 hours now. There's no new ADB in the Android SDK. I've heard that it can be done in Terminal Emulator but it didn't work, and I'm all about a terminal (I run Arch on my workstation) so that's not the problem.

    And to think I did an SBF flash just to get this crap to work. I didn't need 2.2.1 that bad
    Life should be like electricity; being stupid should hurt, being really stupid should kill you.
  4. Droid
    TuxDude's Avatar
    Member #
    147067
    Join Date
    Dec 2010
    Posts
    46
    Phone
    Galaxy Nexus LTE
    #3
    My guess is that the adb daemon exploit they were using in 2.2 might have got fixed in 2.2.1....

    Few said doing the same directly from the phone worked - may be it is because no adb is required especially in identifying the device portion at least and the terminal emulator app within the phone works for performing the subsequent steps.... May be one other reason z4root run directly from the phone works too.... Any thoughts ?
  5. Junior Droid
    thedevil'sadvocate's Avatar
    Member #
    123177
    Join Date
    Oct 2010
    Posts
    11
    Liked
    1 times
    Phone
    Droid X Rooted
    #4
    Quote Originally Posted by TuxDude View Post
    My guess is that the adb daemon exploit they were using in 2.2 might have got fixed in 2.2.1....

    Few said doing the same directly from the phone worked - may be it is because no adb is required especially in identifying the device portion at least and the terminal emulator app within the phone works for performing the subsequent steps.... May be one other reason z4root run directly from the phone works too.... Any thoughts ?
    Tried running rage...-arm5 in the phone's terminal and it complained about not finding ADB. Tried DoRoot, same problem (doesn't reconnect the phone after the ADB server starts). Where can z4root be found? Went looking for a linkie as it appears to not be in the Market.

    EDIT: Found z4, trying it now.
    Last edited by thedevil'sadvocate; 12-11-2010 at 09:34 PM.
    Life should be like electricity; being stupid should hurt, being really stupid should kill you.
  6. Droid
    TuxDude's Avatar
    Member #
    147067
    Join Date
    Dec 2010
    Posts
    46
    Phone
    Galaxy Nexus LTE
    #5
    Quote Originally Posted by thedevil'sadvocate View Post
    Quote Originally Posted by TuxDude View Post
    My guess is that the adb daemon exploit they were using in 2.2 might have got fixed in 2.2.1....

    Few said doing the same directly from the phone worked - may be it is because no adb is required especially in identifying the device portion at least and the terminal emulator app within the phone works for performing the subsequent steps.... May be one other reason z4root run directly from the phone works too.... Any thoughts ?
    Tried running rage...-arm5 in the phone's terminal and it complained about not finding ADB. Tried DoRoot, same problem (doesn't reconnect the phone after the ADB server starts). Where can z4root be found? Went looking for a linkie as it appears to not be in the Market.
    The complaint about ADB not found can be ignored is what I read.... Lemme try the steps on mine and update my findings....

    Check out the link on this page for z4root:
    hxxp://www.droid-life.com/2010/12/09/z4root-will-root-the-droid-x-2-3-340-update/

    If the manual method works good for me otherwise I'm gonna stay unrooted for now :|
  7. Junior Droid
    thedevil'sadvocate's Avatar
    Member #
    123177
    Join Date
    Oct 2010
    Posts
    11
    Liked
    1 times
    Phone
    Droid X Rooted
    #6
    SCORE!!

    z4root works.
    Life should be like electricity; being stupid should hurt, being really stupid should kill you.
  8. Droid
    TuxDude's Avatar
    Member #
    147067
    Join Date
    Dec 2010
    Posts
    46
    Phone
    Galaxy Nexus LTE
    #7
    Good that you have z4root working....

    I too got the adb not running error - after enabling the USB debugging option under Settings this went off...

    But no luck with the Terminal emulator - I kept getting the same $ prompt and no # prompt

    When I do a ps - I see many instances of the RATC.bin running and my phone was getting slower and slower - I had to reboot after some point....
  9. Junior Droid
    thedevil'sadvocate's Avatar
    Member #
    123177
    Join Date
    Oct 2010
    Posts
    11
    Liked
    1 times
    Phone
    Droid X Rooted
    #8
    Quote Originally Posted by TuxDude View Post
    Good that you have z4root working....

    I too got the adb not running error - after enabling the USB debugging option under Settings this went off...

    But no luck with the Terminal emulator - I kept getting the same $ prompt and no # prompt

    When I do a ps - I see many instances of the RATC.bin running and my phone was getting slower and slower - I had to reboot after some point....
    I kept USB debugging going because where I read the details for doing it that way, they said as much. Everything else--including z4root, even though it's not connected via USB to anything--needs it on so I just left it. And yes, that was what happened when I did it on the terminal.

    I have to admit though...when I saw there was a way to do it in term, my first thought was "no way, it can't be that easy!"

    Thanks for posting the non-link, I had just gone to that site when you posted too. Now, back to finishing my web server...until Gingerbread drops and we get to do it all again.
    Life should be like electricity; being stupid should hurt, being really stupid should kill you.
  10. Droid
    TuxDude's Avatar
    Member #
    147067
    Join Date
    Dec 2010
    Posts
    46
    Phone
    Galaxy Nexus LTE
    #9
    On second try, I got my DroidX rooted finally using the manual terminal emulator method from the phone directly without z4root

    I doubt they're gonna keep this exploit open in the Gingerbread too....

Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. Newbies attempt to understand need for and onstrucipn on rooting droidx
    By Paulinator in forum Android Hacks and Help
    Replies: 0
    Last Post: 11-26-2010, 03:01 AM
  2. Help rooting droidx
    By rmaddx43 in forum Android Hacks and Help
    Replies: 6
    Last Post: 10-23-2010, 01:33 PM
  3. Inc Manual and a question about rooting
    By LadyJ in forum HTC Droid Incredible
    Replies: 6
    Last Post: 08-04-2010, 10:30 PM
  4. How fool-proof are these rooting steps / is rooting permanent
    By liguy257 in forum Android General Discussions
    Replies: 4
    Last Post: 07-18-2010, 06:56 AM

Search tags for this page

how to root android 2.2.1 adb
,

how to root droid x 2.2.1

,
how to root droid x running 2.2.1
,
how to root my droid x 2.2.1
,
hxxp://www.droid-life.com/2010/12/09/z4root-will-root-the-dr
,
manual root droid x 2.2.1
,
manually root droid x
,
manually root droid x 2.2.1
,

root droid x 2.2.1

,
rooting 2.2.1
Click on a term to search our site for related topics.

Tags for this Thread

Find us on Google+