yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] Rusty!:
Yes you can nVFlash your phone back to life (been there, done that), but you need to get outta this thread, and into the one called something like 'Data Safe Disaster Recovery' for the gory details.
[LG Optimus 2x] japmsn:
Thanks, was there but didn't understand much :o

Anyway, now that you tell me that's the right place I'll go there and read/ask and hopefully my O2X will revive :p

Thanks Rusty!
[LG Optimus 2x] BURNEE:
I've got a huge problem with my recovery, I don't know why but after a rom reflash(I believe) when I reboot into recovery the screen stays black. I can't even connect through ADB to view the screen. I think it crashes on something but I don't know on what. I was on Touch recovery when this happened. I've tried reflashing the CWM recovery through nvflash, rom manager and ADB. I flashed 5.0.2.0 and 5.0.2.8 afterwards with no result, when I flashed 3.0.2.8 I got to see the text Android in orange but then it got to the black screen of death, again. I'm pretty sure re-flashing it will not fix the problem, even tho I haven't tried flashing to stock recovery and then to CWM again. I don't have the stock recovery.img though. I can't be entirely sure what it can be, but any thoughts/advice would be appreciated.

For now my thoughts on fixing it are:

1.Fix permissions - how does one do this without using recovery?

2.Something went when wiping the cache/dalvik cache - highly inprobable.

3.The kernel(im on 2205 harsh) - some kind of bug maybe, the recovery doesn't run on its own kernel - right?

4.Missing files? - My Google Contacts Service disappeared after the flash, so did Google Talk - I had to install them manually without recovery - does the recovery use anything from the ROM? I don't think it does since I've formatted system before and it ran OK, still it doesn't hurt to ask.

5.How does one re-flash the kernel with nvflash without wiping the device, I know that 14 is the recovery partition, which one is the boot.img/kernel one?

6.Maybe a file I can delete to reset the recovery?

I'm pretty sure it loops on something because adb reboot does not work when in recovery, but adb still works(in recovery).

I'm on Owain's 73 I don't think baseband is relevant but I did reflash the rom because of a boot loop after I installed the RIL - I'm on 420.
[LG Optimus 2x] dinmorerbedst:
Well there is an error in the 5.0.2.8 recovery i cant flash the file at all says bad installation.

This will not be fixed as the dev/devs dont care about bugs.
[LG Optimus 2x] Rusty!:
It's not an error with the recovery if you're the only one it's affecting...
[LG Optimus 2x] BURNEE:
1. Okay so re-flashing the kernel is not going to be helpful if the recovery runs on its own one(I've heard/read that with some people the phone vibrates in recovery and it was kernel based, thats why I thought it was running on the same one).

Could still try it tho. So I can reflash the kernel while the phone is booted up like normal in CM9 and it's gonna be running the new kernel after a reboot? :eek:

2. How do I wipe the recovery partition? I guess I want to flash it clean.

3. Every time I boot into recovery the phone just hangs(the screen stays black), adb appears to still be working in recovery(even tho the screen is still black) but I can't reboot the phone through it(adb reboot) - it just hangs when trying to do so(the adb), I can't reboot it through the hardware keys too - only pulling out the battery works. It can't be a display incompatibility like it happens with some other phones - I'm absolutely sure.

My phone works perfectly fine while running CM9.

Thanks :) .
[LG Optimus 2x] Rusty!:
1. Yes, if you use DD to flash a boot image when the phone it running when you reboot it will have the new kernel. You might need to push over a new wifi module to match at the same time.

2. dd if=/dev/zero of=/dev/block/mmcblk0p7

3. Yeah that's an odd one for sure, if it was one version you could maybe understand it, but all of them? I guess it must have worked OK at one point for you to get CM9 on there?
[LG Optimus 2x] BURNEE:
Ye, I've been using CM roms for atleast a year now, this just happened like half a month ago. I'll try what you said once I get home, thanks for the information - it is quite useful for me.

Edit: Wiping the recovery didn't help.
[LG Optimus 2x] korgndm:
I'm still getting the vibration issue on the CWM. I've searched near and far and all over the place and still no-one can tell me WTF is going on, nor why this happens... Only Paul's version @Modaco (4.0.0.5) works with no vibration, but on the down side, will NOT detect the internal SD if there is an external one...
[LG Optimus 2x] aragorn7:
@korgndm, looks like you wrote about this in several places. ;)

Again, thanks Rusty for providing the fix!

http://xdaforums.com/showthread.php?p=27401412#post27401412
[LG Optimus 2x] korgndm:
I know, because I was going crazy trying to find a solution. And with Rusty's help, it has been found here!
[LG Optimus 2x] bekaman:
Cant mount system on cwm

Hi,

Recently i'm experiencing bootloop issue when restarting my phone.

I go to recovery and clear cache and dalvik, but it still bootloop...I then try to recover with my nandroid backup.

But i got the error message "cant mount system' and the recovery process aborted.

I'm able to restore my phone by re install ROM zip.

I wonder what cause the "cant mount system" ? I know this is the cause of bootloop in the first place, but is it hardware related or ROM related issue or even maybe cwm issue?

Im using Temasek kang 121 and still use the 5.0.2.7 cwm version.

Also use temasek OC kernel and v6 supercharger script.

Please give me some light for this issue

Many thanks in advance
[LG Optimus 2x] Rusty!:
Cannot mount system doesn't sound great. If you can't reflash Temasek's kang, you might want to look up a whole NVFlash ROM (v10b is kicking about on here and MoDaCo), as I believe that will repartion.
[LG Optimus 2x] bekaman:
Thanks mate.

So you suggest that i take precaution and revert back to stick ROM via NVflash?

How bout the smartflash method? , i mean which method do you suggest me to do and which one is guaranteed "clean" system of stock?

I thought the latest stock ROM for GB is V20 something....why do you suggest V10B?

Many thanks in advance
[LG Optimus 2x] rajanand:
Look here for if I can help you!!

http://xdaforums.com/showpost.php?p=27534816&postcount=37

Rest Upon you!!/////////

Best of luck!!

plz hit thanks if found valuable!!
[LG Optimus 2x] Rusty!:
Well, if you can't do anything in recovery (format system, install ROM etc) then yeah I would try NVFlash. I suggested V10B because that's the only full ROM avaialbe for NVFlash as I understand it. It's worth trying Smartflash though, it's not like you have anything to lose by trying it.
[LG Optimus 2x] bekaman:
Thanks again mate.

Will prepare for the worst now..NVflash and Smartflash things within reach :D

So far i'm still able to install the ROM zip and then after its successfull reboot....then i can restore my previous nandroid backup from cwm.

Hope i will get another phone before the disaster strike....the mighty android ...(you know what :D)

Regards
[LG Optimus 2x] orbital_71:
rusty, right now i am using v5.0.2.7 so if i flash v5.0.2.8 i won't lose anything in the CWM right? just wanna be sure. tks....
[LG Optimus 2x] Rusty!:
No you won't.
[LG Optimus 2x] orbital_71:
Rusty, i just flash it, but it say aborted. Was it flashable? Or i need to edit myself? Tks.....

Sent from my Optimus 2X
[LG Optimus 2x] Rusty!:
It's not a CWM .zip
[LG Optimus 2x] orbital_71:
Rusty, what the meaning of DD? Sorry will be mine 1st time doing it. Can give some guide? Or someone here guide me and explain..tks alots.

Sent from my Optimus 2X
[LG Optimus 2x] tonyp:
http://en.wikipedia.org/wiki/Dd_(Unix)
[LG Optimus 2x] mkchan:
anyone know how to install this using only terminal emulator on phone? sorry for a noob question...trying dd on phone but got this msg cannot open for red: NO such file or directory..i need your help with this one guys...pc is dead..
[LG Optimus 2x] Rusty!:
su
dd if=/recovery.img of=/dev/block/mmcblk0p7
[LG Optimus 2x] mkchan:
sir rusty just a clarification...

su

dd if=/recovery.img of=/dev/block/mmcblk0p7

where recovery should be change to cwm-ext.img or cwm-int.img?

because i got this message when executing..

/recovery.img: cannot open for read: No such file or directory

thank you.
[LG Optimus 2x] tonyp:
Or just rename your desired cwm to "recovery.img".
[LG Optimus 2x] mkchan:
still i dont know why it doesnt work...still got the message "recovery.img: cannot open for read: No such file or directory"

i extracted the file (cwm-5.0.2.8) in root of sd card and also in phone..what am i doing wrong?

in this code "of=/dev/block/mmcblk0p7" is there anything that i should change?
[LG Optimus 2x] tonyp:
Oh, didn't check the command entirely.

You need to add a path of course. Use the following code if the recovery.img is saved on the root of your sdcard. (Replace sdcard with emmc if it's saved at the internal).

dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p7

You could also navigate to /sdcard first:

cd /sdcard
dd if=recovery.img of=/dev/block/mmcblk0p7
[LG Optimus 2x] Rusty!:
When I wrote it, I just assumed people would run it from the place the file was saved.
[LG Optimus 2x] mkchan:
Thanks sir flash succesfully..
[LG Optimus 2x] pitbullx:
i can not, "cannot open for read.."

i rename cwm-ext to recovery.img and put into External sd card, and even then did not.

What should I do?

Emmc?
[LG Optimus 2x] tonyp:
If you have swapped /sdcard and /emmc then yes, try it with /emmc/recovery.img

If you have no idea what I'm talking about still try it.

If this doesn't help, please provide us EXACTLY what you did from the beginning.
[LG Optimus 2x] pitbullx:
but i do not know what is emmc.

is the first time I do it, i rename cwm-ext to recovery.img and put into External sd card, open terminal emulator, I wrote "dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p7" and "cannot open for read.."
[LG Optimus 2x] Rusty!:
did you su first?
[LG Optimus 2x] pitbullx:
yes. i did SU.

"su

dd if=/recovery.img of=/dev/block/mmcblk0p7"

but is cannot open for read.
[LG Optimus 2x] manic77:
error formatting /data of size 4GB

hi guys,

i have partitioned my phone as per the guide written here

http://www.modaco.com/topic/347246-guide-changing-the-size-of-your-partitions/

i created data with size of 4 GB. and started using phone for few days,.

i did backup of phone using nandroid in CMW 5.0.2.8 successfully.

i faced signal issue with radio v10b and decided to replace with radio v10d. did flash successfully and it wiped out all the data.

now, i tried to restore using nandroid, and received the error

error formatting /data

is it due to the size 4GB? do i need to keep it less than 2GB in order to use nandroid in CMW?

can someone explain? is it problem with CMW or limitation or will it be fixed in future releases?
[LG Optimus 2x] dietoro:
ClockWorkMod Recovery 5.0.2.0

I know that's strange but the only one cwm that works fine for my p990 is ClockworkMod Recovery v5.0.2.0
[LG Optimus 2x] Rusty!:
Define 'works fine' ?
[LG Optimus 2x] dietoro:
only ClockWorkMod Recovery 5.0.2.0 works on my p990

the others won't install or if so rebooting disappear leave the 5.0.2.0 version. Iussue with touch version that cannot mount regular on windows
[LG Optimus 2x] Striatum_bdr:
Hi,

I have a strange problem:

- twrp 2.2.0 installed this morning tried to flash a zip using Goo Manager and its script flashing system.

- the phone reboots, teamwin image appears then nothing: stuck on this image without access to recovery, and normal boot leads to ... recovery. So recovery bootloop.

- adb unusable (no permission)

I used nvflash Rusty!'s tool to reinstall cwm.

When booting in recovery I've got the first then second LG logo, then.... black screen.

Phone normal boot was gladly restored, so I tried to flash cwm through adb, with ROM manager: same thing, when booting in recovery black screen after the two LG logo pages. Twrp install also fails.

I suppose that I could use nvflash to flash an entire factory system and so on, but do you guys see another solution ?

Thanks
[LG Optimus 2x] mkchan:
su

cd /sdcard

dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p7

---------- Post added at 03:50 PM ---------- Previous post was at 03:41 PM ----------

try using terminal emulator in flashing cwm..less hassle and safe i guess..

nvflash mod by rusty doesnt erase your data as far as i remember since it will only flash cwm...and btw i got soft brick too flashing twrp..lol
[LG Optimus 2x] Striatum_bdr:
Hi,

same result, entering recovery leads to black screen. Thanks for the suggestion anyway. nvflash procedure was mandatory as I was stuck in non-working recovery. So it at least restored the normal boot.

I forgot to say that I modified my partitions using nvflash some month if it's relevant (only system, data and cache so shouldn't interfere but who knows)
[LG Optimus 2x] Striatum_bdr:
Finally got bored and nvflashed an entire v10b with cwm included, problem solved.
[LG Optimus 2x] aigaming:
Can cwm 5.8 read backups made with 4.0.1.5 version?Tnx
[LG Optimus 2x] Rusty!:
That's not what he asked.

