yashsingh1/xdaforums huggingface dataset:
[G2 General] waleedJA:
oh sorry for the confusion and thanks for the help

can you tell me what exactly i should do :/
[G2 General] hyelton:
Just google tot hex edit. That's the simplest way.
[G2 General] waleedJA:
well do thanks alot :D

may i ask for your help if i got stuck while trying to fix it?
[G2 General] chocohagelslagje:
I have read a lot of posts about the following and sorry that I probably going to ask a question that has been asked before. I have LG G2 32 GB and live in the Netherlands. I have the stock lollipop firmware but want to flash to kitkat due to various problems. No rooting or custom roms. I have installed all the needed firmware and files. My phone is in download mode and no error in devices. I have read a few times that in the flash tool the select type is automaticly selected. I confirm this. It is selected CDMA - Smartphone (WM). Actually I think I am good to go but do not want to get into problems. I am scared to continue because it says CDMA and we don't have this in The Netherlands. Can you confirm I'm good to go? Thanks for reply.

Edit 1: Just found another thread with explanation and just went for it!

Edit 2: Sorry to ask again but got the message 'lgUserCSTool LGmobile application doesn't work anymore...

' and the programm is hanging. On my phone I first saw the percentage and than went black and now its say's 'wissen' with an android on top (wissen is wiping) Shall I just wait until something happens on my phone?

Edit 3: Sorry after some reboots it booted kitkat!!

Thanks for this thread and tool!!
[G2 General] hyelton:
Yes you keep everything in tact it's normal.
[G2 General] chocohagelslagje:
Thanks very much!
[G2 General] Lawrence Huang:
Thanks for the info. Will try it when stock 5.1.1 or 5.0 is out.:good:
[G2 General] hyelton:
What's your model? There are lollipop 5.0 firmwares. 30x is Lollipop.. If your looking for AT&T or Sprint that won't be happening. Only kdz method phones have lollipop files . Like the D802.

If you have to use the tot method like the D800 you have to OTA update to get it.
[G2 General] Lawrence Huang:
Sorry for the typo. I mean 6.0 instead of 5.0. I am on cloudy3.3 now.
[G2 General] shery.niazi:
I am getting model information check failed issue in my sprint version plz help me
[G2 General] hyelton:
Either two things, are you sure the phone is in download mode right? Also are you sure your using a usb 2.0 port and not a 3.0?
[G2 General] pash10:
How to know which Version of stock rom to be flashed.

Hello guys,

I need to know which version of Stock rom to be flashed to my

LG G2 D802 16 GB India?

Please advice.:rolleyes:
[G2 General] hyelton:
D802 16GB India is what you would flash. And whatever version you wanted.
[G2 General] pash10:
There are lot of version ending with 30b,10c,10b

i am still confused ,

Please advice,:confused:
[G2 General] hyelton:
10x jelly bean

20x kitkat

30x lollipop.
[G2 General] andrew-c:
help

i did all the steps and at the last part when its flashing it it stops at 6% and says CPort::ClosePort(), Undefined Error

I dont know what i am doing wrong can anyone help?
[G2 General] hyelton:
Hmmm never seen that before.. Model? Method?
[G2 General] andrew-c:
ls980 TOT method LG G2 Sprint

not very familiar with stuff like this just trying to fix my phone
[G2 General] hyelton:
So you've set your com port to com41? And using a usb 2.0 port.
[G2 General] andrew-c:
yes i set my com to 41 and am using a 2.0 usb it seems to almost work and just stops
[G2 General] hyelton:
You set the correct item to com41 right? Lge modem or Lge serial? Try another Pc?
[G2 General] andrew-c:
i looked it up and found out it might be the wrong file. do you know if LS980ZV8_13.51097.tot the right tot file for ls980?
[G2 General] hyelton:
If it was the wrong file it would give a different error. If your flashing an LS980 firmware on an LS980 it's correct.
[G2 General] andrew-c:
Im only trying to do this because i soft bricked my phone trying to go back to stock firmware from cyanogen mod. Do you know if there is ant other way to unbrick?
[G2 General] hyelton:
No this is the only way... Like I said try another PC? There is an issue somewhere as this works perfectly fine.
[G2 General] andrew-c:
just wanted to try changing form upgrading dl to boarding dl. it again stopped at 6% but this time it says Cannot get spc code by peek comm

does this help figure out what i did wrong (like i said i know nothing about stuff like this)
[G2 General] hyelton:
Your errors are not common at all never ran into those errors in the tons of phones even your model. I'd suggest trying another computer if you can.
[G2 General] mmbm:
Hi I have LG G2 D802 . My problem is that my phone hangs a lot . I did hard reset but problem didnt go. After hard reset i tried to install custom built rom but still same problem. Then I re installed lolipop 5.0.2 still the same problem .. now

i have downgraded to kitkat and again same problem .. Even now when it hangs It turn off completely like it got bricked or something but it work some time and again after some use it hang.. now i have hardreset my device and putted on standby mood but phone was working fine after some use phone hanged again . I dont understand what is the problem with my LG G2
[G2 General] [] AL []:
I finally got my G2 (VS980)!

I was surprise to see how easy it was to flash a KDZ. So thanks for your help again [MENTION=2607037]hyelton[/MENTION].

I've wasted quite some time trying to get SuperSU installed as my PS would just stay in the pre-download animation w/o ever starting. But I finally tried autorec w/o it and it went through..

So all good now appart the GPS, but when I'll be all set up, I'll make a backup of my custom rom and repeat the kdz-root-recovery, get a gps lock and then restore - fingers crossed
[G2 General] hyelton:
That sounds like you have a rouge app that your installing..

Your welcome :)
[G2 General] mmbm:
I have installed stock kitkat rom but while using the mobile it restarts or sometimes brick but work after somtime. . As mentioned earlier i have tried stock and custom roms but the problem is still here. Only stock apps are installed no gmail account linked . but when i use the phone it freezes and restart on its own.
[G2 General] hyelton:
That seems a lot like a hardware issue.
[G2 General] Shock584:
Update

I did the TOT method as the first wouldnt work and now im not getting any updates to allow me to go to android 5 on my D802 UK. is that going to be a continuous thing or will it eventually come
[G2 General] hyelton:
Did you try a factory reset?
[G2 General] teomor:
Hi guys. I'm entering download mode but my phone doesn't show up in Device Manager. No Ports entry, no Modem entry (yes, I have checked the option to show hidden devices), no USB plug in sound, no nothing. I have tried all USB ports, and a bunch of driver versions (3.13, 3.14, 4.03-latest??) I have no idea what else I can try...

My phone is actually functional (boot, recovery, ROM, everything..) except my GPS isn't working, which is why I want to rever to stock ROM.
[G2 General] hyelton:
What's your os? If windows8/10 they could be hidden
[G2 General] teomor:
Windows 10. But I have checked the 'Show hidden devices' option and also I get no sound notification when I plug the phone in...
[G2 General] hyelton:
So are you sure your using a USB 2.0 port? USB 3.0 won't work.
[G2 General] teomor:
I have tried all USB ports, both 3.0 and 2.0.
[G2 General] hyelton:
Try another PC? But keep in mind 3.0 won't work at all
[G2 General] Cyclonesrule91:
I have a question on using the TOT method to get a buddy's phone back to stock. His phone has a lot of problems.... GPS won't lock, whenever he is on phone the person on the other end is constantly hearing beeps and weird whistling noises, his texts might go thru or they might not. Did this on stock rom so he asked if I'd root the phone and put a custom rom on it to fix the problem. I flashed the Tesla rom and he still has the same issues so figuring it is a hardware problem so now he wants to turn the phone in for warranty to get a different phone. If I use the TOT method, will it still be able to be seen that it was rooted before that could derail his warranty claim? He plans on switching from verizon to another provider when his contract is up and sell his phone so want to make sure he doesn't get bit in the process. I am a lot more familiar with the Samsung and Nexus devices than LG so figured I'd ask before I unroot his phone...

Thanks in advance.
[G2 General] hyelton:
When using TOT or KDZ it wipes all traces of root etc :)
[G2 General] wtpoppie:
Hello Hyelton,

I have updated my D802 32GB from 4.4.2 to Lollipop 5.0.2 a few month ago and i'm very unlucky with many behaviours. Can you tell me which Rom i have to flash to get back to original 4.4.2 and with which method, TOT or KDZ?

Many thanks for your answer
[G2 General] Cyclonesrule91:
OK I am having some issues here and not sure why I am getting these......

