For those of you who have been wondering if the Droid X would ever be rooted, you can all breathe a collective sigh of relief. The folks over at AllDroid just posted that Verizon’s biggest and baddest Android device has been rooted!
So those of you new to Android and/or the DROID X, you might wonder what this “rooting” business is all about. We have published an article just for you: Rooting Explained + Top 5 Benefits Of Rooting Your Android Phone.
As a clarification, this does not address the boot loader issue. Until the boot loader is unlocked and we find a way to load custom recoveries, backing up using Nandroid or installing custom ROMs will not be possible. Also, depending on whether the /system partition is unlocked or not (it is on the EVO/Droid Incredible by default), you may not be able to get rid of stock apps. It seems that the Droid X is indeed not locked, so you'll be able to nuke the crap without problem.
The instructions, below:
(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.
You're done! feel free to kill the bloat apps snd such.
NOTE: It might be a smart idea to do "rm /system/bin/rootshell" after you have su and superuser in place as ANY program will have access to your root if you leave it (cause everyone will know the password)
Credits
- Sebastian Kramer for this blog post - http://c-skills.blogspot...07/android-trickery.html
- Birdman - for editing Sebastians work for the droidx
- [mbm] - for answering birdmans many questions while root was tried (and failed xD)
The blog list
- Birdman - @mrweeeedbirdman - http://stevenbird.info
- Rainabba - @rainabba - http://rainabba.blogspot.com
Evidence of root
[Source: Alldroid via AndroidCentral]