How to Root Droid X!

by Droid X Hacks on Thursday, July 22nd, 2010

For those of you who want to hack your Droid X for real, you will first want to root it.

Rooting your Droid X gives you “full” control over your phone including being able to install custom ROMs, 3rd party apps, free wifi tether, and a whole lot more.

If you are willing to take a risk and take advantage of what a rooted Droid X offers, start by following our step-by-step directions here on Droid X Hacks:

1. First, you will want to install Android SDK. After unzipping the SDK files, put it in a folder easy to remember such as C:\sdk for windows and /sdk for Linux and Mac.

Make sure you also have java installed and run the SDK_Setup.exe (for Windows), which will allow you to update the Android SDK with ADB, USB drivers, and stuff you will need.

2. Once that is done, you can connect your Droid X to your computer.  Make sure your Droid X is in “PC Mode”, not “Just Charge”!

3. Go on your Droid X and go to Settings->Applications->Development and make sure “USB Debugging” option is checked ON.

4. (Windows ONLY) For Windows systems, you might get a “pop-up” saying driver was not installed correctly.  You can update the driver by pointing the driver update to the usb_drivers folder in your SDK folder such as c:\sdk\usb_drivers.

4. Unzip these files into your SDK tools directory such as c:\sdk\tools for Windows or /sdk/tools for Linux/Mac.

5. Open a command prompt by typing “cmd” under Start->search programs and files in Windows and for Linux/Mac, open a terminal.

6. Next browse to your SDK Tools folder by typing “cd \sdk\tools” for Windows and /sdk/tools for Linux/Mac

Type the following:

adb push Superuser.apk /sdcard/Superuser.apk
adb push su /sdcard/su
adb push busybox /sdcard/busybox
adb push exploid /sqlite_stmt_journals/exploid
adb shell

*Tip – If you get errors for above commands, try doing “adb devices”.  If no devices are found, that means you need to make sure your Droid X is in the mode “PC Mode” and drivers are correctly installed for Windows.

7. Once inside the shell type:
cd sqlite_stmt_journals
chmod 755 exploid
./exploid

8. Go back to your phone immediately and toggle the WiFi off and on.

9. Type “rootshell” and type “secretlol” for password.

10. You should now be in “super user” mode, you should have a “#” instead of a “$”.

11. Next, let’s make root permanent, and type:

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

12. Next, exit out of the root shell and try typing “su”:

exit
su

13. Go back to your phone and the Superuser app should ask you for permission, hit “Allow”.
14. If you gotten to this point, congratulations, you’ve rooted your Droid X!

Errors while rooting Droid X?

If you get a blank screen for the Superuser app for some reason or “Permission denied” error, you can re-install the su file like this:

adb shell
rootshell
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
rm /system/bin/su
cp /sdcard/su /system/bin/su
chmod 4755 /system/bin/su

Then try:

exit
su

You should get a Superuser app pop-up on your phone now.

This is what happened to me while I was rooting my own Droid X but by erasing the su app and copying it again solved it.

Some more tips on rooting the Droid X

Make sure you don’t update your Droid X to the latest OTA update as it could block your root access.

Also, here’s a video I took while rooting my own Droid X, these are not the whole directions as I kept running into problems, getting stuck but in the end I did root my Droid X: (It will be helpful for those of you who have never rooted an Android phone before.)

Categories: Droid X Hacks.

Related News and Resources



14 Responses to “How to Root Droid X!”

  1. Droid X Hacks – Droid X Dissected! Says:

    [...] Also see How to Root Droid X! and How to get free wifi tether on your Droid [...]

  2. Droid X Dissected! | Droid X – Blog dedicated to Droid X News and Accessories! Says:

    [...] Also see How to Root Droid X and get free mobile hotspot on your Droid [...]

  3. Droid X Hacks – How to Root Droid X! Says:

    [...] Update: See step-by-step instructions for dummies here at DroidXHacks.com! var gstring="n"; gstring+="n"; gstring+="n"; gstring+="n"; gstring+="n"; gstring+="n"; gstring+="n"; if(testimage==0) { document.write(gstring); } [...]

  4. Step-by-Step Instructions on How to Root Droid X! | Droid X – Blog dedicated to Droid X News and Accessories! Says:

    [...] For those of you who have a hard time following directions, I’ve rooted the Droid X phone myself last night and posted a more detailed, step-by-step instructions at our new blog DroidXHacks.com. [...]

  5. Wes Says:

    The link in step 4 labled “these files” pulls up a window with a url of “http://droidxhacks.com/og.php?url=http://droidx.net/forum/attachment.php?attachmentid=1&d=1279820222″ but nothing shows up in the window. Any help would be much appreciated. Thanks.

  6. Wes Says:

    Actually the link for the Android SDK did the same. Do I need to register with the site or something? Thanks!

  7. Droid X Hacks – How to Root your Droid X! | Nexus One Hacks Blog Says:

    [...] For full step-by-step instructions, head over to Droid X Hacks! [...]

  8. Droid X Hacks – How to Root Droid X and Free WiFi Tether! | Palm Pre Hacks Blog! Says:

    [...] How to Root Droid X – Once you root your Droid X, you will be able to install free wifi tethering app. [...]

  9. Bob Says:

    Has anyone who downloaded the update tried this yet?

  10. sam Says:

    can show us how to install backtrack 4 on Droid x if that is is impossible ?

  11. Droid X Hack – How to Get WiFi Tether Mobile Hotspot on the Droid X! | Droid X – Blog dedicated to Droid X News and Accessories! Says:

    [...] functionality, you can either use Verizon’s $20/month Mobile Hotspot feature OR you can also root your Droid X then install the 3rd party app Android WiFi [...]

  12. How to Unroot your Droid X? | Droid X – Blog dedicated to Droid X News and Accessories! Says:

    [...] those of you who have rooted your Droid X, perhaps installed the free WiFi tether but you need to return your Droid X to the store for an [...]

  13. jason Says:

    hello i am trying to do this but when i click on the link for the android SdK a blank page just comes up. also how this affect the phone when it gets updates for the flash player?

  14. Verizon Attacks iPhone 4 with New Droid X Mobile Hotspot Ad! | Droid X – Blog dedicated to Droid X News and Accessories! Says:

    [...] that’s not all, the dime doesn’t stop there, if you are a bit of a hacker like me, you can root your Droid X and install the free version of WiFi mobile hotspot. (This isn’t as powerful as Droid [...]

Leave a Reply