[DEV] KDZ Firmware Update Fix

Search This thread

unknown_world

Senior Member
Nov 14, 2009
82
144
Problem:
Latest Version of LG Mobile Update prevents uses from updating firmware from kdz files.

Info:
As LG Tools relay on lg webserver to provide application updates and firmware updates it's not possible to just use the old version as it force fully update it self.

Solution:
I used network sniffer(Wireshark) to sniff all the traffic between application and LG Webserver i tracked the important urls and the data coming from LG Webserver. I created all the files with same names and with data from LG Webserver. I changes the LG Mobile Application from 1.5.4.9 to 1.5.4.8. Rest of the files has same data as LG.

How To:

1) Download http://smallsrv.com/

screenshot3101201219212.jpg


2) Install

screenshot3101201219233.jpg


3) Go to Settings

screenshot3101201219272.jpg


4) Go to HTTP Settings

screenshot3101201219284.jpg


5) Change Port to 9002

screenshot3101201219293.jpg


6) Extract the Content of Attached Zip file into C:\shttps\www

screenshot3101201219310.jpg


7) Edit C:\windows\system32\drivers\etc\host in notepad and add the following Line
127.0.0.1 csmg.lgmobile.com

screenshot3101201219324.jpg


8) Enjoy Flashing firmware as usual
http://xdaforums.com/showthread.php?t=1287236

Note:
This method has lot of advantage
-LG Is watching everything when you run firmware update with KDZ Method lg is logging everything you mobile No, SN No, OLD Firmware, New Firmware etc..

Thanks:
If you have any questions or need any info feel free to ask i will try my best to help.

If you like my work Donate
 

Attachments

  • www.zip
    2.8 MB · Views: 47,547
  • shttp3.zip
    144.2 KB · Views: 26,133
Last edited:

b.charles.gagne

Senior Member
Jul 15, 2010
109
8
Terrebonne,QC
That wonderfull moment community finds an flawless solution to bypass permanently the control of a company on OUR phones that we paid them the big price for.

Sincerelym

For the time you used and for your generosity sharing it

THAAAAAAANKS
 
  • Like
Reactions: Meemo23

gamesz2

Senior Member
Dec 10, 2010
770
169
31
holland
Delete everting of LG DISCONNECT your internet start up lg tool
Close it
Connect to internet
Install drivers
Flash tool works for me

Sent from my LG-P920 using XDA App
 

Bayrich

Member
Feb 1, 2009
12
0
no way to download shttp. . . goes to 145kb of 146kb and stops.. tried several browsers and same thing happens
 

Araltd

Senior Member
Jan 30, 2010
1,477
626
USA
Sorry for the stupid reply... I had already flashed my phone with v21v using the kdz method, am I to understand this is not possible anymore because newer versions are available? And this allows us to flash the older versions again? so in theory I could try v20b and go back to v21a or v10 or whatever I wanted...?
 

arsen4oo

Senior Member
Dec 31, 2011
323
113
Yerevan
Samsung Galaxy S21
I did everything step by step.
Now when I run Lg Update tool,it stucks.
And the updater shows the message in the attachment.
What did I do wrong?

Solved.
 

Attachments

  • 11.jpg
    11.jpg
    9.7 KB · Views: 2,768
  • 2..jpg
    2..jpg
    7.6 KB · Views: 3,137
Last edited:

titijr

Member
Oct 29, 2010
38
1
Damn!!!!!!!!!!!!!!! I'm getting crazy...everything goes fine until the update....suddenly my cell phone turn off and a receive a messege:

problem with communication between cell phone and PC.
please disconect the cable from your phone and remove and connect the battery.
power on your phone and press restart button to resume update.

But is the same **** all time!

any help?!
 
  • Like
Reactions: away

unknown_world

Senior Member
Nov 14, 2009
82
144
Damn!!!!!!!!!!!!!!! I'm getting crazy...everything goes fine until the update....suddenly my cell phone turn off and a receive a messege:

problem with communication between cell phone and PC.
please disconect the cable from your phone and remove and connect the battery.
power on your phone and press restart button to resume update.

But is the same **** all time!

any help?!

Which Method are you using
KDZ file?
LG Recovery?
LG Firmware Update?
 

titijr

Member
Oct 29, 2010
38
1
paki I saw your video...
on 0:30 mine is different...where did you get the log file!?!??!?
I don't have it....I got the zip file, put the files inside de WWW folder...but I don't have log file...
 

