08-23-2010, 10:19 PM
|
|
PPCGeeks Regular
Offline
Threadstarter
|
|
Join Date: Feb 2009
Posts: 53
Reputation: 45
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
|
|
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: - UNINSTALL the Recovery APK in Settings, Applications
- Reboot
- Run “adb shell”
- Run “su”
- Run “mount -o remount,rw /dev/block/mmcblk1p21 /system”
- Run “cp /system/bin/logwrapper.bin /system/bin/logwrapper”
- Reboot
IF YOU SKIP OR OTHERWISE DO STEP 4 INCORRECTLY, YOU WILL NOT BE HAPPY. PAY ATTENTION TO IT AND STEP 5 TO CONFIRM.
- 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)
- If you don’t see “#”, run “su” (you will see it if you’ve installed and run Koush’s recovery bootstrapper)
- Run “mount -o rw,remount /dev/block/system /system”
- Run “cp /system/bin/su /system/xbin/su”
- 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.
- 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)
- Run “exit” to drop back to non-su shell.
- Run “exit” to drop back to your terminal
- Run “adb reboot recovery” to reboot into recovery mode (Thanks for the reminder Myanth)
- Run update.zip
To update Superuser.apk (2.3) and su.
- Download the attached file to your computer to a location you’ll remember (suggested C:\ or ~ for linux users)
- Open a terminal/prompt and for windows users run “cd c:\” for linux users run “cd ~”
- Run “adb push Superuser.apk /sdcard/”
- Run “adb shell”
- Run “su”
- Run “mount -o remount,rw /dev/block/system /system”
- Run “cp /sdcard/Superuser.apk /system/app/”
- 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:
- Run “adb shell”
- Run “/system/xbin/su”
- Watch your screen for Superuser app to prompt for permission and click “allow”
- Run “mount -o remount,rw /dev/block/system /system”
- Run “cp /system/xbin/su /system/bin/su”
- Run “chmod 4755 /system/bin/su”
- [optional] Run “mount -o remount,ro /dev/block/system /system”
MIRRORS
|