Yes v5 can use v4 backups, just not the other way around.
[LG Optimus 2x] shinee_melancholy:
Nice dude,works perfect for installing my first custom ROM on my O2X. Not yet tried to backing up data though.

Just a problem,i failed at first bcoz the LG driver hasn't installed yet and voila....my phone suddenly feels like new coz it lost all the data on it when I tried to boot up recovery (power+vol down)..lol

Maybe u can add "How To" install this in 1st page to maybe a noob like me wont accidentally lose precious data. In my case i'm lucky I backed up my data first

Anyway thanks 4 the good work ^^
[LG Optimus 2x] aigaming:
Tnx Rusty,you got what i asked for ;) :good:
[LG Optimus 2x] baliriot:
oops :o ... sorry for the wrong info... :eek:
[LG Optimus 2x] shinee_melancholy:
Help...failed when make backup...failed when backing up /data!
[LG Optimus 2x] Luk_Optimus:
When I run the .bat file

It says:

* daemon not running. starting it now on port 5037 *
* daemon started successfully *
error: device not found
error: device not found
error: device not found

System Win7 64 bit
[LG Optimus 2x] Rusty!:
ADB can't find your phone.

Either you don't have USB debugging on, or you don't have the drivers installed.
[LG Optimus 2x] penninajx:
Same error here. Super frustrating. Any fix for this?
[LG Optimus 2x] Rusty!:
It's not something that's really fixable since its only happened to two people.

Are you using EXT3 or EXT4?
[LG Optimus 2x] penninajx:
Hey Rusty, thanks for the reply.

I'm using ext4 - I've successfully made backups as recent as a week ago. What other information will help you troubleshoot? Really appreciate the help :)

I've attached my log as well, if that will help you.
[LG Optimus 2x] orbital_71:
hi, can someone down over here which had use terminal emulator to flash the recovery. pls show me a actual guide. tks...noob here
[LG Optimus 2x] Rusty!:
You're using the P999 version?
[LG Optimus 2x] orbital_71:
i extract the zip in the root of my sdcrad. And change mine cwm-ext.img to recovery.img. And su then dd if=/recovery.img of=/dev/block/mmcblk0p7 but it say can't find the directory for it? where did i done wrong rusty? tks
[LG Optimus 2x] Rusty!:
try cd /sdcard before dd
[LG Optimus 2x] orbital_71:
rusty, i try cd /sdcard but still fail it say cannot open for read: no such file or directory.....any idea? tks
[LG Optimus 2x] Rusty!:
oh wait, i see the problem.

no / in the if part.

dd if=recovery.img not dd if=/recovery.img
[LG Optimus 2x] orbital_71:
PATH=/data/local/bin:$PATH <

app_38@android:/ $ su

app_38@android:/ # cd /sdcard

f=/dev/block/mmcblk0p7 <

7180+0 records in

7180+0 records out

3676160 bytes transferred in 2.023 secs (1817182 bytes/sec)

app_38@android:/sdcard #

Rusty, Am i done?

Sent from my LG-P990
[LG Optimus 2x] Rusty!:
You are, assuming the half missing dd command is just poor C&Ping.
[LG Optimus 2x] orbital_71:
finally got it!! tks rusty for the help....just 1 last question if i transfer mine back up from external sdcard to internal will i be able to restore it?
[LG Optimus 2x] Rusty!:
Only if you use the 'internal' recovery.
[LG Optimus 2x] TrymHansen:
...or use the "restore from internal sdcard" in the Backup and Restore menu ;)
[LG Optimus 2x] Rusty!:
Oh that got added did it? Cool :D

It's fun not owning the phone you've produced things for lmao
[LG Optimus 2x] orbital_71:
Hi rusty or someone here. Mine question is how to make mine backup to internal mnt/mmc. I had try both the int and ext cwm 5.0.2.8 but it still backup to removable sdcard. Tks.....

Sent from my LG-P990
[LG Optimus 2x] TrymHansen:
Under "Backup and restore" there's an entry "backup to internal SD-card". Use that.
[LG Optimus 2x] stonebear:
Can't download it "Access Denied".

Found this though. :)

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

Just in case anyone needs it.
[LG Optimus 2x] Rusty!:
Found this on Jenkins... 6.x touch recovery...

http://jenkins.cyanogenmod.com/job/recovery/3125/artifact/archive/recovery.img
[LG Optimus 2x] orbital_71:
For P990 ?
[LG Optimus 2x] Rusty!:
Obviously lol
[LG Optimus 2x] orbital_71:
Rusty, i try the one from Kashamalaga it can't read mine sdcard. What about this one? To use it same flash it DD right? tks
[LG Optimus 2x] Rusty!:
Yeah same process, that will never change.
[LG Optimus 2x] orbital_71:
Rusty, stll the same for yours can't read mine sdcard. " E: Can't mount /sdcard " It only can read mine internal sdcard. Any idea?
[LG Optimus 2x] Rusty!:
It's possible your SD card is set as mmcblk1 instead of mmcblk1p1

Check your mounts in a terminal
[LG Optimus 2x] orbital_71:
How? I never try before. Tks

Sent from my LG-P990
[LG Optimus 2x] liderzre:
In recovery my phone vibrating ?!

What i do wrong?

Thanks

Edit:

I flashed this:

http://xdaforums.com/showpost.php?p=27439470&postcount=37

my p990 works with touch recovery with no buzzzzzzz :)
[LG Optimus 2x] Rusty!:
I guess 'mount | grep fat' would show it.
[LG Optimus 2x] orbital_71:
Rusty, i don't understand when i use ur 5.0.2.8 it can read both. But this touch only read the internal emmc/mnt not the mnt/sdcard. Tks

Sent from my LG-P990
[LG Optimus 2x] Rusty!:
No idea, i didn't build it and have no way of testing it.
[LG Optimus 2x] orbital_71:
Rusty, would you be making one like 5.0.2.8 for this touch 6.0.1.1 that it work for both internal and external? Tks

Sent from my LG-P990
[LG Optimus 2x] aaaadrian:
I do not succeed to install 5.0.2.8. (external). I do all steps but in the end in ROM Manager version of CWM is still 5.0.2.0. and it does nor see my external SD.

I also did the commands from the bat file manually in a DOS window in ADB (removed windows from each commmand), apparently they were fine:

adb push cwm-ext.img /data/local/

adb shell "su -c 'dd if=/data/local/cwm-ext.img of=/dev/block/mmcblk0p7'"

adb shell rm /data/local/cwm-ext.img

Result is the same in ROM Manager version of CWM is still 5.0.2.0.

Is there another way of flashing cwm-ext.img?

I have to say that everithing was ok, I had a working version of ROM Manager and CWM but I updated to ROM Manager 5.0.2.1 and CWM 5.0.2.0. and now I can't use sd card for back-up/recovery.

Any advice would be welcome.
[LG Optimus 2x] jerichoo:
aaaadrian, i have same issues with 5020 and 5021. I use 5.0.1.0 and everything is ok.
[LG Optimus 2x] kt-Froggy:
Don't worry about the version that is displayed in ROM Manager... What version do you see when you actually boot into recovery? Mine is definitely 5.0.2.8, while ROM Manager says "current version is 5.0.2.0". Installed it from the package in the first post using a batch file, and it sees both cards just fine - I backed up and restored different ROM versions, as well as installed ZIP packages from both internal and external SD using CWM.

The only issue I have is that sometimes (not often, but it happens) the External SD card doesn't get initialized properly on boot, and is unavailable either under the OS, or under CWM. Quick fix is to either remove/reinsert the SD card, or do a reboot. I don't know whether it's a problem with the SD card or the phone itself, but it doesn't bother me very much...
[LG Optimus 2x] AngelOfMors:
5.0.2.8

