yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] svein01:
Glad you found this to be true in your case :) Been struggling with a bricked P990 for a few days now that errs out when nvflash tries to flash a new bootloader. Will definitely try this tool when I get home tonight and see what I find. Crossing my fingers here :)

[EDIT] No dice. Still bricked. Happy for any input here; I'm clueless at this point. Seems I've tried everything the internet can suggest. Can't even read the partition table from my phone; can't download bootloader; always errors. Full info at http://xdaforums.com/showpost.php?p=34754117&postcount=38 [/EDIT]
[LG Optimus 2x] spyrosk:
Noted.

Maybe in next version I will include different system sizes for the user to select.

But for now you can always edit the .cfg file (gb-large.cfg or ics-partitions.cfg) under ToolKitFiles\nvflash folder.

Search for the partition named APP and change its size to 780140544 (744*1024*1024).

Note: This is enough for old layout (gb-large.cfg). For ICS one (ICS-partition.cfg) since all partitions are sized (in contrary with OLD layout that UDB partition is set to 0xFFFFFFFFFFFFFFFF which means all the rest)

you have to reduce UDB size

(internal SD) by the additional size you added in APP partition.

So for this example you have to reduce UDB by (744-512)*1024*1024 = 243269632.

Have in mind that you are not gonna have this system size available if you flash one of the current ICS NVFlash ROMs because their system.img is 512MB.

The whole 744 size will be avalable only with ROMS that are flashed with CWM zips, which don't have a system.img inside but a system folder.

OR

After you flash an nvflash ROM make a nandroid backup, resize the partitions and restore the backup (I haven't tried it but it should work)
[LG Optimus 2x] solrakk6:
can you add the bootloader install?! old and ne, may be useful after flash ics via smart flash ie
[LG Optimus 2x] spyrosk:
I am not sure I understood.

Which new and old? You mean the GB and the ICS one or the ICS locked and unlocked one?

The new unlocked one is usefull in case you want to be able to boot in a cwm recovery and it is flashed in rooting option along with the recovery of your choice.

What would be the reason to flash only the bootloader.
[LG Optimus 2x] SuperSkill:
Great tool, but is it only me who can't extract the bin file? Thanks

Sent from the new smoothly LGP990
[LG Optimus 2x] spyrosk:
I just uploaded an update v.1.1

It fixes a weird bug in BIN Extractor that it's not working, when the full pathname of the BIN file contains parenthesis ( ) either in a parent folder or the name itself.

If you already have downloaded the v1.0 just download the updated-script attached in post.

EDIT: It is a batch scripting bug.

I had used conditional “IF something DO (….) ELSE (….)” in BIN extracting script, to extract all partitions or just one. A BIN file’s pathname with parenthesis breaked the IF ELSE condition. Batch just s***ks
[LG Optimus 2x] SuperSkill:
I got it working last night, so this is my reply, I got another output on the bin file :)

Thanks for updating

Sent from the new smoothly LGP990
[LG Optimus 2x] ValentineCrow:
Internal SD

Hey, I really like your ToolKit. I've been messing around with it, but I have one problem (not sure whether it lies in your ToolKit or me being stupid). After I flashed to a rooted ICS leak a few days ago, I wanted to revert back to CM10 (to check out the in-call-bug fix). Now, it seemed to me that your toolkit would come in handy to revert back to the old bootloader and partition layout. At first i was messing around with CWM: I couldn't mount my SD to flash a CM.zip. It seems that only the older CWM version (1st option in your menu) lets me mount the SD. Ok, so I was able to mount my micro-SD again and I flashed the rom, gapps and the fix. After booting, my phone didnt recognize my internal nor external SD; after connecting to USB, my computer only showed my micro-SD, but when I entered it, it seemed empty. The internal storage isn't recognized by my computer at all. I tried some other tools to flash a few different roms but I ended up reverting back to the ICS-leak I was using in the first place: then both the internal and external storage were recognized again (with no loss of data on the micro-sd).

Well, I'm no developer at all but I read some things about formatting the internal storage; could it be that, after repartitioning, your tool doesn't format my internal storage partition and that this causes mounting problems? I tried formatting it manually through ADB, but it didn't work (probably because my ADB/linux s*ck).

Maybe you have any idea to help me out here (: Thanks in advance
[LG Optimus 2x] caldo:
Thank you for this great tool!
[LG Optimus 2x] spyrosk:
Repartitoning uses nvflash to recreate all partitions again and nvflash wipes all partitions including internal SD for sure.

where your CM.zip was? In external or Internal SD? 1st option should be the cwm-5.0.2.8-ext.img. That recovery mounts the external SD by default.

Could you give me more details of what exactly you did step by step? Somewhere I lost you.

1) you repartioned to old layout

2) which cwm did you choose?

3) Your CM.zip should be in your external SD because internal would be wiped.

I would also suggest that if you have a nandroid backup of a previous CM ROM try to restore it first, make sure that everything is working as it should and then flash the newer CM you want. Maybe the problem with SD cards is in the ROM you are trying to flash.

Please let me know
[LG Optimus 2x] solrakk6:
can i root the 30A with the root toolkit option??!

---------- Post added at 08:45 PM ---------- Previous post was at 08:28 PM ----------

exactly
[LG Optimus 2x] spyrosk:
I tested it with V28G and it worked. It should work with 30A also
[LG Optimus 2x] maxambro:
Probably I don't need option6...I will:

- I'm in CM10 Nightly (old bootloader);

- with option 7 I will flash 30A baseband (P990_V30A_00_CP.fls);

- with option 4 I'll change partition to new;

- with option 2 flash Carburano DJANGOMANOUCHE X 1.1.

Is it the correct flow?

Many thanks!
[LG Optimus 2x] majoortje:
Yes, that should work :) good luck with django manouche x
[LG Optimus 2x] spyrosk:
You don't need option 2. It works only on a running system.

After option 4 enter recovery and install DM X1.1
[LG Optimus 2x] Dimitris CH:
Spyro, I used your tool for the first time today, coming from CM10 nightly on the old bootloader.

I used option 4 to flash the new bootloader and then it could not mount the internal SD card. Then I also did option 8 (just in case, but I think this was irrelevenat) and still could not see the internal SD card.

Then I inserted and external SD card and it can see this one, but it still can't see the internal one.

Is this normal?

Thanks. :)
[LG Optimus 2x] spyrosk:
In recovery mode it could not mount the internal SD card?

If yes then it is normal. While repartioning NVFlash wipes internal sd too.

So install the ICS ROM from the external SD. First-boot of the ROM will fix internal sd too.

ONLY CMxx ROMs on OLD bootloader do not fix the internal sd mount automaticaly, that's why I have the extra CMxx_IntSD-Mount-Fix_AfterRepartitioning.zip to install right after ROM install.

New CM10x ROMs on NEW Bootloader fix this automatically

I just updated OP also.
[LG Optimus 2x] lopiop:
hello guys, ive just smartflashed v30b using the toolkit and was wondering how should i root the rom and install a custom recovery? when do i need to unlock the bootloader? thx in advance
[LG Optimus 2x] kt-Froggy:
Three steps you need to do:

1. Install unlocked bootloader

2. Install CWM

3. Root your phone

Basically, you can go ahead and use this tool to install the unlocked bootloader and the CWM (option 8) -- it will work for V30B as is, with no changes. After you are done with it, you can then flash a superuser zip from CWM, which will get you rooted. Mission accomplished. :)

Getting just a root, while keeping the original (locked) bootloader and the stock recovery is a bit different... Some people (myself included) prefer this option for the time being. I just went through this (successfully), and will post an update shortly.

Edit:

Actually, I just found out that all three steps listed above can be done in one shot by the AIO Tool using option 3. :) Just follow the prompts.

Edit 2:

Those people who want root only, with stock bootloader and recovery, look here. :)
[LG Optimus 2x] ron_gangte:
Thanks for the awesome All-In-One Toolkit!! ^_^

Merry Christmas, everyone! :)
[LG Optimus 2x] Dimitris CH:
Thanks a lot, I confirm that after doing the job with the external SD, now the internal one works as well. :fingers-crossed: :good:
[LG Optimus 2x] tonyp:
Okay, during the last days I finally used your AIO ToolKit and got a couple notes & ideas:

First of all: This tool is excellent! I sent a request to it getting stickyied as it's truly an AIO tool and thus well deserved

I used Win8 x64 so I can confirm that NVFlash does indeed work, but it does require a couple things:

You need to disable the driver signature enforcement. For that you need to do an advanced reboot.

Easiest way: Hit Win+R, type the following command and hit enter:

shutdown -o -r -t 0

Suggestion: The tool could print the instructions and offer to do the advanced restart

Click ‘Troubleshoot’.

Click ‘Advanced Options’

Click ‘Windows Startup Settings’

Click Restart

After the restart choose the option ‘Disable driver signature enforcement‘

Done, after the startup you need to install the APX drivers.

Either use the installer which is included in the AIO package or open the Device Manager, doubleclick the unknown (apx) device, hit update driver, choose the path and direct it to the driver within the extracted AIO toolkit path

I'd like if the option 8 could get splitted - aka a new option that does only flash a recovery.

Just the same as Rusty's disaster recovery flasher: http://xdaforums.com/showthread.php?t=1229407

(Option 8 could still offer to flash a recovery after the bootloader).
[LG Optimus 2x] spyrosk:
Merry Xmas to everybody !!!

Thanks a lot Tony,

for sending the request to become a sticky one,

and of course for your valueable and welcomed suggestions. I do have some instructions for the drivers in Win8 in OP because it is an "one time" thing to do, but this idea of yours is excellent. I should include a general page menu then for general issues and one time actions like this, printing also is needed since after restart you no longer see the instructions.

Now about flashing only a recovery, doesn't it need an unlocked bootloader to boot into it? At least this is what I thought. Unless you mean for both layouts.

Option 3 "Root your stock ROM" flashes your preferred recovery for both layouts. You can just skip the SuperUser part if not needed.

I just downloaded Rusty's recovery and checked it out. It nvflashes a recovery image only too.

Edit: Maybe I should change option's 3 header to "Flash your preferred recovery (with nvflash) and Root your Stock ROM if needed."
[LG Optimus 2x] Patrick Morgan:
Congrats on becoming a Sticky, very well deserved indeed. ^.^
[LG Optimus 2x] orbital_71:
Gd sticky mine fren spyrosk dun get stick on overnight for the tool :p
[LG Optimus 2x] tonyp:
No problem - the mod agreed and you got the sticky :)

Regarding the recovery:

Yes, I "just" wanted the ability to nvflash the recovery

If you somehow end up with a broken recovery it's an easy way to switch e.g. between CWM 5, CWM 6, TWRP etc.

Or you could use it if you're on a recovery where usb mounting doesn't worrk, but you need to mount the sdcard to your PC to transfer a new ROM etc.

Btw, great way of implementing this tool. I put another recovery (6.0.2.5. for the new BL) into the folder following your naming scheme - and I got an additional list entry within the tool to choose it :)

Oh and with "printing" I didn't meant to physically print it, only to show (aka print) the instructions to the console and offer to do the advanced restart :D
[LG Optimus 2x] spyrosk:
Hi Tony and thanks again.

The ability to nvflash a recovery is already implemented in option 3 as I mentioned. I will just change the title to be clear to everyone. I will also change the instructions accordingly.

Wow new cwm versions perfect!! Now you mentioned the cwm,

I made a script fixing the intSD mount bug via adb in recovery modd (we talked about it), BUT both cwm 6.0.1.5 for old bootloader (touch and not touch) do not have adb enabled as I remembered. Confirmed some minutes ago.

So I guess I'll stick with the flashable zip instead. Or can someone "fix" these recoveries?

For the time being I'll make this mount-fix zip "smart" and "harmless". It will check partition layout and will format the internalSD only if needed to avoid formatting wrong partition if flashed when not needed by mistake.
[LG Optimus 2x] spyrosk:
Or You can use the recovery's usb mass storage to do the restore.

Sorry I had forgotten this option when I replied to you the first time.
[LG Optimus 2x] SuperSkill:
Congratulations with sticky spyrosk :)

I was scrolling up and down to find your tread with my cell. My patience disappeared so I went to my mailbox to find you, then I saw you got AIO sticky. Well deserved mate, and never hesitate to ask me testing again:)
[LG Optimus 2x] spyrosk:
Now sticky yes, all thanks to TonyP.

I will not hesitate my friend, lots of changes are coming so be sure of that.

Thanks again:cool:
[LG Optimus 2x] blaex:
great tool, thanks for sharing :good: !!!!
[LG Optimus 2x] tonyp:
No no no no, I won't accept the "all thanks to tonyp".

I just PMed a mod and recommend this thread to become stickied. There's no need to mention me at all.

You were the one who developed this great toolkit in the first place.

So pretty please, don't thank me but yourself.

All thanks to you! :)

You can and should feel proud about getting a stickied thread in the development section.

It's well deserved.
[LG Optimus 2x] spyrosk:
I really appreciate your nice words.

It will be my pleasure then (and duty) to keep on developing it and keeping it up-to-date with new stuff (let's hope we'll have new stuff).

I have a lot of ideas and users' suggestions yet to implement.

I am glad that it turned out to be more handy and helpfull than I ever thought.
[LG Optimus 2x] grean:
hi please insert this command to backup/restore data on nvflash only ICS partition

\nvflash.exe --bl fastboot.bin --read 17 custom_data.img

restore data ICS

\nvflash.exe --configfile ics-partitions.cfg --bl fastboot.bin --odmdata eks.dat --sync

.\nvflash.exe -r --download 17 custom_data.img

.\nvflash.exe -r --go

byeZ
[LG Optimus 2x] pankajpvr:
need guidance

hei friends,.....

i m already on new ICS bootloader and using DM KOB X1.0

as my wait is over for CM 10 call bug free,....

i have downloaded latest cm10 MIUIv4(new bootloader) and latest gapps and CMxx_IntSD-Mount-Fix_AfterRepartitioning.zip file

i m confused with CMxx_IntSD-Mount-Fix_AfterRepartitioning.zip file how n when it to use.......

please provide me step by step to use this rom........!!!!
[LG Optimus 2x] spyrosk:
For now it fixes the Internal SD mount-bug in CMxx ROMs on Old Bootloader Only.

DO NOT Install it when on New BL.

CM10 ROMS on New BootLoader fix mount bug automatically, but I have no idea if MIUI ones do.

Anyway if you boot with this ROM and have no inernal-SD issue then don't bother. But report back anyway for letting me know.

BTW: A new zip will be available later that works on both layouts.

Edit: New IntSD-Mountfix.zip is already attached in OP.
[LG Optimus 2x] pankajpvr:
thnx for cmxx info i was really confused about this file and i falshed it by mistake......

now phone is freeze on start up lg logo....

i hope re-installing new ICS BL may fix this....

plz correct me if i m wrong....i m just noob
[LG Optimus 2x] spyrosk:
You need a full wipe. Your data partition is corrupted.

If it doesn't work, use option 4 again.
[LG Optimus 2x] spyrosk:
Stock locked new bootloader needed

Guys,

Among other things, I am changing option 8 to Change between Stock and Unlocked New BootLoader

I extracted bootloader from v30A bin file, but flashing it to phone never finishes. I don't know what's wrong

If anyone has it, can he upload it for me please?

thanks.

PS. I need my phone working and I don't have the time to smartflash the whole Stock ROM to get it.
[LG Optimus 2x] cmahendra:
great tool. worked accurately.