Paki0402

Senior Member
Mar 27, 2011
173
199
Hi

you have to create one.

Make a new txt-file and call it "log.txt" - then you have to delete the ".txt" - that's all ;)



Greetz paki
 
Last edited:
  • Like
Reactions: titijr

titijr

Member
Oct 29, 2010
38
1
I created one...but it's wierd...it's a text file...how I can change that? I've noticed that you log file is a data file...

I'm completly mad!!!!!
this crap says: "usb device not recognized" (unknown device) when I put on usb cable...
I installed all drivers...What can I do now? I'm close to smash this on the wall!!!!!!

where I can get the drivers? since I edited the host file...and I can't do anything on LG sites...

please help, before I do something crazy!
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 93
    Problem:
    Latest Version of LG Mobile Update prevents uses from updating firmware from kdz files.

    Info:
    As LG Tools relay on lg webserver to provide application updates and firmware updates it's not possible to just use the old version as it force fully update it self.

    Solution:
    I used network sniffer(Wireshark) to sniff all the traffic between application and LG Webserver i tracked the important urls and the data coming from LG Webserver. I created all the files with same names and with data from LG Webserver. I changes the LG Mobile Application from 1.5.4.9 to 1.5.4.8. Rest of the files has same data as LG.

    How To:

    1) Download http://smallsrv.com/

    screenshot3101201219212.jpg


    2) Install

    screenshot3101201219233.jpg


    3) Go to Settings

    screenshot3101201219272.jpg


    4) Go to HTTP Settings

    screenshot3101201219284.jpg


    5) Change Port to 9002

    screenshot3101201219293.jpg


    6) Extract the Content of Attached Zip file into C:\shttps\www

    screenshot3101201219310.jpg


    7) Edit C:\windows\system32\drivers\etc\host in notepad and add the following Line
    127.0.0.1 csmg.lgmobile.com

    screenshot3101201219324.jpg


    8) Enjoy Flashing firmware as usual
    http://xdaforums.com/showthread.php?t=1287236

    Note:
    This method has lot of advantage
    -LG Is watching everything when you run firmware update with KDZ Method lg is logging everything you mobile No, SN No, OLD Firmware, New Firmware etc..

    Thanks:
    If you have any questions or need any info feel free to ask i will try my best to help.

    If you like my work Donate
    28
    Thank you unknown_world for the very good job you did.

    To make things easier for everybody, I wrote a vbscript, to take care of all this automatically and made a new complete package including all needed files and detailed rewritten instructions.

    Extract the Content of Attached Zip anywhere you want.
    This script must be run as administrator so Start ->All Programs ->Accessories -> right-click on Command Prompt -> select Run as administrator. Then drag-drop the script in and press enter.
    OR
    Open Notepad, write the fullpath name of the script inside double quotes e.g:

    "X:\your folder\Automatic Offline Procedure.vbs"

    and save it as whatever.cmd, then right-click this and run it as administrator.

    The script automatically:
    a) adds 127.0.0.1 csmg.lgmobile.com entry (temporarily) in hosts file,
    b) runs the small HTTP Server(which is preconfigured to listen to port 9002 and run from wherever this package is extracted),
    c) installs MSXML,
    d) runs all the utilities automatically for you (you only have to set to ON the windows enabler),
    e) and finally after closing the utility (R&D Test Tool) it reverts back your hosts file, removing the above entry and stops http server and windows enabler.

    I hope it will help.
    3
    Hey unknown_world,

    big big thanks for this - it works just fine!!

    Here is a video how to use it.

    http://www.youtube.com/watch?v=xGl8mJXxyFo



    Greetz paki
    3
    Here you have one in the zip package. ;)

    View attachment log.zip

    I installed all drivers...What can I do now? I'm close to smash this on the wall!!!!!!

    where I can get the drivers? since I edited the host file...and I can't do anything on LG sites...

    please help, before I do something crazy!

    That's normal :)

    If you want have a standard connection to the LG server then you have to kill the "shttp"-Tool and modify the "hosts" file temporar like this:

    attachment.php


    greetz paki
    1
    That wonderfull moment community finds an flawless solution to bypass permanently the control of a company on OUR phones that we paid them the big price for.

    Sincerelym

    For the time you used and for your generosity sharing it

    THAAAAAAANKS