Wednesday, July 13, 2011

Manually installing clockworkmod (CWM) recovery on LG O2X

Strange as it seems, on my phone, 'ROM Manager' does not allow an upgrade to the CWM after 3.0.2.8. :( So, I wanted to install it manually. The steps I followed were from the one given by our very own Paul on modaco forums. However, I wanted to understand what exactly those 'install-clockworkmod-windows.bat' kind of scripts did. Here it is... (I used the windows batch file in order to install CWM)


# copy over the psneuter binary to your phone
> adb-windows push psneuter /data/local/psneuter

# give this binary on your phone, the executable permission> adb-windows shell chmod 4755 /data/local/psneuter

# run this exe, (psneuter exploit to gain root access)
# you wouldn't need it if your phone is already rooted(?)
> adb-windows shell /data/local/psneuter

# wait the device to come online (as the above exploit would have killed the adbd)
> adb-windows wait-for-device

# copy the CWM image over to your phone> adb-windows push clockworkmod.img /data/local/
 
# place this image over to the appropriate location?
> adb-windows shell dd if=/data/local/clockworkmod.img of=/dev/block/mmcblk0p7

No comments:

Post a Comment