yashsingh1/xdaforums huggingface dataset:
[LG Optimus Black] navossoc:
You should read the SFT topic again...

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

This tool will output a bin/fls file, you don't need anything more!

The DLL you are talking about its on SmartFlash Tool folder.

The tutorial don't say anything about choosing a DLL, because it's already configurated (.ini file).

[]'s
[LG Optimus Black] cybojenix:
Hi, how does this tool work? I'm trying to extract .kdz's while running ubuntu. Using wine isn't an option because I'm making it into a tool (see signature). I just want to try porting it to ubuntu, but I can't do that because it's already compressed into .exe

I have some experience in CLS, and can learn very quickly

thanks if you can help
[LG Optimus Black] navossoc:
Some users already said something about convert into a linux tool, but I don't have any idea on how do that.

First of all, the files are encrypted with some popular algorithms, openssl should be able to handle it, but, I don't know how to use it to do the same task.

If you read the thread from the start you will see more details.

Maybe you can help me after...

[]'s
[LG Optimus Black] navossoc:
Hey guys! I'm still alive :)

I have plans to extract the DZ files soon. I searched and found some other programs that extract DZ files.

I understand how it works, in fact is very similar to the WDB and a little easier.

However, I would like your help! I need links to DZ files to analyze the structure on different phone models.

I found the following models using DZ and already analyzed:

E900, P350, P500, P705, GT540, C660, P880

Thanks!
[LG Optimus Black] iodak:
Think p880 4x uses dz files.
[LG Optimus Black] navossoc:
Thanks, you are right, I downloaded it and it's a DZ file, but the format is totally different.

I did not even know it exist. This model I will try to support in a near future.

For now I'm looking for the other DZ format.

If you know another model, please share.

[]'s
[LG Optimus Black] dbarrera:
What about the P350?
[LG Optimus Black] gabwerkz:
Since this became a multi-device already, consider posting new development in Android Development and Hacking. :good:
[LG Optimus Black] cybojenix:
He's already said p350

---------- Post added at 06:39 PM ---------- Previous post was at 06:37 PM ----------

I can supply some p350 DZ files, however I'm not currently on windows so no way to extract them at the moment
[LG Optimus Black] dbarrera:
Guess I've missed that...
[LG Optimus Black] navossoc:
Maybe, but, this only work for LG models.

I already got some P350 files, they always look in the same way.

No problem.
[LG Optimus Black] cybojenix:
Oops, guess I missed that as well ;)

Is it possible for you to release the sources? Then people will be able to help you
[LG Optimus Black] navossoc:
I have no problem in release the source, but first I wanna change some code to use openssl library. (I need some help on this)

Well, some info I get from downloading several files :P

More models? :P

For now I got many files to take a look, but only E900 has something "different".

[]'s
[LG Optimus Black] cybojenix:
I won't be able to help personally but I know people who might be able to help

There is also the p505 and p509 (variations of optimus one) Also I think e510 (optimus net)
[LG Optimus Black] toby913:
do you know of any who used this with a lg l5 or l7?

edit:

nevermind when i flashed my phone with lg's flashtool i saved a .rar of the KDZ file i used your lgextract.exe to extract that contained DZ file, now i have a .cab file which i can't extract. what can i do now?

btw i have the lg l5 so you can add in on the list if you like
[LG Optimus Black] Imperticus:
Is there a way to extract the boot.img or recovery.img from the .bin file using the recovery.exe?
[LG Optimus Black] toby913:
How did you get a bin file? Is there a way we can specify the output?
[LG Optimus Black] navossoc:
No, my tool just replace it.

You try this:

Tool: http://xdaforums.com/showpost.php?p=31476664&postcount=17

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

