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

Root CWM Recovery for LG Spectrum

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!!!
 
Upvote 0
@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.
 
Upvote 0
@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.
 
Upvote 0
@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.
 
Upvote 0
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.
 
Upvote 0
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 ;)
 
Upvote 0
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.
 
Upvote 0
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
 
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