[TOOL] LGExtract 0.2.1

Search This thread

re4lsk

Senior Member
Dec 16, 2011
870
447
Hermosillo
www.twitter.com
Thanks, works fine.

Agora vi que é brazuca. Valeu, coloquei um link seu num post que trata de colocar cwm nos arquivos, assim no reboot depois do flash ele abre o cwm automatico e da pra mandar o superuser. Os arquivos pra isso precisam ser CP e AP, nao da pra fazer com o .kdz, seu trabalho ficou uma mão na roda.

In english please.

Trolling in the deep
 

johnw230873

Senior Member
Nov 14, 2007
258
21
When using windows 8 I keep getting a

Failed to initialize cryptographic service when trying to extract a wdb, any suggestions?
 

N00BY0815

Senior Member
Nov 6, 2011
2,528
1,897
I think it is due to the version of cmd. I read somewhere else it is x.x.x.x.6000 and you might have x.x.x.x.6001 or something like that. Look for cmd.exe and not cmd7.exe.
This should do the trick ;)
 

navossoc

Senior Member
Jul 1, 2011
185
234
São Paulo
When using windows 8 I keep getting a

Failed to initialize cryptographic service when trying to extract a wdb, any suggestions?

No idea yet, but you are the second reporting this error.
I made some changes on my code to report more verbose, maybe I can find the cause.

I'm installing a VM with windows 8 right now, I will run some tests.
To see if it works.
 

YkZ_1967

Senior Member
Jan 29, 2012
220
56
56
i m waiting for your feedback because cmd7.exe is unknow for me, haven't find any official microsoft thread about new command dos
 
Last edited:

N00BY0815

Senior Member
Nov 6, 2011
2,528
1,897
i m waiting for your feedback because cmd7.exe is unknow for me, haven't find any official microsoft thread about new command dos

I just read it somewhere else here on the forum, maybe he only misstyped :p Idk, but what I remember is the different version of it for sure ;)

Maybe you also only need to run cmd as admin?
 

navossoc

Senior Member
Jul 1, 2011
185
234
São Paulo
i m waiting for your feedback because cmd7.exe is unknow for me, haven't find any official microsoft thread about new command dos

You don't need anything of that.
You just need wait my new release. I already traced the error, now I'm fixing it.

I just read it somewhere else here on the forum, maybe he only misstyped :p Idk, but what I remember is the different version of it for sure ;)

Maybe you also only need to run cmd as admin?

Yeah, I tough that too, but can be elevation problem, but not always...
Hold tight, the new release is coming.

--- EDIT ---

Try it now, release 0.2.1.
Let me know what happens...

If any error occurs, post the message here.

[]'s
 
Last edited:

RohanAJoshi

Senior Member
Mar 17, 2011
2,454
1,671
Pune
OnePlus 8 Pro
Samsung Galaxy S22 Plus
Great work guys..
but i m getting problem here..
I have o2x, P990..
and v20h

here what i did :

echo off
LGExtract -kdz V20H_00.kdz
echo KDZ extracted successfully !
7Za.exe x -y V20H_00.cab
echo CAB extracted successfully !
LGExtract -wdb V20H.wdb Star_Model.dll
echo WDB extracted successfully !
cd bin
copy /b "Star_Model_AP[*].bin" "Star_Model_AP.bin"
echo BIN created successfully ! Enjoy it !!
pause


the code running till LGExtract -wdb V20H.wdb Star_Model.dll and i get bin derectory with 13 files.
but remaining code not working.
can anybody help me ?

here is my log ::


C:\Users\RoHaN\Downloads\LGExtract-0.2.1>echo off
Extracting:
KDZ: V20H_00.kdz

File: V20H_00.cab
File(s) successfully extracted!
KDZ extracted successfully !

7-Zip (A) 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18

Processing archive: V20H_00.cab

Extracting V20H.wdb
Extracting Star_Model.dll

Everything is Ok

Files: 2
Size: 234957157
Compressed: 234905467
CAB extracted successfully !
Extracting:
WDB: V20H.wdb
DLL: Star_Model.dll

