Go Back   Android Forums > Android Phones > LG Spectrum > Spectrum - All Things Root

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

test: Reply
 
LinkBack Thread Tools
Old March 3rd, 2012, 01:09 PM   #1 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Mar 2012
Location: Wisconsin
Gender: Male
Posts: 1,348
 
Device(s): LG Spectrum, Droid 1, Nexus 7, OUYA (yeah, it's fun)
Carrier: Not Provided

Thanks: 186
Thanked 794 Times in 421 Posts
Default CWM Recovery for LG Spectrum

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-all-things-root/593778-cwm-root-clockworkmod-recovery-lg-spectrum-4g.html




Credit goes to the guys at XDA for doing the initial work on CWM for the Nitro[CWM][24/01] ClockworkMod 5 Recovery For LG Nitro HD - xda-developers

With that said, here comes the warnings

DO NOT do this if you are not familiar with the DD command.
DO NOT do this if you are not familiar with how to recover your phone from the LG .cab files.
DO NOT do this if you do not understand how badly you will wreck your phone.
DO NOT touch the page 7 partition. If you do, your phone is FULL BRICK as page 7 has all the Download Mode and Format System info
DO NOT USE THE BUILT IN COMMAND TO FORMAT ANY PARTITION, THIS INCLUDES RESTORING NANDROID BACKUPS
There is a known bug of /data being corrupted if you use the format command in CWM. You have been warned.

Now that we have that out of the way, here we go.

Download the recovery file here : "link deleted"

Do a MD5 hash check on the completed file. The hash should return as 9fdcb32f01c21d72776a641262e273
If it didn't try the file again. If you are still getting issues, let me know.

Place the cwm_recovery.img file into the same directory as ADB

Push the img file to the SD card on your phone using ADB.

ADB into your phone and SU to enter super user mode

CRITICAL STEP:

Make a DD backup of your recovery partition in case something goofs up. The command would be as follows "dd if=/dev/block/mmcblk0p13 of=/sdcard/orig_recovery.img" Do not mess up this step and make sure to get that orig_recovery.img file to some place safe.

Next CD to /sdcard
ls -l to make sure you really are in your sd card directory and that cwm_recovery.img is sitting there.
now run "dd if=cwm_recovery.img of=/dev/block/mmcblk0p13"
If all went well you should be able to exit out of ADB and then run ADB REBOOT RECOVERY.

If any of this sounds weird to you DO NOT TRY THIS. I will not be helping people trouble shoot their bricked phones. What this does at this point is allows us to ADB into our phone while in recovery and replace system files while the system is not loaded. The power button selects menu items. When you first go in, you will need to go into "mounts and storage" and mount your /system directory to see and modify your system files.

Now that this is out, hopefully we can get some ROM loving.

EDIT: The phone will pull a copy of the original recovery from the boot partition which will over write the CWM recovery. If you want to stop this from happening, you will need to do the following in ADB BEFORE installing CWM. At some point I will get around to writing a .bat file for all of this.

adb shell
su
mount -orw,remount /dev/block/system /system
rm /system/etc/install-recovery.sh
exit
adb reboot
Attached Images
File Type: jpg 2012-03-03_00-32-10_609.jpg (73.2 KB, 68 views)

Neph81 is offline  
Last edited by Neph81; August 4th, 2012 at 09:40 AM. Reason: CWM6 recovery built from source was made
Reply With Quote
The Following User Says Thank You to Neph81 For This Useful Post:
brianmaedche (March 4th, 2012)
sponsored links
Old March 3rd, 2012, 04:01 PM   #2 (permalink)
Member
 
Join Date: Jan 2011
Location: Missoula, MT
Posts: 229
 
Device(s): LG Vortex CM7 Samsung Galaxy S CM7 Kindle Fire CM9 ICS LG Spectrum rooted
Carrier: Not Provided

Thanks: 127
Thanked 119 Times in 58 Posts
Default

Looks good. only question i have is about nandroids. am i able to do a backup and restore of nandroid files.
brianmaedche is offline  
Reply With Quote
Old March 3rd, 2012, 04:20 PM   #3 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Mar 2012
Location: Wisconsin
Gender: Male
Posts: 1,348
 
Device(s): LG Spectrum, Droid 1, Nexus 7, OUYA (yeah, it's fun)
Carrier: Not Provided

Thanks: 186
Thanked 794 Times in 421 Posts
Default

At this point I am going to say probably not. Your best bet is to do DD backups to image files and then DD them back to the proper partition should something go wrong. I may be mistaken on that thou. If you read thru the Nitro recovery link, you can see what sort of issues we're currently running into. I know they have found a way to manually format partitions without issues which means we should be able to do ROMs without any issues.
Neph81 is offline  
Reply With Quote
Old March 4th, 2012, 04:20 AM   #4 (permalink)
Member
 
Join Date: Jan 2011
Location: Missoula, MT
Posts: 229
 
Device(s): LG Vortex CM7 Samsung Galaxy S CM7 Kindle Fire CM9 ICS LG Spectrum rooted
Carrier: Not Provided

Thanks: 127
Thanked 119 Times in 58 Posts
Default

Tested and working. Thanks for the cwm recovery.
brianmaedche is offline  
Reply With Quote
Old March 4th, 2012, 06:05 PM   #5 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Mar 2012
Location: Wisconsin
Gender: Male
Posts: 1,348
 
Device(s): LG Spectrum, Droid 1, Nexus 7, OUYA (yeah, it's fun)
Carrier: Not Provided

Thanks: 186
Thanked 794 Times in 421 Posts
Default

Brian, make sure you see my new note about how to stop the old recovery from over writing the CWM recovery on reboot.
Neph81 is offline  
Reply With Quote
Old March 4th, 2012, 08:48 PM   #6 (permalink)
Member
 
Join Date: Jan 2011
Location: Missoula, MT
Posts: 229
 
Device(s): LG Vortex CM7 Samsung Galaxy S CM7 Kindle Fire CM9 ICS LG Spectrum rooted
Carrier: Not Provided

Thanks: 127
Thanked 119 Times in 58 Posts
Default

okay so seeing as my phone overwrite cwm. Now I would need to go back and do your new steps plus the dd command to pout cwm back in place. Do I have this right before I try to do anything again
brianmaedche is offline  
Reply With Quote
Old March 4th, 2012, 10:28 PM   #7 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Mar 2012
Location: Wisconsin
Gender: Male
Posts: 1,348
 
Device(s): LG Spectrum, Droid 1, Nexus 7, OUYA (yeah, it's fun)
Carrier: Not Provided

Thanks: 186
Thanked 794 Times in 421 Posts
Default

Brian : you have that correct. Once the .sh file is moved, CWM will no longer be over written, but you have to DD one more time as your phone gets rebooted twice to get that file out of there
Neph81 is offline  
Reply With Quote
Old March 5th, 2012, 10:46 AM   #8 (permalink)
Member
 
Join Date: Aug 2011
Location: Antioch, TN
Posts: 471
 
Device(s): LG Revolution, HTC Rezound
Carrier: Not Provided

Thanks: 5
Thanked 767 Times in 152 Posts
Default

So, question, is it fully functioning, or what kind of problems are getting run into?
__________________
For those that enjoy the work that I have done and would like to support my efforts financially click here, any amount is greatly appreciated
mtmichaelson is offline  
Reply With Quote
Old March 5th, 2012, 07:43 PM   #9 (permalink)
Member
 
Join Date: Jan 2011
Location: Missoula, MT
Posts: 229
 
Device(s): LG Vortex CM7 Samsung Galaxy S CM7 Kindle Fire CM9 ICS LG Spectrum rooted
Carrier: Not Provided

Thanks: 127
Thanked 119 Times in 58 Posts
Default

Quote:
Originally Posted by Neph81 View Post
Brian : you have that correct. Once the .sh file is moved, CWM will no longer be over written, but you have to DD one more time as your phone gets rebooted twice to get that file out of there
Okay completed new set of commands and its up in working, if you need help testing on anything let me know. I do know basic adb commands and I do know how to restore phone with cab file so let me know if I can be of any help.:-)
brianmaedche is offline  
Reply With Quote
Old March 6th, 2012, 10:12 PM   #10 (permalink)
Member
 
Join Date: Jan 2011
Location: Missoula, MT
Posts: 229
 
Device(s): LG Vortex CM7 Samsung Galaxy S CM7 Kindle Fire CM9 ICS LG Spectrum rooted
Carrier: Not Provided

Thanks: 127
Thanked 119 Times in 58 Posts
Default

After a li testing I've noticed that bit I've noticed that nif you reboot into cwm and reboot out its takes you back to cwm and not into the phone, any ideas on what's going on with my phone or am no missing something. I had to flash stock firmware t get my phone back, no also I nlost all audio and vibrate nfunctions
brianmaedche is offline  
Reply With Quote
sponsored links
Old March 6th, 2012, 10:18 PM   #11 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Mar 2012
Location: Wisconsin
Gender: Male
Posts: 1,348
 
Device(s): LG Spectrum, Droid 1, Nexus 7, OUYA (yeah, it's fun)
Carrier: Not Provided

Thanks: 186
Thanked 794 Times in 421 Posts
Default

That depends on how you got into recovery in the first place. Did you use the ADB command, the Rom Manager link or did you try the button on the phone method?
Neph81 is offline  
Reply With Quote
Old March 6th, 2012, 10:36 PM   #12 (permalink)
Member
 
Join Date: Jan 2011
Location: Missoula, MT
Posts: 229
 
Device(s): LG Vortex CM7 Samsung Galaxy S CM7 Kindle Fire CM9 ICS LG Spectrum rooted
Carrier: Not Provided

Thanks: 127
Thanked 119 Times in 58 Posts
Default

[QUOTE=Neph81;4041001]That depends on how you got into recovery in the first place. Did you use the ADB command, the Rom Manager link or did you try the button on the phone method?[/QUOTE

I used button combo.
brianmaedche is offline  
Reply With Quote
Old March 6th, 2012, 10:50 PM   #13 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Mar 2012
Location: Wisconsin
Gender: Male
Posts: 1,348
 
Device(s): LG Spectrum, Droid 1, Nexus 7, OUYA (yeah, it's fun)
Carrier: Not Provided

Thanks: 186
Thanked 794 Times in 421 Posts
Default

See this post
xda-developers - View Single Post - [CWM][24/01] ClockworkMod 5 Recovery For LG Nitro HD

Because you used the button combo a flag was set in /misc. Unless the flag gets cleared, you will keep rebooting into recovery as it's trying to factory restore the phone. This is why I recommend people use ADB to get into recovery when possible.
Neph81 is offline  
Reply With Quote
The Following User Says Thank You to Neph81 For This Useful Post:
brianmaedche (March 6th, 2012)
Old March 6th, 2012, 10:53 PM   #14 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Mar 2012
Location: Wisconsin
Gender: Male
Posts: 1,348
 
Device(s): LG Spectrum, Droid 1, Nexus 7, OUYA (yeah, it's fun)
Carrier: Not Provided

Thanks: 186
Thanked 794 Times in 421 Posts
Default

As for vibrate and audio. Disable both, reboot your phone, enable both, reboot again and you should be fine. I lost haptic feedback for almost a day before I figured it out. Let me know if that helps.
Neph81 is offline  
Reply With Quote
Old March 6th, 2012, 11:30 PM   #15 (permalink)
Junior Member
 
Join Date: Jul 2010
Posts: 78
 
Device(s): LG Ally, Spectrum by LG
Carrier: Verizon Wireless

Thanks: 9
Thanked 14 Times in 11 Posts
Default

I noticed that after performing the following
adb shell
su
echo 'ro.kernel.qemu=1' > /data/local.prop
exit
adb reboot
if you don't complete the remount and reboot, all vibration and sounds are cut off. scared the crap out of me. I believe it after the removal of the local.prop
x-amp is offline  
Reply With Quote
Old March 6th, 2012, 11:39 PM   #16 (permalink)
Member
 
Join Date: Jan 2011
Location: Missoula, MT
Posts: 229
 
Device(s): LG Vortex CM7 Samsung Galaxy S CM7 Kindle Fire CM9 ICS LG Spectrum rooted
Carrier: Not Provided

Thanks: 127
Thanked 119 Times in 58 Posts
Default

Quote:
Originally Posted by x-amp View Post
I noticed that after performing the following
adb shell
su
echo 'ro.kernel.qemu=1' > /data/local.prop
exit
adb reboot
if you don't complete the remount and reboot, all vibration and sounds are cut off. scared the crap out of me. I believe it after the removal of the local.prop
That's when it happened to me as well. So I would agree on that mit has to do with removal of the local.prop
brianmaedche is offline  
Reply With Quote
Old March 7th, 2012, 07:54 AM   #17 (permalink)
Member
 
Join Date: Aug 2011
Location: Antioch, TN
Posts: 471
 
Device(s): LG Revolution, HTC Rezound
Carrier: Not Provided

Thanks: 5
Thanked 767 Times in 152 Posts
Default

Quote:
Originally Posted by x-amp View Post
I noticed that after performing the following
adb shell
su
echo 'ro.kernel.qemu=1' > /data/local.prop
exit
adb reboot
if you don't complete the remount and reboot, all vibration and sounds are cut off. scared the crap out of me. I believe it after the removal of the local.prop
Can I ask why you are having to use this method? Is it already rooted? If it's already rooted, why are you having to reuse the exploit? It should just be a simple

Code:
adb push cwm_recovery.img /sdcard/cwm_recovery.img
adb shell
su
At this point you will have to accept Super User permissions on your phone, but then you have root access. There should be no need to run the exploit again. After that just run

Code:
mount -orw,remount /dev/block/system /system
rm /system/etc/install-recovery.sh
dd if=/dev/block/mmcblk0p13 of=/sdcard/orig_recovery.img
dd if=/sdcard/cwm_recovery.img of=/dev/block/mmcblk0p13
That should both make a backup and install the new
mtmichaelson is offline  
Last edited by mtmichaelson; March 7th, 2012 at 08:48 AM.
Reply With Quote
Old March 7th, 2012, 08:25 AM   #18 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Mar 2012
Location: Wisconsin
Gender: Male
Posts: 1,348
 
Device(s): LG Spectrum, Droid 1, Nexus 7, OUYA (yeah, it's fun)
Carrier: Not Provided

Thanks: 186
Thanked 794 Times in 421 Posts
Default

Quote:
Originally Posted by mtmichaelson View Post
Can I ask why you are having to use this method? Is it already rooted? If it's already rooted, why are you having to reuse the exploit? It should just be a simple

Code:
adb push cwm_recovery.img /sdcard/cwm_recovery.img
adb shell
su
At this point you will have to accept Super User permissions on your phone, but then you have root access. There should be no need to run the exploit again. After that just run

Code:
rm /system/etc/install-recovery.sh
dd if=/dev/block/mmcblk0p13 of=/sdcard/orig_recovery.img
dd if=/sdcard/cwm_recovery.img of=/dev/block/mmcblk0p13
That should both make a backup and install the new
SU does not allow RM access on it's own, you have to remount the partition as RW. The method that requires no additional files is the method I have posted. You have to re-exploit in order to get "adb remount" to work.

Alternatively, you could try finding the correct remount command from inside adb shell, but I never bothered finding the correct parameters. Another option would be to use a root exploring program from within android, but that would be more files for some one to find and use. Lastly, you could try and go into CWM and then ADB in once you have that loaded, but that would require trying to explain which menu and buttons you need to press before you can use the adb commands.
Neph81 is offline  
Reply With Quote
Old March 7th, 2012, 08:45 AM   #19 (permalink)
Member
 
Join Date: Aug 2011
Location: Antioch, TN
Posts: 471
 
Device(s): LG Revolution, HTC Rezound
Carrier: Not Provided

Thanks: 5
Thanked 767 Times in 152 Posts
Default

Quote:
Originally Posted by Neph81 View Post
SU does not allow RM access on it's own, you have to remount the partition as RW. The method that requires no additional files is the method I have posted. You have to re-exploit in order to get "adb remount" to work.

Alternatively, you could try finding the correct remount command from inside adb shell, but I never bothered finding the correct parameters. Another option would be to use a root exploring program from within android, but that would be more files for some one to find and use. Lastly, you could try and go into CWM and then ADB in once you have that loaded, but that would require trying to explain which menu and buttons you need to press before you can use the adb commands.
Remount doesn't work inside of shell anyways, you just have to mount the system partition which I forgot about in there lol. Fixed
mtmichaelson is offline  
Reply With Quote
Old March 7th, 2012, 09:41 AM   #20 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Mar 2012
Location: Wisconsin
Gender: Male
Posts: 1,348
 
Device(s): LG Spectrum, Droid 1, Nexus 7, OUYA (yeah, it's fun)
Carrier: Not Provided

Thanks: 186
Thanked 794 Times in 421 Posts
Default

Thanks for the command list. I have edited the first post to reflect the easier method. I'll get around to writing the .bat file tonight when I'm home from work.
Neph81 is offline  
Reply With Quote
sponsored links
Old March 7th, 2012, 10:21 AM   #21 (permalink)
Member
 
Join Date: Aug 2011
Location: Antioch, TN
Posts: 471
 
Device(s): LG Revolution, HTC Rezound
Carrier: Not Provided

Thanks: 5
Thanked 767 Times in 152 Posts
Default

Quote:
Originally Posted by Neph81 View Post
Thanks for the command list. I have edited the first post to reflect the easier method. I'll get around to writing the .bat file tonight when I'm home from work.
I've actually got one here lol. I was going to post it on my lunch lol. I just converted the all in one I had built for the lg revolution to work on the spectrum. Do you have a copy of the stock recovery because it includes a return to stock also?
mtmichaelson is offline  
Last edited by mtmichaelson; March 7th, 2012 at 10:23 AM.
Reply With Quote
Old March 7th, 2012, 07:31 PM   #22 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Mar 2012
Location: Wisconsin
Gender: Male
Posts: 1,348
 
Device(s): LG Spectrum, Droid 1, Nexus 7, OUYA (yeah, it's fun)
Carrier: Not Provided

Thanks: 186
Thanked 794 Times in 421 Posts
Default

http://androidfiles.massivefilehost.com/cwm_recovery/stock_recovery.img
Neph81 is offline  
Reply With Quote
Old March 7th, 2012, 08:19 PM   #23 (permalink)
Member
 
Join Date: Aug 2011
Location: Antioch, TN
Posts: 471
 
Device(s): LG Revolution, HTC Rezound
Carrier: Not Provided

Thanks: 5
Thanked 767 Times in 152 Posts
Default

Awesome! Thanks! I will post it up here in a bit! I will give you creds on getting it running (good idea by the way lol).
mtmichaelson is offline  
Reply With Quote
Old March 7th, 2012, 09:09 PM   #24 (permalink)
Member
 
Join Date: Aug 2011
Location: Antioch, TN
Posts: 471
 
Device(s): LG Revolution, HTC Rezound
Carrier: Not Provided

Thanks: 5
Thanked 767 Times in 152 Posts
Default

Hey guys! Is anyone around to test this for me? Is there an IRC channel for the Spectrum?
mtmichaelson is offline  
Reply With Quote
Old March 7th, 2012, 10:18 PM   #25 (permalink)
Member
 
atomilluminati's Avatar
 
Join Date: Feb 2012
Location: Detroit, MI
Gender: Male
Posts: 139
 
Device(s): Lg Spectrum VS920
Carrier: Not Provided

Thanks: 17
Thanked 24 Times in 21 Posts
Default

Test the .bat? Is it just to back up the stock recovery and flash cwm?? If so I will first thing in the a.m.
atomilluminati is offline  
Reply With Quote
Old March 7th, 2012, 10:20 PM   #26 (permalink)
Member
 
Join Date: Aug 2011
Location: Antioch, TN
Posts: 471
 
Device(s): LG Revolution, HTC Rezound
Carrier: Not Provided

Thanks: 5
Thanked 767 Times in 152 Posts
Default

Quote:
Originally Posted by atomilluminati View Post
Test the .bat? Is it just to back up the stock recovery and flash cwm?? If so I will first thing in the a.m.
I will send you a link in a pm. It is actually an all in one .bat. There are 7 options in the menu (root, root & cwm recovery, cwm recovery only, unroot, unroot & stock recovery, stock recovery only, and reboot into recovery). Let me know how it works for you! Thanks!!!
mtmichaelson is offline  
Reply With Quote
Old March 7th, 2012, 10:22 PM   #27 (permalink)
Member
 
Join Date: Jan 2011
Location: Missoula, MT
Posts: 229
 
Device(s): LG Vortex CM7 Samsung Galaxy S CM7 Kindle Fire CM9 ICS LG Spectrum rooted
Carrier: Not Provided

Thanks: 127
Thanked 119 Times in 58 Posts
Default

Quote:
Originally Posted by mtmichaelson View Post
I will send you a link in a pm. It is actually an all in one .bat. There are 7 options in the menu (root, root & cwm recovery, cwm recovery only, unroot, unroot & stock recovery, stock recovery only, and reboot into recovery). Let me know how it works for you! Thanks!!!
Send me the link and I will test tonight
brianmaedche is offline  
Reply With Quote
Old March 7th, 2012, 10:23 PM   #28 (permalink)
Member
 
atomilluminati's Avatar
 
Join Date: Feb 2012
Location: Detroit, MI
Gender: Male
Posts: 139
 
Device(s): Lg Spectrum VS920
Carrier: Not Provided

Thanks: 17
Thanked 24 Times in 21 Posts
Default

Just tried it so far rooting works no recovery working yet... Hangs up on mounting as operation denied... Is there a way to request su before trying to mount -orw
atomilluminati is offline  
Last edited by atomilluminati; March 7th, 2012 at 10:58 PM.
Reply With Quote
Old March 7th, 2012, 11:42 PM   #29 (permalink)
Member
 
Join Date: Jan 2011
Location: Missoula, MT
Posts: 229
 
Device(s): LG Vortex CM7 Samsung Galaxy S CM7 Kindle Fire CM9 ICS LG Spectrum rooted
Carrier: Not Provided

Thanks: 127
Thanked 119 Times in 58 Posts
Default

@NEPH81

Is there a way to put the local.prop back. Because whenever i do the rm /system/etc/install-recovery.sh command i get an error in adb that says no such file in directory. but i am able to install cwm and boot into recovery over and over if i want to. Ive restored my phone many times now and that file is no longer there for when i do the above command. and idea whats going on here.
brianmaedche is offline  
Reply With Quote
Old March 7th, 2012, 11:53 PM   #30 (permalink)
Member
 
Join Date: Aug 2011
Location: Antioch, TN
Posts: 471
 
Device(s): LG Revolution, HTC Rezound
Carrier: Not Provided

Thanks: 5
Thanked 767 Times in 152 Posts
Default

Quote:
Originally Posted by brianmaedche View Post
@NEPH81

Is there a way to put the local.prop back. Because whenever i do the rm /system/etc/install-recovery.sh command i get an error in adb that says no such file in directory. but i am able to install cwm and boot into recovery over and over if i want to. Ive restored my phone many times now and that file is no longer there for when i do the above command. and idea whats going on here.
You only need to remove it once. Once its gone, its gone.
mtmichaelson is offline  
Reply With Quote
sponsored links
Old March 7th, 2012, 11:58 PM   #31 (permalink)
Member
 
Join Date: Jan 2011
Location: Missoula, MT
Posts: 229
 
Device(s): LG Vortex CM7 Samsung Galaxy S CM7 Kindle Fire CM9 ICS LG Spectrum rooted
Carrier: Not Provided

Thanks: 127
Thanked 119 Times in 58 Posts
Default

Quote:
Originally Posted by mtmichaelson View Post
You only need to remove it once. Once its gone, its gone.
Even after flashing the stock cab file??thanks for clearing that up for me
brianmaedche is offline  
Reply With Quote
Old March 8th, 2012, 12:06 AM   #32 (permalink)
Member
 
Join Date: Aug 2011
Location: Antioch, TN
Posts: 471
 
Device(s): LG Revolution, HTC Rezound
Carrier: Not Provided

Thanks: 5
Thanked 767 Times in 152 Posts
Default

Quote:
Originally Posted by brianmaedche View Post
Even after flashing the stock cab file??thanks for clearing that up for me
The cab file should replace it so, that is odd.
mtmichaelson is offline  
Reply With Quote
Old March 8th, 2012, 12:09 AM   #33 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Mar 2012
Location: Wisconsin
Gender: Male
Posts: 1,348
 
Device(s): LG Spectrum, Droid 1, Nexus 7, OUYA (yeah, it's fun)
Carrier: Not Provided

Thanks: 186
Thanked 794 Times in 421 Posts
Default

Quote:
Originally Posted by brianmaedche View Post
@NEPH81

Is there a way to put the local.prop back. Because whenever i do the rm /system/etc/install-recovery.sh command i get an error in adb that says no such file in directory. but i am able to install cwm and boot into recovery over and over if i want to. Ive restored my phone many times now and that file is no longer there for when i do the above command. and idea whats going on here.
/data/local.prop is a system created file, not something created by LG. With that being said, anything that you (echo "text" > /data/local/prop) would be put in to the file and if the file does not exist, it will create it for you. This is useful as having certain statements inside of this file will automatically give any adb connection root access. The down side is that it gives "everything" root access and should not be left in place for long periods of time. The same goes with remounting /system as RW. Any time you do a remount, you should finish what you are doing quickly and either full reboot or remount /system as R only.
Neph81 is offline  
Reply With Quote
Old March 8th, 2012, 12:11 AM   #34 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Mar 2012
Location: Wisconsin
Gender: Male
Posts: 1,348
 
Device(s): LG Spectrum, Droid 1, Nexus 7, OUYA (yeah, it's fun)
Carrier: Not Provided

Thanks: 186
Thanked 794 Times in 421 Posts
Default

Quote:
Originally Posted by atomilluminati View Post
Just tried it so far rooting works no recovery working yet... Hangs up on mounting as operation denied... Is there a way to request su before trying to mount -orw
I haven't seen the script yet, but I have yet to see a way to issue a SU command from "adb shell" unless you are already in shell or you have the correct argument in /data/local.prop . You could manually go into adb shell and then su and do the argument, but that would defeat the purpose of an automated script. The other alternative, would be pushing a .sh script to the phone and having it run and do all the commands internally. Again, I have not seen the script yet, so I could not tell you which it is currently doing.
Neph81 is offline  
Reply With Quote
Old March 8th, 2012, 12:23 AM   #35 (permalink)
Member
 
atomilluminati's Avatar
 
Join Date: Feb 2012
Location: Detroit, MI
Gender: Male
Posts: 139
 
Device(s): Lg Spectrum VS920
Carrier: Not Provided

Thanks: 17
Thanked 24 Times in 21 Posts
Default Excited

I think between myself and mtmichaelson we may have figured it out... Still waiting on a response from him and after we talk we will let everyone know....
atomilluminati is offline  
Last edited by atomilluminati; March 8th, 2012 at 07:38 PM.
Reply With Quote
Old May 31st, 2012, 08:56 PM   #36 (permalink)
ROM Developer
 
PlayfulGod's Avatar
 
Join Date: Jan 2011
Location: NW Georgia
Gender: Male
Posts: 8,053
 
Device(s): Galaxy Nexus, Nexus 7, LG Spirit, LG Motion, ZTE Sequent
Carrier: T-Mobile

Thanks: 233
Thanked 4,883 Times in 2,054 Posts
Default

wtf you learn to make recoveries??? No offense, but recovery is not something you just hack together. The source for building CWM is OPEN SOURCE and there are plenty of guides, including one from koush explaining how to port it correctly.

Second wtf is a page? If you are referring to the p in like mmcblk0p12, it stand for partition!!!

I'm not trying to diss you, sorry if it seems like, but rather I am trying to inform you a lil.

The big thing with recovery is having the recovery.fstab correct and the partition sizes etc in the boardconfig.mk. Some times esp with LG devices there are 2 files that need deleted for a custom recovery to boot and a cmd in /misc that needs zero'd so that data doesnt get wiped when booting to recovery via the button combo.

I am working on a proper port as I type this. I will update when I have sumtin to test
__________________
Official Donate link if you like my work and would like to show your appreciation and support. All donations are greatly appreciated!!

PlayfulDroidz Wiki
UPP
PlayfulGod is offline  
Reply With Quote
Old May 31st, 2012, 10:22 PM   #37 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Mar 2012
Location: Wisconsin
Gender: Male
Posts: 1,348
 
Device(s): LG Spectrum, Droid 1, Nexus 7, OUYA (yeah, it's fun)
Carrier: Not Provided

Thanks: 186
Thanked 794 Times in 421 Posts
Default

More power too you. I would love to see an official version from source get made. It would mean less threads about people getting stuck in a boot loop and perhaps even Koush hosting it in Rom manager, so people would stop trying to flash the Nitro Recovery.
Neph81 is offline  
Reply With Quote
Old May 31st, 2012, 10:28 PM   #38 (permalink)
ROM Developer
 
PlayfulGod's Avatar
 
Join Date: Jan 2011
Location: NW Georgia
Gender: Male
Posts: 8,053
 
Device(s): Galaxy Nexus, Nexus 7, LG Spirit, LG Motion, ZTE Sequent
Carrier: T-Mobile

Thanks: 233
Thanked 4,883 Times in 2,054 Posts
Default

Quote:
Originally Posted by Neph81 View Post
More power too you. I would love to see an official version from source get made. It would mean less threads about people getting stuck in a boot loop and perhaps even Koush hosting it in Rom manager, so people would stop trying to flash the Nitro Recovery.
Oh when it goes official koush has it hosted n it will be avail from RM, and prolly even have the touch avail too.


Now does anyone have a stock boot n recovery.img???

I grabbed one from the spectrum files mirror but it doesnt seem to be it, or it corrupted one.
PlayfulGod is offline  
Reply With Quote
Old May 31st, 2012, 10:34 PM   #39 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Mar 2012
Location: Wisconsin
Gender: Male
Posts: 1,348
 
Device(s): LG Spectrum, Droid 1, Nexus 7, OUYA (yeah, it's fun)
Carrier: Not Provided

Thanks: 186
Thanked 794 Times in 421 Posts
Default

http://androidfiles.massivefilehost.com/cwm_recovery/stock_recovery.img

http://androidfiles.massivefilehost.com/cwm_recovery/stock_boot.img
Neph81 is offline  
Reply With Quote
Old May 31st, 2012, 10:41 PM   #40 (permalink)
ROM Developer
 
PlayfulGod's Avatar
 
Join Date: Jan 2011
Location: NW Georgia
Gender: Male
Posts: 8,053
 
Device(s): Galaxy Nexus, Nexus 7, LG Spirit, LG Motion, ZTE Sequent
Carrier: T-Mobile

Thanks: 233
Thanked 4,883 Times in 2,054 Posts
Default

thank you!
PlayfulGod is offline  
Reply With Quote
sponsored links
Old May 31st, 2012, 10:59 PM   #41 (permalink)
ROM Developer
 
PlayfulGod's Avatar
 
Join Date: Jan 2011
Location: NW Georgia
Gender: Male
Posts: 8,053
 
Device(s): Galaxy Nexus, Nexus 7, LG Spirit, LG Motion, ZTE Sequent
Carrier: T-Mobile

Thanks: 233
Thanked 4,883 Times in 2,054 Posts
Default

oh happen to have a list of mounts and partitions?

And does the spectrum have an internal sdcard? aka internal n external storage?? If so could I get some one to open the internal storage from the file mgr and then from adb shell do:
Code:
 adb cat /proc/mounts
and post here in [code] tags plz.
PlayfulGod is offline  
Reply With Quote
Old May 31st, 2012, 11:31 PM   #42 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Mar 2012
Location: Wisconsin
Gender: Male
Posts: 1,348
 
Device(s): LG Spectrum, Droid 1, Nexus 7, OUYA (yeah, it's fun)
Carrier: Not Provided

Thanks: 186
Thanked 794 Times in 421 Posts
Default

man you are picky :P
Code:
major minor  #blocks  name 
179        0    3526656 mmcblk0 
179        1      32768 mmcblk0p1 = /firmware vfat (modem)
179        2       1024 mmcblk0p2 = SBL2? (SBL1)
179        3       1024 mmcblk0p3 = SBL3? (SBL2)
179        4          1 mmcblk0p4 (EXT)
179        5       1024 mmcblk0p5 (RPM)
179        6       5120 mmcblk0p6 = ROM update commands - ipth (SBL3)
179        7       5120 mmcblk0p7 = DemiGod Crash Handler/Factory Reset Module (ABOOT)
179        8      10240 mmcblk0p8 = /boot emmc (Boot)
179        9       1024 mmcblk0p9 (TZ)
179       10       3072 mmcblk0p10 (Modem_ST1)
179       11       3072 mmcblk0p11 (Modem_ST2)
179       12       8192 mmcblk0p12 = /persist ext4    blocks = 4096 (Persist)
179       13      16384 mmcblk0p13 = /recovery emmc (Recovery)
179       14      32768 mmcblk0p14 = /system/etc/firmware/misc_mdm vfat (MDM)
179       15       3072 mmcblk0p15 (M9K_EFS1)
179       16       3072 mmcblk0p16 (M9K_EFS2)
179       17       3072 mmcblk0p17 = empty (M9K_EFS3)
179       18       3072 mmcblk0p18 = empty (FSG)
179       19       1024 mmcblk0p19 = empty (SSD)
179       20       8192 mmcblk0p20 = /drm ext4 (BSP)
179       21      16384 mmcblk0p21 = empty (BLB)
179       22      73728 mmcblk0p22 = /tombstones ext4 (Tombstones)
179       23       8192 mmcblk0p23 = /mm ext4 (DRM)
179       24      24576 mmcblk0p24 (FOTA)
179       25       8192 mmcblk0p25 = /misc emmc - This is where the CWM bootloop flag is (MISC)
179       26    1048576 mmcblk0p26 = /system ext4 (System)
179       27     270336 mmcblk0p27 = /cache ext4    blocks = 4096 (Cache)
179       28    1843200 mmcblk0p28 = /data ext4    blocks = 4096 (Userdata)
179       29      16384 mmcblk0p29 = /mpt ext4 (MPT)
179       30       4096 mmcblk0p30 = empty (Grow)
Here's your base info, plus stuff I have found over time. The items in brackets are what .tot file calls each particular partition. /"name" are true mount points from the phone. Also, no, we do not have combo (internal and external) storage like the Atrix, just external storage
Neph81 is offline  
Reply With Quote
Old June 1st, 2012, 12:18 AM   #43 (permalink)
ROM Developer
 
PlayfulGod's Avatar
 
Join Date: Jan 2011
Location: NW Georgia
Gender: Male
Posts: 8,053
 
Device(s): Galaxy Nexus, Nexus 7, LG Spirit, LG Motion, ZTE Sequent
Carrier: T-Mobile

Thanks: 233
Thanked 4,883 Times in 2,054 Posts
Default

k thx.

Better to be picky than have bricks
PlayfulGod is offline  
Reply With Quote
Old June 1st, 2012, 04:06 AM   #44 (permalink)
ROM Developer
 
PlayfulGod's Avatar
 
Join Date: Jan 2011
Location: NW Georgia
Gender: Male
Posts: 8,053
 
Device(s): Galaxy Nexus, Nexus 7, LG Spirit, LG Motion, ZTE Sequent
Carrier: T-Mobile

Thanks: 233
Thanked 4,883 Times in 2,054 Posts
Default

k, now I need a dump of the stock misc partition.

Needs to be bone stock, not from the bootloop fix or BrokenOut.

Code:
dd if=/dev/block/mmcblk0p25 of=/sdcard/spectrum-misc.img
PlayfulGod is offline  
Reply With Quote
Old June 1st, 2012, 09:34 AM   #45 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Mar 2012
Location: Wisconsin
Gender: Male
Posts: 1,348
 
Device(s): LG Spectrum, Droid 1, Nexus 7, OUYA (yeah, it's fun)
Carrier: Not Provided

Thanks: 186
Thanked 794 Times in 421 Posts
Default

Quote:
Originally Posted by PlayfulGod View Post
k, now I need a dump of the stock misc partition.

Needs to be bone stock, not from the bootloop fix or BrokenOut.

Code:
dd if=/dev/block/mmcblk0p25 of=/sdcard/spectrum-misc.img
The one in boot loop fix IS stock. How else do you think we're clearing all the flags.
Neph81 is offline  
Reply With Quote
Old June 1st, 2012, 10:36 AM   #46 (permalink)
ROM Developer
 
PlayfulGod's Avatar
 
Join Date: Jan 2011
Location: NW Georgia
Gender: Male
Posts: 8,053
 
Device(s): Galaxy Nexus, Nexus 7, LG Spirit, LG Motion, ZTE Sequent
Carrier: T-Mobile

Thanks: 233
Thanked 4,883 Times in 2,054 Posts
Default

Quote:
Originally Posted by Neph81 View Post
The one in boot loop fix IS stock. How else do you think we're clearing all the flags.
kk, just need to be sure.

theres another way of clearing them with a script too, hence why I wanted to ensure I had a stock one were I can find the correct offsets.
PlayfulGod is offline  
Reply With Quote
Old July 16th, 2012, 02:17 PM   #47 (permalink)
Senior Member
 
Join Date: Nov 2010
Location: MN
Posts: 637
 
Device(s): LG Spectrum, LG Ally-Bionic Zero v.05-DEAD :(
Carrier: Not Provided

Thanks: 302
Thanked 150 Times in 102 Posts
Default

Nevermind stupid question
admn81 is offline  
Last edited by admn81; July 16th, 2012 at 02:39 PM.
Reply With Quote
Reply
Tags
cwm recovery, lg spectrum


Go Back   Android Forums > Android Phones > LG Spectrum > Spectrum - All Things Root
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 02:59 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.