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

Root CWM Touch Recovery For LG Spectrum

Neph81

Android Expert
Mar 3, 2012
1,399
823
Wisconsin
EDIT:

THIS INFORMATION IS EXTREMELY OUT OF DATE. DO NOT USE THIS RECOVERY. A CWM WITH OUT THE BOOT LOOP ISSUE HAS BEEN MADE.

http://androidforums.com/spectrum-a...oot-clockworkmod-recovery-lg-spectrum-4g.html


Koush released an official CWM recovery for the LG Nitro this weekend, which is a touch based recovery. I've ported it to the LG Spectrum and except for one issue, we seem to be golden. I've found a work around for that and all the instructions are below.

This is a fully functional version of CWM. Nandroid backup and restore work without a glitch as does formating of /data and /cache.

WARNING: IF YOU ARE NOT FAMILIAR WITH THE DD COMMAND OR HOW BADLY YOU CAN MESS UP YOUR SYSTEM, WAIT FOR A PROPER SCRIPT TO BE WRITTEN TO USE THIS.

Grab the following file:

"link removed"

Save that to your adb directory.

Make sure your phone is connected and in debugging mode and that you have already rooted

Do the following commands

adb push cwm_touch.img /sdcard/cwm_touch.img
adb shell
su
mount -orw,remount /dev/block/system /system
rm /system/etc/install-recovery.sh
dd if=/sdcard/cwm_touch.img of=/dev/block/mmcblk0p13
exit
exit
adb reboot recovery


You phone will now reboot and hopefully into CWM recovery touch. If you get a blank screen, I have found this typically means your phone has been on too long. Fully power it off and leave it for a bit. Then turn it on and try the "adb reboot recovery" command again, or use a program like Rom Manager to get into recovery.


How to fix boot loop into CWM:

This assumes that your system got really bad and you used the button combo (down vol + power, wait, power, power) to get into CWM the hard way as a last resort. This sets a flag in the system that will constantly force you back into CWM. Here is the fix.

As a percaution, do a nandroid backup of your phone while in CWM
Next, fix what ever was causing you to boot loop in the first place that made you have to use the button combo.
Then mount your sdcard in CWM (mounts and storage -> mount sdcard)

NEW INSTRUCTIONS:

Grab this file:
http://androidfiles.massivefilehost.com/cwm_touch/cwm_bootloop_fix.zip

Ideally, you should put this file on your SD card when you install recovery, but you can also push it with ADB while stuck in recovery or use another smart phone to download it to your SD card and then put the SD card in your phone.

In CWM go into "install zip from sdcard -> choose zip from sdcard ->" then scroll down until you reach the file "cwm_bootloop_fix.zip". Click on it, then confirm. Let it do its thing. When it's done, you can now go back to the main menu and choose reboot and it will boot normally.

If anyone runs into issues, please let me know.
 
Yeah. Word of warning thou. For some reason, it does not always go into recovery. I'm not sure why thou. I haven't been able to get back in since I nandroid recovered, but I can flash the old cwm recovery and get in just fine. Definitely a bug that needs to be worked out.

I noticed that it didnt go into it the first time i installed it on there. i did a battery pull turned phone back on and went back to stock rebooted then reinstalled it and it booted right up. i will test further and post back. but so far all is good except when it doesnt go into recovery. let me know if you figure anything out. im willing to test and retest till we get everything worked out.
 
Upvote 0
Did you change the partition number in the postrecoveryboot.sh from 8 to 25? If not that is probably your button combo not working problem. Either that, or in the Nitro source, it didn't even look like it installed properly, but that was just skimming their files.

Ok, I think you lost me there. On the nitro and spectrum, both have /boot on page 8 and /misc on page 25 so why would I need to change these numbers? Shouldn't their script be trying to zero out the same spot on both phones to clear the flag?
 
Upvote 0
Nice!

However, here's what I found when I did the process:

adb push cwm_touch.img /sdcard/cwm_touch.img
adb shell
su
mount -orw,remount /dev/block/system /system
rm /system/etc/install-recovery.sh <=== ERROR THAT FILE CAN'T BE FOUND
dd if=/sdcard/cwm_touch.img of=/dev/block/mmcblk0p13
exit
exit <=== needed to exit root to get to C:
adb reboot recovery
 
  • Like
Reactions: Neph81
Upvote 0
Nice!

However, here's what I found when I did the process:

adb push cwm_touch.img /sdcard/cwm_touch.img
adb shell
su
mount -orw,remount /dev/block/system /system
rm /system/etc/install-recovery.sh <=== ERROR THAT FILE CAN'T BE FOUND
dd if=/sdcard/cwm_touch.img of=/dev/block/mmcblk0p13
exit
exit <=== needed to exit root to get to C:
adb reboot recovery

Thanks for the heads up. I did forget the extra exit. Also, that file will not regenerate, even if you flash the LG .cab files. So if you have ever removed it, it is gone for gooe.
 
Upvote 0
Is this the very latest version of cwm?

I keep getting getprop errors when I try to flash the CM7 build I did and there are no errors (it's caused by conflicting values, which I verified aren't conflicting). Many report this error occurred when they had an older version of cwm installed.

So there are 3 possible issues:
1- I messed something up in the build.
2- The port of cwm won't allow roms to be flashed.
3- The version of cwm is outdated.

I'm leaning towards #2, but I suppose #1 is possible.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones