• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root ***[How-To] Root your Droid X***

Fabolous

Superuser
Nov 7, 2009
3,635
2,126
Illinois
fabdroid.com
Props out to Birdman for porting Sebastian Krahmer's Linux exploit to get root onto the Droid X. We now have root!

Begin by downloading the following file:

DroidXRoot_v2.zip

Now, follow these instructions very carefully (originally posted at AllDroid):

Learn to set up ADB on your machine here:

Setup ADB on Windows (USB Driver v3 from SDK r7) - Motorola Droid X Support/General - AllDroid Public Board - Setup ADB on Windows (USB Driver v3 from SDK r7) - Motorola Droid X Support/General - AllDroid Public Board - AllDroid.org > Home

AllDroid said:
(Run means type the command in quotes [but not the quotes] then press the Enter key)

Download the attached archive and expand it to a folder you can find (eg. c:\DroidXRoot_v2)
Set up ADB (Step-by-step guide for Windows Vista/7 HERE. <-- USE THAT THREAD FOR ADB SUPPORT PLEASE.)
On the phone: Home, Menu Button, Settings, Applications, Development: Make sure the "USB debugging" option is enabled/checked.
Status bar, USB connection: Make sure "PC Mode" is selected.
Open a command prompt (Windows: Start, Run, "cmd", OK; Linux: Terminal)
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.
Run "CD c:\DroidXRoot" (or where ever you expanded the archive)
Run "adb push Superuser.apk /sdcard/Superuser.apk"
Run "adb push su /sdcard/su"
Run "adb push busybox /sdcard/busybox"
Run "adb push exploid /sqlite_stmt_journals/exploid"
Run "adb shell"
Run "cd sqlite_stmt_journals"
Run "chmod 755 exploid"
On your phone, navigate to a screen where you can switch wifi/bluetooth on/off easily (settings, or a home screen with a widget)
IMMEDIATELY after executing the next step, toggle wifi or bluetooth off and back on
Run "./exploid" and follow directions on screen. Once this completes you'll be back at a shell prompt.
Run "rootshell". You'll be prompted for a password.
Type in password "secretlol" and press Enter then you are root! (You'll know because your prompt will now be a "#" instead of "$")
Run "cp /sdcard/Superuser.apk /system/app/Superuser.apk"
Run "cp /sdcard/su /system/bin/su"
Run "cp /sdcard/busybox /system/bin/busybox"
Run "chmod 4755 /system/bin/su"
Run "chmod 4755 /system/bin/busybox"
Run "rm /system/bin/rootshell"
Run "exit" to drop from root to a non-root user shell (on phone still)
Run "exit" to drop back to your machine command prompt (instead of phone)

To Confirm root is established:

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

What we now can do

-Run root only apps such as SetCPU, drocap2, AdFree, Titanium Backup, etc.
-Have full access to the system to change framework, themes, etc.
-Install root only ports (i.e. Samsung Galaxy S LWPs?)

What we cannot do yet

-Don't have a full recovery method, in case you screw something up royally
-Don't have custom kernels for overclocking
-Bootloader is still locked, can't flash custom ROMS
 
Happy, happy!

xsetcpu.png
xwifitether.png
 
Upvote 0
Heard the fantastic news earlier this morning!
6 days from launch, we have ROOT!

I must also give props out to Birdman for porting Sebastian Krahmer's Linux exploit.

This is what open source is all about.
I really appreciate the Android Dev/Mod Community.
I can't say thank you enough...

Now its time to say goodbye...
Goodbye to bloatware;)
 
Upvote 0
PC mode. Also, make sure you have ADB configured first, this requires a lot of command prompt work.

There's a link the in the first post on how to configure ADB if you do not know how to do that.

Thanks I rooted my Dinc so I'm good with the prompt. I just didn't see anything about the mode which seems like a pretty important step. Did I just miss it?

Thanks for the fast reply!
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones