yashsingh1/xdaforums huggingface dataset:
[LG Nitro HD] bytecode64:
yes ive already modified the recovery.img according to the log provided in other post , so it seems that we have to find the correct recovery partiton
[LG Nitro HD] bytecode64:
The issue i can see is that recovery partition is not mounted (as you can see in mount table) thats why flash_image recovery recovery.img gives you error, if somehow you can manage to mount the recovery partition eg p13 and post init.rc file here to check whether it is a recovery partition or not , we might get somewhere
[LG Nitro HD] schwin97:
I will see what I can do...

I have been able to pull the image off the partition with the dd if/of command, and then use unpack_bootimg.pl to extract it. Those are the files that I put in one of the other threads... Looking in the bootimg-ramdisk/etc there is both a recovery.fstab and recovery_mmc.fstab within it. This led me to believe that I had found the correct partition?

The recovery_mmc.fstab contains:

# mount point	fstype	device	[device2]

/boot	emmc	/dev/block/mmcblk0p8

/cache	ext4	/dev/block/mmcblk0p28

/data	ext4	/dev/block/mmcblk0p30

/misc	emmc	/dev/block/mmcblk0p25

/recovery	emmc	/dev/block/mmcblk0p13

/sdcard	vfat	/dev/block/mmcblk1p1	/dev/block/mmcblk1

/system	ext4	/dev/block/mmcblk0p27
[LG Nitro HD] bytecode64:
if these are the contents from original recovery partition , then my image would work as it also contains the same partition info , the only thing need to do right now is to somehow mount recovery partition
[LG Nitro HD] schwin97:
Unluckily easier said that done... Every time I attempt to mount I get 'no such device' - I wonder if the kernel for regular boot doesn't have the emmc driver installed??? I did notice that when I run more on one of the emmc partitions - boot or recovery I get:

more /dev/block/mmcblk0p13

ANDROID!┤╨H Ç @♣≈§ A ►A ☺ vmalloc=450M,console=ttyDCC0,115200,n8 androidboot.hardware

=qcom

These are the only partitions where I have found this to occur? Could mean absolutely nothing?
[LG Nitro HD] drumist:
You must install CWM from a Gingerbread ROM. This is because LG locked their bootloader down when they updated to ICS.
[LG Nitro HD] Malnilion:
It's because your bootloader is the locked ICS bootloader. Your only choice is the unbricking guide now.

Edit, whoops. I didn't see your comment, drumist.
[LG Nitro HD] LeAnhTuan2505:
Cannot go to recovery

Hey guys!

I'm a new-bie with LG Nitro HD. I cannot go to Recovery even though I do the same things as instruction. I search through Google and XDA but there's no help. Anyone help me! I feel nearly disappointed!:crying:

long time no see ~~~~~

su

cd /sdcard

cat bc64-recovery.img > /dev/block/mmcblk0p13
[LG Nitro HD] Hutch89:
What Rom were/are you using when flashing recovery? You must be on a gingerbread Rom to flash recovery as the ics has locked boot loader. You will most likely need to follow the unbricking guide to get back to a Rom that allows you to flash cwm. From there you can go with whatever Rom you like, be it ics, gingerbread, or jellybean; stock, rooted, etc. The unbricking guide is the entry way to it all.
[LG Nitro HD] LeAnhTuan2505:
ROM ICS. I tried several ways, now it could not start anymore. It stops at the LG logo with "long time no see" message. I really don't know how to start it.. :mad:
[LG Nitro HD] mataflakitas:
Need help installing custom recovery on LG Nitro

I have had multiple issues with my phone in the past. Even sent it back to LG twice. Although I found a way to install the rooted 4.0.4 rom onto my phone, I still cannot install a custom recovery onto my phone any longer. I've tried using Rom manager to do so and all I get is

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

Secure booting Error!

Cause : boot certification verify

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

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

Enter the fastboot...

Enter the fastboot...

Long time no see!

how solution...?
[LG Nitro HD] mataflakitas:
plase help...
[LG Nitro HD] Swetnes:
Just follow this guide and you will be fine:

http://xdaforums.com/showthread.php?t=2044645

