[How-To] ROOT and UN-ROOT Your 2.1 Droid X (without ADB)
"How-To Root Your Motorola Droid X without Using ADB (using only your device)" DISCLAIMER: YOU ARE DOING THIS AT YOUR OWN RISK. I, NOR ANYONE ELSE WILL ACCEPT ANY RESPONSIBILITY IF YOU BRICK YOUR DEVICE. AGAIN, YOU ARE DOING THIS AT YOUR OWN RISK.
For the time being, I can only say that this works with Android 2.1
I have tested these instructions multiple times and it worked for me everytime.
Credit for the instructions I used to do this myself go to qoncept at droidforums.net & soapinmouth at androidforums.com
Credit for figuring out the exploit goes to Sebastian Kramer via his blog post
Credit for editing Sebastian's exploit to work on the Droid X goes to Birdman from alldroid.org @mrweeeedbirdman - Steven Bird
Download a Terminal Emulator and a File Manager
Suggested Terminal Emulator: Android Terminal Emulator on AppBrain by Jack Palevich (Backspace doesn't work if you're using swype keyboard so I'd switch to the stock keyboard for this process.)
Suggested File Manager: Astro File Manager on AppBrain by Metago
Download the Attached File
Download the attached file found below named DroidXRoot.zip
Rename the Attached File
The Android browser renames files when downloaded so we'll need to change it.
Open Astro File Manager-->Press Menu-->More-->Preferences-->Look and Feel and disable "Hide File Extensions". Press back until you back out to the file list. Then open the download folder and then long press on the file "resource.ashx" and rename it to "update.zip".
Extract the Attached File
After renaming, long press again and "Extact To This Directory". Now that's enough of the setup, time for the good stuff.
Getting Root Access
Place a WIFI toggle widget on your homescreen and make sure you have it turned ON. (After you type in the commands below, you will need to quickly switch to your homescreen and switch WIFI off and back on quickly. This part took me a couple times to get right.)
Open up the Terminal Emulator and type in the following codes, one line at a time. (yes, put the spaces in) (codes are in blue)
cp /sdcard/download/exploid ./exploid
chmod 755 exploid
After you type in the last command line quickly press your "Home" physical button and switch WIFI off (with the toggle) and then back on. You'll know if you did it quick enough after you type the next command line.
If you get asked for the password, then you were quick enough.
If not, type ./exploid and do the WIFI off/on again.
The password is secretlol
Copying the Root (Superuser) Files
So now you have root but you are not done yet. You have to copy the Superuser files over to make it permanent (you can still unroot later if desired).
After entering the password, type the following commands into the terminal (one line at a time)
cp /sdcard/download/Superuser.apk /system/app/Superuser.apk
cp /sdcard/download/su /system/bin/su
cp /sdcard/download/busybox /system/bin/busybox
chmod 4755 /system/bin/su
chmod 4755 /system/bin/busybox
You are now officially rooted.
Checking to See if You Have Root Access
Close out your Terminal Emulator and then reopen it. Type in the following command.
Your prompt should now change from $ to #. If anything else happened, something went wrong in the process.
Congratulations! You are now officially rooted.
I will be posting instructions on how-to UN-ROOT using the same method at a later time.
I may decide to post the "How-To Root Your Motorola Droid X with ADB
" but there are so many people that run into problems with ADB
and the drivers that I'm going to hold off on that for now.