yashsingh1/xdaforums huggingface dataset:
[LG Nitro HD] youngv408:
thats sounds dope good luck
[LG Nitro HD] kernelpan1c:
Let us know how it goes. I'm still not sure if factory reset causes issues or not on the custom ROM. I was only able to confirm that doing a format /data in CWM caused filesystem corruption which lead to soft-bricks. The fs corruption lead to /data being mounted read-only at boot up which doesn't allow the phone to boot.
[LG Nitro HD] V@no:
And did you try after flashing new rom and successful boot, restore stock recovery and do factory reset through it?
[LG Nitro HD] kernelpan1c:
I don't remember. But I will do more testing whenever LG decides to repair and return my device.

I vaguely remember that on the Korean ROM, I did a format /data and it soft-bricked.

But even if that wasn't the case, I did a format /data and immediately fsck'ed the /data filesystem/partition. (fsck = checkdisk)

It reported errors in the filesystem.
[LG Nitro HD] kernelpan1c:
Any progress v@no?
[LG Nitro HD] V@no:
No, I had to abort for a week, because don't have time messing around right now..will have to wait till friday. Back to the nandbackup, which by the way I have to restore every day right now, cause of phone reboots itself every afternoon with following boot loop...yay...
[LG Nitro HD] V@no:
I don't get it. Just made an update package that replaces SystemUI.apk and framework-res.apk

First time it installed on stock rom - got stuck at second lg logo. With adb went back to recovery installed the same package again - got boot loop, installed it one time - boot loop. Went back into recovery installed the package twice without reboot - booted fine.

Any ideas what could cause this? Was I supposed to wipe dalvik cache?

[EDIT]

just confirmed it with another package, if install it twice without reboot, it works fine, otherwise exact same scenario as above.
[LG Nitro HD] kernelpan1c:
I had changed my font using Font Installer and it didn't work properly. I tried flashing an ics font zip file (which I've used on my Atrix without issue) and it caused the phone to be unable to boot. I checked logcat while booting up and it was showing some weird errors. So I do continue to think we have issues with our CWM. I booted into CWM and re-installed my ROM zip (wipe cache, wipe dalvik, format /system, then flash zip) and everything was fine again however.
[LG Nitro HD] dbjungle:
If you install SystemUI.apk does it remove the LG specific interface customizations? Like a blue bar at the top of most screens, etc.
[LG Nitro HD] itiskonrad:
OK, wait wait wait. So is it really the case that with this clockworkmod, if you restore a backup, you can never turn off your phone again without it going into a boot animation loop? You can only restart? If you want to turn off your phone to change the battery or swap out the sim, it will endlessly loop animation when you try to turn it back on? I ask because I restored from a backup, and it works great... until I try to turn it off and turn it back on and then it just loops boot animation. Only way out is to enter clockworkmod, re-restore my last backup, restart the phone (cause it can restart ONLY ONCE just fine) and then try to never turn my phone off again... Is that really the case with this clockworkmod? Cause... that's not so good
[LG Nitro HD] dnorthington:
It depends on the combo of things you've done to your device. If you wipe data it resolves. This is what I did. Can now reboot just fine.

http://xdaforums.com/showpost.php?p=22535632&postcount=100
[LG Nitro HD] itiskonrad:
Oh, okay! Thanks! So what do I do in step 10 where you flashed the ROM zip? I'm not flashing a rom, just restoring a backup of a stock rom. Thanks a million!
[LG Nitro HD] dnorthington:
Just restore your original cwm backup. The data wipe is key.
[LG Nitro HD] itiskonrad:
Uh oh. When trying to do the first line, I get this error:

/sbin/sh: /sbin/mke2fs_static: not found

Do you know what this means?
[LG Nitro HD] itiskonrad:
Haha, okay, so I figured out that I needed the newest version of clockworkmod for that command to work.

@dnorthington

Unfortunately, that didn't solve my problem. I followed your steps exactly, dnorthington, down to the T with the exception of restoring a backup instead of flashing a rom, and the problem persists. I can restart the phone from cwm into the fully functional operating system, but once I turn it off, it's boot animation loop galore. And it doesn't matter which of my numerous clockworkmod backups I choose to restore, even my very first one which is really pure Nitro stock rom, unchanged. I really think there's something wrong with restoring the backups from clockworkmod. Has anyone restored a clockworkmod backup of the stock rom through CWM and not had the rebooting issue (ie, you can turn on the phone ONCE into the OS just fine, but after that, if you turn off the phone, it just gets stuck at the boot animation when you try to turn it on again? Rebooting the phone apparently works fine, just turning it off and on doesn't.) If anyone's restored a backup of the stock rom using CWM and is not having this problem, please let me know if you did anything special! I'm desperate here =/
[LG Nitro HD] gte460z:
Did you try restoring the nandroid then clearing /data with the command? I am pretty sure that restoring the nandroid after clearing /data instead of before will write over /data (which is what causes our curruption) again causing the bootloop. Flashing a ROM does not touch /data which is why you can clear /data then flash the ROM without a bootloop.
[LG Nitro HD] itiskonrad:
Hm, okay. I'll give that a go. I never tried clearing after restoring. Clearing data won't wipe the restore that I just did? Is that data being cleared different "data" than what I just restored in cwm? Sorry, very much a noob about this stuff. I always try to just stick to aesthetic mods =)
[LG Nitro HD] gte460z:
clearing /data clears the apps you have downloaded, user settings and other things of that nature (which seems to get corrupted as soon as CWM touches it). The mods you have been working on and the ROM are found in /system.
[LG Nitro HD] itiskonrad:
Holy balls.

@gte460z and dnorthington- You are gods among men

Following everything dnorthington said and then AFTER restoring my cwm backup, re-clearing /data fixed my phone! As you said, all I had to do was restore my apps from titanium, and everything was back to normal! All my system mods were untouched! So for anyone having issues after restoring a cwm backup, try to get back into cwm mode (it can take a few tries, but it can be done!), re-restore and THEN clear /data using ADB shell! You'll have to restore your apps, but it'll save your phone from the purgatory of boot animations! Thanks you guys!!
[LG Nitro HD] dbjungle:
Can you reboot freely after this?
[LG Nitro HD] dnorthington:
you should be if you wipe data with the adb commands and start fresh.
[LG Nitro HD] itiskonrad:
Turn off, turn on, reboot, as many times as you want! To your heart's content! I must have a dozen times just because I could again =)
[LG Nitro HD] V@no:
Right, so if clearing user data is the key, what's the point in having CWM again?

Exactly...no point...

In my earlier tests fix permissions in CWM was screwing up some fonts, maybe it has something to do with the boot loops after restore - permissions are screwed up?

I've been using phone with no CWM installed for over a week now and so far I had zero issues, no crashes, reboots work. Did some modifications to SystemUI.apk and framework-res.apk, and quiet happy with what I have now.

Hopefully one day bytecode64 visit this topic again and fix this thing for us...

P.S.

We don't really need CWM to install roms, do we? I mean can it be done through adb?
[LG Nitro HD] itiskonrad:
Well, I have to be fair and give credit where it's due. I'm still really glad I have CWM. At least when my phone was bootlooping, I could get into SOME menu and restore my last backup. And even then, I got to keep all my system mods, all my transparent notification bars and invisible lockscreens and notification icons =) and all I had to do was restore my apps from titanium, and everything's peachy now, no bugs, no crashes, no reboots. So as long as I know that I need to clear data after restoring my backups, I'm still glad I have it! Maybe I'm just optimistic =)
[LG Nitro HD] limpbisquit:
Can anyone teach me how to root the SU640 version 10k? I can't seem to get anything to work on it. I can't flash cwm cus my phone is not rooted. :(
[LG Nitro HD] KindaWack:
Probably should ask this in the nitro root topic. But the method detailed in this post should work.
[LG Nitro HD] limpbisquit:
I already tried that but it doesn't work. :(
[LG Nitro HD] xidium:
edit: wrong thread
[LG Nitro HD] soljafree:
My nitro is rooted and had cwm but it started freezing so pulled the battery and now its stuck at att boot animation and cwm is not there anymore its stock recovery now
[LG Nitro HD] PMad:
I'm having the same problem.. I was listening to pandora on my phone when it suddenly stopped and i had completely lost my data connection... Rebooted my phone and was in a boot loop at the rethink possible animation. Pulled the battery and turned it back on MANY times, same boot loop. So i tried to get into CWM, and after hitting the power button the second time to confirm the factory reset and get into CWM, it rebooted as if it actually did the factory reset! Did this many times and finally it went into CWM where i restored my last backup and rebooted back into the phone... That was two days ago, today its happening again and i've been unable to get back into CWM. I dont know if its actually restoring my phone back to factory defaults or not when i try...

I originally had the very first CWM on my phone, and began having this problem the day after i installed the newest CWM. No custom roms, i had played with some of the XML files before installing the new CWM but had put them back to stock because of an issue i was having with colors. The only mod that is done on the phone besides root and CWM is the % battery and no AT&T thing.. thats it...

Any ideas? Anyone else successfully figure this out?
[LG Nitro HD] blaineball:
sounds like you need a full wipe/reset. look for the post on manually wiping data then flash stock (or kernelpan1c .04). and rebuild. NOT DATA WIPE IN CWM!!!!

Same thing happend to me. Phone was fine, reboot and never came back. I could restore and it would be ok, but a reboot would kill it.

Since the full wipe it has been better than new.
[LG Nitro HD] itiskonrad:
Yeah, a couple pages back I describe having the exact same problem. After doing a restore from a CWM backup, the data is corrupt. Once you reboot your phone after restoring a backup, it will work fine the very first time, but after that, when you turn it off and try to turn it on again, it will get stuck at the boot animation until you force your way into CWM and restore the backup again. (But again, your phone will only be good for the time it's on after this restore. Once you turn it off, be prepared to force your way into CWM again to do another restore from backup to get into an operating system... at least until you turn off your phone and have to do another backup restore, etc). This is because for whatever reason CWM corrupts the data portion of your backup.

I go through the whole process of fixing this starting at post 324 in this thread, so for details, go back and look through that, but basically:

1.) Make sure you have the newest version of CWM installed. If you don't (like I didn't when I started getting stuck at boot animation), do a restore (remember, it'll be good until you turn off your phone) and while it's in a functional operating system, flash the newest CWM. While you're here, make a titanium backup of all your app/settings, etc. You're going to have to give them up to get back a phone that doesn't get stuck in boot animation every time you turn it on, but you can get all that back easily with titanium =)

2.) Force your way into CWM (keep messing with volume down key etc. It can take a LOT of tries but eventually you should be able to squeeze into CWM).

3.) Under "Mounts and Storage", unmount /data

4.) Format system

5.) Restore your backup

6.) While still in CWM, connect your phone to your pc by USB, and run adb shell in cmd.exe (you need it, if you don't have it)

7.) Type the following commands in adb shell and hit enter:

/sbin/mke2fs_static -t ext4 -b 4096 /dev/block/mmcblk0p30

let it finish. Then type:

/sbin/e2fsck_static -y /dev/block/mmcblk0p30

This will manually wipe data from your phone (ONLY DO IT MANUALLY, DON'T DO IT THROUGH THE WIPE DATA FUNCTION IN CWM), since it's corrupt anyway.

8.) "Wipe dalvik cache" and "wipe cache partition" in CWM and reboot!

You'll have lost all your personal settings and apps, but your system/framework mods will all be there, it will just be as though you bought your phone that way as you go through the initial setup screen and everything. Now you can titanium back your apps/preferences.

Thanks AGAIN goes to dnorthington and gte460z for helping me with my boot animation problem!
[LG Nitro HD] dbjungle:
I've used this method, but one thing I want to point out is that once you do this, you cannot restore in CWM. If you do, then the problem will immediately re-present itself. I honestly prefer to have the ability to restore than to fix the reboots so I just deal with it for now.
[LG Nitro HD] Sandpapers:
/sbin/mke2fs_static -t ext4 -b 4096 /dev/block/mmcblk0p30

/sbin/e2fsck_static -y /dev/block/mmcblk0p30

Never works for me.

Always says file not found.
[LG Nitro HD] dbjungle:
Go to mounts and storage then unmount /data first. Then you should be able to format the data partition and verify it.
[LG Nitro HD] itiskonrad:
I'm confused by what you mean by this. If you restore again (which you can do), then just manually wipe the data again before you restart. I've done it many times now, no problem, no boot looping. This way, you get back a fully functional os, all your system/framework mods, even root are kept, and you can restore all your apps and settings via titanium.

