Android Forums at AndroidCentral.com >  Motorola Droid X >  Motorola X Rooting, ROMs, and Hacks > [How To] Root Your Droid X [Official 2.2 OTA]

[How To] Root Your Droid X [Official 2.2 OTA]

    Thread Author   #1  
Old 09-22-2010, 01:11 AM
Retired Moderator
Device(s): Droid Inc & DroidX & Xoom
 
Posts: 1,212
Location: 253
Join Date: Jun 2010
Thanked 113 Times in 85 Posts
Likes Received: 0
Activity: 0/20
I went ahead and downloaded the most recent OTA which obviously unroots your device so I decided to go ahead and try to root it using the Droid2 method and it worked just fine for me.

Here are the instructions from XDA written by karnovaran.

I changed a few things because his directions weren't working correctly for me but credit goes to him for the write-up.

STANDARD DISCLAIMER HERE - YOU ARE RESPONSIBLE FOR ANYTHING THAT YOU DO TO YOUR DEVICE. I, NOR ANYBODY ELSE ARE MAKING YOU DO THIS SO WHATEVER MAY HAPPEN TO YOUR DEVICE IS ON YOU.

Setup:
- Install adb ([Only registered users can view links. ]) and Motorola drivers for windows([Only registered users can view links. ] or [Only registered users can view links. ])
- Download attached archive
- Extract the individual files to a directory, I used C:\android-sdk-windows\tools
- Make sure you have USB degugging enabled
- Change connection to Charge Only

Process:
- Open command prompt
- cd C:\android-sdk-windows\tools
- adb devices (to verify the connection)
- adb push Superuser.apk /sdcard/Superuser.apk
- adb push su /sdcard/su
- adb push busybox /sdcard/busybox
- adb push rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage-arm5.bin
- adb shell
- cd data/local/tmp
- chmod 0755 rageagainstthecage-arm5.bin

- ./rageagainstthecage-arm5.bin
- let the process run until it 'kicks' you out (may take a minute or two) to C:\android-sdk-windows\tools
- cd C:\android-sdk-windows\tools
- adb kill-server
- adb devices (to verify the connection)
- adb shell (you should now have a # prompt, if not return to ./rage step above)

- mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
- 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
- mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
- exit
- exit

AGAIN, CREDIT FOR THE EXPLOIT GOES TO Sebastian Krahmer at [Only registered users can view links. ]
Attached Files
File Type: zip DroidXRoot.zip (1.05 MB, 1777 views)

Last edited by avlfive; 09-22-2010 at 01:22 AM.
  #2  
Old 09-22-2010, 03:10 AM
 
Posts: 3
Join Date: Sep 2010
Thanked 0 Times in 0 Posts
Likes Received: 0
Activity: 0/20
if i go to manage apps and go down i can find superuser permissions but theres no options for everything on it unistall, force close, clear data, everything is greyed out. i thought to be rooted superuser permissions had to be in the app drawer
  #3  
Old 09-22-2010, 04:11 AM
Device(s): Samsung Galaxy Nexus
 
Posts: 213
Location: Phoenix, AZ
Join Date: Jul 2010
Thanked 16 Times in 15 Posts
Likes Received: 6
Activity: 1/20
I cant push any files to the sd card. I keep getting "failed to copy...permission denied"

EDIT: I had "mass storage mode" enabled instead of "charge only". Got my DX rooted now

Last edited by Iceman0803; 09-22-2010 at 04:32 AM.
  #4  
Old 09-22-2010, 04:29 AM
Device(s): Droid Bionic
My Next Device: Galaxy Nexus
 
Posts: 171
Location: Philly
Join Date: Sep 2010
Thanked 5 Times in 5 Posts
Likes Received: 2
Activity: 7/20
I'm a complete newbie when it comes to rooting...I got as far as "adb push Superuser.apk /sdcard/Superuser.apk" but can't get any further. Can someone help?
  #5  
Old 09-22-2010, 04:47 AM
Device(s): Samsung Galaxy Nexus
 
Posts: 213
Location: Phoenix, AZ
Join Date: Jul 2010
Thanked 16 Times in 15 Posts
Likes Received: 6
Activity: 1/20
Quote:
Originally Posted by PhoenixMike View Post
I'm a complete newbie when it comes to rooting...I got as far as "adb push Superuser.apk /sdcard/Superuser.apk" but can't get any further. Can someone help?
Can you describe what happens?
  #6  
Old 09-22-2010, 04:58 AM
Device(s): Droid Bionic
My Next Device: Galaxy Nexus
 
Posts: 171
Location: Philly
Join Date: Sep 2010
Thanked 5 Times in 5 Posts
Likes Received: 2
Activity: 7/20
Quote:
Originally Posted by Iceman0803 View Post
Can you describe what happens?
It gives me some error saying its not found. I didn't understand the whole "adb" thing either. I had to Google it to find that I had to place the files in the system folder... Is there a simpler way to do this? I'm NOT good at command promt
  #7  
Old 09-22-2010, 05:00 AM
 
Posts: 21
Location: San Diego
Join Date: Sep 2010
Thanked 1 Time in 1 Post
Likes Received: 0
Activity: 0/20
According to A tweet from Birdman, once you upgrade to 2.2 the 2.1 SBF does not work anymore. I think I'll refrain from rooting until we have a reliable method to SBF for now.
  #8  
Old 09-22-2010, 05:00 AM
Device(s): Galaxy Nexus LTE, from a Droid X
ROM/Kernel: Axiom crossbreed v10
My Next Device: Asus Transformer prime or Nexus tab
 
Posts: 37
Location: Marysville, WA
Join Date: Apr 2010
Thanked 0 Times in 0 Posts
Likes Received: 0
Activity: 0/20
ya i need help to, dont have a clue i want root. someone make a quick video?
  #9  
Old 09-22-2010, 05:26 AM
Device(s): Droid 4
 
Posts: 244
Location: Houston, TX
Join Date: Jun 2010
Thanked 12 Times in 9 Posts
Likes Received: 7
Activity: 2/20
Debug on and charge only mode, but device doesn't show as attached....

EDIT: Changed to "Windows Media Sync" mode and it worked fine. Would not work in Charge Only mode.

I'm Rooted and Barnacle WiFi works GREAT still!!!
Drocap works also.

I'm happy!
Now to attack the wife's X...

Last edited by wabyrd; 09-22-2010 at 05:50 AM.
  #10  
Old 09-22-2010, 05:39 AM
Device(s): Samsung Galaxy Nexus
 
Posts: 213
Location: Phoenix, AZ
Join Date: Jul 2010
Thanked 16 Times in 15 Posts
Likes Received: 6
Activity: 1/20
Quote:
Originally Posted by PhoenixMike View Post
It gives me some error saying its not found. I didn't understand the whole "adb" thing either. I had to Google it to find that I had to place the files in the system folder... Is there a simpler way to do this? I'm NOT good at command promt
You have to have "adb.exe" and all of the files that you are trying to push to the sd card in the same folder.
Quote:
Originally Posted by wabyrd View Post
Debug on and charge only mode, but device doesn't show as attached....
Make sure the usb drivers installed correctly. Particularly the "ADB device" one