Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[TOOL] LGExtract 0.2.1

OP navossoc

27th March 2012, 03:19 AM   |  #1  
OP Senior Member
Flag São Paulo
Thanks Meter: 220
 
179 posts
Join Date:Joined: Jul 2011
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.

Quote:

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 - Hashes:

CRC32: b5944c12
MD5: 9ced011ff1959463e4ad99df033bd3d9
SHA-1: 2ef469162aa546ec7c1368d45bcbd0affd86e474
Attached Files
File Type: 7z LGExtract-0.2.1.7z - [Click for QR Code] (71.5 KB, 43879 views)
Last edited by navossoc; 4th April 2014 at 05:38 AM.
The Following 77 Users Say Thank You to navossoc For This Useful Post: [ View ]
27th March 2012, 03:20 AM   |  #2  
OP Senior Member
Flag São Paulo
Thanks Meter: 220
 
179 posts
Join Date:Joined: Jul 2011
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:
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)
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.
Last edited by navossoc; 11th August 2012 at 04:41 PM.
The Following 15 Users Say Thank You to navossoc For This Useful Post: [ View ]
27th March 2012, 07:34 AM   |  #3  
Ilko's Avatar
Senior Member
Funky town
Thanks Meter: 472
 
884 posts
Join Date:Joined: May 2007
More
nothing happens when I try to run it, even if I put it in a same dir where a fw is.
The Following User Says Thank You to Ilko For This Useful Post: [ View ]
27th March 2012, 08:50 AM   |  #4  
re4lsk's Avatar
Senior Member
Flag Hermosillo
Thanks Meter: 481
 
853 posts
Join Date:Joined: Dec 2011
Donate to Me
More
What if you drag and drop over the app icon?

I'm not at my PC so i can't test this.

Trolling in the deep
The Following User Says Thank You to re4lsk For This Useful Post: [ View ]
27th March 2012, 09:35 AM   |  #5  
Member
Flag Bucharest
Thanks Meter: 5
 
54 posts
Join Date:Joined: Dec 2010
More
Post
Hi navossoc,

Just tried your tool - extracted V20o kdz to a cab file, containing lgp970.dll and v20o.wdb

1 suggestion / 1 question

- would be nice to have a graphical interface, instead of command line

- what to do with the wdb file ?


Ok, another tiny suggestion - how about trying teamwork with the other devs and create a super flash/backup tool, that can backup a phone via PC and flash stock/custom ROMs, while providing a choice of what packages from the ROM to flash

Congrats for the software
27th March 2012, 10:58 AM   |  #6  
Huexxx's Avatar
Recognized Contributor
Flag Arroyomolinos Madrid
Thanks Meter: 4,794
 
1,609 posts
Join Date:Joined: Jul 2009
Donate to Me
More
If this tool is only intended to extract .wdb file from .kdz it makes nothing new... I archieved this a lot of time ago but is useless.
27th March 2012, 11:22 AM   |  #7  
OP Senior Member
Flag São Paulo
Thanks Meter: 220
 
179 posts
Join Date:Joined: Jul 2011
Quote:
Originally Posted by Ilko

nothing happens when I try to run it, even if I put it in a same dir where a fw is.

Did you tried run something like:
LGExtract -kdz file.kdz

What is your operational system?

Quote:
Originally Posted by re4lsk

What if you drag and drop over the app icon?

I'm not at my PC so i can't test this.

Trolling in the deep

Yeah, it's on my plans, for now I wanna extend the support first.

Quote:
Originally Posted by megaurs

Hi navossoc,

Just tried your tool - extracted V20o kdz to a cab file, containing lgp970.dll and v20o.wdb

1 suggestion / 1 question

- would be nice to have a graphical interface, instead of command line

- what to do with the wdb file ?


Ok, another tiny suggestion - how about trying teamwork with the other devs and create a super flash/backup tool, that can backup a phone via PC and flash stock/custom ROMs, while providing a choice of what packages from the ROM to flash

Congrats for the software

1. I agree, I will in future.
2. If you extract wdb files you got the .bin and .cps file! Yeah!!!! You can flash it directly with smart flash tool.


Quote:
Originally Posted by Huexxx

If this tool is only intended to extract .wdb file from .kdz it makes nothing new... I archieved this a lot of time ago but is useless.

How can you say that? we can flash you p970 with smart flash tool as-is and root in seconds in with this tool (properly finished!)

I need go now, I will post more details later.

Who is having errors, please, more details, operational system?

[]'s
The Following 2 Users Say Thank You to navossoc For This Useful Post: [ View ]
27th March 2012, 11:24 AM   |  #8  
Huexxx's Avatar
Recognized Contributor
Flag Arroyomolinos Madrid
Thanks Meter: 4,794
 
1,609 posts
Join Date:Joined: Jul 2009
Donate to Me
More
If that's correct, then I retire what I've said...

Can U extract .bin and .fls from .wdb file?
27th March 2012, 11:45 AM   |  #9  
Senior Member
Thanks Meter: 22
 
142 posts
Join Date:Joined: Feb 2011
More
Wink
@navossoc

Look into my Mediafire ShareFolder maybe you`ll find some source code into those programs leaked from LG india website.
27th March 2012, 12:28 PM   |  #10  
Senior Member
Flag SANTO André
Thanks Meter: 87
 
216 posts
Join Date:Joined: Mar 2009
Quote:
Originally Posted by Huexxx

If that's correct, then I retire what I've said...

Can U extract .bin and .fls from .wdb file?

Yes, I have helped him to test the application and it was working properly.

Sent from my LG-P500h using Tapatalk 2 Beta-4

The Following User Says Thank You to Sephirothrx7 For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes