PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   Moto Droid X (http://forum.ppcgeeks.com/forumdisplay.php?f=227)
-   -   Official Droid X Root Tutorial (http://forum.ppcgeeks.com/showthread.php?t=132178)

theidoctor 08-23-2010 10:18 PM

Official Droid X Root Tutorial
 
PART A


As is always the case with this sort of activity, you do this completely at your own risk.
Theidoctor.org Is not responsible for any damage caused!
Download is attached at the bottom, READ THE GUIDE!
MIRRORS
http://www.4shared.com/file/1uLAgsAC/update.html
http://www.multiupload.com/NYV7593UM3
http://www.filedropper.com/update_4
http://www.mediafire.com/?7465gudkm9dk7me


Related video tutorial available at: http://tiny.cc/UpdateDroidXToFroyoVideo (1080p HD version still processing as of 12:56 GMT-7 but should be ready soon)
XP Users having ADB trouble, check out THIS post for a possible solution.
Part A: UPDATE FROM A CLEAN, UNROOTED PHONE (running 2.1).
(Run means type the command in quotes [but not the quotes] then press the Enter key)

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

theidoctor 08-23-2010 10:19 PM

Re: Official Droid X Root Tutorial
 
Part B: UPDATE FROM A ROOTED PHONE (running 2.1):

If you have Koush’s recovery installed, follow these steps BEFORE attempting to update to 2.2:
  1. UNINSTALL the Recovery APK in Settings, Applications
  2. Reboot
  3. Run “adb shell”
  4. Run “su”
  5. Run “mount -o remount,rw /dev/block/mmcblk1p21 /system”
  6. Run “cp /system/bin/logwrapper.bin /system/bin/logwrapper”
  7. Reboot
IF YOU SKIP OR OTHERWISE DO STEP 4 INCORRECTLY, YOU WILL NOT BE HAPPY. PAY ATTENTION TO IT AND STEP 5 TO CONFIRM.
  1. Run “adb shell” (you need adb setup and working from a command prompt. If you don’t have that, see the ADB support link in Part A)
  2. If you don’t see “#”, run “su” (you will see it if you’ve installed and run Koush’s recovery bootstrapper)
  3. Run “mount -o rw,remount /dev/block/system /system”
  4. Run “cp /system/bin/su /system/xbin/su”
  5. Run “ls /system/xbin/su” and make sure the results are `/system/xbin/su` and NOT `/system/xbin/su: No such file or directory`. If you see the later, repeat the previous step.
  6. Copy the update.zip to your sdcard (see below for mirrors as they become available. update.zip released to the wild by P3Droid at MyDroidWorld)
  7. Run “exit” to drop back to non-su shell.
  8. Run “exit” to drop back to your terminal
  9. Run “adb reboot recovery” to reboot into recovery mode (Thanks for the reminder Myanth)
  10. Run update.zip
To update Superuser.apk (2.3) and su.
  1. Download the attached file to your computer to a location you’ll remember (suggested C:\ or ~ for linux users)
  2. Open a terminal/prompt and for windows users run “cd c:\” for linux users run “cd ~”
  3. Run “adb push Superuser.apk /sdcard/”
  4. Run “adb shell”
  5. Run “su”
  6. Run “mount -o remount,rw /dev/block/system /system”
  7. Run “cp /sdcard/Superuser.apk /system/app/”
  8. On the phone, open your launcher, locate Superuser, and open it. You will likely be prompted to allow access then update su.
If you have /system/xbin/su and /system/app/Superuser.apk, but cannot use “Superuser” (no prompts from Superuser app, “permission denied” when you try to run “su”), just do the following:
  1. Run “adb shell”
  2. Run “/system/xbin/su”
  3. Watch your screen for Superuser app to prompt for permission and click “allow”
  4. Run “mount -o remount,rw /dev/block/system /system”
  5. Run “cp /system/xbin/su /system/bin/su”
  6. Run “chmod 4755 /system/bin/su”
  7. [optional] Run “mount -o remount,ro /dev/block/system /system”
MIRRORS

razorloves 08-25-2010 07:54 AM

Re: Official Droid X Root Tutorial
 
what's with the copying and pasting bro? and not even giving the author credit. thats not cool.

and i guess you haven't seen that a much easier root procedure came out a month ago http://forum.ppcgeeks.com/showpost.p...77&postcount=1

Padron26 08-25-2010 10:25 AM

Re: Official Droid X Root Tutorial
 
Quote:

Originally Posted by razorloves (Post 1923041)
what's with the copying and pasting bro? and not even giving the author credit. thats not cool.

and i guess you haven't seen that a much easier root procedure came out a month ago http://forum.ppcgeeks.com/showpost.p...77&postcount=1

Thanks I thought it was just me. Thinking that this was the new way to root.
Easy root is so simple only a few steps. Compared to this.

MojoRisen 08-25-2010 12:15 PM

Re: Official Droid X Root Tutorial
 
2 words: LOL & WOW.


All times are GMT -4. The time now is 01:57 PM.

Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0