Thanks a lot Spyrosk. This tool is really great.

The Root option and update SUxxx.ZIP of this tool, did three things on new V30B ROM and worked perfect in single attempt

1) It Rooted the phone

2) It replaced the stock bootloader with unlocked bootloader.

2) It installed CWM6 with SU.

Really easy to use and did what you said.
[LG Optimus 2x] kt-Froggy:
I had the same problem... I wanted to root V30B, but keep the stock BL. So, my plan was: flash stock ROM -> install unlocked BL and CWM -> root -> flash back stock BL and recovery. Everything seemed to work, except flashing back the stock BL. That's why I ended up rooting V30B by nvflashing updated system.img (which I backed up in the process)...
[LG Optimus 2x] devangx5:
Super awesome AIO toolkit there... Thanks Spyrosk.

Just pressing/selecting option 3 in the toolkit rooted my phone, detected the partition layout, installed the unlocked bootloader, and then all I had to do was install the SU Binary from the SDCard using CWM!

EDIT: I used the toolkit on the v30B LG ICS Stock ROM (which I installed through the LG PC Suite over v30A European Stock ROM).

Appreciate the work that you are doing. Thanks!
[LG Optimus 2x] SGCharan:
Error :

Hi Spyrosk,

I was in Cm10- nightly-20121220 and i did both options 4 and 8 from your tool. when i switch on its stuck at LG logo. I went in recovery v5.0.2.8e and tried to install , cm-10-20121224 zip but it says

assert failed: getprop("ro.product.device") == "p990" || getprop("ro.build.product") == "p990"

E:Error in /sdcard

(Status 7)

I am a newbie .. please help ..:(
[LG Optimus 2x] spyrosk:
cm-10-20121224 is an official CM ROM that works on OLD Bootloader and partition layout. or the unofficial for ICS Bootloader?

Probably you have changed to wrong layout and bootloader. Am I correct?
[LG Optimus 2x] SGCharan:
Sorry Spyrosk... i didnt mention clearly... itried installing cm-10-201224-UNOFFICIAL -p990 zip from pengus77's thread

EDIT : I installed DM 1.1 stoc rom.. it installed correctly !
[LG Optimus 2x] spyrosk:
OK, run again option 4 and change to new ICS partition layout, to do a full wipe just in case.

Then follow pengus77's instructions.

He says that you have to install another recovery (attached to his OP) and a custom ICS based ROM first (like carburano's, or Civvato's) then boot and then flash the ROM.
[LG Optimus 2x] SGCharan:
yes! i missed the recovery step from pengus77's instructions.. now everything works fine..! thanks for your attention and help!!
[LG Optimus 2x] mr_dan:
hi... i have troubles installing APX drivers.. installation just fails miserably giving me nVidia corp - installation failed ... what should i do?
[LG Optimus 2x] bujcri:
Are you on Windows 8? Try to follow post 190 from this very thread to ‘Disable driver signature enforcement‘

http://xdaforums.com/showthread.php?p=35868713&highlight=driver+win+8#post35868713
[LG Optimus 2x] wals46:
Here is 30A bootloader. It is a nvflash backup of my italian online update but it has the same md5 of the file 3 extracted from AP.bin file and has the same md5 of 30B bootloader.

Thank you Spyrosk for your tool.
[LG Optimus 2x] PYCON:
Sorry for a little stupid question...

There's a way to restore my TWRP backup with new 6.0.2.5 ( 23/12/2012 ) recovery ???
[LG Optimus 2x] spyrosk:
Thank you for sending it.

I checked MD5 with mine extracted from AP.bin too and indeed have the same MD5.

You do have flashed this with nvflash. Have you?

I'll try it now and report back.

Edit:

Same results

| 1507328/1572864 bytes sent

just stops few bytes before it's full size.

Any idea?
[LG Optimus 2x] trocopassu:
Hummmmm...you can try my Portuguese file from v30A???!...

Good Luck!
[LG Optimus 2x] Mafs:
Thank you very much for this awesome tool.

Helped me get the needed SmartFlash files to flash the new V30B on my O2X.

Working great.
[LG Optimus 2x] wals46:
That 30A file was updated online by italian LG, I made a nvflash backup for myself.

Sorry that I gave you and additional problem instead of a solution.
[LG Optimus 2x] spyrosk:
Having in mind your post above, I thought you NVFlash the stock bootloader. I didn't remember you wrote 'I smartflash the original ICS', that's why I asked you to send it.

I guess you did.:laugh: So changing between bootloaders will be on hold until a solution is found.

BTW: I am currently working on nvflash Backup/Restore options
[LG Optimus 2x] Impact7:
Got a problem with smartflash.

When I want to start it, i can't hit the "start" button. Do I maybe need new drivers, as 'com port' is not filled.

I tried some drivers but it doesn't work. I use Win8 .

EDIT:

I was 2min too fast^^

Searching automatic for drivers was successfull.. who would think windows is that intelligent.
[LG Optimus 2x] spyrosk:
When you enter smartflash mode (VOL- and pluging it) do you see the S/W upgrade screen?

Open device manager and see if there is any device marked in yellow. If yes then you need drivers.

The official LG Drivers are signed and should install in Win8 without problem.

Go to LG site support and download the latest ones for ICS (version 3.8.1 I think)

Which other drivers did you try?

Edit: And me two mins late
[LG Optimus 2x] SuperSkill:
Spyrosk, I saw a small discussion in civatos tread about where to extract your amazing tool......you said it can run from everywhere. Remember when I had issues and a bug was discovered (1.1 I think). To me it worked after extracting it to c:

I'm not saying this is the solution(changed hdd too at the time) , but I would strongly advise all flashing from main disc(in its folder). I've actually noticed flashing both nv and smart working from main disc but not secondary, both extracted using same the same tool(7zip) just wanted to share my point of view bud :)
[LG Optimus 2x] spyrosk:
It was fixed in v2.0.

