05-11-2011 11:38 PM
41 12
tools
  1. doctorlove316's Avatar
    "How-To Root Your Motorola Droid X without Using ADB (using only your device)"

    DISCLAIMER: YOU ARE DOING THIS AT YOUR OWN RISK. I, NOR ANYONE ELSE WILL ACCEPT ANY RESPONSIBILITY IF YOU BRICK YOUR DEVICE. AGAIN, YOU ARE DOING THIS AT YOUR OWN RISK.

    For the time being, I can only say that this works with Android 2.1

    I have tested these instructions multiple times and it worked for me everytime.

    Credits
    Credit for the instructions I used to do this myself go to qoncept at droidforums.net & soapinmouth at androidforums.com
    Credit for figuring out the exploit goes to Sebastian Kramer via his blog post
    Credit for editing Sebastian's exploit to work on the Droid X goes to Birdman from alldroid.org @mrweeeedbirdman - Steven Bird


    Download a Terminal Emulator and a File Manager
    Suggested Terminal Emulator: Android Terminal Emulator on AppBrain by Jack Palevich (Backspace doesn't work if you're using swype keyboard so I'd switch to the stock keyboard for this process.)
    Suggested File Manager: Astro File Manager on AppBrain by Metago

    Download the Attached File
    Download the attached file found below named DroidXRoot.zip

    Rename the Attached File
    The Android browser renames files when downloaded so we'll need to change it.

    Open Astro File Manager-->Press Menu-->More-->Preferences-->Look and Feel and disable "Hide File Extensions". Press back until you back out to the file list. Then open the download folder and then long press on the file "resource.ashx" and rename it to "update.zip".

    Extract the Attached File
    After renaming, long press again and "Extact To This Directory". Now that's enough of the setup, time for the good stuff.

    Getting Root Access
    Place a WIFI toggle widget on your homescreen and make sure you have it turned ON. (After you type in the commands below, you will need to quickly switch to your homescreen and switch WIFI off and back on quickly. This part took me a couple times to get right.)

    Open up the Terminal Emulator and type in the following codes, one line at a time. (yes, put the spaces in) (codes are in blue)

    cd /sqlite_stmt_journals
    cp /sdcard/download/exploid ./exploid
    chmod 755 exploid
    ./exploid


    After you type in the last command line quickly press your "Home" physical button and switch WIFI off (with the toggle) and then back on. You'll know if you did it quick enough after you type the next command line.

    rootshell

    If you get asked for the password, then you were quick enough.
    If not, type ./exploid and do the WIFI off/on again.

    The password is secretlol

    Copying the Root (Superuser) Files
    So now you have root but you are not done yet. You have to copy the Superuser files over to make it permanent (you can still unroot later if desired).

    After entering the password, type the following commands into the terminal (one line at a time)

    cp /sdcard/download/Superuser.apk /system/app/Superuser.apk
    cp /sdcard/download/su /system/bin/su
    cp /sdcard/download/busybox /system/bin/busybox
    chmod 4755 /system/bin/su
    chmod 4755 /system/bin/busybox
    rm /system/bin/rootshell
    exit


    You are now officially rooted.

    Checking to See if You Have Root Access
    Close out your Terminal Emulator and then reopen it. Type in the following command.

    su

    Your prompt should now change from $ to #. If anything else happened, something went wrong in the process.

    Congratulations! You are now officially rooted.

    I will be posting instructions on how-to UN-ROOT using the same method at a later time.

    I may decide to post the "How-To Root Your Motorola Droid X with ADB" but there are so many people that run into problems with ADB and the drivers that I'm going to hold off on that for now.
    08-06-2010 08:32 PM
  2. doctorlove316's Avatar
    "How-To UN-ROOT Your Motorola Droid X without Using ADB (using only your device)"


    Open up the Terminal Emulator and type in the following codes, one line at a time. (yes, put the spaces in) (codes are in blue)

    cd /sqlite_stmt_journals
    cp /sdcard/download/exploid ./exploid
    chmod 755 exploid
    ./exploid


    After you type in the last command line quickly press your "Home" physical button and switch WIFI off (with the toggle) and then back on. You'll know if you did it quick enough after you type the next command line.

    rootshell

    If you get asked for the password, then you were quick enough.
    If not, type ./exploid and do the WIFI off/on again.

    The password is secretlol

    rm /system/app/Superuser.apk
    rm /system/bin/su
    rm /system/bin/busybox
    rm /system/bin/rootshell
    reboot
    kentusmc and DethBlooms like this.
    08-06-2010 08:32 PM
  3. doctorlove316's Avatar
    *RESERVED FOR FURTHER INFO (IF NEEDED)*
    kentusmc likes this.
    08-06-2010 09:45 PM
  4. irishmyles003's Avatar
    Awesome. Had to do it twice, but finally got prompted to allow the Superuser request and am now rooted. Thanks alot, I found this much easier than having to do it with adb.
    08-07-2010 09:46 AM
  5. doctorlove316's Avatar
    Awesome. Had to do it twice, but finally got prompted to allow the Superuser request and am now rooted. Thanks alot, I found this much easier than having to do it with adb.
    No problem. That's why I posted this method instead. There are so many things that can go wrong with ADB. It might take a little more time to type things in on the device but much easier IMO.
    08-07-2010 10:57 AM
  6. irishmyles003's Avatar
    Yeah, I would def suggest this method to anyone until the Easy Root app appears back in the marketplace. Im actually tethering right now. Glad I found this.
    08-07-2010 11:01 AM
  7. Dustknight's Avatar
    Thank you sir for the step by step. It was very clear and easy to follow.
    I had to re flash my X today. Got a little crazy when deleting some bloat ware.
    The one click root gui didnt work.
    Your step by step worked just fine first time.

    thanks!
    08-07-2010 10:23 PM
  8. doctorlove316's Avatar
    Thank you sir for the step by step. It was very clear and easy to follow.
    I had to re flash my X today. Got a little crazy when deleting some bloat ware.
    The one click root gui didnt work.
    Your step by step worked just fine first time.

    thanks!
    Well, I got a question for you. Did you use the Linux method or did you use Windows? Last I saw, Windows was untested but SHOULD have worked with the latest RSD Lite.
    08-07-2010 10:44 PM
  9. Dustknight's Avatar
    Well, I got a question for you. Did you use the Linux method or did you use Windows? Last I saw, Windows was untested but SHOULD have worked with the latest RSD Lite.
    Used the windows instructions. It was easy and worked the first try.
    doctorlove316 likes this.
    08-08-2010 12:40 AM
  10. Iven88's Avatar
    I rooted my dx once before and unrooted it. when I go to type in the terminal commands it says cd: can't cd to /splite_stmt_journals. Something wrong?
    08-19-2010 12:50 PM
  11. doctorlove316's Avatar
    So just to clarify, did you download the attached file and have it renamed and moved to the root of your SD card?
    08-19-2010 12:56 PM
  12. Iven88's Avatar
    it is under /sdcard/download i've renamed the .zip to update.zip and extraceted to that directorary. I guess it should be important to say that i used another application to root my DX the first time (i tired this way but typing in all that correctly just pissed me off) with the UIE one button root program.

    EDIT: ohh ahaha. yes i see. i skiped that part. didnt put it in the root folder.
    EDIT: is there a way to copy and paste those commands, my fingers are a bit stupid. that and backspace doesnt seem to work
    08-19-2010 01:17 PM
  13. doctorlove316's Avatar
    I rooted my dx once before and unrooted it. when I go to type in the terminal commands it says cd: can't cd to /splite_stmt_journals. Something wrong?
    I don't know if this is a typo or not but it is sqlite not splite.
    08-19-2010 01:20 PM
  14. Iven88's Avatar
    Ok. Now when I type on the commands for saving the superuser into the system it says that my files are read only.
    Cp /sdcard/download/Superuser.apk /system/app/Superuser.apk and the rest all return as read only
    The rm returns with no directory
    08-19-2010 04:38 PM
  15. doctorlove316's Avatar
    Sorry for that, if you copy from the root of the sd card you leave the download part out of the commands.

    So if they're on the root of the sd card, cp /sdcard/Superuser.apk /system/app/Superuser.apk

    If they're in the download folder, cp /sdcard/download/Superuser.apk /system/app/Superuser.apk

    That's my fault in the instructions for not explaining that better. When I did it, I didn't move them to the root of the sd card but both ways will work, you just have to specify where the files are while typing the command.

    BTW, if you use the stock android keyboard instead of Swype, you'll be able to backspace.
    08-19-2010 04:50 PM
  16. admiral70's Avatar
    Will these work with 2.2?
    08-22-2010 11:53 AM
  17. doctorlove316's Avatar
    These HAVE NOT been tested for 2.2 and as far as I know, there isn't a root method for unrooted 2.2 so the only way to have rooted 2.2 is to load it that way.
    08-22-2010 11:56 AM
  18. jrk's Avatar
    Will this still work after the froyo update from friday 8/20 ??
    08-22-2010 02:02 PM
  19. doctorlove316's Avatar
    Will this still work after the froyo update from friday 8/20 ??
    Refer to the post above yours.
    08-22-2010 02:04 PM
  20. sensatti's Avatar
    I understand this does not worked with the leaked froyo update, but what about the .604 update? When i enter the 2nd line cp /sdcard/download/exploid ./exploid it says no such file or directory. I extracted everything to the download folder of the sd card.
    08-22-2010 04:54 PM
  21. doctorlove316's Avatar
    I understand this does not worked with the leaked froyo update, but what about the .604 update? When i enter the 2nd line cp /sdcard/download/exploid ./exploid it says no such file or directory. I extracted everything to the download folder of the sd card.
    Yes it does work with .604 since that's what I was on when I did it.

    I would double check with astro to make sure the file is in there.
    08-22-2010 05:15 PM
  22. sensatti's Avatar
    Nevermind, dumb mistake on my part. I already had a file named update.zip saved in the download folder so when i renamed it somehow the original update.zip file i had overwrote it.

    Thanks, this is much better than using adb.
    08-22-2010 05:50 PM
  23. doctorlove316's Avatar
    Nevermind, dumb mistake on my part. I already had a file named update.zip saved in the download folder so when i renamed it somehow the original update.zip file i had overwrote it.

    Thanks, this is much better than using adb.
    No doubt.

    Good to hear that you got it.
    08-22-2010 06:08 PM
  24. petef's Avatar
    Well, i have been wondering about rooting.. how hard.. and such. My brother rooted his android phone and says he would have it no other way. I found this procedure, and being ex military, found it REALLY easy to follow. I made one mistake typing, restarted and BOOM! rooted Droid x. I installed the WIFI tether program and tested.. worked! and it was faster than the Average ISP. Thanks for the awesome instructions!!
    DethBlooms likes this.
    08-27-2010 11:49 AM
  25. tstumbo13's Avatar
    What wireless tether program did you use?
    08-28-2010 01:51 PM
41 12
LINK TO POST COPIED TO CLIPBOARD