Convert Kdz To Bin File

LGBinExtractor - A tool for extracting bin/tot firmware for LG Phones. My database of bin files is still to small to analyze them when it's unkown and only supported bin/tot files will work. Just follow the steps present in Support to get it added. Navossoc: for his tool that extracts the kdz and wdb files. SnowLeopardJB: for lots.

I have developed a tool based in LGExtract 0.2.1 from navossoc. 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. Instructions: 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.

Convert Bin File

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 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. Version 1.1: Fix incompatibility issue in Windows XP It has a false positive in Anivir (Avira antivirus). Virustotal analysis: Version 1.2: 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. Version 1.3: 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. Version 2.0 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).

Version 2.1 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. Credits: 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. Html Email Templates For Whmcs. To Ilko for the new compiler, his help and the new icon. Code: @echo off title LGX echo. Echo -[ Extraction process started ]- echo. Echo Extracting cab file echo ------------------- echo.

Lgextract.exe -kdz V20O_00.kdz echo. Echo Extracting WDB/dll files echo ------------------------ echo. 7za.exe e -y V20O_00.cab echo.

Echo Extracting binary files echo ----------------------- echo. Lgextract.exe -wdb V20O.wdb lgp970.dll echo. Echo Merging and cleaning echo -------------------- echo. Del lgp970.dll, V20O.wdb, V20O_00.cab ren 'BIN' ' V20O' cd V20O ren 'LGP970_CP.fls' '0_LGP970_CP_FLS.fls' copy /b 'LGP970_AP[*].bin' '1_LGP970_AP_BIN.bin' del 'LGP970_AP[*].bin' echo.

Echo -[ Firmware is now ready to be flashed via SmartFlash ]- echo. Timeout 10if you're too lazy, browse my shares and download it. Code: @echo off title LGX echo. Echo -[ Extraction process started ]- echo. Echo Extracting cab file echo ------------------- echo. Lgextract.exe -kdz V20O_00.kdz echo.

Echo Extracting WDB/dll files echo ------------------------ echo. 7za.exe e -y V20O_00.cab echo. Echo Extracting binary files echo ----------------------- echo.

Lgextract.exe -wdb V20O.wdb lgp970.dll echo. Echo Merging and cleaning echo -------------------- echo. Del lgp970.dll, V20O.wdb, V20O_00.cab ren 'BIN' ' V20O' cd V20O ren 'LGP970_CP.fls' '0_LGP970_CP_FLS.fls' copy /b 'LGP970_AP[*].bin' '1_LGP970_AP_BIN.bin' del 'LGP970_AP[*].bin' echo. Echo -[ Firmware is now ready to be flashed via SmartFlash ]- echo. Timeout 10if you're too lazy, browse my shares and download it.