You can move it wherever you want.

Do it and run the same tests you did in v1.0 & v1.1

Thanks
[LG Optimus 2x] zic1:
Hello,

I have same problem with smartflash on ICS. With GB Rom's everything was fine. Right now I am using Topogigi's latest V30a rebuild and when I remove battery, press vol +/- and plug usb cable my device manager on Win7Pro/x64 found NVIDIA USB Boot recovery driver but S/W upgrade screen is not showing on phone's screen. Also, when I start smartflash COM port is not filling. I tried this with latest LG v3.81. drivers and previous v3.7.2. without success. Any help will be welcome!! Thank you in advance!
[LG Optimus 2x] spyrosk:
press vol +/- and plug usb cable , found NVIDIA USB Boot recovery driver ? This is nvflash mode.

SmartFlash needs S/W upgrade mode by pressing only VOL- and pluging it.
[LG Optimus 2x] zic1:
Hello!

Many thanks for your answer. Since I am not using this not often I mixed up procedures for smartflash and nvflash mode.:o

I tried to connect phone with pressed only - button but S/W upgrade screen is still not showing. I noticed only short blink on screen?

Also, I checked again device manager and haven't found unrecognized devices. Tried with latest and previous drivers also. Any clue?

Cheers
[LG Optimus 2x] spyrosk:
When you power on your device you see a white unlocked padlock as logo?

This one was for SU660 initially and accidentally was included in early ICS ROMs.

If yes then use option 8 of this toolkit to flash the new unlocked bootloader.
[LG Optimus 2x] zic1:
Now I have red LG logo on boot. I had white in 1st v28G rebuild from Stefan...
[LG Optimus 2x] tamoquera:
Hi! If you have installed the drivers it will appear as "nvidia recovery" or something like that in the usb list inside the device admin. Make sure your battery is removed during the process. Good luck!

Enviado desde mi LG-P990 usando Tapatalk 2