View Single Post
Old July 22nd, 2010, 10:55 AM   #1 (permalink)
Fabolous
Superuser
 
Fabolous's Avatar
 
Join Date: Nov 2009
Location: Illinois
Posts: 3,636
 
Device(s): Galaxy Nexus, Sensation 4G, Nexus S, Droid X, XOOM 4G, Touchpad
Thanks: 134
Thanked 2,141 Times in 697 Posts
Default ***[How-To] Root your Droid X***

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

Quote:
Originally Posted by AllDroid
(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
__________________
Overclocked Rooted Droid X with ApeX


Fabolous is offline  
Reply With Quote
The Following 13 Users Say Thank You to Fabolous For This Useful Post:
aleis (July 22nd, 2010), Breukdance (July 22nd, 2010), bumpylemon (July 22nd, 2010), Candroid (July 22nd, 2010), chrlswltrs (July 22nd, 2010), colchiro (July 22nd, 2010), Foxgguy2001 (August 18th, 2010), hahaha what (July 22nd, 2010), jr0065 (July 22nd, 2010), jreed2560 (July 22nd, 2010), jroc (July 22nd, 2010), JubbaTheHutt (July 22nd, 2010), paul89 (July 22nd, 2010)