File: BIN\Star.bct
File: BIN\slb.fls
File: BIN\recovery.img
File: BIN\R375_SIC.fls
File: BIN\psi.fls
File: BIN\fastboot.bin
File: BIN\ext3_flashboot.img
File: BIN\android_fastboot_emmc_full.cfg
File: BIN\AENEAS_FW.fls
File: BIN\3_Split_Data.img
File: BIN\2_Split_Data.img
File: BIN\1_Split_Data.img
File: BIN\0_Split_Data.img
File(s) successfully extracted!
WDB extracted successfully !
Star_Model_AP[*].bin
The system cannot find the file specified.
0 file(s) copied.
BIN created successfully ! Enjoy it !!
Press any key to continue . . .


plz help urgent frendz..
 

navossoc

Senior Member
Jul 1, 2011
185
234
São Paulo
Great work guys..
but i m getting problem here..
I have o2x, P990..
and v20h

here what i did :

echo off
LGExtract -kdz V20H_00.kdz
echo KDZ extracted successfully !
7Za.exe x -y V20H_00.cab
echo CAB extracted successfully !
LGExtract -wdb V20H.wdb Star_Model.dll
echo WDB extracted successfully !
cd bin
copy /b "Star_Model_AP[*].bin" "Star_Model_AP.bin"
echo BIN created successfully ! Enjoy it !!
pause


the code running till LGExtract -wdb V20H.wdb Star_Model.dll and i get bin derectory with 13 files.
but remaining code not working.
can anybody help me ?

here is my log ::


C:\Users\RoHaN\Downloads\LGExtract-0.2.1>echo off
Extracting:
KDZ: V20H_00.kdz

File: V20H_00.cab
File(s) successfully extracted!
KDZ extracted successfully !

7-Zip (A) 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18

Processing archive: V20H_00.cab

Extracting V20H.wdb
Extracting Star_Model.dll

Everything is Ok

Files: 2
Size: 234957157
Compressed: 234905467
CAB extracted successfully !
Extracting:
WDB: V20H.wdb
DLL: Star_Model.dll

File: BIN\Star.bct
File: BIN\slb.fls
File: BIN\recovery.img
File: BIN\R375_SIC.fls
File: BIN\psi.fls
File: BIN\fastboot.bin
File: BIN\ext3_flashboot.img
File: BIN\android_fastboot_emmc_full.cfg
File: BIN\AENEAS_FW.fls
File: BIN\3_Split_Data.img
File: BIN\2_Split_Data.img
File: BIN\1_Split_Data.img
File: BIN\0_Split_Data.img
File(s) successfully extracted!
WDB extracted successfully !
Star_Model_AP[*].bin
The system cannot find the file specified.
0 file(s) copied.
BIN created successfully ! Enjoy it !!
Press any key to continue . . .


plz help urgent frendz..

You should use:
Code:
copy /b "*_Split_Data.img" "Split_Data.img"

Those four files seem to need to be merged.

Not:
Code:
copy /b "Star_Model_AP[*].bin" "Star_Model_AP.bin"

BUT!!!!

I don't know what you are doing with this files, I don't know any tool to flash this filetype with P990.
Do you know?

I said at the first posts, this is really useful for P920 and P970, because we can flash bin/fls with SmartFlash Tools.

You extract files from another models, but I don't know how you can flash it.

[]'s
 
Last edited:

navossoc

Senior Member
Jul 1, 2011
185
234
São Paulo
SO, i got img file, but there is no tool for flashing img file, i need to covert it to .bin for flashing with smartflash, any idea ?

No, I don't. I don't think it's that easy too.
To be honest I don't think this is possible the way you want.

Seems that you phone model has a different chipset (Tegra) (990).
We have a (TI OMAP) (920/970).

But now we can extract the files and read it to get more information.
Now the developers at this forum for P990, maybe can do something with the files.

--- EDIT ---

I was looking for the P990 forum, you guys has some .bin and .fls too.
But the bin file is "too big" for the size of the extract files of .wdb.

So I find some "similarities" like:

Code:
00480000h - 0055AEB4h = fastboot.bin
--- merge ---
00600000h - 06A00000h = 0_Split_Data.img
06A00000h - 0CE00000h = 1_Split_Data.img
0CE00000h - 13200000h = 2_Split_Data.img
13200000h - 15BCC000h = 3_Split_Data.img
--- /merge ---
16400000h - 16746800h = ext3_flashboot.img
16C00000h - 16FBF000h = recovery.img

The file has several paddings too (0xFF), this could explain the 400mb difference between the both, but maybe it's missing data too.

BIN: BIN_LGP990AT-00-V20q-EUR-XX-JAN-24-2012+0
KDZ: EUROPE OPEN - NEU/EUROPE OPEN - V20Q

Maybe you guys could replace the files inside a "bin".
IDC, its just a suggestion, don't blame me ^^

[]'s
 
Last edited:

kitty's_daddy

Senior Member
Sep 2, 2011
178
44
jeonju
OMG..you're great! :D
I could extract fls&bin from my su660's kdz with this tool.
There were one CP.fls and 9 AP[0~8].bin files .
So I merged AP[*].bins . It worked fine.
Confirmed with SU660 and Big thanks. :)
(SU660 is Optimus2X Korean model.)
 

navossoc

Senior Member
Jul 1, 2011
185
234
São Paulo
OMG..you're great! :D
I could extract fls&bin from my su660's kdz with this tool.
There were one CP.fls and 9 AP[0~8].bin files .
So I merged AP[*].bins . It worked fine.
Confirmed with SU660 and Big thanks. :)
(SU660 is Optimus2X Korean model.)

Nice, added to post #2 as supported model :)

Can you provide me a list of files extract from the wdb?

I have plans to merge automatically the files, but first I need to find a pattern between the files.

[]'s
 

kitty's_daddy

Senior Member
Sep 2, 2011
178
44
jeonju
Nice, added to post #2 as supported model :)

Can you provide me a list of files extract from the wdb?

I have plans to merge automatically the files, but first I need to find a pattern between the files.

[]'s

This is my log with some Korean. :)
Code:
J:\옵티머스2x\V20H\V20H_00>LGExtract -wdb V20H.wdb SU660.dll
Extracting:
WDB: V20H.wdb
DLL: SU660.dll

File: BIN\SU660_CP.fls
File: BIN\SU660_AP[8].bin
File: BIN\SU660_AP[7].bin
File: BIN\SU660_AP[6].bin
File: BIN\SU660_AP[5].bin
File: BIN\SU660_AP[4].bin
File: BIN\SU660_AP[3].bin
File: BIN\SU660_AP[2].bin
File: BIN\SU660_AP[1].bin
File: BIN\SU660_AP[0].bin
File(s) successfully extracted!

J:\옵티머스2x\V20H\V20H_00>cd bin

J:\옵티머스2x\V20H\V20H_00\BIN>copy /b "SU660_AP[*].bin" "SU660_AP.bin"
SU660_AP[0].bin
SU660_AP[1].bin
SU660_AP[2].bin
SU660_AP[3].bin
SU660_AP[4].bin
SU660_AP[5].bin
SU660_AP[6].bin
SU660_AP[7].bin
SU660_AP[8].bin
        1개 파일이 복사되었습니다.

J:\옵티머스2x\V20H\V20H_00\BIN>dir
 J 드라이브의 볼륨: O2X
 볼륨 일련 번호: 782F-279D

 J:\옵티머스2x\V20H\V20H_00\BIN 디렉터리

2012-04-03  오전 12:45    <DIR>          .
2012-04-03  오전 12:45    <DIR>          ..
2012-04-03  오전 12:45       939,524,096 SU660_AP.bin
2012-04-03  오전 12:40         8,322,036 SU660_CP.fls
               2개 파일         947,846,132 바이트
               2개 디렉터리  24,624,717,824 바이트 남음
 
  • Like
Reactions: navossoc

navossoc

Senior Member
Jul 1, 2011
185
234
São Paulo
This is my log with some Korean. :)
Code:
J:\옵티머스2x\V20H\V20H_00>LGExtract -wdb V20H.wdb SU660.dll
Extracting:
WDB: V20H.wdb
DLL: SU660.dll