Trying to get friends Verizon G2 model LG-VS980 that is currently running Tesla 5.1.1 back to stock. I installed LG_VZW_United_WHQL_v2.20.0 drivers on my computer. Installed the LGFlashtool but didn't open it. I moved the Megalock.dll to the LG folder in OP. Everything appears to be going fine until I am to the step of putting the phone in download mode. I hold the volume up button and plug in USB cable and it acts like I am going into download mode, but then I get "Secure Booting Error!!" on the top of the screen and then screen goes black. Meanwhile on the computer all the sudden I get D: through Q: drives that all show up and I get prompts for each saying in order for me to use the drive I need to format. I have tried different USB cables and all three different USB ports with no success. Is there something I am missing? I went through the last 15 pages and found nothing and read and reread the OP multiple times.

Any help would be appreciated.
[G2 General] hyelton:
So your making sure it's USB 2.0 and not 3.0 correct? Also what you stated about the drives, that's an indication of a hard brick.
[G2 General] Cyclonesrule91:
But I can hold the power button and the phone boots up and appears to be working fine and getting calls and texts so it's not bricked....... yet anyway
[G2 General] hyelton:
Yeah I understand that, but that issue happens majority when hard bricked. My other suggestion would try another computer or use twrp and flash a stock based rom then try to use download mode.
[G2 General] Cyclonesrule91:
OK, I'll try and Flash a stock based rom and see if I can get it to work then. I don't think any of my USB ports are 3.0..... Aren't they blue?

One other thing I just thought of. My phone is a Nexus 6 that is with another carrier. I have it rooted and flash different roms so have drivers on this computer as well. Could it be the Nexus drivers could conflict with the LG drivers.

Thanks for the help so far. Hopefully flashing a stock based rom will fix the issue. Thanks
[G2 General] hyelton:
Well firstly putting a Nexus 6 back to stock is completely different. Google provides all of that. This guide is for phones put out by LG themselves.
[G2 General] Cyclonesrule91:
I am not asking about using methods for the Nexus to take the LG back to stock as I am fully aware they are totally different devices. All I was asking was if the drivers that I have downloaded for my nexus could be conflicting with the Lg drivers I just installed that could be causing me some of the grief. When I had the S4 Samsung the samsung drivers somehow caused issues with the nexus drivers so I needed to uninstall them to get the nexus to work properly
[G2 General] [] AL []:
Seems like you're giving yourself the answer there.... at least, something to give a try...

Reminds me of someone's tapatalk signatures I read yesterday: "Less writing; more thinking"

[emoji5]
[G2 General] hyelton:
Yeah but you shouldn't be using lg flash tool to put it back to stock
[G2 General] striker59:
can't authorize

When I run LG flash tool it wants a user name and password, get a message "USB/Parallel Lock Key is not detected". How do I get past it?
[G2 General] hyelton:
First I'm assuming you mean your using the TOT method right? Also Did you follow the OP? That error occurs if you don't put the megalock.dll in the flashtool folder.
[G2 General] striker59:
Yes using TOT method, I will have to check about the megalock.dll, pretty sure I did, but you are probably right.
[G2 General] hyelton:
Not copying over that file will cause it to ask for a password.
[G2 General] striker59:
Yes its in there.
[G2 General] Kristi-Tech:
Hello guys, I have a D802T but it had a F320 firmware which was strange ( bought it used ). It worked fine but I was bothered why D802T should have had the F320 firmware so decided to flash the D802T Australian firmware from the link on first page. Flashing went fine but now the touchscreen is pretty much f*cked. It doesn't respond to the touch properly. Used a OTG mouse to skip the first time setup and tried the Update Touch Firmware from the hidden menu. Restarted my phone and still the same. Can't find any solution to this, any help please? My phone is unusable right now (except with the mouse ) :(
[G2 General] hyelton:
But did you copy the one from the links in the OP?? There's one in there by default and you have to copy the downloaded on in that folder and replace it.
[G2 General] striker59:
That must have been the problem, copied the dll one more time and now going through setup, thanks for your help! You are the MAN!!!
[G2 General] hyelton:
Your welcome :). And thanks! Haha.
[G2 General] Kristi-Tech:
...guys....any idea on my problem?...pleaseee
[G2 General] hyelton:
Hey :), Sorry I havent responded yet little more of a difficult problem you have there. The touch issues are usually from flashing wrong firmwares. How did you know it was a D802T? Check the mobo?
[G2 General] Kristi-Tech:
Thanks for the reply, it is written on the back of the phone. When the F320 firmware was installed, on About Phone it was shown as D802 model without the T.
[G2 General] Kristi-Tech:
Here is some other info about the touch firmware, which I think has to be fixed/updated in order to work properly.
[G2 General] hyelton:
I honestly never see any issue with that, The issue usually lyes in firmware itself. Like the model number.
[G2 General] briskspirit:
Had same problem long time ago and there was a recalibration of screen through some service menu... but don't remember how to get in there, try to search.
[G2 General] Kristi-Tech:
If you mean Update Touch Firmware option via 3845#*802# hidden menu, then that didn't worked :(
[G2 General] powwow12:
Does this method revert to stock kitkat or stock lollipop?
[G2 General] Hydro333D:
Hey there thanks for your work and useful info always! I am running the cloudy 3.3 lp on a d801 and its good but i m searching also for official 5.1.1 update .I found the 80130c as the latest update .Is it the new 5.1.1 cause for some reason the flash tool doesnt let me flash .Im on 20G bootstack .Do u think something is missing from my download partition? Or is it fault by windows 10 ? I installed everything u described ! I runned succesfully many times before the flash tool but not in windows 10 and with changed bootstack.Thanks man
[G2 General] hyelton:
Please remove those links, that site is not allowed here.