Make sure you read it thoroughly.
[LG Nitro HD] jekostas:
Someone really just needs to put up a sticky that says you can't flash custom recoveries from ICS.
[LG Nitro HD] Swetnes:
Lol
[LG Nitro HD] atifsh:
yeh after that someone has to put up a sticky that says to read sticky that says you cant flash recovery on ics. :silly:
[LG Nitro HD] Swetnes:
:banghead: I knew I should have had a V8
[LG Nitro HD] bytecode64:
ummm it should show something like , invalid length , looks like an image file to me , copy it to you pc and try extracting it
[LG Nitro HD] bytecode64:
Guys ive updated the methods , try now , hope it flashes :P
[LG Nitro HD] schwin97:
Looked a little better this time - using the bs=4096... When it rebooted, it got past the first LG logo, blank screen (but looked like it loaded an black screen) for a couple seconds, and then rebooted again back to the normal reboot.
[LG Nitro HD] bytecode64:
So did you tried the recovery combos to see if cwm loads ? any errors or messages youve seen during load?
[LG Nitro HD] bytecode64:
btw can you past the output of "df" command here? i need some more info :S
[LG Nitro HD] gordec:
I also got the black screen where before there was that little Android thing.
[LG Nitro HD] schwin97:
I am going to be unable to help for a little while. Did something stupid and now have a nice brick - hopefully will be able to swap it out at AT&T a little later this morning. Then I will be happy to help, but will be much more careful...
[LG Nitro HD] bytecode64:
:( Oh well good luck, i wouldn't touch any partition other than recovery until cmw is running properly , i think there is something wrong with boot loader , LOCKED perhaps?
[LG Nitro HD] schwin97:
Not sure if it's that, or if they set it up to look for something to make sure it needs to get into recovery? I thought locked was that you couldn't physically write to a partition - maybe I have an incorrect view of what a locked bootloader actually entails. Beginning to think that there is a reason developers stay away from LG phones???
[LG Nitro HD] bytecode64:
Well im not sure , contacted LG for bootloader and partitions info (open source portal) , no reply yet , also they didn't mentioned anything any where regarding recovery key combos in their manuals , adb reboot recovery works on most of devices to get into recovery , it doesn't work here even for stock recovery , searched LG update server for stock recovery , i can get the url to download but when i open , shows a 404 not found. considering all those factors i think they intentionally disabled the recovery mode ,
[LG Nitro HD] schwin97:
If you have access to a phone you can see it momentarily go into recovery... the problem is that it reboots very quickly. I would say it is looking for a file possibly and if recovery doesn't find it - just reboots...
[LG Nitro HD] V@no:
It might not be related, but in my recent unintentional phone bricking activity (messing with SystemUI.apk and framework-res.apk) I've noticed that each time when phone gets into boot loop it looses root (su gets segment fault) and after replacing these files with stock and successfully boot, it forgets my google account.

So I thought maybe there is some kind of recovery happening during that loop?
[LG Nitro HD] bytecode64:
ummm well no body can boot into stock recovery either , thats the main issue ,

BTW Offtopic :D

Ive just compiled andriod AOSP rom using sources provided by LG , anybody still in warranty ? wana try it ? :P , tested on emulator works fine
[LG Nitro HD] belth219:
I wanna try it.

And I have the V10f.kdz to restore all the system file so it won't be bricked.

My SU640 also has the source code provided by LG.
[LG Nitro HD] Malnilion:
belth219,

Do you think your .kdz would work for the P930? I'm willing to try anything to unbrick my phone at this point. If you think it would, I'd love it if you could it hit me with a link!
[LG Nitro HD] belth219:
I don't think that would work for the P930.There must be somewhere you can download the .kdz.

Sorry.

I think I would upload the file to my dropbox if you are sure you want to try it!
[LG Nitro HD] sukudos:
can get it from official website

csmg.lgmobile.com:9002/csmg/b2c/client/auth_model_check2.jsp?esn=IMEI

csmg.lgmobile.com:9002/swdata/WEBSW/LGSU640/ASKTBK/V10i_00/V10i_00.kdz

or csmg.lgmobile.com:9002/swdata/WEBSW/LGSU640/ASKTBK/V10f_00/V10f_00.kdz
[LG Nitro HD] bytecode64:
LGSU640 has diffrent Soc it might not work
[LG Nitro HD] Malnilion:
Screw it, I'm trying it lol.

Hold onto your butts...
[LG Nitro HD] bytecode64:
Hey check http://xdaforums.com/showthread.php?p=20764895#post20764895

ive upload the Stock ROM for LG Optimus LTE which has same hardware as nitro HD , try it
[LG Nitro HD] scott0:
here we go!
[LG Nitro HD] belth219:
Does it work？
[LG Nitro HD] bytecode64:
Yes it does check my other post!!!
[LG Nitro HD] aquariuz23:
What works?
[LG Nitro HD] Malnilion:
@aquariuz23,

The thread got kinda sidetracked because of me. Flashing the SU640 rom has unbricked my phone, so now I'm trying to get it all the way recovered to a Nitro HD backup. This is unrelated to the CWM port, but it's a potentially beneficial recovery method if something goes south while developing CWM for the Nitro HD.
[LG Nitro HD] aquariuz23:
Ahh thx for the clarification. We just have so many threads on both General n Development sections regarding bootloader, and cwm, n rom etc etc lol, so I get a bit confused sometimes.
[LG Nitro HD] repherb:
So, the question is: have we got CWM for all versions of the P930? (Optimus LTE from Bell (Known as the Global Unit Optimus 4G LTE from LG), Nitro/LU6200 and SU640??

Maybe a format of:

Bell Optimus 4G LTE: Yes/No

<tutorial>

AT&T Nitro HD: Yes/No

<tutorial>

LU6200: Yes/No

<tutorial>

SU640: Yes/No

<tutorial>

NTT DoCoMo:

<tutorial>
[LG Nitro HD] Malnilion:
I like that basic format, but afaik the answer right now is "no" to each device.

I'm in a unique position where I can literally try anything without fear of leaving my device worse than it is already, so I'm a really good guinea pig right now.
[LG Nitro HD] aquariuz23:
inject him with everything!!!!!!!!
[LG Nitro HD] bytecode64:
Well the thing is they all have different partitions and hardware (speaking strictly)

it would require little tweaking to port it to p930 variants , but first we have to make it work on p930!, my friend order p930 from eBay , will take 1 week before he gets it , hopefully it will help me in porting cwm and working on roms
[LG Nitro HD] aquariuz23:
Thanks for helping over here bytecodec. Any help is appreciated :)
[LG Nitro HD] schwin97:
it looks to me like it is trying to display the cwm screen, but the resolution is messed up leading to a 'garbled screen. I had similar issues when I attempted to open up the boot images - they don't look to be 720x1280? It could be that during the boot process the screen is at a different resolution... Does anyone have a program that can take the raw image and try the different permutations to find the correct resolution?
[LG Nitro HD] bytecode64:
Can you tell me how did you entered the mode where it showed that screen?
[LG Nitro HD] chrisd1a1:
Moved to Dev and stickied
[LG Nitro HD] bytecode64:
Ok sorry Guys for no activity , i was busy with my friend nitro , disecting the init scripts to find out whats going on , and it seems to me that ATTNT intentionally disabled the recovery mode, anyhow , ill be posting my findings and The source files for the CWM here so that other devs can also contribute
[LG Nitro HD] gte460z:
Do you expect it to be a huge effort to re-enable recovery mode? For most of us, our 30 day period is coming up...
[LG Nitro HD] bytecode64:
It would be a huge effort for me since i dont have a nitro :P , so if some developer with a nitro could contribute , it wont take that long.
[LG Nitro HD] schwin97:
736x1280 resolution

The files below shows how the file looks when decoded correctly (736x1280 resolution) versus when decoded with the marketed (720x1280) resolution.
[LG Nitro HD] gte460z:
Wow, sounds like that is the problem with sksm's attachment of what CWM looks like on his phone. Did he ever say how he got it to boot up like that? It sounds like with an adjustment to resolution and his boot method we will have a working recovery soon!
[LG Nitro HD] PMad:
Not sure if anyone has tried this yet, but if you use RomManager and select the option to boot into recovery, you get the little box with the android guy for a few seconds before it reboots. Could that be some sort of odd recovery mode or something else?

---------- Post added at 11:15 AM ---------- Previous post was at 11:04 AM ----------

Found this on LG forums

Recovery Mode

Power off the phone

Hold Volume Down and Power until recovery mode appears. Its really just a simple factory reset. But is this all they included for recovery mode?

Download Mode

Power off phone

Hold volume up and plug phone into computer

Let go of volume up when you see download mode
[LG Nitro HD] V@no:
it's the same thing as if you execute adb reboot recovery when phone connected to computer.
[LG Nitro HD] gte460z:
After viewing this video (http://www.youtube.com/watch?feature=player_embedded&v=FLb5VJTEDL8) for booting the LG Revolution 4G into CWM I am thinking that is how sksm booted into recovery. When you confirm a factory reset (in the power button + volume down bootup mode) I am thinking it boots the recovery partition on the Nitro (like the Revolution) which if replaced with CWM, instead of the LG factory reset, hopefully boots into CWM. This is just a hunch.
[LG Nitro HD] schwin97:
that makes perfect sense... I have two supposed cwm recovery images that I couldn't get to work. I wonder if they would work if I tried this?

I will wait this time though as I have already bricked this phone one time. :-)
[LG Nitro HD] gte460z:
The more I think about it, the more it makes sense! I want to back up my partitions before I attempt it though so it will have to wait until after work tomorrow. I left my data cable at work and I somehow only have a charge only micro usb with me... Hopefully someone can get to it before then though because the suspense is killing me!
[LG Nitro HD] schwin97:
Lett us know what happens...
[LG Nitro HD] gte460z:
I hope bytecode sees this. I am sure he will want to try it out or at least post the new version with the corrected resolution so I can try it when I get home.
[LG Nitro HD] LOSTLOGIC89:
Just tried this on a lg lu6200 and on the cmd it shows that the transfer is complete, but when i turn off the phone then press volume down and power it takes me to a hard reset no cwm.

I just wanted to try it and see if it works, bc i really want a rom that isnt korean (even if i changed the language to english, still dont want it).

Edit:

Forgot to mention : Yes my lg lu6200 is rooted.
[LG Nitro HD] Malnilion:
So you watched the video and continued with the factory data reset when it came up? If it actually reset your factory data instead of booting to CWM, we still have problems.

I think it would make sense if the scary message about resetting data was built into the bootloader. If that's the case, we've been accessing the recovery mode all along lol.
[LG Nitro HD] LOSTLOGIC89:
I confirmed the factory reset, however i am just stock on the lg logo.

I am guessing this might work for the nitro hd, as i tried this on lg lu6200
[LG Nitro HD] Malnilion:
I put the CWM recovery image on my phone and can confirm that doing a factory data reset no longer resets my factory data, so I think the process of entering CWM recovery when it's working will be the same as the LG Revolution video. I think we're getting this figured out!

Unfortunately, I didn't get the graphical glitch (just a black screen) and I was kicked out of whatever CWM was there pretty much immediately. I think I'm going to try the other CWM compilations that have been posted here on our forum.

EDIT, I wasn't using sksm's CWM, so I guess this might be why I haven't been able to get the graphical glitch. I'm not sure how to flash the update.zip that he's provided to mmcblk0p13.
[LG Nitro HD] gte460z:
Exactly the same thing that happened to me. I flashed CWM recovery onto mmcblk0p13, went through the scary message of resetting my phone and I can also confirm that it no longer does a factory reset. I also got just a black screen but I could tell it was trying load CWM because the phone restarted twice. So it absolutely does look like we were booting into recovery this whole time... LOL! We are getting close!

I don't think sksm made his own CWM, I think he used the update.zip posted by bytecode. I too have no idea what to do with an update.zip though without being in CWM.

---------- Post added at 04:21 PM ---------- Previous post was at 04:15 PM ----------

So you copied over the mmcblk0p13 recovery image with CWM and the phone was still able to accomplish a factory reset? That is strange since the factory reset code is kept in mmcblkop13 partition unless it is different for the lu6200.
[LG Nitro HD] LOSTLOGIC89:
It didnt do a factory reset, it was merely stuck on the lg logo.
[LG Nitro HD] gte460z:
Ah, so it looks like it was trying to load CWM for you too but failed. Hopefully, this info will help out bytecode.
[LG Nitro HD] schwin97:
So I can verify that the factory reset takes you into the recovery partition. Why our phones weren't getting reset every time we went into recovery is a bit of a mystery - but I would guess the factory reset writes a value into the tombstone partition (mmcblk0p22) that is queried to determine if a factory reset is called for - /etc/format_first.sh:

more format_first.sh
data_partition=/dev/block/mmcblk0p30
cache_partition=/dev/block/mmcblk0p28
tomb_partition=/dev/block/mmcblk0p22
mpt_partition=/dev/block/mmcblk0p31
drm_partition=/dev/block/mmcblk0p23
temp_file=/tmp_part
/system/bin/dd if=$tomb_partition of=$temp_file bs=512 count=1
format_magic=`/system/bin/cat $temp_file`
echo [[$format_magic]]
/system/bin/rm $temp_file
case "$format_magic" in
"TaMeGlRoF_cIgAm")
echo [[[[[ Format Started ]]]]]]]
/system/bin/mke2fs -t ext4 -b 4096 $data_partition
/system/bin/mke2fs -t ext4 -b 4096 $cache_partition
/system/bin/mke2fs -t ext4 $drm_partition
/system/bin/mount -r -t ext4 $mpt_partition /mpt
if /system/bin/ls /mpt/acc_calibration.dat; then
/system/bin/umount /mpt
echo [[[[[ No Need of Format $mpt_partition partition ]]]]]
else
echo [[[[[ Need of Format $mpt_partition partition ]]]]]
/system/bin/umount /mpt
/system/bin/mke2fs -t ext4 $mpt_partition
fi
/system/bin/mke2fs -t ext4 -b 4096 -N 200 $tomb_partition
echo [[[[[ Format Ended ]]]]]]]
/system/bin/dd of=$tomb_partition if=/system/etc/null_page bs=512 count=1
;;
* )
echo [[[[[ No Need of Format ]]]]]]]
esac