As far as the "file not found", make sure you have the latest version of cwm. The old one doesn't understand those commands
[LG Nitro HD] dbjungle:
Yes you have to manually wipe the data again. It's not really a fix to the reboot problem, more of just a way to restore your OS. Because if you restore a nandroid and you have to wipe your data it kind of defeats the purpose. I have only done it once because I like the option of backing up and restoring with CWM more than I care about the reboot problem. If I need to do an actual reboot, I use quickboot to go straight into CWM then restart my phone from CWM. Initially I was assuming it was a permanent fix. Just trying to save anyone heartache if they prefer to be able to backup and restore more than relieving the reboot issue.
[LG Nitro HD] itiskonrad:
That's true, I guess. I guess I'm just one of the few people that's just really happy restore can be used to unbrick my phone and let me keep all my mods, and just let titanium do the rest. It's not perfect, but for people like me that love to tinker with the framework, boy am I glad I have it =)
[LG Nitro HD] dnorthington:
If you download ROM Manager and try Flash Recovery, there is now an option for the Nitro. And, if you download, it really flashes. I have done so and booted into recovery and can confirm it's a different version. I haven't wiped data yet (was hoping to wait for CM9 before I did).

Edit: Vorona confirmed wipe data works. Hooray!
[LG Nitro HD] gte460z:
Holy crap! We have a working CWM! Do you get to CWM the same way as before (factory reset)?

**EDIT** RC just posted that same info and says everything works in the ROM manager version! https://plus.google.com/u/0/115049428938715274412/posts
[LG Nitro HD] dnorthington:
Yep. Flash from ROM Manager.
[LG Nitro HD] dubbaa:
I can also confirm flashing CWM using ROM Manager absolutely works. I have been able to backup just fine. Only thing I noticed off was the date says 1970 instead of current year although month, day and time see to be correct
[LG Nitro HD] V@no:
Are you sure it's working? because so far I read the date and permissions bugs are still there...the "original" CWM did backup/restore just fine, until something happens and then you can't reboot without bootloop and it rebooted fine initially too..

Something tells me this CWM and the one from ROM Manager are identical...
[LG Nitro HD] itiskonrad:
Backup/restore works perfectly with the new CWM, no bootloops after restarting. I tested it many times. It's definitely different than the one from this forum, as that one will boot animation loop after a restart after any restore without manually wiping data. The official CWM doesn't have this problem =)
[LG Nitro HD] Malnilion:
Also, this new one is CWM Touch. There's really no reason not to get the new one from Rom Manager (especially if you own a Rom Manager license).
[LG Nitro HD] gte460z:
I can't speak to the permissions issue but I can say that formatting /data and restoring nandroids without bootloops is working in the new touch CWM which were the main issues in bytecode's CWM (this is on a Nitro HD P930). This is most definitely not the same version as bytecodes CWM.
[LG Nitro HD] kernelpan1c:
Exactly. :)

This is a fully functional CWM without any of the issues from bytecode's CWM.
[LG Nitro HD] V@no:
Then my next question, who made it and why this section of XDA forum is being so ignored from developers?
[LG Nitro HD] youngv408:
Maybe this cwm is from the guy working on the ICS at G+ ....
[LG Nitro HD] Epyoch:
Koush made it, because there was a demand for it and he's part of cyanogen mod...and since we are getting a cm9 I'm guessing he figured that we should have our own
[LG Nitro HD] hereric:
should this post not be closed then? We shouldn't have a non-functional CWM posted on the forum, it could result in bricks and further push people away from the P930
[LG Nitro HD] kernelpan1c:
I asked our forum mod chrisd1a1 to unsticky it and he did that already, so it will float off the page so to speak.
[LG Nitro HD] dbjungle:
Before it floats away I want to thank Bytecode64 again. It may not have been perfect, but his hard work allowed several of us to tweak our phones without fear that we could never come back to how it was before.
[LG Nitro HD] kavena78:
ClockworkMod error 'secure booting error'

I got secure booting error at recovery. lg bell canada
[LG Nitro HD] tampaboy1984:
I also get Secure Booting Error when tryin to boot into Recovery

Looks like this....

[10130] ----------------------------------------------

[10140] Secure booting Error!

[10140] Cause: boot certification verify

[10150]

[10150] ----------------------------------------------

--------------------------------------------------------------

Enter the fastboot...

Enter the fastboot...

Long time no see!

--------------------------------------------------------------

and of course the LG logo in the background on black screen...WTFFFF!!!
[LG Nitro HD] aaki_rocker:
what rom are you using ?
[LG Nitro HD] tampaboy1984:
ICS Leak
[LG Nitro HD] HO!NO!:
Only 2 solution are left

you will need to do the unbrick process or wait for the real ics release kdz.
[LG Nitro HD] tampaboy1984:
I have tried the unbrick solution but I do not have a CSE web upgrade button, I only have a Normal Web Upgrade button to press in the flash program.
[LG Nitro HD] MGA2009:
I have Official ICS rooted but I have the same error as my friend a few post's above.

