22
Sep
DroidXroot

This article deals with rooting your Android phone. If you’re unfamiliar with this term, hit up our primer here: Rooting Explained + Top 5 Benefits Of Rooting

If you installed the Froyo OTA update this morning on your Droid X and lost root, fear not! The Droid 2 root method works swimmingly with the Droid X update and is a painless as painless can be.

Stephen Bird (AKA birdman), of Droid X custom ROM fame, posted this tweet not 12 hours ago:

2010-09-22 11 55 25

The link in the tweet points to this page at XDA Developers which provides a one-click root for the Droid 2. There are confirmations from Droid X users flying in from all over the Internet, so we're going to call it a win.

Instructions, current as of 09/22/2010, below:

One Click Root Version for Linux and Works for Mac,too!
Here it is:
http://www.kimete.com/droid/beta/DoRootforD2Linux.zip
Give it a try and see how it goes. I think it works the same way as the directions above, except you only run one script! Thank you for facelessuser for working his magic and making it all work!

Instructions for Linux and Mac
1. Extract and Update Android SDK package to your computer. The file comes in a .tar.gz file. Just open it up and drag and drop the android-sdk-linux folder to your home directory or desktop. Next, extract the files from the DORoot zip file to the tools folder of Android SDK. You should be moving 4 or 5 files into the tools folder.
2. Make sure you phone is in PC Mode with USB Debugging enabled
PC Mode: Notification blind -> USB connection -> PC Mode
USB Debugging: Settings -> Applications -> Development -> USB debugging
You need USB debugging icon showing in notifications. Try Charge Only if you can't get PC Mode to show USB debugging.
3. Navigate to the tools folder of your android-sdk
[cd /android-sdk-linux_x86/tools]
4. enter [chmod 0755 doroot.sh] then run it [./doroot.sh]
5. Let it run.
6. That's it, you are done.

 

One Click Root for Windows
Here's the Windows version. Facelessuser pushed this through and worked his magic. Give it a try. Very exciting stuff. I haven't used it yet, but according to him, it should work!
Download here:
http://www.kimete.com/droid/beta/DoRootForWindows.zip

Instruction for Windows:
1. Extract and Update Android SDK package to your computer. The file comes in a zip file. Just open it up and drag and drop the android-sdk-windows folder to your C drive. Next, extract the files from the DORoot zip file to the tools folder of Android SDK. You should be moving 7 or 8 files into the tools folder.
2. Install Motorola Drivers
(Tip, to stop the launching of the Verizon/Motorola site, go to the MotoConnect icon in the bottom left, right click, when phone connects, nothing.)
3. Make sure you phone is in PC Mode with USB Debugging enabled
PC Mode: Notification blind -> USB connection -> PC Mode
USB Debugging: Settings -> Applications -> Development -> USB debugging
You need USB debugging icon showing in notifications. Try Charge Only if you can't get PC Mode to show USB debugging.
4. Double-click and run doroot.bat
5. Let it run.
6. That's it, you are done.

Many thanks to facelessuser for working his magic!

Source: Birdman on Twitter