What error are you running into? You never stated b
[G2 General] powwow12:
Yes as in kitkat

or lollipop? Can't be both
[G2 General] hyelton:
Yes it can.. Jellybean, KitKat, and Lollipop. And Marshmallow as well whenever and if it comes out. Method can be used for downgrading , upgrading, and back to stock from root or custom rom. It's all stated in the OP
[G2 General] Hydro333D:
Ohh

Oups sorry for the link .I didnt realise so :good:

Flash tool wont run normal .It says server connection is out !then after a while ask me to try again ..

It runs till 2% and then is out again .I tried several times reboot my lap, different usbs, installed anything

u provided on your page But on the download mode screen i didnt see any line running in%

I see just user 87 and root Im on bootstack 20G edtion if that helps.Thanks again :good:Regards b
[G2 General] Kristi-Tech:
As far as I know, when it hangs up at 2% it means that the firmware you trying to flash is not compatible.
[G2 General] Hydro333D:
maybe

Yeah maybe you are right .I thought about that also but im not sure .Thanks :good:
[G2 General] hyelton:
1. No server connection is normal... It's not supposed to have a connection to server to flash. That's supposed to happen.

2. The 2% issue can be many of things. The most common being that your currently running a custom rom. And in which you'll need to use the TOT method to flash it back to stock.
[G2 General] Hydro333D:
Ok

Thanks so i ll keep that ,but i used to flash via flash tool after custom rom and worked fine in the past .Maybe its that bootstack .Also (nice photos on your site ) cheers
[G2 General] Humzakhalid:
Help

Can any one help,im currently on lg vs98024A and as im outside usa system update won't work , so i thought of manually updating the stock firmware but here im confused how to upgrade? Should i flash vs98027A kidz file then proceed to 27A to 28A and 28A to 39A or could i directly flash vs98039A , and also the given method is for coming back to stock,but im already on stock and i just want to upgrade (one more thing phone is rooted)
[G2 General] hyelton:
You can directly flash. Just make sure your using CSE flash
[G2 General] Humzakhalid:
Thanks a lot :)

---------- Post added at 06:32 AM ---------- Previous post was at 06:27 AM ----------

Thanks a lot :) and one more question will my phone stay rooted or do i have to root it again after flashing vs98039A and i have also heard rooting vs98039A is difficult ,can u tell me a work around?
[G2 General] hyelton:
When you flash back to stock you go back to stock removes root.

No clue. I don't keep up with rooting sorry.
[G2 General] Humzakhalid:
alright thanks a ton , really appreciate your help :)
[G2 General] carpon:
I'm trying to get back to stock using the Flashtool but i always get this error " Connection to the server failed"

any help?
[G2 General] [] AL []:
7 or 8 posts before yours... :

http://xdaforums.com/showthread.php?p=63233316

It never hurts to read a little before posting... And I'm sure searching the thread for "connection to server" would have returned a few answers also.
[G2 General] carpon:
Thanks man, and sorry for being a little bit lazy :D
[G2 General] werderfan23:
Hello,

i got a LG D802 international 32gb. I live in Germany.

At the moment, I have Cyanogend 12.1 with Lollipop 5.1.1 installed and I want to go back to stock rom.

Which method should I use (kzb or tot) and which kzb file do I need (20H_00 or 30b)?

Thank you
[G2 General] hyelton:
Kdz method. And it would depend if you wanted lollipop or kitkat.
[G2 General] Kristi-Tech:
Ok, so I still have not found a solution and its getting even more weird. Decided to remove the back cover and have a look. What I found confused me. What do you think? I don't even know it my G2 is a D802T or the T-mobile one...
[G2 General] hyelton:
That looks like a D800 AT&T. That would explain your touch screen problems.
[G2 General] Kristi-Tech:
So if I flash the D800 firmware, would it fix the problem? Will give it a try ( I wonder if it would let me do that or get stuck at 2% )
[G2 General] hyelton:
No telling. If it's an actual D800 it will. Also you'll need to use the TOT method. And you'll need to use a hex editor and edit the tot file so it'll flash since it will think it's a D802
[G2 General] Kristi-Tech:
This is a refurbished unit and might have the F320K board with other models parts. What makes me think this way is because it had the Korean version firmware, which worked fine. Anyway, will investigate a bit more before I give it a shot on flashing the D800 firmware. Thanks man, really appreciate your help :good: :)

Update:

Now seems that download mode is stuck at this image...
[G2 General] hyelton:
Your welcome :). It could be but I doubt it. The Korean model is usually much more expensive. And on top of that 99% of the fake D802s usually run D802 firmware shipped but are actually D800
[G2 General] Kristi-Tech:
Meanwhile downloading the D800 ToT firmware, I found out the my phone hangs at the bootloader. Check the update on my previous post to this.
[G2 General] hyelton:
That is download mode. Before you flash, just make sure you reboot download mode. Also Google TOT hex edit and follow one of those guides to make flashtool think the tot is a D802 so It;ll flash.
[G2 General] Kristi-Tech:
But before it was different :confused: , few seconds after that image it shown a different image with something written "Firmware Update ...Do not unplug ..." etc

Anyway, can't wait for the download to finish and try it.
[G2 General] hyelton:
You wont know til you try.. But you will need to do that hex edit to the tot first before It will even flash. Unless you root and change your build prop to D800
[G2 General] Kristi-Tech:
Ok, changing build prop to D800 sound easier to me as my phone is already rooted. :good:
[G2 General] hyelton:
Good! Most are not as they have a soft brick lol.
[G2 General] Kristi-Tech:
:D
[G2 General] Kristi-Tech:
Big win over here, finally my phone is fixed. Flashing the D800 firmware fixed the problem! THANK YOU VERY MUCH! :D
[G2 General] werderfan23:
I want the lollipop version.

So would "Germany D80230b_00.kdz" be the right one? There is no 20H_00 version.

Ich choosed the directory lollipop-->32gb
[G2 General] hyelton:
Awesome!! Glad it fixed it! SO it is indeed a D800 then.
[G2 General] hyelton:
Yes. Just besure you flash the correct storage. if 16GB make sure it has 16GB in the file name.

V20x is KitKat. V30x is Lollipop.
[G2 General] carpon:
I've tried every single method that was mentioned in this thread to go back stock but i always get this error in LG Flash tool " server connection failed", any suggestion?
[G2 General] hyelton:
I guess you mean the KDZ Method? That's normal.. Just move that window over.
[G2 General] sprkrt:
my usb port is problematic.

is there a restore method that dosent reqiure usb connection to pc?
[G2 General] hyelton:
Sorry there is only tot and kdz. This is the only complete way to restore back to stock.
[G2 General] carpon:
the whole program is interrupted in this case
[G2 General] hyelton:
?? Don't click the button.. You drag the window out of the way
[G2 General] carpon:
yeah, that only what i did

I've edited the previous post adding a screenshot for what i get.

PS: Sorry for my bad grammatical English :))
[G2 General] hyelton:
Phone in download mode? Using a usb 2.0 port and not 3.0 right? Making sure com port shows up device manager?
[G2 General] carpon:
this is how it shows in device manager!

I'm using windows 10, may it has an effect?!
[G2 General] hyelton:
It shows up there so that's good. It could be Windows 10 causing an issue with flash tool. Did you try running it as administrator? And putting the KDZ in the same folder as flash tool?
[G2 General] carpon:
tried all of this, tried also another PC running win7, still no luck
[G2 General] hyelton:
Something is wrong somewhere.
[G2 General] carpon:
I changed the port from setting to be port41, and guess what !! it WORKED!!

Thank man for your support :)
[G2 General] hyelton:
If your using the tot method you have to change it to com41 :p.

Your welcome :)
[G2 General] teomor:
I am getting the same error on my D802. Did you find a solution for this?
[G2 General] hyelton:
Are you making sure your using a USB 2.0 port? Also why are you not doing the KDZ method?