[Tutorial] How to update leaked stock roms via lg suite - LG Optimus 2x

Hi if someone is interested i have upgrade method that uses lg suite.
You need to have installed apache2 server on your computer (from XAMPP, WAMPP or something else).
Works only for stock roms (i tried only from 28e to 28g and it was successfuly)
1. Download attached file.
2. Unpack in directory C:/sites (make it if you dont have it).
3. Conect your phone to lg suite and download newest version for ics.
4. Try to upgrade software (You'll get latest version message).
5. Exit lg suite.
6. enter http://csmg.lgmobile.com:9002/csmg/b2c/client/auth_model_check2.jsp?esn=Your_imei in your browser (Your_imei replace with your imei device)
7. You should get response in your browser. Right click on page -> select view page source -> then save source in C:/sites/lgupdate/csmg/b2c/client/ directory (overwrite previous file).
8. edit this xml file and replace urls in sw_url and sw_locale_url with http://csmg.lgmobile.com:9002/swdata/WEBSW/LGP990/AROMDW/V30a_00/V30A_00.kdz (my phone is for romania but I think it will work for everyone ) do not touch tags only replace urls (remove blanks from link sorry I can't post links).
9. download kdz file from kdz leaker link (look in dev section) and copy it to C:/sites/lgupdate/swdata/WEBSW/LGP990/AROMDW/V30a_00/ directory
10. now setup server. First you edit file: windows/system32/drivers/etc/hosts (for winXP, and file is without extension)
11. add following line: 127.0.0.1 csmg.lgmobile.com
12. find apache vhosts file and add following lines:
Code:
Listen 9002
<VirtualHost *:9002>
DocumentRoot "c:/sites/lgupdate"
ServerName csmg.lgmobile.com
ServerAlias csmg.lgmobile.com
DirectoryIndex index.php
<Directory "c:/sites/lgupdate">
AllowOverride All
Allow from All
</Directory>
</VirtualHost>
13. restart apache server
14. now start again lg suite and you should be able to upgrade your phone same way like from lg server.
15. when new upgrade occurs you'll have to edit auth_model_check2.jsp file from 8. and enter new name.
I successfuly upgraded from 28E to 28G without loosing any data, but I think it should work with all stock roms and new lg suite. This method unroots phone and removes cwm if you have it installed but preserves all your data and old apps.
When you want to have acces to lg servers (to download new kdz or something else) you have to delete line from hosts file ( step:11. ) and just wait couple minutes browser to refresh DNS.

Very clever ! I really like your proposal.
But after step 8 why dont you launch directly LG update software ?
It should find the .kdz on the net at given URL, no?
Sent from my LG-P990 using xda premium

joel8736 said:
Very clever ! I really like your proposal.
But after step 8 why dont you launch directly LG update software ?
It should find the .kdz on the net at given URL, no?
Sent from my LG-P990 using xda premium
Click to expand...
Click to collapse
You have to trick lg suite to think that csmg.lgmobile.com server is on your local server.
But by doing this you loose access to real lg server so you must place kdz file inside your local file system as explained in tutorial.
I recorded responses from real lg server when lg-suite queries a latest firmware. Its in a file auth_model_check2.jsp.
Oops I found mistake you must download kdz before anything not in step 13.

Vosetal,
If you can change the thread subject to how to updateLEAKED stock roms via lg suite it will be helpful
Anish

It didnt work for me. The page was blank and there was no source code to copy

agent6 said:
It didnt work for me. The page was blank and there was no source code to copy
Click to expand...
Click to collapse
Sorry it is my error. You must do call this page form lg servers BEFORE you alter hosts file in windows. Also you must download kdz before because when insert line in hosts file you lose connection with real server (till you remove line or comment it with #).

is it possible to go from v20s to v30a with this method?
here in portugal v30a isnt yet available... my phone is unlocked to any carrier.
edit: forget it... i used smartflash... quick n easy

Didn't the OP forget to mention we need apache server installed?

dark_sat said:
Didn't the OP forget to mention we need apache server installed?
Click to expand...
Click to collapse
No.

Related

[Root] on V20B_CIS&V20O_DEU

V20B (CIS)
V20O (DEU)
Root on V20B
information deleted
I used google translator and that's the result of the post above:
All items are strictly in the order do not jump over them and keep the sequence!
Spoiler (+ / -) (I advise you to read before flashing)
to the root of drive C:
Two. Download Attachment SmartFlashTool_External.rar (1.18 MB) Number of downloads: 37
and extract the root of drive C:
3. Download Attachment Superuser.zip (611.2 KB) Number of downloads: 51
and put ( no need to unpack ) File on the SD-card phone
4. Turn off the phone.
Five. We hold the Volume Up (+) and insert the USB cable one end into the computer, the other into the phone
6. We will have the text of S / W Upgrade Please wait while upgrading ...
Spoiler (+ / -)
7. Run the file B_SmartFlashTool_Extern.exe
Eight. Go to the tab ROM copy D / L
9. Select the two files that you extracted from the archive [PATCHED] BIN_LGP970AT-00-V20a-CIS-XXX-JAN-06-2012 +0.7 z
10. Check:
Spoiler (+ / -)
11. Click the Start button
12. Go to the process of the firmware, go to drink coffee \ tea shorter depart away from your computer to your phone
13. When you sign Download Comlete! Go to the phone
Spoiler (+ / -)
14. On the phone, we see the regime Recovery (touch it, the management of a finger)
15. Select install zip from sdcard
16. Then choose zip from sdcard
17. Prolistyvayem and choose Superuser.zip
18. Prolistyvayem and select Yes - Install SuperUser.zip
19. Select + + + + Go back + + + +
20. Choose wipe data / factory reset
21. Prolistyvayem and select Yes - delete all user data
22. Then reboot system now
That's it! Phone is loaded, if you do it right!
As a result, we have a firmware with the Root-V20A human touch and Recovery! Thank you all and good luck to you in the firmware!
Click to expand...
Click to collapse
Dont exactly know, what it does, but as far as I get it, it roots the device and installs CWM touch.
Credits go to poster, if it is successful.
Hey, thanks for posting here. Here is v20b : http://www.lgmobiles.com/gsm/download/P970 V20B(Gingerbread Version).rar
We don't have it for N version. I saw the russian forum and wanted to ask you about howvyou managed to root v20a before this method.
Sent from my LG-P970 using XDA App
this method is working just v20a(attachment patched bin file) right?
Where how I convert .kdz to .bin file?
I know russian very well.So i shortly translate all procedure done here.
They patched original 20A bin file , changing system recovery.img with clocworkmod recovery.img touch version.
Download 20A.bin extract it,and put somewhere in your computer.
and below there is a CWM flashable superuser.zip.
Download it and put to your Sd kart.Do not extract.
Then simply flash that patched 20A bin file with smart flash procedure posted here from radkor
http://forum.xda-developers.com/showthread.php?t=1448803
After finished flashing with smartflash tool go to cwm recovery and install superuser.zip
and you get rooted original 20A ginger.
Nice option for flashing and rooting
but we do not have 20N bin file yet.
we have only indian version 20B bin file, redpik posted it above
Thread moved
Unless it's a ROM or kernel you've created yourself, this doesn't belong in Development.
Doesn't SmartFlash auto erases all user data (factory reset at first boot)?
Okey... Maybe, tomorrow I will be a version (.bin) V20N
Sorry for my English
Kraaz said:
I know russian very well.So i shortly translate all procedure done here.
They patched original 20A bin file , changing system recovery.img with clocworkmod recovery.img touch version.
Download 20A.bin extract it,and put somewhere in your computer.
and below there is a CWM flashable superuser.zip.
Download it and put to your Sd kart.Do not extract.
Then simply flash that patched 20A bin file with smart flash procedure posted here from radkor
http://forum.xda-developers.com/showthread.php?t=1448803
After finished flashing with smartflash tool go to cwm recovery and install superuser.zip
and you get rooted original 20A ginger.
Nice option for flashing and rooting
but we do not have 20N bin file yet.
we have only indian version 20B bin file, redpik posted it above
Click to expand...
Click to collapse
Ok. Let me try to understand this. They replace "system recovery.img" which is reside in the original rom bin file with "cwm recovery.img" (where to get this file?) and then flash it using smartflash tool. So after reset by smartflah, cwm is already in the phone installed. Then all is easy, proceed to install superuser.zip, etc..etc.zip.
How is it possible to obtain root by inserting cwm in the rom while cwm itself require root to run? Also, what's the "system recovery.img" that got replaced. Is it important?
Please investigate more. Need more info on how "patching" is done too. I don't understand russian.
Sent from my LG-P970 using XDA App
SnegovikRZN said:
Okey... Maybe, tomorrow I will be a version (.bin) V20N
Sorry for my English
Click to expand...
Click to collapse
Can you help to make one for v20b? The link post above by redpik contain bin file for v20b. If succeed, we're going to have the 1st v20b rooted. Hell yeah!
Sent from my LG-P970 using XDA App
adxgrave said:
Ok. Let me try to understand this. They replace "system recovery.img" which is reside in the original rom bin file with "cwm recovery.img" (where to get this file?) and then flash it using smartflash tool. So after reset by smartflah, cwm is already in the phone installed. Then all is easy, proceed to install superuser.zip, etc..etc.zip.
How is it possible to obtain root by inserting cwm in the rom while cwm itself require root to run? Also, what's the "system recovery.img" that got replaced. Is it important?
Please investigate more. Need more info on how "patching" is done too. I don't understand russian.
Sent from my LG-P970 using XDA App
Click to expand...
Click to collapse
I guess you need to investigate more how android works. Flashing recovery image with the whole system in a bin file makes cmw part of the "original" firmware so,like recovery that only can erase all this one can read/write in the system files. Sounds normal. I read on Samsung forums that they get root for latest versions by flashing a patched odin file and then a su zip. I will try it
Sent from my LG-P970 using XDA App
adxgrave said:
Can you help to make one for v20b? The link post above by redpik contain bin file for v20b. If succeed, we're going to have the 1st v20b rooted. Hell yeah!
Sent from my LG-P970 using XDA App
Click to expand...
Click to collapse
Since Telcel's v20a is is just out, its going to be pretty good news if it works.
mihaiolimpiu said:
Doesn't SmartFlash auto erases all user data (factory reset at first boot)?
Click to expand...
Click to collapse
Yes it does.
Redpik said:
I guess you need to investigate more how android works. Flashing recovery image with the whole system in a bin file makes cmw part of the "original" firmware so,like recovery that only can erase all this one can read/write in the system files. Sounds normal. I read on Samsung forums that they get root for latest versions by flashing a patched odin file and then a su zip. I will try it
Sent from my LG-P970 using XDA App
Click to expand...
Click to collapse
Then we can say that this is universal method as long as cwm can be patch into the rom. Finding exploit is not necessary anymore. So, what's the function of the file replaced in the rom. Is it the original lg recovery method which is not available anymore if this we use this method?
Thanks for the explanation, I wonder why it hasn't be use before, maybe because lack of rom file in bin format?
Edit: downloading rom in your link, pls post how to proceed if you get hold of it.
Sent from my LG-P970 using XDA App
adxgrave said:
Then we can say that this is universal method as long as cwm can be patch into the rom. Finding exploit is not necessary anymore. So, what's the function of the file replaced in the rom. Is it the original lg recovery method which is not available anymore if this we use this method?
Thanks for the explanation, I wonder why it hasn't be use before, maybe because lack of rom file in bin format?
Edit: downloading rom in your link, pls post how to proceed if you get hold of it.
Sent from my LG-P970 using XDA App
Click to expand...
Click to collapse
The problem is that we don;t know how to extract .bin files and modify the content. Just the first post has the good link I posted the stock v20B so he would patch it
Redpik said:
The problem is that we don;t know how to extract .bin files and modify the content. Just the first post has the good link I posted the stock v20B so he would patch it
Click to expand...
Click to collapse
to get the files out of a kdz: grab them while someone is using the KDZ program to update their phone. The files are extracted and put into "C:\ProgramData\LGMOBILEAX\Phone" but as soon as the program detects no phone the entire directory is blown away. Too fast to grab the files. So either you update for real (in which case you have the time to grab the files) or you create a symbolic link between the C:\ProgramData\LGMOBILEAX\Phone folder and another folder you create say name it C:\test. What happens is that files get extracted and then \phone folder deleted when no phone is detected but the files remain on the \test folder. So you get your files which are a "model.dll" file (in p970 case i guess something like lgp970.dll) and a .wdb file which is the firmware. How to proceed though to tinker further with the .wdb file so as to get bin file and baseband still elludes me
I bet our rom cooker knew how to unpack and repack. So, anyone?
Sent from my LG-P970 using XDA App
jimakos29 said:
to get the files out of a kdz: grab them while someone is using the KDZ program to update their phone. The files are extracted and put into "C:\ProgramData\LGMOBILEAX\Phone" but as soon as the program detects no phone the entire directory is blown away. Too fast to grab the files. So either you update for real (in which case you have the time to grab the files) or you create a symbolic link between the C:\ProgramData\LGMOBILEAX\Phone folder and another folder you create say name it C:\test. What happens is that files get extracted and then \phone folder deleted when no phone is detected but the files remain on the \test folder. So you get your files which are a "model.dll" file (in p970 case i guess something like lgp970.dll) and a .wdb file which is the firmware. How to proceed though to tinker further with the .wdb file so as to get bin file and baseband still elludes me
Click to expand...
Click to collapse
update: doing some research and it seems to extract the bin files you need lgutils and the .dll file you get from the kdz extraction but I am not at home to look into it any further.
Stable ROOT METHOD found!
You don't need this, disabling LG MODEM DEVICE under modems makes UNLOCKROOT work on every firmware! TESTED on 20N german version!
Disabling LG MODEM DEVICE under modems makes UNLOCKROOT work on every firmware! TESTED on 20N german version!
Here is the proof
http://forum.xda-developers.com/showpost.php?p=22195743&postcount=417
Here are the drivers I used:
http://forum.xda-developers.com/showpost.php?p=22196019&postcount=21
I used Windows 7 32 bit, the original poster used Win7 64 bit...

[Q] Downloading BIN/FLS form LG CSMG servers

As you all already know, if you use this, you can check your current firmware:
Code:
http://csmg.lgmobile.com:9002/csmg/b2c/client/auth_model_check2.jsp?esn=IMEI
It displays link to downloadable KDZ file, that can be downloaded by any web browser:
OK *************** LGP970 APOLTL ************* 20110514 V20N_00 http://csmg.lgmobile.com:9002/swdata/WEBSW/LGP970/APOLTL/V20n_00/V20N_00.kdz http://csmg.lgmobile.com:9002/swdata/WEBSW/LGP970/APOLTL/V20n_00/V20N_00.kdz GLOBAL/GLOBAL N N EL GSM
Click to expand...
Click to collapse
But when we enter:
Code:
http://csmg.lgmobile.com:9002/csmg/b2c/client/cs_auth_model_check.jsp?esn=IMEI
It displays something like this:
OK 35677********** LGP970 APOLTL ************* 20110514 V20n_00_5 http://csmg.lgmobile.com:9002/ezls/MESSW/LGP970/POL/SWP/5/BIN_LGP970AT-00-V20n-EUR-XXX-DEC-31-2011+0.zip
Click to expand...
Click to collapse
It's direct link to firmware in BIN/FLS format that can be used with SmartFlash to unbrick or fast flashing our phones.
Unfortunately we can't download this file with our web browser.
Is there any possibility to "cheat" LG servers, by modyfying HTTP packets (or something) to let us download this firmware?
radkor said:
As you all already know, if you use this, you can check your current firmware:
Code:
http://csmg.lgmobile.com:9002/csmg/b2c/client/auth_model_check2.jsp?esn=IMEI
It displays link to downloadable KDZ file, that can be downloaded by any web browser:
But when we enter:
Code:
http://csmg.lgmobile.com:9002/csmg/b2c/client/cs_auth_model_check.jsp?esn=IMEI
It displays something like this:
It's direct link to firmware in BIN/FLS format that can be used with SmartFlash to unbrick or fast flashing our phones.
Unfortunately we can't download this file with our web browser.
Is there any possibility to "cheat" LG servers, by modyfying HTTP packets (or something) to let us download this firmware?
Click to expand...
Click to collapse
I think that only B2B is able to download from there. It`s about security, username and password.
scamex said:
I think that only B2B is able to download from there. It`s about security, username and password.
Click to expand...
Click to collapse
B2C only downloads kdz files. You only need to check out its userdata, and you will find it in there.
So I also dont know, how to get the bin files. I bet that anyone has either gotten them from a friendly LG customer service worker, or he/she him-/herself is a LG worker.
what means the code after OK IMEI...... LGP970 APRTTL 110K ...... DATE when you put the IMEI .... it`s show`s when the IMEI was first time activate or it show`s when the IMEI was created ? thanks
Do you mean this: DEC-31-2011+0.zip?If so, it means, when the software was finished, I think.
N00BY0815 said:
Do you mean this: DEC-31-2011+0.zip?If so, it means, when the software was finished, I think.
Click to expand...
Click to collapse
nope , i mean this code OK 3597XXXXXXXX LGP970 APRTTL 110KPXXXXXX 20111028(THIS DATE) V20n_00_3 http://csmg.lgmobile.com:9002/ezls/...IN_LGP970AT-00-V20n-EUR-XXX-DEC-31-2011+0.zip
because after a month i buy this phone i see the case has 2 seals , one above other and now the phone it`s in service due the one dead pixel and i think the phone has other problems and might be returned to the store from other costumers and i`ve buy`ed a returned one , this it`s my concern , thanks
radkor said:
It's direct link to firmware in BIN/FLS format that can be used with SmartFlash to unbrick or fast flashing our phones.
Unfortunately we can't download this file with our web browser.
Is there any possibility to "cheat" LG servers, by modyfying HTTP packets (or something) to let us download this firmware?
Click to expand...
Click to collapse
After lg update client extracted the kdz file, we'll get cab file and then it get extracted again and we get p970.dll and wdb file. I've check p970.dll and it has reference to AP download and CP download. If the update client did download the AP and CP file, a tcpdump or wireshark capture during the update might be useful. But more likely it just convert wdb to AP and CP using p970.dll before flashing the phone. That we need lg's proprietary tool to do the conversion.
Also, judging from url, i think the link is just for reference for their technian or something like that.
Sent from my LG-P970 using XDA App
adxgrave said:
After lg update client extracted the kdz file, we'll get cab file and then it get extracted again and we get p970.dll and wdb file. I've check p970.dll and it has reference to AP download and CP download. If the update client did download the AP and CP file, a tcpdump or wireshark capture during the update might be useful. But more likely it just convert wdb to AP and CP using p970.dll before flashing the phone. That we need lg's proprietary tool to do the conversion.
Also, judging from url, i think the link is just for reference for their technian or something like that.
Sent from my LG-P970 using XDA App
Click to expand...
Click to collapse
is there any ideas/method that we can bypass the LG survaillence and get the bin/fls files?
I really want to get this:
http://csmg.lgmobile.com:9002/ezls/...IN_LGP970AT-00-V20b-454-XXX-DEC-31-2011+0.zip
adxgrave said:
After lg update client extracted the kdz file, we'll get cab file and then it get extracted again and we get p970.dll and wdb file. I've check p970.dll and it has reference to AP download and CP download. If the update client did download the AP and CP file, a tcpdump or wireshark capture during the update might be useful. But more likely it just convert wdb to AP and CP using p970.dll before flashing the phone. That we need lg's proprietary tool to do the conversion.
Also, judging from url, i think the link is just for reference for their technian or something like that.
Sent from my LG-P970 using XDA App
Click to expand...
Click to collapse
but why someone can get v10/v11's bin and fls files?
http://www.freeflashing.net/index.php?topic=218.0
Maybe it's a leak from support service.
netum said:
Maybe it's a leak from support service.
Click to expand...
Click to collapse
Will anyone leak v20 ?
exe127 said:
Will anyone leak v20 ?
Click to expand...
Click to collapse
Maybe. Look here: http://forum.xda-developers.com/showthread.php?t=1467575
This is where I got the v20b bin/fls. Maybe someone inside open it on purpose. There were a lots of other tools in there, unfortunately it's inaccessable now.
Sent from my LG-P970 using XDA App
adxgrave said:
Maybe. Look here: http://forum.xda-developers.com/showthread.php?t=1467575
This is where I got the v20b bin/fls. Maybe someone inside open it on purpose. There were a lots of other tools in there, unfortunately it's inaccessable now.
Sent from my LG-P970 using XDA App
Click to expand...
Click to collapse
the v20B you got seems is indian version. Have you seen the hongkong version in that site before?
Nope.
Sent from my LG-P970 using XDA App
adxgrave said:
Nope.
Sent from my LG-P970 using XDA App
Click to expand...
Click to collapse
OMG
http://csmg.lgmobile.com:9002/csmg/b2c/client/auth_model_check2.jsp?esn=IMEI lin doesn't work.... i wrote my emai and the pae is blank. can u help me?
Hey guys,
I tried something interesting today. I upgraded to the latest official firmware with the LG Mobile Update and it appears, that the .fls and .bin files are loaded into memory by LGUserCSTool.exe when the upgrading process starts. I verified this by dumping its memory and looking inside with a hex editor. That means the newest firmware .fls and .bin can be taken from there.
I had a hard time finding out where the files ended inside the dump, though. Also the bin file seems to be in multiple parts (LGP970_AP[0].bin, LGP970_AP[1].bin etc). So in the end, I didn't quite get there, but maybe someone more knowledgeable can improve on this?
Nice finding man. Somewhere to start. I've tried direct download with encoded url but failed miserably. Lol.
Sent from my LG-P970 using XDA App
Try sniffing communication between LG and update. Also probably you need to have correct useragent set.
I tried that too. LG Update uses 2 user agents, none of them give access to the bins. Besides, the regular updater only downloads the kdz file which is available to everyone.

[TOOL] LGExtract 0.2.1

[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)
LG-P970 ROM CONVERTER - Thanks jes0411 (if you are noob, this if for you )
Other tools: (to use with files extracted by LGExtract)
replace recovery
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.
Click to expand...
Click to collapse
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
Thanks to:
miniz - zlib compression
SimpleOpt - cmd line parser
Sephirothrx7 - for beta testing
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.
nothing happens when I try to run it, even if I put it in a same dir where a fw is.
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
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
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.
Ilko said:
nothing happens when I try to run it, even if I put it in a same dir where a fw is.
Click to expand...
Click to collapse
Did you tried run something like:
LGExtract -kdz file.kdz
What is your operational system?
re4lsk said:
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
Click to expand...
Click to collapse
Yeah, it's on my plans, for now I wanna extend the support first.
megaurs said:
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
Click to expand...
Click to collapse
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.
Huexxx said:
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.
Click to expand...
Click to collapse
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
If that's correct, then I retire what I've said...
Can U extract .bin and .fls from .wdb file?
@navossoc
Look into my Mediafire ShareFolder maybe you`ll find some source code into those programs leaked from LG india website.
Huexxx said:
If that's correct, then I retire what I've said...
Can U extract .bin and .fls from .wdb file?
Click to expand...
Click to collapse
Yes, I have helped him to test the application and it was working properly.
Sent from my LG-P500h using Tapatalk 2 Beta-4
Ilko said:
nothing happens when I try to run it, even if I put it in a same dir where a fw is.
Click to expand...
Click to collapse
Not working on me eighter. When i want to open, it opens for just half a second and after that it dissapear.
You guys need to use command line. Open cmd and type: LGExtract -kdz "path to kdz file"
Did you try LG Utils ?
It can extract wdb and kdz both.
I'm having problem while extracting .wdb bcoz it asks for FW ver. and dont know which ver I have maybe someone else knows his FW ver so he'll be able to successfully extract wdb
omr911 said:
Did you try LG Utils ?
It can extract wdb and kdz both.
I'm having problem while extracting .wdb bcoz it asks for FW ver. and dont know which ver I have maybe someone else knows his FW ver so he'll be able to successfully extract wdb
Click to expand...
Click to collapse
LG utils cant extract the new wdb, even if you pass the correct fw version. The dll that come in the new kdz files dont have the needed functions that lg utils use. And the kp500 dll obvously cant be used to extract other wdb files.
Sent from my LG-P500h using Tapatalk 2 Beta-4
Huexxx said:
If that's correct, then I retire what I've said...
Can U extract .bin and .fls from .wdb file?
Click to expand...
Click to collapse
Yes, I can, but just as I said, I need a little more time to do all the error handling at the code. I don't wanna brick anyone phone.
I successful extracted the .wdb from LGP970 and got a .bin and a .fls file.
Then I used the SmartFlash Tool and flashed it at my phone. Works perfect.
The sha1 I got from the file was the exactly same as the "leaked" V10b-724-xxx bin/fls that we got available on the web.
I can extract any version, v10a, v10b, v20a, v20b, whatever
You can get any kdz from here and extract it to bin/fls.
Some phones has different file structures, but 920 and 970 has the same files bin/fls.
scamex said:
@navossoc
Look into my Mediafire ShareFolder maybe you`ll find some source code into those programs leaked from LG india website.
Click to expand...
Click to collapse
I will take a look, if you tell me the name of the file, I can find it quickly
Sephirothrx7 said:
Yes, I have helped him to test the application and it was working properly.
Sent from my LG-P500h using Tapatalk 2 Beta-4
Click to expand...
Click to collapse
Yeah, he was my test subject
Sephirothrx7 said:
You guys need to use command line. Open cmd and type: LGExtract -kdz "path to kdz file"
Click to expand...
Click to collapse
He is right, you can't run it with double click.
You need to open a console first (cmd.exe or power shell for ex.)
omr911 said:
Did you try LG Utils ?
It can extract wdb and kdz both.
I'm having problem while extracting .wdb bcoz it asks for FW ver. and dont know which ver I have maybe someone else knows his FW ver so he'll be able to successfully extract wdb
Click to expand...
Click to collapse
Yes, I already see LG Utils, I got the idea from there.
But, LG Utils can extract only KP500 and KS360.
I spent some time studing how they do that and I get it...
Now I can use the same idea in all .wdb files
For now it's useful for P920 and 970, because bin/fls can be flashed with SmartFlash Tool.
Others phones has different file structures, for example: LU620128 (I think P930) got a "firmware" file .tot with almost 1,3gb!
[]'s
I tried to extract using cmd but it only gives .cab (.wdb and .dll)
How to get bin/fls
Any tutorial ??
omr911 said:
I tried to extract using cmd but it only gives .cab (.wdb and .dll)
How to get bin/fls
Any tutorial ??
Click to expand...
Click to collapse
+1
how convert .wdb in .bin
what about adding a tutorial on how to use this tool? i already extracted the cab, but now i guess i can extract *.wdb from the cab then use the tool again to extract the bin/fls using: LGExtract -wdb *.wdbpath? is that correct?
nope it doesnt work that way
navossoc have already said that the tool is only extracting kdz for now, the wdb functionality is being revised so he can release a stable tool.
Today, I'm releasing version 0.1.0 of the software that extracts only files *.kdz
I will try release the WDB support as soon as possible, but first, I have to review the code. (I don't wanna brick anyones phone )
Click to expand...
Click to collapse
Sephirothrx7 said:
navossoc have already said that the tool is only extracting kdz for now, the wdb functionality is being revised so he can release a stable tool.
Click to expand...
Click to collapse
well extracting WDB works...

How to install firmware in developer devices?

My friends,
Some colleagues like to flash and restore roms too in developer devices (not for sale) like all did with KDZ updater everyday.
The question is: If KDZ isn't working with developer devices, then how we can flash it? How can we unlock it?
I discovered some things:
1 - KDZ is a encrypted file.
2 - Developers device has unlocked bootloader.
3 - I've tried many ways to flash kdz in this device, but it never concludes the process, never worked. It stops on "wparam=2010 iparam=18". There are diferents parameter varyating for each developer phone.
4 - We have to discover a new way to flash in this device, or we can decrypt the KDZ file.
*BINGO!* I DIT IT!
How to FLASH and Unbrick LG P880 Developer Edition
This procedure applies only for the initial LG P880 Developer Edition.
But how to know if your device is this version?
First, remove the back cover of your device and search for the words "not for sale". Then (if your phone still works), go to settings> about phone> Software Version. If the version of your device starts with the code V09a, V09b, V09c, etc. - This is a sign that your phone is the developer version!
This means you can not flashing KDZ files through the official LG updater. Even if you download the file separately, the only thing you will achieve is to brick your phone.
But our problems are over! I came to save you!:thumbup:
Procedure:
First, download the KDZ file of your choice here: http://lg-phone-firmware.com/index.php?id_mod=15
Second, download this firmware pack with DZ. File and proper .DLL File: http://bayfiles.com/file/bRZx/AZaxbu...GP880.v10A.rar
Third, download this drivers:
http://csmg.lgmobile.com:9002/swdata...er-4.10(2).zip
http://csmg.lgmobile.com:9002/data/L...in7_LGEAll.zip
Fourth, download LG Flash Tool:
http://www.mediafire.com/?pzqr0gsw8u9erxl
We will definitely erase any record of your device. Unlike the KDZ method, this one makes a "ULTRA HARD RESET". Our device is not registered as selling model, yet the hardware is identical to the model of the consumer. We'll do the flash rom, and also unlock the device so that it is compatible with the KDZ flasher once and for all!
Once you’ve downloaded all the archives, let’s begin. Go to victory.
1. Extract “LGFlashTool 1.2” and instal "Setup_LGFlashTool_1.2.45.921.exe"
2.Replace the file LGFlashTool.exe into C:\LG\LGFlashTool ( You will crack the software with this )
3. Extract and Install “OMAPFlashInstaller-4.10(2).zip”
4.Exract “LGUnitedModemDriver_WHQL_ML_Ver_4.9.7_All_Wi n7_LG EAll.zip” and Install“LGUnitedMobileDriver_S497CA20_WHQL_ML_Ver_ 1. 0 .exe ” and“LGUnitedMobileDriver_S497MA20_WHQL_ML_Ver_1. 0 .exe ”
5. Turn Off phone, Remove your phone’s SIM and SD cards.
6.Press and hold voll up button in LG P880.
7. When you holding “voll up button” connect the USB cable.
8.When computer detects the new hardware (Omap4430) release “voll up button”.
9. Install the Driver.
10.After Driver installation, go to device manager and change the port “LGE CDMA USB SERIAL PORT” to “com41″.
11. Run LGFlashTool.
12.In DLL select the proper DLL file you’ve downloaded.
13. In S/W select only the proper DZ. File you’ve downloaded.
14.Choice (Check) “USB” and click OK.
15. Click on Port COM settings(COM plug icon) and select "1" ( Unmark the numbers above )
16. Click start(The Port 1 window should appear READY).
17.Disconnects USB cable and wait 5 seconds.
18. Press and hold voll up button in Lg P880 and connect USB cable.
19.The update process will begin automatically after that release the “vol up”.
20. When the progress bar reaches 100%, the phone will power on and boots automatically!
21. Done! You did it!
22. Now go and flash a KDZ file as your choice using KDZ updater! Your phone was’nt more a developer phone! We transformed it on a consumer phone edition! Wow!
Id like to thanks all if you!
And dont forget to thanks hitting the "thanks" button!
Maybe someone should upload a clean firmware backup to flash, hm?
reas0n said:
Maybe someone should upload a clean firmware backup to flash, hm?
Click to expand...
Click to collapse
Hehe, thanks, but I've made it already!
Looks like 2 flashes...
Great Xavier, even if I don't need thanks.
Maybe I can use that for some other things
Have a nice weekend :good:
Think you made a lot of happy campers out there - impressive!
I think this tutorial should be "fixed" on the top of the " Optimus 4X HD Q&A ".
Someone should pay a beer to Xavier, he maid a great job !
Just one thing Xavier, the " firmware pack with DZ. File and proper .DLL File: http://bayfiles.com/file/bRZx/AZaxbu...GP880.v10A.rar" takes me to a dead end (need to register...), the drivers links are dead
Can you fix that ?
Tnx
Hey guys i discovered some things.
We can create a new DZ. file. And a dll can be extracted. Soon I will share how to create a new way using a kdz. file!
Sent from my LG-P880 using xda premium
xavierleonelbr said:
Hey guys i discovered some things.
We can create a new DZ. file. And a dll can be extracted. Soon I will share how to create a new way using a kdz. file!
Sent from my LG-P880 using xda premium
Click to expand...
Click to collapse
But Xavier, thats easy... every time you select "start upgrade" in R&D Test Tool (after you choose a .kdz file) it generates a .cab file.
You just need to extract what's inside of the V10x.cab ... it will be a .dz file and the .dll, in this case "X3_2008_v0.0.6.9"
I didn't explore a lot that "OMAPFlashInstaller" yet, not a lot of time for that now
Just a curiosity, the .dz file extracted from a V10f_00.kdz is good as well, or needs to be exactly the V10a_00.kdz?
Thanks
RuedasLocas said:
But Xavier, thats easy... every time you select "start upgrade" in R&D Test Tool (after you choose a .kdz file) it generates a .cab file.
You just need to extract what's inside of the V10x.cab ... it will be a .dz file and the .dll, in this case "X3_2008_v0.0.6.9"
I didn't explore a lot that "OMAPFlashInstaller" yet, not a lot of time for that now
Just a curiosity, the .dz file extracted from a V10f_00.kdz is good as well, or needs to be exactly the V10a_00.kdz?
Thanks
Click to expand...
Click to collapse
Yes, is good as well. Running V10F here smoothly.
Sent from my LG-P880 using xda premium
xavierleonelbr said:
File and proper .DLL File: http://bayfiles.com/file/bRZx/AZaxbu...GP880.v10A.rar
Third, download this drivers:
http://csmg.lgmobile.com:9002/swdata...er-4.10(2).zip
http://csmg.lgmobile.com:9002/data/L...in7_LGEAll.zip
Click to expand...
Click to collapse
This is etraordinary news my friend!!! But could you please put the 3 links I quoted again. Right now they do not work, and I am dying to flash V10F on my developer LG
TechGR said:
This is etraordinary news my friend!!! But could you please put the 3 links I quoted again. Right now they do not work, and I am dying to flash V10F on my developer LG
Click to expand...
Click to collapse
Ok, Xavier, where are you my friend?
I generate a "http link" for the firmware pack with DZ. File and proper .DLL:
http://s22.real-debrid.com/dl/74d4u284x2y26313b43380/.kdz_et_.dz_.dll_LGP880.v10A.rar
For premium:
http://bayfiles.com/file/bRZx/AZaxbu/.kdz_et_.dz_.dll_LGP880.v10A.rar
LGUnitedModemDriver:
http://csmg.lgmobile.com:9002/data/LGUnitedModemDriver_WHQL_ML_Ver_4.9.7_All_Win7_LGEAll.zip
LG_Flash_Tool_1.2:
http://www.mediafire.com/?pzqr0gsw8u9erxl
https://rapidshare.com/files/1473798152/FLASH_1.2.45.921.zip
OMAPFlashInstaller-4.10(2):
http://csmg.lgmobile.com:9002/swdata/WEBSW/LGP920/AVIVML/20110623_05/OMAPFlashInstaller-4.10(2).zip
I think it's all
Thank you, downloading now.
Downloaded everything except for these, the first one works very very bad, the second stops after 50-90MB (i Know, they are the same file).
TechGR said:
Thank you, downloading now.
Downloaded everything except for these, the first one works very very bad, the second stops after 50-90MB (i Know, they are the same file).
Click to expand...
Click to collapse
I presume you're talking about this link: http://bayfiles.com/file/bRZx/AZaxbu/.kdz_et_.dz_.dll_LGP880.v10A.rar
If you use JDownloader you can do it in 5-10 minutes (depending on your Internet speed...)
I start to download it 2 minutes ago, 3MB/s in 3 minutes it will be finished.
I'll try to upload to 4shared
This file contains:
- LGP880AT-00-V10a-EUR-XXX-MAY-23-2012+0.dz
- V10A_00.kdz
- X3_2008_v0.0.6.9.dll
Like I mentioned before, to have a .dz file it's just needed the .kdz file.
Once that you'll need it to flash, it's enough when you download the .kdz that you want.
RuedasLocas said:
.... every time you select "start upgrade" in R&D Test Tool (after you choose a .kdz file) it generates a .cab file.
You just need to extract what's inside of the V10x.cab ... it will be a .dz file and the .dll, in this case "X3_2008_v0.0.6.9"
Click to expand...
Click to collapse
TechGR said:
This is etraordinary news my friend!!! But could you please put the 3 links I quoted again. Right now they do not work, and I am dying to flash V10F on my developer LG
Click to expand...
Click to collapse
Yes my friends, i will fix it very soon! Its 13:40 here in Brazil, I'm working now. When I go home I will do that!
@RuedasLocas-the problem is not the speed, I download it with ~1MB/s. The problem is that I tried downloading ~10 times, and it stops after 50, 90, 27, etc (up to 500) MB. It stops like it finished downloading and then the archive is corrupt. Maybe a different hosting service would be better.
Anyway, thank you guys for your help!
TechGR said:
@RuedasLocas-the problem is not the speed, I download it with ~1MB/s. The problem is that I tried downloading ~10 times, and it stops after 50, 90, 27, etc (up to 500) MB. It stops like it finished downloading and then the archive is corrupt. Maybe a different hosting service would be better.
Anyway, thank you guys for your help!
Click to expand...
Click to collapse
Arghhhhhhhhhhhhhh!!!
TechGR, you don't need that!
Grab the UpTestEX_mod2_marwin.exe (R&D Test tool) select the KDZ file that you want to install in your phone, hit the "Start Upgrade" and the programe will creat in the same folder where you have the "UpTestEX_mod2_marwin.exe" a .cab file. Even if you don't connect the phone, nothing...
As soon as you see that cab file in the folder, use winRAR to extract the DZ file and the DLL.
The "kdz-update" that I provide here:
http://www.4shared.com/rar/Re4VCOAS/kdz-udpate.html
Arghhhh again
Ok, I tried that, but it did not make any CAB file. However, I decrypted the KDZ using the same tool, and I ended up with a .dz file and a .dll file. I suppose these are the files I need
Well, I followed the tutorial from the first post exactly, except I used the two files I extracted. When I get to step 16 and I click Start, the port 1 does not appear ready (nothing happens).
I'm sure we're gonna sort it out soon, I gotta run now.
TechGR said:
Ok, I tried that, but it did not make any CAB file. However, I decrypted the KDZ using the same tool, and I ended up with a .dz file and a .dll file. I suppose these are the files I need
Well, I followed the tutorial from the first post exactly, except I used the two files I extracted. When I get to step 16 and I click Start, the port 1 does not appear ready (nothing happens).
I'm sure we're gonna sort it out soon, I gotta run now.
Click to expand...
Click to collapse
The best person to help you it's xavierleonelbr, the one who discovered this method
I know, xavier has done a great job with this tutorial and I am sure I can work this out with his help!
and waste a unlocked dev edition phone?
i mean think about it..
this is a rare device..

US Unlocked KDZ V40511B_00

Official LG Link:
http://pkg03.lime.gdms.lge.com/dn/d...1545308164&h=3823ccd6b8e687fef5d019308c6a51e4
To download on Chrome:
1. Install User-Agent Switcher here: https://chrome.google.com/webstore/detail/user-agent-switcher-for-c/djflhoibgkdhkhhcedjiklpkjnoahfmg
2. Right click User-Agent Switcher in Chrome and click Options
3. Add the following:
New User-agent name: LGE (or whatever you want to call it)
New User-Agent String: LGE-ActiveDP/0.9
Group: LGE (or whatever you want to call it)
Append?: Replace
Indicator Flag: 1 (or whatever you want to call it)
4. Enable the custom user agent with the plugin and navigate to link provided above.
I received a software update V11D_00 today, however I could not get LG Bridge to pull this firmware, I may try again later if I have time. I extracted the LGUPc.dll and renamed it to LGUP_common.dll, however I could not get it working with LGUP v1.14.3 (like will not even get to the device screen). When using a LGUP_common.dll pulled from a G7 KDZ (thought this might work due to them sharing the same processor), it still runs into a DLL mismatch, says something about LAF, and the hex difference is 0x10000010 on the DLL vs 0x10000016 on the device, using the V30 DLL, the DLL was 0x10000008.
If anybody knows how to modify the DLL so it is compatible with LG UP here it is:
https://drive.google.com/file/d/19Ja_Vjzj1W2E4w0nn0O9rFMkgnOJfktp/view?usp=sharing
That would be so nice to make this work! Bloat free rom!
I'm interested in crossflashing LG V40. I did that on LG V30+ twice. Here is the XDA topic: https://forum.xda-developers.com/lg-v30/how-to/using-lgup-crossflashing-t3780969
My YouTube Tutorial:
I had LG V30+ (us998) on Sprint and all the bloatwares. I used patched LGUP & DLL file and flash ls998 witch is unlocked V30 kdz. Ot worked prefect. Then i tried to flash some another kdz file, didn't succeed, brick the phone. But then i use CHIP erase and tried to flash ls998 (unlocked) on it. And it worked but that delete serial number and other details. Bc i did chip erase. But phone worked fine at the end?

Categories

Resources