Brad Ganley
An Android power user, Brad consumes most of his free time with unhealthy amounts of cell phones and cell phone related things when he isn't playing with his son. Brad is also an avid movie-watcher and tea-drinker.
  • BenR

    But has anyone figured out the build.prop issue with the DX and 2.2? If you wipe Data and Cache to start fresh ... you can NOT download anything DRM'd such as keys for apps like Documents to Go or even something such as Fandango. I had to put an edited build.prop in that tells the market my phone is a Droid 2. Major Fail on MOTO's part. :/

  • bulgin

    how long should the doroot.bat run?

  • jigubhai2001

    OK so I have OTA 2.2 running on my X. Ran the root process and the cmd prompt says rooted successfully. After Rebooting the Phone I do see the Super-Ninja Icon, however when I click on it a blank window opens up. Not sure if the phone is rooted or if I am missing something.

    Any suggestions, recommendations

    • Brad

      The window will be blank until you run an app that requests root access. Install wifi tether from the market and run it. Click allow in the dialog, stop tethering, click allow, then open the superuser app. Wifi tether will then be listed there. The superuser app is simply a last of applications you've allowed root access to.

  • jigubhai2001

    Yup I figured it out eventually when I downloaded the root explorer and tried to run it. Thanks for the help. Have to say I bad the phone rooted the first time I tried, however my lack of. Knowledge about this made me think that I was not doing this corectly and I tried to root the phone almost 20 times with sucessfully rooting it every time.

  • Danielle

    Thank You!
    Thank You!
    Thank You!
    Thank You!
    Thank You!
    Thank You!
    Thank You!
    DROID X!!!!!!!!!!!

  • vinzky

    is there a way to unroot this method?

    • Padron26

      Id also like to know.

      • http://www.youtube.com/watch?v=QJ5dtnN0_Ww The-Ed-Word-Third

        Yes UNROOT... How?! Heeeeelllp!...Help.

  • Jay

    I've tried Do Root 20 times now on my Droid X with Froyo. All 4 USB modes with debugging on. I watched a Youtube video, and it seems that compared to the vid, my phone is never recognized. But I always get the "successfully rooted" message at the end. And then I open up AutoKiller app and get no love. Damnit!!!

    • http://nada BenR

      You also have to make sure that when you su for the first time in the adb shell that you have the screen where you can see it so that SuperUser can prompt you to give access to /bin/sh which IS the root shell .. otherwise none of it will work. ;)

  • Chris

    when I run ./doroot.sh it says

    * daemon not running. Starting it now on port 5037 *
    * daemon started successfully *

    Then it just sits, please help?! How long does this take?

  • Problems

    My antivirus keeps telling me that i am downloading a trojan when i download this file

  • Wes

    Does anyone have a way to unroot after running doroot.bat? I just want to be able to unroot so I can get new updates if needed.

    • BenR

      @Wes You will get the updates even if you root it. What will happen is that the apps that NEED root that you may have loaded will not function after say .. an update to 2.2.1 .. that is until it's re-rooted. My 2.1 was rooted and I still got the 2.2 upgrade but I had to re-root in order to have the same level of access.
      In other words you really do not need to worry about "un-rooting" your DX. :D

      • Seacal

        Thanks,
        That's great - and I thank the "birdman" for putting together the batch file (having root access to a device I own is should be a right and not a priveledge)

        Note you have to run your dos shell as root and make sure /tools is in the env path for windows.

        Thanks

  • Steve J.

    'adb' is not recognized as a internal or external comand
    .
    I am running android 2.2.1 help me please?

  • Gio101

    One word "Z4Root"

    • Steve J.

      I have tried Z4root several times.it does not work for me. example like when I run cpu set.it says I am not rooted.
      Terminal Emulator says permission denied.

  • Austin

    If I root my Droid, will it still be able to sync with my corporate email appropriately? I'd love to give this a try, but I wouldn't want to lose access to my emails on my phone...

    Thanks.

  • dgrant

    Ive tried every usb connection mode that allows debugging but it always ends up stopping. I ran into the same problem when trying to do it manually. when i would kill-server it would never reconnect to device. ive waited over 10 minutes after line in this cmd past below.
    Welcome to DarkOnion Root
    Presented by: darkonion and facelessuser
    Special thanks to: Sebastian Krahmer at http://c-skills.blogspot.com/
    If the following command takes too long to connect, close your terminal.
    Disconnect your phone and make sure debugging is enabled, and you are set to PC
    mode
    Checking for devices...
    List of devices attached
    015D9EEF0D02600E device
    Transfering payload.
    -->Superuser.apk
    2253 KB/s (27688 bytes in 0.012s)
    -->su
    1830 KB/s (26248 bytes in 0.014s)
    -->busybox
    1748 KB/s (1926944 bytes in 1.076s)
    -->rageagainstthecage-arm5.bin
    1053 KB/s (5392 bytes in 0.005s)
    We will begin to apply the tears of 1000 unicorns to root your phone.
    This could take as long as 5 minutes. Please be patient...
    10 seconds.
    5 seconds.
    4
    3
    2
    1
    [*] CVE-2010-EASY Android local root exploit (C) 2010 by 743C
    [*] checking NPROC limit ...
    [+] RLIMIT_NPROC={3815, 3815}
    [*] Searching for adb ...
    [+] Found adb as PID 2125
    [*] Spawning children. Dont type anything and wait for reset!
    [*]
    [*] If you like what we are doing you can send us PayPal money to
    [*] 7-4-3-C@web.de so we can compensate time, effort and HW costs.
    [*] If you are a company and feel like you profit from our work,
    [*] we also accept donations > 1000 USD!
    [*]
    [*] adb connection will be reset. restart adb server on desktop and re-login.
    Reconnecting in 20 sec...
    * server not running *
    * daemon not running. starting it now on port 5037 *
    * daemon started successfully *
    Checking for device...

  • dgrant

    sorry about the repost.

  • moosy

    Note: adb has been moved in the latest Android SDK to platform-tools. Either move files there or make a symlink in linux

Quantcast