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

Root CM7 Build

MrB206

Android Expert
FYI, I took the system dump Brian gave and am trying to build CM7, so we can get something other than stock on our device.

I had to clone the Optimus 3d folder, since there's no extract script yet, so this may or may not work. We have the only LG 4G/CDMA phone, so there might be some issues with hardware, but we'll see... I've got all the libs and hw files copied where needed.

If anyone wants to test, let me know and I'll PM you a link to the zip when it's done compiling.
 
FYI, I took the system dump Brian gave and am trying to build CM7, so we can get something other than stock on our device.

I had to clone the Optimus 3d folder, since there's no extract script yet, so this may or may not work. We have the only LG 4G/CDMA phone, so there might be some issues with hardware, but we'll see... I've got all the libs and hw files copied where needed.

If anyone wants to test, let me know and I'll PM you a link to the zip when it's done compiling.

I'm down to test for ya. send me the link. only question i have is how woukd i return to stocj if need be. or vould i hotboot it using fastboot to test?
 
If you have cwm installed, just make a nandroid before you flash it. I hit a snag in the build... There's some camera difference between the two phones. I might have to kang for the time being.

I'd also wondering if the hard restore method (from off, hold power and volume down) works when a custom rom is installed. I'm used to the moto phones so anyone with unlocked/lg experience let me know
 
The only priblem is you cant restore tge nandroid from whst i understood frim neph81 because cwm corrupts the partitions
 
That would kind of defeat the purpose of cwm, then, no? I honestly don't know if the hard restore works on a flashed rom, though I think it does, from what I understand, since it's a pre-boot phone function. Again, though, I'm used to locked bootloaders on the Motos, so this is all new to me.
 
That would kind of defeat the purpose of cwm, then, no? I honestly don't know if the hard restore works on a flashed rom, though I think it does, from what I understand, since it's a pre-boot phone function. Again, though, I'm used to locked bootloaders on the Motos, so this is all new to me.

That is part of the reason for wanting a system dump and boot.img. When I get it I will build a cwm flashable stock rom. You will lose your data (if a wipe is required anyway), but it will restore /system to stock zv4.
 
That would kind of defeat the purpose of cwm, then, no? I honestly don't know if the hard restore works on a flashed rom, though I think it does, from what I understand, since it's a pre-boot phone function. Again, though, I'm used to locked bootloaders on the Motos, so this is all new to me.

Yeah it does efeat the purpose if it to an extent. Neph81 told me the best thing to do is make a backup of all partitions that way you can dd them back to where they belong. hard reset will work on custom roms unless there is a different recovery in place. so the easy way to do that would be to dd stock recovery.img back in place power down phone and button combo to hard reset.
 
That is part of the reason for wanting a system dump and boot.img. When I get it I will build a cwm flashable stock rom. You will lose your data (if a wipe is required anyway), but it will restore /system to stock zv4.
Cool. When brian gets the new img uploaded to my FTP, I'll move it to my build folder: Index of /builds/lg-spectum

Either of you know if our phone is more similar to the p920 or p990? It's a bit moot til we can get a simple recovery, but I'm try to get a device repo put together and need to clone one that's most similar to ours. It looks like the 990s is (file wise), but the 920 is a CM supported phone, so there's a CM repo (but I think it's geared to CM9).
 
I have a test build compiled. PM me if you'd like to test. I don't have cwm on my phone, so I haven't tested it yet.
 
My phone is on ZV3... I made a CWM nandroid, bu5 8f that won't help, let me know how to make a system dump. (Guessing it is just a dd through ADB?) I'd be happy to provide the dump for ZV3 in case it helps with building a rom or helps someone restore a fubar.
 
I/we have a system dump and boot images. The problem is getting a repo set up to allow CM7 to compile those files properly and operate on our phone. The P930 (Nitro) is the closest to us, but there are no public repos for that device, which means I've had to clone the P920 and P990, which threw tons of errors. I'm compiling for the P920 now and going to bin-kang the libs, to see if custom roms are even possible with the recovery method we're using... it might be roms can't be flashed (which I doubt, but it needs to be investigated).
 
Ok, kind of a good thing as I had to get a replacement at Verizon (you can read shook about it on the other threads, I don't feel like repeating it again... :-) and they forced me to take the update before leaving the store.

Funny though, as I an planning on returning it anyway. Going to get one from Amazon and save me $140, kind if a shame my wife won't use a phone without a physical Kb, or I'd get two from Amazon and still save $40 over buying one at Verizon...

Hopefully I can get CWM touch working so I can just flash a nandroid over to the replacement phone. If not, it won't be the first tone i've had to reconfigurean Android device from scratch... ;-)
 
Dude that batch file roots and installs recovery for the updated spectrum as well... Cwm touch was integrated into the new batch... You just need to install the drivers and put the phone into ethernet mode with debugging enabled and you will be good...
 
Yea, that all in one is a slick package. Must have for Spectrum users.

If someone could fer it all contained in an APK format with an interface, you could have an actual on-phone app... though I'm not sure it would work with the multi-step processes for rooting and recovery.
 
K, just a heads up, I'M OUT. This phone doesn't have a recovery installed and it's simply too easy to brick the phone (as in it won't power on, not matter what buttons are pressed). Until a proper CWM is made and real devs get into making roms, I'm out. I've bricked 2 phones trying to get CM7 working and Brian's method doesn't work to restore it (since it won't turn on).
 
K, just a heads up, I'M OUT. This phone doesn't have a recovery installed and it's simply too easy to brick the phone (as in it won't power on, not matter what buttons are pressed). Until a proper CWM is made and real devs get into making roms, I'm out. I've bricked 2 phones trying to get CM7 working and Brian's method doesn't work to restore it (since it won't turn on).


Damn! That SUCKS. :(
 
K, just a heads up, I'M OUT. This phone doesn't have a recovery installed and it's simply too easy to brick the phone (as in it won't power on, not matter what buttons are pressed). Until a proper CWM is made and real devs get into making roms, I'm out. I've bricked 2 phones trying to get CM7 working and Brian's method doesn't work to restore it (since it won't turn on).


ouch that blows, it was a valiant effort though!!
 
Yea, I'm not a dev or coder... I was just using what I learned building for my Droids, but not having a stock recovery is WAY too risky for me to keep futz'ing with roms. At least with my Droid, if a rom was bad, I could get into stock or turn the phone one... this just wipes the phone and there's no way to turn it on.
 
I was checking out the index of builds and just wondering how they are coming? Have you tested or had anyone test these yet? Have any turned out to work well? I really like other CM7 builds I've seen on other phones I tried out Broken out ROM which I am thankful that people are working on custom ROM builds but this one is just too plain jane for me thus far and there are a few bugs as well. I was just curious if you have had CM7 working, if so I will check it out. Thanks and have a great day!! Thanks for all your hard work!!
 
TBH, it's on hold for now. I tried to set up a device-specific repo that you need to build CM, but the Spectrum is totally different from the Nitro and Revo (our phone is essentially the 'Revo 2'), so the build files need to be recoded for the specific files for our device. Since I don't know what each 'lib' file does (I'm far from a coder), this is as far as I can get and the rest is above my paygrade, so to speak. In previous builds for other devices, the device files were so similar, it was easy to set up a new device repo... that's just not the case with the Spectrum. When you toss in that the phone has no phone recovery, it's all the more dangerous to mess with bad roms.

The latest build I made will flash and boot, but it boots to a gray screen, so it's dead until someone can look at the build files I've set up and re-code them to match the repo files, specific to the device.
 
Back
Top Bottom