[HOW TO] Root Your Droid X

Discussion in 'Droid X Hacks' started by Abe21599, Aug 25, 2010.

  1. Abe21599
    Offline

    Abe21599 DF Super Moderator Rescue Squad

    Joined:
    Dec 22, 2009
    Messages:
    6,345
    Likes Received:
    30
    Trophy Points:
    48
    Location:
    Ohio
    Okay this is the full method to root your Droid X using ADB. I know there are easy one click methods out there but people have problems with them so I figured I'd post this

    EDIT: TO BE USED FOR 2.1 ONLY! for 2.2 rooting, see here
    http://www.droidforums.net/forum/re...08-multiple-phones-root-them-unroot-them.html

    CREDIT GOES TO RAINABBA AND BIRDMAN from alldroid.org


    1. Download the attached archive on the bottom and expand it to a folder you can find (eg. c:\DroidXRoot_v2)
    2. Set up ADB (heres help using ADB)
    3. On the phone: Home, Menu Button, Settings, Applications, Development: Make sure the "USB debugging" option is enabled/checked.
    4. Status bar, USB connection: Make sure "PC Mode" is selected.
    5. Open a command prompt (Windows: Start, Run, "cmd", OK; Linux: Terminal)
    6. Run "adb devices". If you don't see your device listed under "List of devices attached", return to step 2 and follow the link to setup ADB (use that topic for support) and return here when "adb devices" lists your X.
    7. Run "CD c:\DroidXRoot" (or where ever you expanded the archive)
    8. Run "adb push Superuser.apk /sdcard/Superuser.apk"
    9. Run "adb push su /sdcard/su"
    10. Run "adb push busybox /sdcard/busybox"
    11. Run "adb push exploid /sqlite_stmt_journals/exploid"
    12. Run "adb shell"
    13. Run "cd sqlite_stmt_journals"
    14. Run "chmod 755 exploid"
    15. On your phone, navigate to a screen where you can switch wifi/bluetooth on/off easily (settings, or a home screen with a widget)
    16. IMMEDIATELY after executing the next step, toggle wifi or bluetooth off and back on
    17. Run "./exploid" and follow directions on screen. Once this completes you'll be back at a shell prompt.
    18. Run "rootshell". You'll be prompted for a password.
    19. Type in password "secretlol" and press Enter then you are root! (You'll know because your prompt will now be a "#" instead of "$")
    20. Run "cp /sdcard/Superuser.apk /system/app/Superuser.apk"
    21. Run "cp /sdcard/su /system/bin/su"
    22. Run "cp /sdcard/busybox /system/bin/busybox"
    23. Run "chmod 4755 /system/bin/su"
    24. Run "chmod 4755 /system/bin/busybox"
    25. Run "rm /system/bin/rootshell"
    26. Run "exit" to drop from root to a non-root user shell (on phone still)
    27. Run "exit" to drop back to your machine command prompt (instead of phone)

    To Confirm root is established:

    1. Run "adb shell"
    2. Run "su" (now you should see the # sign which indicates you are root)
    3. Watch your screen so you can allow Superuser root access.

    You're done! feel free to kill the bloat apps and such.

    NOTE: It might be a smart idea to do "rm /system/bin/rootshell" after you have su and superuser in place as ANY program will have access to your root if you leave it (cause everyone will know the password)


    Birdmans video on Rooting the Droid X
    YouTube - How to root Droid X using Birdman's method from http://AllDroid.org


    Like always, I nor DroidForums take no responsibility for what you do to your phone. No one will be held responsible except you. Proceed at your own risk.
    Last edited: Sep 23, 2010
  2. Abe21599
    Offline

    Abe21599 DF Super Moderator Rescue Squad

    Joined:
    Dec 22, 2009
    Messages:
    6,345
    Likes Received:
    30
    Trophy Points:
    48
    Location:
    Ohio
    For those who have MACS

    I have a Mac and I hope this helps, as I just rooted my Droid X Successfully.

    ADB is part of the Android SDK.

    Download the latest Android SDK Here: Android SDK | Android Developers

    1. Extract the Kit to an Easy Location for you to access.

    2. Once the kit is downloaded, you need to also download the DroidXRoot.Zip included in the "We Haz Rootz" thread and extract it to the "Tools" directory within the SDK kit that you downloaded and extracted above. (Some Zip extraction programs will create a folder called DroidXRoot. If so take the contents of folder and put them in the "Tools" folder.)

    3. Alright once you have everything extracted and in place, plug your Droid X to your Mac Via USB.

    4. Go into settings>Applications>Development on your Droid X and make sure USB debugging is Checked.

    5. Once you verify that it's checked Drag down the Notification Bar on your Droid X tap USB Connection and make sure its Set to "Charge Only".

    6(short). Now open up terminal on your Mac and CD to the "Tools" Directory that you extracted the DroidXRoot.Zip too.

    6(extended).On the Finder Menu Bar up top, Click Go, then Click Utilities, and scroll down and open up "Terminal"

    When Terminal Opens up type "ls" to list the folders available for you to select.
    "Cd" is the command used to select a folder. For Example if you saved the AndroidSDK folder in your Downloads folder, then you would type "Cd Downloads", then "Cd AndroidSDK", then "Cd tools" then you can follow the directions in the original Root post using the Adb commands he listed in his instructions. To make things easier I would rename "android-sdk_r06-mac_86" folder that you get when you extract the zip file to simply "Android". That way in Terminal you can type "cd android" to make things shorter.

    7. Once you CD there, just follow the directions as is, in the Original "We haz Rootz" thread and you should be fine. It's a pretty simple process. Hope this helps.

    * When the instructions say to mount the SD card to your PC or Mac, simply drag down the notification bar on your Droid X tap USB connection and Select "USB Mass Storage" then your SD card will appear in Finder (Mac) usually as "No Name". From there just copy the "Su" and "Superuser.apk" files from your "Tools" folder and paste them onto the SD Card displayed in finder. Then to Unmount, simply drag down the notification bar again on your Droid X, tap USB Connection, and select "Charge Only"*
    Last edited: Aug 25, 2010
  3. Abe21599
    Offline

    Abe21599 DF Super Moderator Rescue Squad

    Joined:
    Dec 22, 2009
    Messages:
    6,345
    Likes Received:
    30
    Trophy Points:
    48
    Location:
    Ohio
    [HOW TO] DEODEX your DX

    This guide will get you a deodexed phone

    --helps with speed and loading deodexed themes :)

    NOTE:
    YOU MUST be ROOTED!

    FILES
    xUltimate (version 2.2)

    GUIDE:

    1. Unzip xUltimate (file attached above) v2.2, and launch "Main.exe"
    2. If everything goes well xUlt should recognize the phone and make a connection. You now should see a list of options.
    3. Run option 1. After option 1 is done, run option 2.
    4. Now these will take a while. Run option 3.
    5. IMPORTANT: After you have run option 3, you MUST navigate to the xUltimate folder and find "origi_frame" folder, and delete "guava.odex". It's a bad file, and interferes with deodexing process.
    6. Now run option 4, and wait.
    7. Exit xUltimate, and put the phone in USB mass storage.
    8. Go back into the xUltimate folder and copy "done_frame", and "done_app", and move them to the root of the sdcard.
    9. Open a command prompt, and do the following
    CODE: enter each line manually and then press enter. please double check the command before pressing enter:


    Code:
    adb shell
    su
    stop 
    mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system 
    cp /sdcard/done_app/* /system/app/ 
    cp /sdcard/done_frame/* /system/framework/ 
    rm /system/app/*.odex 
    rm /system/framework/*.odex 
    mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system 
    reboot
    
    --credit to Webst3r, Rainabba, Mike919, Xeudoxus for this how-to
    Last edited: Sep 17, 2010
  4. Abe21599
    Offline

    Abe21599 DF Super Moderator Rescue Squad

    Joined:
    Dec 22, 2009
    Messages:
    6,345
    Likes Received:
    30
    Trophy Points:
    48
    Location:
    Ohio
    placeholder 3
  5. viper3773
    Offline

    viper3773 New Member

    Joined:
    Aug 22, 2010
    Messages:
    93
    Likes Received:
    0
    Trophy Points:
    0
    thanks, bookmarked :)

    would you recomend this way or the 1 click gui way?
  6. GroceryHauler
    Offline

    GroceryHauler New Member

    Joined:
    Nov 9, 2009
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    0
    Bump ....

    Sent from my DROIDX using Tapatalk
  7. fiver643
    Offline

    fiver643 New Member

    Joined:
    Aug 13, 2010
    Messages:
    79
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Riverside, CALI
    will this work with D1? :motdroidhoriz:
  8. Abe21599
    Offline

    Abe21599 DF Super Moderator Rescue Squad

    Joined:
    Dec 22, 2009
    Messages:
    6,345
    Likes Received:
    30
    Trophy Points:
    48
    Location:
    Ohio
    no theres a few methods in my sig to do the D1. this is in Droid X hacks section
  9. DebianDog
    Offline

    DebianDog Rescue Squad Rescue Squad

    Joined:
    Jul 29, 2010
    Messages:
    278
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Virginia
    or to make things really easy follow the SDK instructions and add the folder to your path. Then no CD needed ;)
  10. debacle
    Offline

    debacle New Member

    Joined:
    Jun 25, 2010
    Messages:
    95
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    St. Louis, MO
    Please forgive my asking (Just got my X yesterday), but if I kill all the bloat such as blockbuster, amazon mp3, etc, will this affect my ability to do the OTA? Just want to know before I root.
  11. Abe21599
    Offline

    Abe21599 DF Super Moderator Rescue Squad

    Joined:
    Dec 22, 2009
    Messages:
    6,345
    Likes Received:
    30
    Trophy Points:
    48
    Location:
    Ohio
    kill as in remove, then yes, you wont get the OTA update
  12. debacle
    Offline

    debacle New Member

    Joined:
    Jun 25, 2010
    Messages:
    95
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    St. Louis, MO
    Ok, so use the rename technique, then I will have to rename them back upon notification of the OTA, correct?
  13. Abe21599
    Offline

    Abe21599 DF Super Moderator Rescue Squad

    Joined:
    Dec 22, 2009
    Messages:
    6,345
    Likes Received:
    30
    Trophy Points:
    48
    Location:
    Ohio
    that is correct
  14. ColdSteele
    Offline

    ColdSteele New Member

    Joined:
    Mar 2, 2010
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    0
    no clockwork mod for droidX?
  15. Abe21599
    Offline

    Abe21599 DF Super Moderator Rescue Squad

    Joined:
    Dec 22, 2009
    Messages:
    6,345
    Likes Received:
    30
    Trophy Points:
    48
    Location:
    Ohio
    what about it? want me to post a guide? you can use it on the DX..
  16. ColdSteele
    Offline

    ColdSteele New Member

    Joined:
    Mar 2, 2010
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    0
    would be very cool... but i guess its pretty useless without being rooted, right? and no "easyroot" for the droidx is there?
  17. Abe21599
    Offline

    Abe21599 DF Super Moderator Rescue Squad

    Joined:
    Dec 22, 2009
    Messages:
    6,345
    Likes Received:
    30
    Trophy Points:
    48
    Location:
    Ohio
    need to be rooted to get CW. and i do not recommend easyroot (idk if its for the DX) ill try to get one up in the next few days. theres a few on DroidXforums.com if you need one now
  18. Porterhouse0
    Offline

    Porterhouse0 New Member

    Joined:
    Mar 31, 2010
    Messages:
    720
    Likes Received:
    0
    Trophy Points:
    0
    i just heard from moto that if u have leaked 2.2 installed u wont get OTA. ever. but that doesnt apply to just simply being rooted does it?
  19. Abe21599
    Offline

    Abe21599 DF Super Moderator Rescue Squad

    Joined:
    Dec 22, 2009
    Messages:
    6,345
    Likes Received:
    30
    Trophy Points:
    48
    Location:
    Ohio
    they figured out a way to block the 2.2 from your phone if you have the leaked one but you can get back to 2.1 to get it

    and no, you can get 2.2 if youre rooted. just lose root
  20. prince1071
    Offline

    prince1071 New Member

    Joined:
    Jul 21, 2010
    Messages:
    93
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Atlanta, GA
    ???

    I'm trying to figure out what I missed here.....

    I followed all the steps...
    when I see the "#" this means I'm rooted....cool
    then I do the cp commands for SU and Busybox...cool
    I do the "rm /system/bin/rootshell" command and still see a "#"....cool
    NOW when I run "exit" I get a "$" again, then I run "exit" again and see the "c:\android\DroidXRoot>"
    so I run the "adb shell" command and see a "$".....(?)
    I run "su" and get a "Permission Denied"

    ....NEVERMIND....
    Been up too long....lol...I'm good now! I saw what I missed and corrected it.
    Last edited: Sep 8, 2010
Search tags for this page

droidxroot.zip+for mac

,

how to root a droid x

,

how to root droid x on mac

,

mac motorola droid x jailbreak