- Joined
- Dec 21, 2009
- Messages
- 2,895
- Reaction score
- 5
I take no credit for this, but I would like to share what I've done so far with DI root. This is not for the faint of heart, and I have had to reflash my phone with an RUU recently due to breaking stuff until I got it right (for me). I've heard of many messed up DI's lately, so do at your own risk.
First, as we have all seen, you must root with the unrevoked method:
public:adb_in_recovery [RootWiki]
To run adb shell in a loop, I did this, using Windows Powershell:
Once I had root access, which is ONLY good for that boot session, I made it permanent via these instructions from xda-dev and to install a working superuser whitelist app:
Superuser 2.1 - Fun for all! [2010-05-16] - xda-developers
Get the last one, and extract the contents so you can copy su and Superuser.apk to your sdcard.
From http://forum.xda-developers.com/showthread.php?t=699088&page=45:
Then I installed my own compiled busybox for the TC roms that I put on the sdcard:
Then I installed my own custom system read only and read write mount scripts, also from the sd card:
Then I made my own symlink for cp for busybox (once again from the sd card):
Then I removed city id:
Note this all must be done before reboot, you will not be able to do these things after reboot, as the system is locked down still for reasons beyond my understanding. However, these changes will persist. I did these changes, in this order.
I take no credit for this aside from the busybox, cp, sysro, and sysrw stuff. Also, pm uninstall com.cequint.cityid fin ishes the uninstall of CityID, which other instructions do not note. Simply nuking the apk is not the entire procedure.
I've attached my files if anyone is interested.
First, as we have all seen, you must root with the unrevoked method:
public:adb_in_recovery [RootWiki]
To run adb shell in a loop, I did this, using Windows Powershell:
Code:
while ($true) { adb shell }
Once I had root access, which is ONLY good for that boot session, I made it permanent via these instructions from xda-dev and to install a working superuser whitelist app:
Superuser 2.1 - Fun for all! [2010-05-16] - xda-developers
Get the last one, and extract the contents so you can copy su and Superuser.apk to your sdcard.
From http://forum.xda-developers.com/showthread.php?t=699088&page=45:
Code:
adb shell
su
/system/bin/cat /system/bin/sh > /system/bin/su
/system/bin/chmod 4777 /system/bin/su
export PATH=$PATH:/system/bin
cd /system/app
cat /sdcard/Superuser.apk > Superuser.apk
cd /system/bin
cat /sdcard/su > su
ln -s /system/bin/su /system/xbin/su
chmod 06755 su
Then I installed my own compiled busybox for the TC roms that I put on the sdcard:
Code:
cd /system/bin
cat /sdcard/busybox > busybox
chmod 06755 busybox
Then I installed my own custom system read only and read write mount scripts, also from the sd card:
Code:
cat /sdcard/sysro > sysro
cat /sdcard/sysrw > sysrw
chmod 06755 sysro
chmod 06755 sysrw
Then I made my own symlink for cp for busybox (once again from the sd card):
Code:
cat /sdcard/cp > cp
chmod 06755 cp
Then I removed city id:
Code:
rm /system/app/CityID.apk
pm uninstall com.cequint.cityid
Note this all must be done before reboot, you will not be able to do these things after reboot, as the system is locked down still for reasons beyond my understanding. However, these changes will persist. I did these changes, in this order.
I take no credit for this aside from the busybox, cp, sysro, and sysrw stuff. Also, pm uninstall com.cequint.cityid fin ishes the uninstall of CityID, which other instructions do not note. Simply nuking the apk is not the entire procedure.
I've attached my files if anyone is interested.