I ran the following commands to update the recovery partition...

1. dd if=/dev/zero of=/dev/block/mmcblk0p13 bs=4096

To clear the partition and make sure that it is using what I load on it.

2. dd if=/dev/recovery.img of=/dev/block/mmcblk0p13 bs=4096

To load bytecode's recovery image

3. reboot recovery

To reboot into recovery mode - the standard process

This is what happens on my phone after this...

If I then go into factory reset and accept I get the same output except the text has moved down below the LG logo...

Therefore, I can confirm that the recovery partition is used for factory reset. I think I can also confirm that the recovery.img from the beginning of this post is not working at all. Hopefully, we can get the recovery image that produced the garbled cwm screen, and move forward from there.

UPDATE: I ran dd if=/dev/zero of=/dev/block/mmcblk0p13 bs=4096 and then reboot recovery - same image as above...
[LG Nitro HD] bytecode64:
i will be posting the cwm config files here so that users with a nitro can help in this regard, also will try compiling cwm with lg provided open source kernel

the new image im working on is based on recompiled kernel and recovery.fstab extracted from original , so most probably it will work , gimme a day , ill test it and upload it

As for the garbled screen , the most probably reason is that the kernel included in the recovery.img is not of the nitro (which includes display drivers for nitro)

Im working on trial and error basis as i dont have hardware to test it
[LG Nitro HD] dbjungle:
Just got a Nitro HD P930 today and I am willing to help test anything as long as there's a way for me to fix any potential bricks.