After backup - Date & DIr name placed on one month less
[LG Optimus 2x] orbital_71:
Rusty, the latest CWM 6.0.1.5 touch still can't see mine external sdcard. I saw a method actually for Galaxy S2. Whether it will work on our device? Tks

1) go to your's phone's file manager

2) create a folder named external_sd in /sdcard/ (you have to make this folder to mount sd card in /sdcard/ !!!

3) inject this command in terminal

Code:

busybox mount --bind /mnt/emmc /mnt/sdcard/external_sd
[LG Optimus 2x] Rusty!:
It might, try it and see.
[LG Optimus 2x] orbital_71:
But what i am afraid it might corrupt mine data. Will it?
[LG Optimus 2x] Rusty!:
I don't know, I've never tried it.
[LG Optimus 2x] blu3angel:
Previously I was using version 3.0.28 before flashing 4.0.0.2.. Still the same error when doing a backup.. I've then reverted to 3.0.28 and all was fine again...
[LG Optimus 2x] ludow:
Can't mount /data with all Rusty's versions (external). When trying to backup.

Must be error on script? Or invalid user. :o

udK's version 3.2.0.0 (external) is working.

I am using latest Slick ROM.
[LG Optimus 2x] djmcnz:
Hmm... I'm using 4.0.0.2 External and have no problems with backup or restore, both CM7 and MCR.
[LG Optimus 2x] temasek:
I'm on my own self compiled CWM4.0.0.2 also no problem although my img size is slightly bigger than Rusty!'s version.
[LG Optimus 2x] Rusty!:
Well this is quite bizarre, must be something common with those that can't mount /data. Not sure how to find what though.

Temasek, might be worth posting yours for comparison, although I'll assume they're the same (un-modified).
[LG Optimus 2x] temasek:
Okay...I'll upload in a second.

EDIT: Here is my compiled version, CWM 4.0.0.2 (external only). Those who unable to mount /data, u may wanna try this. I find quite bizarre myself cuz, Rusty!'s compiled version and mine should be the same but our img are different in size.

Test includes nandroid backup, full wipe including /system, nandroid restore. - ok :)

EDIT: My uploaded zip something wrong...I'll check and re-upload :D
[LG Optimus 2x] ludow:
This is bizarre indeed. It seems I can't install temasek's version over udK's 3.0.0.2, unless your version (temasek) shows erratically same version as udK. :p
[LG Optimus 2x] temasek:
It meant u did not successfully flash the new cwm. Possibly was aborted or something. Hence your old recovery is still there.
[LG Optimus 2x] ludow:
I tried twice with phone reboots. I'll reboot my PC now and continue trying...:)
[LG Optimus 2x] temasek:
My zip seems to be something wrong. I'll check and re-upload. LOL :D

EDIT: LOL :D ***embarrassed ***

I changed the filename and did not edit properly :)

Now re-uploading to my mediafire sharefolder

EDIT: - Okay, here is my compiled CWM4.0.0.2. Pls try this if there is any difference from Rusty!'s

http://www.mediafire.com/download.php?dm8kkj9masc4hcz
[LG Optimus 2x] ludow:
I got one error running in Admin command prompt:

C:\Users\xxxxxxxx\Desktop\LG\Recovery\cwm4002-ext-p990 (1)\cwm4002-ext-p990>adb-wi

ndows shell rm /data/local/clockwork-ext.img

rm failed for /data/local/clockwork-ext.img, No such file or directory

Sorry for partial paste only.

EDIT: Can't mount /data.......time to reflash maybe.
[LG Optimus 2x] temasek:
LOL :)

I should have just rename my img to Rusty's filename than editing the bat files. I forgotten to rename another file. But your recovery should have been flashed fine.

I'm uploading another release. This time should be ok.

Damn! WTF am I typing...........rofl :p

EDIT: Oh u can't mount /data also??? Hmm so nothing different between Rusty! and mine since we both compiled unmodified from koush's sources.

Oh well, mine and Rusty! is working fine :(

Anyway here is my I THINK IS FREE OF TYPO ERROR release

http://www.mediafire.com/download.php?po6pwtry37nbbfv