• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root ClockWorkMod

The bat file there will fail in at least 1 place, and not bother to check the return value. It does this:
Code:
Files\adb shell "ln -s /data /data/gpscfg/gps_env.conf"

However, the phone does not like this:
Code:
$ stat /data/gpscfg
stat: can't stat '/data/gpscfg': No such file or directory
$ ln -s /data /data/gpscfg/gps_env.conf
link failed No such file or directory
 
The bat file there will fail in at least 1 place, and not bother to check the return value. It does this:
Code:
Files\adb shell "ln -s /data /data/gpscfg/gps_env.conf"

However, the phone does not like this:
Code:
$ stat /data/gpscfg
stat: can't stat '/data/gpscfg': No such file or directory
$ ln -s /data /data/gpscfg/gps_env.conf
link failed No such file or directory

Yea, we don't have that directory or .conf file.

We have:
/etc/gps.conf -> /system/etc/gps.conf

That's about all I can find.

We also don't have either of these files
/system/etc/install-recovery.sh
/system/recovery-from-boot.p

I'm not sure what's currently on this block, but not stock recovery:
/dev/block/mmcblk0p17

I'm certainly not an expert, but this script doesn't make much sense to me.

"echo CWM Recovery for the LG LS696"

The model we're working with is the LG VM696

Code:
@ECHO OFF
CLS
echo CWM Recovery for the LG LS696
echo One click Built by mtmichaelson
echo Exploit Built by djrbliss
echo CWM made by BobZhome
echo.
echo.
echo.
Echo Clockwork Mod Recovery
pause
Files\adb kill-server
Files\adb wait-for-device

echo Device found.

echo Pushing CWM to Phone
Files\adb push Files\cwmrecovery.img /data/local/tmp/cwmrecovery.img

Files\adb shell "rm /data/gpscfg/gps_env.conf 2>/dev/null"
Files\adb shell "ln -s /data /data/gpscfg/gps_env.conf"

echo Rebooting device
Files\adb reboot
echo Waiting for device to reboot
Files\adb wait-for-device

echo Pushing Exploit
Files\adb shell "echo 'ro.kernel.qemu=1' > /data/local.prop"

echo Rebooting device again
Files\adb reboot
echo Waiting for device to reboot
Files\adb wait-for-device

echo Installing CWM Recovery
Files\adb remount
Files\adb shell "rm /system/etc/install-recovery.sh"
Files\adb shell "rm /system/recovery-from-boot.p"
Files\adb shell "dd if=/data/local/tmp/cwmrecovery.img of=/dev/block/mmcblk0p17 bs=4096"

echo Removing Trash
Files\adb shell "rm /data/local/tmp/cwmrecovery.img"
Files\adb shell "rm /data/local.prop"
Files\adb shell "rm /data/gpscfg/*"
Files\adb shell "chmod 771 /data/"

echo Finished Recovery!!!
Files\adb reboot

pause
exit
 
salvy512,

Are you interested in dd-ing this new CWM build to your phone? LOL.

EDIT: Nevermind.. I dd'd it to the recovery partition (mmcblk0p14) and it doesn't work. It will not boot into recovery. I put stock recovery back.

:-(

How many builds have we tried now?
 
Edited installer, hopefully it plays nice now: CWM-Installer_v2.zip
CWM Recovery for the LG LS696
One click Built by mtmichaelson
Exploit Built by djrbliss
CWM made by BobZhome


Got some errors!


Clockwork Mod Recovery
Press any key to continue . . .
* daemon not running. starting it now *
* daemon started successfully *
Device found.
Pushing CWM to Phone
2979 KB/s (5615616 bytes in 1.840s)
Rebooting device
Waiting for device to reboot
Pushing Exploit
cannot create /data/local.prop: permission denied
Rebooting device again
Waiting for device to reboot
Installing CWM Recovery
remount failed: Operation not permitted
rm failed for /system/etc/install-recovery.sh, Read-only file system
rm failed for /system/recovery-from-boot.p, Read-only file system
/dev/block/mmcblk0p14: cannot open for write: Permission denied
Removing Trash
rm failed for /data/local.prop, No such file or directory
Unable to chmod /data/: Operation not permitted
Finished Recovery!!!
Press any key to continue . . .
 
No it errored out

Tried commands in terminal just to see what would happen. Got stuck in a boot loop but luckily go out of it
 
Bob,

I'm pretty sure our bootloader is locked. As far as I know no one has been able to get into it. When your installers attempts to boot into bootloader it justs reboots into Android.
 
Hopefully, I don't stike out: installrecovery.zip
Again 1) unzip on PC, 2) plug phone into PC, and 3) run install.bat

adb reboot bootloader (unfortunately, this command does not work on this phone, it just reboots the device normally)
fastboot.exe devices (fastboot doesn't work either)
fastboot.exe flash recovery BobZhome_recovery.img
fastboot.exe reboot
 
Back
Top Bottom