Would you have some suggestions?
[LG Nitro HD] Malnilion:
You don't want this version of CWM even if you could get past the boot signing of official ICS. My suggestion? Go through the unbrick guide to downgrade to Gingerbread, install CWM via Rom Manager, and then if you really really want LG's ICS, install HO!NO!'s CWM-flashable version.
[LG Nitro HD] joon82:
Running rooted official ics.

Installed cwm using rom manager.

I can enter and exit out cwm fine but cwm can not read my sd card.

I tried formating my sd card, reinstalling cwm, nothing worked.

Tried downloading rom from rom manager but it wont install at cwm.

SD card reads fine when booted into android. Also rom manager sees all the files i have on sd card. But CWM is not seeing them.

Rom manager 5.0.1.5

CWM 5.8.2.0
[LG Nitro HD] drumist:
Let me guess, it's the SD card that came with the phone, right?

Here's what you need to do. Use this program to format the card from a computer (using a card reader, not through the phone). After that it should work fine. This is an issue many people have had with the SD cards that come with the phone.

By the way, you really shouldn't be following this thread. This is for an old, broken version of CWM. The one installed from ROM Manager is good though.
[LG Nitro HD] joon82:
I think it was my CWM. Installed 5.0.2.7 and problem was gone.

Thanks
[LG Nitro HD] drumist:
You need to use 5.8.2.0. It's the ONLY version currently that does not have major problems.

Don't come running to us when you brick your phone because of using CWM 5.0.2.7.
[LG Nitro HD] sookster54:
I've been searching around, but I can't seem to find a definite answer, I'm using a Telus P935 (rooted the updated ICS) and installed CWM 5.8.2.0 but when I reboot into recovery I get:

I can't interact or anything after that.

Seems I'll have to use the unbrick... which I don't really want to do.
[LG Nitro HD] schwin97:
I have all these things installed... And during the normal boot procedure it works just fine. The problem is when I boot up in recovery - again not sure if this is actual recovery or something else - it is asking for a different driver, and nothing matches?

My first question...

Is the message welcome to fastboot mean that the image is working?
[LG Nitro HD] belth219:
How did you flash the recovery.img?

---------- Post added at 12:15 AM ---------- Previous post was at 12:12 AM ----------

Here is my boot.img

& recovery.img

Finally I post it!
[LG Nitro HD] bytecode64:
No it should open cwm menu , try the steps ive mentioned in first post again
[LG Nitro HD] belth219:
dd if=/data/local/recovery.img of=/dev/block/mmcblk0p13

or dd if=/data/local/recovery.img of=/dev/block/mmcblk0p27?

Isn't it the recovery block?
[LG Nitro HD] schwin97:
pretty sure it is 27... that is what the old log file showed me? I will try the dd...
[LG Nitro HD] bytecode64:
yeah its 27 on nitro , not sure about the above one, btw did you tried the method ive mentioned in the main post?
[LG Nitro HD] belth219:
I replaced the kernel and compiled the recovery.img based on your img！

it doesn't work！

i will try p27 again！
[LG Nitro HD] bytecode64:
im not sure about your recovery partitions that why it might not work, your device might have different kernel

OMG you dont need to replace anything or compile anything , just need to carry out few steps mentioned in my first post ,
[LG Nitro HD] belth219:
I gave up,it doesn't work.
[LG Nitro HD] zsyjx32:
i'm afraid lg had locked the recovery so that we could not boot into recovery，that‘s too bad

---------- Post added at 06:43 PM ---------- Previous post was at 06:36 PM ----------

tell me your qq
[LG Nitro HD] schwin97:
Based on the log file, yes it is... Not sure what I have been looking at???
[LG Nitro HD] bytecode64:
@schwin97 did you tried flashing the image again with the method ive mentioned in the first post?
[LG Nitro HD] gte460z:
Schwin pointed out (here) that in init.rc recovery is disabled. I am thinking that has to be fixed/changed first before we can make progress with booting into CWM.
[LG Nitro HD] schwin97:
error scanning partitions: No such file or directory

I am guessing that the program is looking for one of the standard partitions for recovery which our phone does NOT adhere to. If there was a way to modify flash_image to look for a specified partition it may work better?

---------- Post added at 01:55 PM ---------- Previous post was at 01:54 PM ----------

The version of recovery that is being presented here has adbd enabled by default. If you take the image provided and run it through unpack_bootimg.pl you will find that it has a different init.rc and default.prop...