File: BIN\SU660_CP.fls
File: BIN\SU660_AP[8].bin
File: BIN\SU660_AP[7].bin
File: BIN\SU660_AP[6].bin
File: BIN\SU660_AP[5].bin
File: BIN\SU660_AP[4].bin
File: BIN\SU660_AP[3].bin
File: BIN\SU660_AP[2].bin
File: BIN\SU660_AP[1].bin
File: BIN\SU660_AP[0].bin
File(s) successfully extracted!

J:\옵티머스2x\V20H\V20H_00>cd bin

J:\옵티머스2x\V20H\V20H_00\BIN>copy /b "SU660_AP[*].bin" "SU660_AP.bin"
SU660_AP[0].bin
SU660_AP[1].bin
SU660_AP[2].bin
SU660_AP[3].bin
SU660_AP[4].bin
SU660_AP[5].bin
SU660_AP[6].bin
SU660_AP[7].bin
SU660_AP[8].bin
        1개 파일이 복사되었습니다.

J:\옵티머스2x\V20H\V20H_00\BIN>dir
 J 드라이브의 볼륨: O2X
 볼륨 일련 번호: 782F-279D

 J:\옵티머스2x\V20H\V20H_00\BIN 디렉터리

2012-04-03  오전 12:45    <DIR>          .
2012-04-03  오전 12:45    <DIR>          ..
2012-04-03  오전 12:45       939,524,096 SU660_AP.bin
2012-04-03  오전 12:40         8,322,036 SU660_CP.fls
               2개 파일         947,846,132 바이트
               2개 디렉터리  24,624,717,824 바이트 남음

No problem at all.
It's the same filename as P920 and P970.

:)

Thanks navossoc, the latest version fixed the issue I was have and I can confirm it runs under windows 8 64 bit.

Good to know :)

Added as a supported operational system.

[]'s
 
  • Like
Reactions: kitty's_daddy

abo_mara7

Senior Member
Oct 9, 2010
594
562
Thanks. I've got bin and fls file on P920. Now, I want to extract .bin file to get ROM system files, I've tried many programs to extract it but couldn't, how to do it?
 
I mentioned in other thread (in LGP990 section) so I little "cross-post it here".
I make a testing under my virtual Windows XP so I try to describe it for Linux and also for Windows - the testing ROM is V20Q for LGP990.
1) Linux
- you must have a Wine installed (don't know which concrete version but I think the latest one is the best choice)
- you must have a cabextract utility installed - it is in all major Linux distribution or you can compile it by hand
  • extract the KDZ file
    Code:
    wine LGExtract.exe -kdz V20Q_00.kdz
  • extract the CAB file
    Code:
    cabextract V20Q_00.cab
  • extract WDB file
    Code:
    wine LGExtract.exe -wdb V20Q.wdb Star_Model.dll
  • combine the filesystem
    - in this point the name of files can differ from ROM to ROM, so take this only as a point (see the different number of redirections)
    Code:
    cat 0_Split_Data.img > system.img 
    cat 1_Split_Data.img >> system.img 
    cat 2_Split_Data.img >> system.img 
    cat 3_Split_Data.img >> system.img
  • mount the filesystem
    - now you have to use a root account coz the mounting a loop device is restricted
    Code:
    [I]{as roooooot}[/I]
    cd <where you have a extracted files>
    mkdir android_system
    mount system.img android_system -oloop
    - now you have the Android system mounted and can be accessed in android_system directory - you can access it as normal user
  • end of work - unmount
    Code:
    [I]{as roooooot}[/I]
    cd <where you have a extracted files>
    umount android_system
2) Windows (XP)
- to extract CAB file I use the 7zip file compressor, you can use it or use different tool which make the same work (WinRAR for example do the same)
- for commands use a command line - cmd.exe
  • extract the KDZ file
    Code:
    LGExtract.exe -kdz V20Q_00.kdz
  • extract the CAB file
    - open the V20Q_00.cab in 7zip tool and extract it
  • extract WDB file
    Code:
    LGExtract.exe -wdb V20Q.wdb Star_Model.dll
  • combine the filesystem
    Code:
    copy /b *_Split_Data.img system.img
  • access the Linux filesystem
    - I try the free tool DiskInternals Linux Reader for my best satisfaction - http://www.diskinternals.com/linux-reader/
    - install, run and select "Mount image" in left upper window, select the system.img and so on, you can access the file now :)
    - I think there are many other tools to access the Linux ext2/3/4 image files so try to find one which is best for you (use your favorite Internet search engine ;) )