I post a tool there, I don't remember in which page.
[LG Optimus Black] xonar_:
Yes. We can split the bin file up into the respective partitions. It's under Bin Extractor. I made a lot of changes to my source and I removed the old one. novasoc's implementation (extract.exe) is still there as a attachment somewhere. After my exams finish I'll polish it, make source available on GitHub and support more devices. I think it should work with Optimus 2X as is so you can try extract.exe, but no guarantees.
[LG Optimus Black] Imperticus:
It worked on P990 but naming is messed up. Got 7 different .img files named "0-.img" and so on. Number 6 is the system.img, Number 5 seems like the data.img. These 2 can be opened with ext2explore. Can't differentiate the others.
[LG Optimus Black] navossoc:
The tool was developed for P970, the idea can be extended to another models, but it need some work.

Like download the firmwares, made a analyze and so on.

I edit my previous post, the source is there, if you want.

[]'s
[LG Optimus Black] xonar_:
Can you please continue this on my thread. Its easier to keep track of it that way. Not sure about how novasoc goes about naming his partitions so I can't comment. What bin and fls are you trying to extract? A link would be appreciated.

Sent from my LG-P970
[LG Optimus Black] ilooze:
Please Help the last step is not working I mean I dont know what I ned to type in....I have 10 AP.bin's and 1 fls files how to combine them or what to do?
[LG Optimus Black] DrummerMuppet:
This is what you need:

copy /b P990_AP[*].bin P990_AP.bin
[LG Optimus Black] wkpark:
AP.bin is normally raw file and

bootable images can be easily extracted by searching "ANDROID!" pattern

and using the dd utility

Wow, Iwas just looking around to find out how to extract ap.bin information from AP.bin header and finally I found it!

now I can make linux port of it (rewritten with plain c)

$ extract SU660_AP.bin
filesize: 939524096
[01] address=0x00100000 size=0x00300000
[02] address=0x00400000 size=0x00080000
[03] address=0x00480000 size=0x00180000
[04] address=0x00600000 size=0x20000000
[05] address=0x20600000 size=0x00800000
[06] address=0x20e00000 size=0x01400000
[07] address=0x22200000 size=0x15e00000
$ extract SU660_AP.bin 6
selected sect=1
filesize: 939524096
[01] address=0x00100000 size=0x00300000
[02] address=0x00400000 size=0x00080000
[03] address=0x00480000 size=0x00180000
[04] address=0x00600000 size=0x20000000
[05] address=0x20600000 size=0x00800000
[06] address=0x20e00000 size=0x01400000
[07] address=0x22200000 size=0x15e00000
Writing file: 06.img
[06] address=0x20e00000 size=0x01400000
[LG Optimus Black] n3n3:
I have a problem in v28c, if i don't inject cwm, files ap and cp flash witch SFT ok, but no root.

And i inject cwm and flash it, in boot show logo lg and security error. I need help.
[LG Optimus Black] xonar_:
Its because V28 got locked bootloader. The tool works. The bootloader just refuses to load since CWM isn't official software.

Sent from my LG-P970
[LG Optimus Black] Cedlad:
Hi, I'm just confused, how do i run the LGExtract tool ? when i click on it it only apear for half a second, i saw that i have to run cmd but it's useless it alwas give me the the path didn't exist, i tryed every possibility, before it was working fine.. how to ?
[LG Optimus Black] navossoc:
It's a command line tool, you need to run a prompt first (cmd.exe)

[]'s
[LG Optimus Black] Cedlad:
then ? i run it as admin ?
[LG Optimus Black] Xeeynamo:
Hi navossoc,

Have you news about the DZ firmwares for E900 / E900H?
[LG Optimus Black] navossoc:
I got all the idea, including for porting this tool to linux.

I need to do it now, but it's only a matter of time now.

[]'s
[LG Optimus Black] Xeeynamo:
Awesome :D I can't wait for it, my extracted DZ files are awaiting to be repacked and flashed.
[LG Optimus Black] cybojenix:
This will be awesome. After this it is only dz files that need extracting on Linux, then everything will be fully extractable on Linux and Windows :D

Perhaps merge it all together? From kdz to mbn

I have an mbn script somewhere in xda you can use
[LG Optimus Black] Cedlad:
http://m.youtube.com/watch?v=Rdld0tj3Yq4
[LG Optimus Black] navossoc:
I made a new fan today :)

I am glad I helped you.

Cheers.

[]'s
[LG Optimus Black] mazelost:
in what order??

i managed to successfully extract the files but i am not sure in which order i have to place them in the smartflash tool in order to be flashed!!

Any help???
[LG Optimus Black] prassat:
Look at this picture :cowboy:
[LG Optimus Black] mazelost:
It is empty!would you be good enough to send me the pics through pm?Thank you very much.
[LG Optimus Black] t0g3:
read the file name. If there is "AP" in the file name, put it in AP bin. Do the same for "CP"

or

see the file size. If it only around 8 MB, put it in CP bin. If the size is hundreds MB, put it in AP bin
[LG Optimus Black] mazelost:
I have 1 file which is .fls and ...6 files ap which all have the same size:75mb each one!! So i will put the fls in CP and which one from the 6 BINs in AP??:confused:
[LG Optimus Black] re4lsk:
Yo haven't used to he extract tool right, you should only have one bin file.

we will miss you Nicholas.... /s
[LG Optimus Black] t0g3:
well, I think you miss the merging step

http://xdaforums.com/showpost.php?p=24164378&postcount=23

For more easy way to convert KDZ to BIN/FLS automatically, you can use this tool

http://xdaforums.com/showthread.php?t=1692191
[LG Optimus Black] sammyz:
navossoc: do you have a linux version of this tool??
[LG Optimus Black] navossoc:
Sorry, I don't have it...
[LG Optimus Black] autoprime:
hi, is there any way to convert an extracted .bin back into a .wdb file?

My carrier is Sprint and my phone is the LG Optimus G.. we have .cab files we can use.. we flash them with LGNPST. LGNPST will also flash a .bin. The problem is that the extracted .bin is 1.3GB versus the compressed .cab file which is around 800MB.

I have extracted the .bin from the original .cab file successfully using your tool(thank you very much!)... I have then patched the .bin file with an unlocked bootloader, new SBL stack and TWRP custom recovery. Using the new .bin file in LGNPST works great but I would like to compress the .bin back into .cab form so that the file size is smaller. So I would need to convert .bin to .wdb... and then put the .wdb file back into the .cab.

.bin --> .wdb ... is it possible?
[LG Optimus Black] pablo+:
I'm also interested how to pack extracted bin into .wdb and finally .kdz file.

I know that it can be done using UpTestEX_mod2_marwin.exe, but this is GUI app, doesn't accept command line parameters.

BTW. extraction works OK with .KDZ files for LG Optimus L9 (P760)
[LG Optimus Black] sammyz:
[MENTION=2684188]autoprime[/MENTION] and [MENTION=5010791]pablo+[/MENTION]:

Google search uptestex and some link from xda will show up.

Uptestex is what lg uses to pack kdz files. KDZ can then be converted to a cab with proper timing.
[LG Optimus Black] navossoc:
Or you can run the lgextract with -kdz using a cab and them he will produce a .kdz file.

I think bin/fls -> wdb it's not possible, some values don't have explanation.

[]'s
[LG Optimus Black] sammyz:
Wrong: when the bin is converted to cab/kdz, it is first converted to wdb then cab/kdz. If you have tried uptestex, you would soon figure that out because when you extract the kdz made with that program, you always get a wdb file.
[LG Optimus Black] navossoc:
I wrote the program dude, I have quite sure what I'm talking about.

I can extract a .kdz file into a .cab, if I ran the lgextract again using the -kdz option with the extracted .cab file it will produce the same kdz file again.

You can compare the hashes if you want.

I said I can't convert a bin/fls to a wdb, because when I extract a wdb to a bin/fls, some values don't make any sense and are "lost" (probably tagging stuff, not the file itself).

So I can't create a wdb using just the bin/fls, because I don't know what that information in the header/footer means!

I'm not talking about uptestex.

PS: When I said "I" it means (me and lgextract)...

[]'s
[LG Optimus Black] sammyz:
I thought you were saying it wasn't possible to convert a bin to wdb at all. Sorry, I must have misread.
[LG Optimus Black] navossoc:
No problem... peace :good:

[]'s
[LG Optimus Black] god_md5:
http://csmgdl.lgmobile.com/swdata/WDLSW/LGF260S/ASKTWH/F260S10j_00/F260S10j_00.kdz

i have test this one ,password wrong~
[LG Optimus Black] xonar_:
What do you mean "password wrong" ?
[LG Optimus Black] god_md5:
thank you

i use windows 7 x64 ,6gb ram

Faulting application name: LGExtract.exe, version: 0.0.0.0, time stamp: 0x4f77b755

Faulting module name: LGExtract.exe, version: 0.0.0.0, time stamp: 0x4f77b755

Exception code: 0xc0000005

Fault offset: 0x0000d05c

Faulting process id: 0x170

Faulting application start time: 0x01cea00ad9c5ec49

Faulting application path: C:\Users\godmd5\Dropbox\Public\f260s\KDZTOOL\LGExtract.exe

Faulting module path: C:\Users\godmd5\Dropbox\Public\f260s\KDZTOOL\LGExtract.exe

Report Id: 17ebdd57-0bfe-11e3-a373-001e8c7f1a68
[LG Optimus Black] sammyz:
Yea, I got the same thing too on another phone's firmware. Used LGNPST to extract it...much easier :P

You will need at least LGNPST 1.3 and any LG phone DLL that will register with it.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] slickrick9927:
hi...i didnt knw about backing up the efs folder until after and yes i am new at this....this is wat happened i was using busybox and i downloaded and installed the pro version and decided to uninstall the normal version and due to that dreaded decision mostly everyting was wiped from the fone...including the imei number which now is imei null/null..i am being honest here, i paid alot for that fone and it wasnt even unlocked...i had a relative buy it for me from new york and they bought it at best buy for $710.00 us....they bought it and then contacted me :( so i had no other choice but to pay for it...i have the receipt to prove it...i live in the caribbean,trinidad to be exact and i have no possible way to return the fone back to the states....the local fone techs dont gotta clue as to wat goin on so i hav no other choice..can sumone please help me....!!!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] serdals:
yes, I'm having the same problem when I press * # 06 # gives error of null-null waiting for your help on this issue Thank you very much ...
[Motorola Droid X2] motcher41:
I made this up for a friend and it worked for her so her you go. This is for stock eclipse 2.1. It centers the clock and date on the status bar and no overlapping of notifications over the clock. Download this and flash in bsr. No wiping needed unless u have an issue.

------------------------------------------------ stock eclipse mods

stock eclipse 2.1 center clockhttp://db.tt/oo3pnKJR

stock ecliose 2.1 center clock date no battery http://db.tt/8qFjqCjo

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

Core droids mods:

Center clock date http://db.tt/vBg9ix76

Center clock date no battery http://db.tt/2q4oagvy

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

Epic blue mods:

Center clock date http://db.tt/7FU5AxkH

Center clock date no battery http://db.tt/lwKWSpqV

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

I used this free battery bar https://play.google.com/store/apps/details?id=com.pvy.batterybar

I dont have an X2 so I cant test. They should work though. If your phone melts...not my problem lol

No screens cuz I don't have an x2 so just use your imagination! ;)

Everyone say thanks to my girl BreatheALittle for being my guinea pig!

Thanks to hedwig34 for the help as well with no battery mod.

Almost forgot initial how to for center clock mod came from http://xdaforums.com/showthread.php?p=19672919

And other icon removal http://xdaforums.com/showthread.php?p=8104552#post8104552

Sent from my motchified charge running eclipsecrack using Xparent Blue Tapatalk
[Motorola Droid X2] BreatheALittle:
I can provide that picture. :D Thank you SO MUCH for creating this for the Eclipse v2.1 users!

Here is it, the center clock and date mod:

Isn't she purty? :p
[Motorola Droid X2] ashclepdia:
am I the only one not seeing the pic?

I'm just getting the blue question mark in a box, expired link picture
[Motorola Droid X2] motcher41:
Me too lol

Sent from my motchified charge running eclipsecrack
[Motorola Droid X2] Travisdroidx2:
Nice job Motcher so this is only for stock and do not use with a theme correct?
[Motorola Droid X2] ashclepdia:
that is correct

because if you had a theme in top of eclipse then flashed this you might survive lol, BUT most if not all of the, theme you flashed woulda be gone . I believe it's due to the system UI apk

maybe if we ask motcher nice enough ;) ;) he might find the time to throw some together for the different themes we have available, I know motcher put in a bunch of time to do a, lot of different clock/time/date/battery status bar mods for the charge, all of which work solid from what I've seen :)
[Motorola Droid X2] Travisdroidx2:
Thanks Ash I knew better not sure why I even asked lol
[Motorola Droid X2] ashclepdia:
well I, know YOU knew :p

I figured we both might as well clarify it for others that didn't ;)
[Motorola Droid X2] motcher41:
If hedwig posts here that it he is cool with it I don't have a problem doing them....some of them lol probably as requested

Sent from my motchified charge running eclipsecrack
[Motorola Droid X2] motcher41:
If hedwig is cool woth it I don't have a problem doing them

Sent from my motchified charge running eclipsecrack
[Motorola Droid X2] BreatheALittle:
Hmm not sure what happened earlier, as the pic *was* there... but it should be fixed now! :)
[Motorola Droid X2] hedwig34:
Its totally cool with me motcher. If you need help getting any of the systemUIs just holler.
[Motorola Droid X2] motcher41:
Cool so with hedwigs blessing I am goimg to take requests for status bar mods. Keep in mind. Tell me what theme you want and if u want a battery icon.

I will make them as I have time.

Sent from my motchified charge running eclipsecrack
[Motorola Droid X2] Travisdroidx2:
Epic blue 2.1 is a very popular theme ;) and battery is always good to see :) very nice.
[Motorola Droid X2] BreatheALittle:
Ooooooh you two just made me SUCH a happy girl!! :D Being able to have Hedwig's themes with Motch's mod? Yes, please! :p

I will put in requests for either Core Droid, Epic Crimson, or Epic Blue, without the battery icon (so we can use the T.E.A.M. battery bar instead).

I are excite! :p
[Motorola Droid X2] Travisdroidx2:
Motcher I said with battery but I am not really sure what it looks like with battery I take it the pic is with no battery from breathalittle. Thanks for the pic breathalittle.
[Motorola Droid X2] motcher41:
I will do epic blue to start unless brearhealittle cam make up her mind loland pics a different theme. Both with battery and without and center clock

Sent from my motchified charge running eclipsecrack
[Motorola Droid X2] Travisdroidx2:
Awesome no rush. Looks good though its nice to have options :)
[Motorola Droid X2] BreatheALittle:
My pic is *with* the stock battery icon. What Motch is referring to (without battery) would remove that icon. Then you can use a variety of apps for your battery. I will end up using T.E.A.M. Battery Bar, which places a colored line, horizontally, at the top of your screen to indicate battery life.

Without the battery icon, your status bar just looks a bit cleaner. :)

Hey now! Don't you get sassy with me, mister! ;) Hahahaha I am indecisive, this is true. I am totally grateful that you still think of us and create mods for us. :) Epic blue works, and if you happen to get bored, I wouldn't mind one for the Core Droid. Ya know... when you're bored, and stuffs. :p
[Motorola Droid X2] ashclepdia:
if I'm not mistaken, I think you can also make it so that the battery bar shows across the bottom of your screen as well, for those that don't want it on top, and you can change how thick it is and which colors it turns when half down, charging, and other battery "events" ,(even can set the percentage at which it will change colors) when I was on epic blue and had no battery mod installed I used battery bar to have it show dark blue when 50%+ , Cyanish bluish greenish for 30-50% and then bright ass orange for Under 30 , was pretty neat way to keep track of your battery use, and for those that have battery ocd it's a nice change from staring at the 1% battery status just counting down before your eyes lol
[Motorola Droid X2] Travisdroidx2:
Funny seems like we share the same favorites for themes. I tried the core theme yesterday but went back to epic blue. I like the font and keyboard better. And yes I also appreciate Motcher

Still helping with this device.
[Motorola Droid X2] motcher41:
Awe thanks guys :) its lonely over hear in charge land since some jackass XD was supposed to join.me here....:p

I will make epic blue tonight. If someone gets bored and wants to.upload the system ui for me that would be great and core one too.

Sent from my motchified charge running eclipsecrack
[Motorola Droid X2] Pixelation:
Sweet!!! If be grateful for a Core theme without battery, or with it... Either, or.

This ISN'T my Transformer Prime
[Motorola Droid X2] motcher41:
Geeez nobody sent me a systemui

Sent from my SCH-I510 using Xparent Blue Tapatalk
[Motorola Droid X2] BreatheALittle:
I totally would have... only one problem. I have *no clue* where to find it, or how to send it. :)
[Motorola Droid X2] Travisdroidx2:
Hey Motcher I looked all through root explorer and could not find system ui? How do I find it? I looked all through system files I thought it would be in framework but I could not find it.

I googled it and found it let me send it to you. This is the epic blue thanks again.

Breathealittle it is in your system/app it is just a app
[Motorola Droid X2] Travisdroidx2:
Breathealittle is that your battery temp on top left? Is that a app? Sorry what launcher are you using?
[Motorola Droid X2] motcher41:
Weatherbug app. I use it too

Sent from my SCH-I510 using Xparent Blue Tapatalk
[Motorola Droid X2] Travisdroidx2:
Thanks sorry I sent the file late I should have goggled it earlier. I thought it was a file or something not an app lol
[Motorola Droid X2] BreatheALittle:
That is actually just a feature of BeautifulWidgets. If you already have that app, it's an option in settings. It also features a weather widget when you pull down the notification bar. I'm sure other apps have this as well (as Motcher advised of WeatherBug), but I just happen to love BeautifulWidgets.

Oh, and I'm using ADWLaunder EX for my launcher. :)
[Motorola Droid X2] motcher41:
Here you go check the op. please let me know if your phone melts afterwards. would be cool to let me know they work and put some screens up.

Sent from my SCH-I510 using Xparent Blue Tapatalk
[Motorola Droid X2] Travisdroidx2:
Great I have beautiful widget already I will check it out. Thanks!
[Motorola Droid X2] Pixelation:
Lol...

This ISN'T my Transformer Prime
[Motorola Droid X2] Travisdroidx2:
Motcher I tried epic blue and it was the same as before not centered.
[Motorola Droid X2] motcher41:
Which one did you try? can you try the other epic blue and let me know

Sent from my SCH-I510 using Xparent Blue Tapatalk
[Motorola Droid X2] Travisdroidx2:
With battery going to try the other one now.
[Motorola Droid X2] Pixelation:
Core Droid!!!

Thanks Motcher, great work as always :)

This ISN'T my Transformer Prime
[Motorola Droid X2] Travisdroidx2:
Epic blue with no battery works fine. I will re download and try the other one again with battery.
[Motorola Droid X2] motcher41:
Lmao well found the issue and uploading fixed one now...youll find an app.in you system/app folder that says eclipseepicblue systemui i forgot to rename it. Jizt delete it and reflash the new one

Sent from my SCH-I510 using Xparent Blue Tapatalk
[Motorola Droid X2] motcher41:
fixed one is ready same link

Sent from my SCH-I510 using Xparent Blue Tapatalk
[Motorola Droid X2] Travisdroidx2:
It works perfect now:)
[Motorola Droid X2] motcher41:
sweet I could use a screenshot for epic blue...hint hint

Sent from my SCH-I510 using Xparent Blue Tapatalk