I have used ADB before, but I don't know it inside and out. I'm not a programmer or developer by any stretch. I can follow instructions pretty well. Currently everything is stock, not rooted. Let me know if I can be of any help. Thanks.
[LG Nitro HD] repherb:
At least we have discovered a permanent unbricking method for all P930's so no-one has to worry about messing with their recovery partition right?? :D (shameless plug with a fact)
[LG Nitro HD] PMad:
Where are we at on this?

From what i've seen, it seems that /dev/block/platform/msm_sdcc.1/mmcblk0p13 is the firmware, at least thats what i gather from here and all other sources on the net.

Also from i've found, replacing anything in any way in that folder always gets reverted back to stock upon rebooting. So changing out mmcblk0p13 with the recovery.img for CWM just gets reverted back to stock, making it impossible to get into CWM.

Anyone make any progress beyond that? Or have i been lead to the wrong folder and wrong recovery file?
[LG Nitro HD] gte460z:
If it had been reverted back to stock then the stock factory reset would have worked. It does not work with the CWM image written over mmcblk0p13.
[LG Nitro HD] PMad:
When it reverts back to stock, this is without doing the factory reset. Whether i use ADB commands, ADB Shell commands, or swap out the mmcblk0p13 file with root explorer, upon rebooting the mmcblk0p13 is reverted back to what it originally was, the file contents and everything.

also any other files that are in that folder are removed, so something during the shutdown/startup process checks that folder and if anything has changed, it reverts it back to stock.
[LG Nitro HD] pokechapp:
I am following this thread very closely. I really hope to see some updates soon as I am really loving the phone but hating the stock LG junk. Some of the features are great and intuitive, but they weigh the whole phone down which is really depressing seeing how this phone is a powerhouse. Root helps but doesn't save me from the sluggish UI.

After reading all of the threads and posts it really seems like there needs to be a super-thread. There are about 3-5 people all working on the same thing and not really communicating. One or two posts are stickied but not all. Ultimately I think that the fact this is an LG is convincing people it is not worth developing for. So the few that are working on it are secluded as they are expecting. However the hardware and timing of this device is gaining more users and we are still all used to working alone. If someone can take the lead on getting CWM on the Nitro/Optimus LTE and compile everything we have found through multiple buyer's remorse returns and warranty claims, we should be able to reduce the number of bricks and progress this project. Preferably someone with access to the devices and a good hold on the dev process. Also if we set up a list of alpha testers we can get results faster.

We can do this if we just combine our efforts. Let's show people that LG phones have true potential when it is recognized.