I hope this helps you in further ROM extraction. But as first instance - thanks to navossoc for the EXCELLENT GREAT LGExtract tool!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 82
    [TOOL] LGExtract 0.2.1 + 0.3.0 (beta)

    Updated instructions will be here in post #1 or #2, stay alert ;)

    Description:
    Hello everyone, in the last two weeks I was developing a command line tool to extract the firmware of LG phones. (different models)

    For now, this tool is able to successfully extract *.kdz and *.wdb files. The tool don't dump the firmware from the phone.

    I would like to receive feedback about this tool, if it works or not with the files you have.
    Please report any kind of error too.

    Remember, this software aims to help the community of users of mobile phones from LG to change their roms in a fast and easy way.
    I can't provide any guarantee that the extracted file is 100% correct. So stay tuned in what you are doing, don't blame me.


    Basic usage:
    • Open a command prompt. (cmd.exe or powershell)
    • Browse to the directory where is located the LGExtract.
    • Run LGExtract for more information (help).

    Guides: (more detailed)
    • P920 / P970
    • P990 - Thanks Keltek
    • Other phone models have different files. I don't have any idea on how you can use it! BE CAREFUL!

    Automated tools: (based on LGExtract)

    Other tools: (to use with files extracted by LGExtract)

    Current features:
    • Extract KDZ files.
    • Extract WDB files.

    Features to be implemented:
    • Merge extracted files automatically. (if file needs it)
    • Graphical User Interface.
    • Extract DZ files.
    (none of these, sorry, the development is dead)


    Note: You don't need install any additional software.

    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

    LGExtract.exe 0.2.1 - Hashes:
    SHA-1: 2ef469162aa546ec7c1368d45bcbd0affd86e474
    SHA-256: fa54a755a0aa2b15b622e44a183c491885a79ecf02d799c42c733e429dd16c3d

    LGExtract.exe 0.3.0 BETA - Hashes:
    SHA-1: e108c9e7d17b40d33152332d3e1775fd4aa48b92
    SHA-256: ca66781f98498b80f59398a5c4538589262a1716d0788b18cea62e99c6eac5dc
    22
    We can't convert, we're gonna have to extract fls/bin because its LG's stupid archive I guess :D

    Now you can, check the new release 0.2.0.

    so this is a cmd line tool. it's not mentionned :E

    I tought it had an UI but understood quickly.

    I edited the first post and second post, I made it clear now that is a command line tool.

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

    Instructions for P920 / P970 (bin/fls)

    Now you can use the bin/fls with SmartFlash Tool.

    Example:
    1. Download a KDZ file for your device (you can get it here).
    2. Run LGExtract -kdz V20C_00.kdz (I have downloaded the BRA 970H V20C)
    3. Manually extract V20C_00.cab file at the same dir. (7-zip or WinRAR)
    4. Run LGExtract -wdb V20C.wdb LGP970.dll
    5. Now you got about 7 files, a few numbered .bin files and one .fls. (older firmwares has less files/ newer has more)
    6. You need to browse to BIN folder to manually merge the bin files (I will made this automatic in new releases)
    7. Run copy /b "LGP970_AP[*].bin" "LGP970_AP.bin"
    Should output something like this: (THE NUMBER ORDER MUST BE ASCENDING)
    Code:
    LGP970_AP[0].bin
    LGP970_AP[1].bin
    LGP970_AP[2].bin
    LGP970_AP[3].bin
    LGP970_AP[4].bin
    LGP970_AP[5].bin
            1 file(s) copied.
    8. Now you can use the SmartFlash Tool to flash the new bin file and the fls as you always do.

    If someone with more time want write a guide or something like that, feel free to do.
    My english is bad xD

    []'s
    17
    Thanks to:

    Extracted KDZ/WDB from: (tested models)
    KP500, KS360, LGP500, LGP920, LGP925 (confirmed by E:V:A)
    LGP970, LGP990, LGP999, LU620128, SU640, SU660 (confirmed by kitty's_daddy)
    Should work with any kdz/wdb file.

    Changelog:
    03/03/2020 - 0.3.0 BETA
    * Fixed wdb password for larger dll files (up to 9.999.999 bytes).
    (I was adding support for the DZ format, but I gave up, this tool seems no longer relevant.)

    31/03/2012 - 0.2.1
    * Improved error handling for kdz format.
    * Fixed cryptographic service initialization failed.

    28/03/2012 - 0.2.0
    * Second release, extract wdb files.
    26/03/2012 - 0.1.0
    * Initial public release, extract kdz files.

    Supported Operational Systems:

    Windows:
    Windows XP SP3 x86 (confirmed by kitty's_daddy)
    Windows 7 SP1 x86/x64
    Windows 8 x64 (confirmed by johnw230873)
    Windows 8.1
    Windows 10
    Should work on other versions of Windows too.

    Linux:
    Red Hat Enterprise v6.2 x64 with Wine v1.4 i686 (Reported by Keltek)
    Should work on other linux distributions too with Wine.
    12
    I mentioned in other thread (in LGP990 section) so I little "cross-post it here".
    I make a testing under my virtual Windows XP so I try to describe it for Linux and also for Windows - the testing ROM is V20Q for LGP990.
    1) Linux
    - you must have a Wine installed (don't know which concrete version but I think the latest one is the best choice)
    - you must have a cabextract utility installed - it is in all major Linux distribution or you can compile it by hand
    • extract the KDZ file
      Code:
      wine LGExtract.exe -kdz V20Q_00.kdz
    • extract the CAB file
      Code:
      cabextract V20Q_00.cab
    • extract WDB file
      Code:
      wine LGExtract.exe -wdb V20Q.wdb Star_Model.dll
    • combine the filesystem
      - in this point the name of files can differ from ROM to ROM, so take this only as a point (see the different number of redirections)
      Code:
      cat 0_Split_Data.img > system.img 
      cat 1_Split_Data.img >> system.img 
      cat 2_Split_Data.img >> system.img 
      cat 3_Split_Data.img >> system.img
    • mount the filesystem
      - now you have to use a root account coz the mounting a loop device is restricted
      Code:
      [I]{as roooooot}[/I]
      cd <where you have a extracted files>
      mkdir android_system
      mount system.img android_system -oloop
      - now you have the Android system mounted and can be accessed in android_system directory - you can access it as normal user
    • end of work - unmount
      Code:
      [I]{as roooooot}[/I]
      cd <where you have a extracted files>
      umount android_system
    2) Windows (XP)
    - to extract CAB file I use the 7zip file compressor, you can use it or use different tool which make the same work (WinRAR for example do the same)
    - for commands use a command line - cmd.exe
    • extract the KDZ file
      Code:
      LGExtract.exe -kdz V20Q_00.kdz
    • extract the CAB file
      - open the V20Q_00.cab in 7zip tool and extract it
    • extract WDB file
      Code:
      LGExtract.exe -wdb V20Q.wdb Star_Model.dll
    • combine the filesystem
      Code:
      copy /b *_Split_Data.img system.img
    • access the Linux filesystem
      - I try the free tool DiskInternals Linux Reader for my best satisfaction - http://www.diskinternals.com/linux-reader/
      - install, run and select "Mount image" in left upper window, select the system.img and so on, you can access the file now :)
      - I think there are many other tools to access the Linux ext2/3/4 image files so try to find one which is best for you (use your favorite Internet search engine ;) )
    I hope this helps you in further ROM extraction. But as first instance - thanks to navossoc for the EXCELLENT GREAT LGExtract tool!
    3
    In CMD type...

    1. LGExtract -kdz V20N_00.kdz (Extract V20N_00.cab w/WinRAR)
    2. LGExtract -wdb V20N_00.wdb LGP970.dll
    3. cd bin
    4. copy /b "LGP970_AP[*].bin" "LGP970_AP.bin"
    OR
    4. copy /b lgp970_ap[0].bin+lgp970_ap[1].bin+lgp970_ap[2].bin+lgp970_ap[3].bin+lgp970_ap[4].bin+lgp970_ap[5].bin lgp970_new.bin

    Note:
    You can have different .kdz so just type your .kdz name (I have V20N_00.kdz).

    Happy flashing...:p