[TOOL] LG-P970 ROM COVERTER Automatic converter from KDZ to BIN/FLS + ROOT
I have developed a tool based in LGExtract 0.2.1
It can convert KDZ roms to BIN/FLS automatically in a double click for flashing with SmartFlashTool.
I added LGExtract.exe, extract.exe (to extract .cab file) and a batch that do all the process, in one executable. CWM injection based on cygwin.
Only works with P970 (Optimus Black) and P920 (Optimus 3D) roms and maybe other models with same files structure (several bin files and one fls file). It doesn't work with P990 (Optimus 2x) roms.
Have to put the exe and kdz rom in same folder and execute the program, it shows a cmd window asking which kdz to convert. Type number and tap enter.
Then it does the extraction of kdz, cab and wdb, merge bin files and clean up. At the end it ask for patch bin file with CWM.
If type "n" (without quotes) and tap enter conversion has end. Have to tap any key to close cmd window.
After that you have a folder named as kdz with bin and fls to flash with smartflashtool.
Instructions to patch bin with CWM:
Conversion of kdz to bin/fls is the same.
At the end of conversion can choose to inject CWM or not. To inject it type "y" (without quotes) and tap enter.
It continues CWM injection.
It shows several options and have to type latest one and tap enter (normally it shows 2 options like in this case and have to type "2").
It ask what kind of CWM to inject; "n" for normal and "t" for touch (without quotes) and tap enter.
It injects cwm and finally it shows file was succesfully converted, the folder that contains bin and fls files (in this case folder and bin file are renamed to [PATCHED]) and what type of cwm was injected. Tap any key to close cmd window.
It's ready to flash with smartflashtool. Before flash it, download superuser.zip
and copy to sd card. when flash ends, phone is rebooted in recovery, it's recommended to do wipe data
, chiefly if install different rom version or if you flash it to solve problems to avoid bootloop or other errors (if flashed same version to root
do wipe cache and dalvik
, it isn't necessary to do wipe data). Next install zip from sdcard and install superuser.zip. Then reboot system now and phone is ready with the rooted rom. Can install busybox and an app to reboot in recovery like rom manager.
Tested with V20Q and V20S with cwm in my OB from Zeus, CM10 and ICS without problem.
Fix incompatibility issue in Windows XP
It has a false positive in Anivir (Avira antivirus).
The folder and bin/fls files are renamed to kdz filename.
Now compatible with Optimus 3D P920 kdz roms and maybe with other models with the same type of bin files extracted from wbd. It doesn't compatible with Optimus Dual P990 because the extraction of wdb generates diferent files.
Works with several kdz files in the folder and can choose one of them to convert.
New compiler, fix detection of some antivirus.
New icon, thanks to Ilko.
Added posibility to patch bin with CWM recovery to root the rom, only for P970, I haven't add CWM for other devices.
Can choose the type of CWM to inject (touch or normal).
Replaced old method to inject CWM (based on cygwin) with recovery.exe from navossoc.
Improved script thanks to navossoc.
I'll edit the tutorial when I have more time.
All credits to navossoc and XDA team who develop LGExtract and recovery.exe and thanks for modify the script to use recovery.exe.
To Pacos1 who realizes it doesn't work in Windows XP and false positive in Antivir.
To t0g3 for improve the script adding the posibility to choose kdz file.
To Ilko for the new compiler, his help and the new icon.