yashsingh1/xdaforums huggingface dataset:
[LG Optimus G Pro] chappatti:
[guide] install at&amp;amp;amp;t kitkat e980 stock flash + root + recovery - complete wipe !

FOR AT&T LG E980:

Basically, from my experience I put together this guide for anyone who wishes to flash a complete stock AT&T KitKat from .TOT file and the root and add recovery.

All the steps are what I have gathered from around the forums, SO I WILL GIVE CREDIT FOR STEPS THAT ARE OUTLINED BY OTHERS. These people helped by their postings.

FLASHING TOT FILES

:

1. The BEST - I think a lot of us can agree - thread for the LG E980 flashing with STOCK firmware is this by HYELTON http://xdaforums.com/showpost.php?p=44983841&postcount=1

STOP OVER THERE AND GIVE THE MAN SOME LOVE AND THANKS !!!!

.TOT files and .Kdz files for all versions can be found at Hyelton's thread above. Also, more details for flashing .TOT vs .Kdz files there. Below is some tips from my experience.

Here is the exact TOT file I used: http://www.mediafire.com/download/djjmck2eost77e3/BIN_LGE980AT-00-V20g-ATT-US-APR-28-2014+0.tot

SOME OF MY TIPS: FROM MY EXPERIENCES

2. The only hitch is getting LGFlash Tools and hacking it. I tried the links on Hyelton’s thread but some are now too new to be hackable. For example, one must find the reg key for the new version of LGTools he links to. Megalock.dll is hit-or-miss. There are other ways for sure but I did not bother further.

3. I found that lower versions of LG Flash Tool (v 1.4.1330R) works just fine.

EDIT: The latest version of LG Flash Tools is here http://www.mediafire.com/download/6g1uyoz2zsiqq1c/LG+Phone+Flash+Stuff.rar

And it contains the DLL to be used during flashing. I STRONGLY SUGGEST USING THIS. You MUST -MUST- TURN OFF INTERNET WHEN USING FLASH TOOLS. This pack contains the full software, and dll files. I have flashed using just this package >10 times at least while testing roms

a.Connect phone and let Windows install drivers. In my case, Windows 8 default were just fine.

b.Put your phone in download mode.

c.Connect it to your computer. In case of windows 8 the windows default drivers work fine.

d.Follow Hyelton’s steps.

EDIT: See posts #32and #33 in this thread. Do not go back to download. But wait for fastboot to install. See post #33 for this. Just wait patiently, the phone will reboot to full normal mode/setup screen, then the LG tools will say pass. BE VERY PATIENT.

ROOTING AND RECOVERY

:

ROOTING:

THANKS TO jarari2:

1.This method here works just fine: http://xdaforums.com/showthread.php?t=2699067

Simple bat file method. Turn ON USB Debugging before trying.

2.RECOVERY:

THANKS TO hoangnova AT http://lgviet.com/forum/threads/moi-thu-ve-lg-g-pro-4-4-2-root-recovery-kdz.14841/

** Download and move following file to phone.

** https://docs.google.com/file/d/0B4vSbKccbcIOV1NjMDlqWUdmVm8/edit?pli=1

OR

** https://onedrive.live.com/redir?resid=1F371A0EDB2BC3A6!107

** Run apk. Done.

You should have a full stock KitKat + Rooted + Recovery… Enjoy!!

If this guide helped you, you can buy me a beer/coffee or any such wonderful drink.
[LG Optimus G Pro] jdk2:
The download on the google drive says it's non-existent.

Nice guide. Thanks!
[LG Optimus G Pro] chappatti:
THANKS ! Fixed !!
[LG Optimus G Pro] ducktat:
Where can I find the .TOT file?
[LG Optimus G Pro] jdk2:
http://xdaforums.com/showpost.php?p=44983841&postcount=1
[LG Optimus G Pro] chappatti:
I decided to just link directly to the actual TOT file I used.....!

Link in OP.
[LG Optimus G Pro] MDMTahiti:
Roots Perfectly

Upgraded to KK 4.4.2 via OTA and rooted follow the directions contained here and every worked perfectly! Thanks for gathering the information!
[LG Optimus G Pro] chappatti:
No Problem.

To do the OTA I guess you went back to complete stock ? Yeah, that is a good option too....! Only, it requires one extra flash (going back to stock!)

Just for info, can you please add the steps to your post.

Thanks.
[LG Optimus G Pro] lchen5:
Where to download AT&T kitkat upgrade ?
[LG Optimus G Pro] hyelton:
In the OP and in my thread :)
[LG Optimus G Pro] chappatti:
Hey, hyelton, thanks for visiting,,!
[LG Optimus G Pro] MDMTahiti:
The steps

I went back to pure stock and no custom recovery, then did the 10p update - I found that the update to 10p would not work with other than stock recovery. I then just used the settings query for OTA update, downloaded and installed - all my programs and data were intact after the update, except apps requiring root would not run correctly. I then followed your steps to root. I still have the stock recovery at this point. KitKat runs great.
[LG Optimus G Pro] chappatti:
So when going back to complete stock the 10p, how did you keep apps, settings if you used odin.? Just interested in your procedure since obviously OTA on stock will retain programs and settings.
[LG Optimus G Pro] MDMTahiti:
It just worked...

Honestly, I don't know. I had been flashing lots of different ROMS and then went back the total day 1 stock. I then updated OTA to 10p a couple of months ago and rooted but did not flash a custom recovery. I then heard that 4.4.2 was available, checked via the about link and downloaded. All the apps and data stayed in place. I then rooted and have yet to flash a custom recovery. I'm sorry I can't give you more detail. But I can tell you that I seem to have better battery life, and I had to pair my phone to my car again. Good luck.
[LG Optimus G Pro] glugo:
i miss network connection

hi, i follow your steps, and it worked, i have KK now on my e980.

but... sometimes i lost my network connection, and it returns in a minute or two

any ideas?
[LG Optimus G Pro] vxkillswitchxv37:
With the recovery installed from this thread. Can we flash non stock custom roms or just stock roms.
[LG Optimus G Pro] Ink Rampant Wolf:
Problems flashing.

Hey! I can't flash the .TOT, the Flash Tool doesn't recognize port COM41, or any other. I go to device administrator, and there's my phone as port 41, but the Flashing Tool doesn't. Any ideas?! :(
[LG Optimus G Pro] chappatti:
Here is the detailed thread for using Lg flash tool. Http://forum.gsmhosting.com/vbb/f17...flashv141-free-no-need-b2b-user-pass-1628819/

I guess you changed yiu computer date and time before using it as mentioned in OP??

Also what Rom are you coming from? Is your bootloader unlocked/lokified?
[LG Optimus G Pro] Jacob030:
Can you guys help me out? I already rooted using towelroot. Is it possible to just install the apk for recovery without doing the other steps?
[LG Optimus G Pro] chappatti:
I have not used towelroot ever. BUT, I do not see why you cannot add a recovery irrespective of root method. I have done this mtself.
[LG Optimus G Pro] kingrise:
Can someone help

So I followed this post and I ran into a problem. I was already rooted but decided to give custom recovery a go. I'm sort of new but pretty good at learning. Anyway downloaded the link for hoangnova's recovery and ran the apk. Seemed to work fine. Downloaded ROM manager and installed CWM. In hoangnova's app I chose the option to flash then reboot into recovery. When it rebooted into recovery I got an error message. Something about boot verify. So I researched and think that the problem was my bootloader isn't lokified. So? What can I do? I think I flashed over the stock recovery and since my bootloader wasn't unlocked I don't even have a custom recovery. How can I get my stock recovery back??? Do I have to reflash Kitkat TOT file? Tho I'll lose some things going back to stock I think I prefer it cause I now seem to have battery issues. Is it safe ???? I didn't dare do a factory reset without any kind of recovery installed either. Someone help please.

And will someone fix the thread to include unlocking the bootloader so others won't run into this problem. Thanx in advance.
[LG Optimus G Pro] chappatti:
Sorry did not get back earlier.

Firstly, I am quite unclear what you did.

1. FIRSTLY .......this post is for Kitakt. Do you have Kitkat installed?

2. Secondly,. you say "Downloaded ROM manager and installed CWM". Why did you do this step? That is nowhere in the post. hoangnova's recovery does everything AND installs the recovery. That's the whole point of the app. hoangnova's recovery IS CWM recovery. All you need to do is hit "flash kitkat recovery" and then "Boot recovery". Again, this is Kitkat!

Just running hoangnova's recovery apk ALONE does nothing, unless you use the menus that pop up to flash the Kitkat recovery .........

2. Does the phone boot and run fine? Or is it stuck??? Please provide that info.

3. Can you even get into recovery? I presume you cannot. Did you try to reinatall hoangnova's recovery ONLY again. Just run the apk, then choose flash and boot into recovery.........don't forget the additional steps to actually flash the recovery.

3. Are you seeing small white text on the top left corner "Secure boot failed. ......" Yes, you need a lokified recovery. hoangnova's recovery is lokified and works fine alone.

4. RECOMMENDED: IF YOU ARE ON KITKAT. Just rerun hoangnova's recovery.

Apps like FreeGee will not work for KitKat, and I am sure ROM Manager also does not work for KitKat.

Sorry, man, but you cannot mix and match posts instructions. Mine is total WIPE KITKAT install and root/recovery.
[LG Optimus G Pro] kingrise:
thanx for responding/helping

Yes I am on kitkat 4.4.2. Used Heylton's TOT. I guess I downloaded and installed ROM manager and freegee because nothing happened when I pressed flash recovery. No menu popped up. Nothing. Yes the phone runs fine and boots fine. I was having a battery problem but that stopped when I uninstalled freegee, ROM Manager and hoangnova recovery. Yes I was getting that message of a secure boot fail. I haven't tried to rerun hoangnovas apk yet. I will soon and let you know what happened. I felt in a circumstance like that I should ask a pro before I did somrthing I would later regret. When I get the chance I'll try again.

Thanx again:D
[LG Optimus G Pro] kingrise:
Got it. Thanx!!!

Tried it again and got it. Thank you.
[LG Optimus G Pro] mwaqas76:
going to flash stock kitkat 4.4.2 on my e980 att

,

I have recently got E980 att version running JB 4.1.2.. I just need to know will "E980_20130314_ LGFLASHv151.dll" be fine to use in LG Flash Tool with kitkat tot file or is there any updated version available? The reason Im asking is because the kitkat tot file date is 28 April 2014 and the provided dll is almost a year older.. thanx
[LG Optimus G Pro] deltree:
I have the same question!
[LG Optimus G Pro] chappatti:
Yup, that file is the right one. If you have probs I can send you mine.

Good luck!

Edit: Here, use this link. It contains the flash tool and the DLL. Turn OFF internet when using flash tool. It is ready to go?

www.mediafire.com/download/6g1uyoz2zsiqq1c/LG+Phone+Flash+Stuff.rar
[LG Optimus G Pro] deltree:
Well I went ahead and risked it before you responded, had the old dll lying with me. Worked fine, for a moment there it gave me a scare after the 95% thing it would not come to at&t after the download mode and 100% but then I used the power button to restart and it started up fine. Am back on kitkat now happily :)

---------- Post added at 11:22 AM ---------- Previous post was at 11:22 AM ----------

Thank you for the great guide worked perfectly for me!
[LG Optimus G Pro] imrankhp:
stacked on LG logo

My phone stacked on LG logo and in my computer there is no USB software's are available for flashing please is there any backup file for USB drivers
[LG Optimus G Pro] chappatti:
Can you explain a littlle more please? How did you get stuck on logo and what are you trying to do.

Edit: In my first post I mention this link. http://xdaforums.com/showpost.php?p=44983841&postcount=1

That thread has all the USB drivers....
[LG Optimus G Pro] imrankhp:
thanks it is back on stock but i have little bit more query about Wifi if i instal another rom into my e980 like cm12 or bilss pop 5.0 then wifi not working after rebooting the phone.
[LG Optimus G Pro] hawkwind212:
Just want say a few things regarding the step d. First of all, if you get down to 100% and you still get an error message, the fastboot may not be installed on the device. The fastboot is the last item to be flashed around when the counter says 97%. Second, regarding where you turn off the device and put it back to the download mode, I have tried that and it doesn't do anything. The tool starts the 'boot sleep time' when the counter is at 85%, and the boot sleep time stops around 93%. IMO during that time period, the flashing tool is not doing anything but waiting on the device to finish factory rests itself, and boots into the OS. Once the device boots into the OS, then the fastboot is installed. So why do you want to interrupt that process, and put the device back to the download mode? Each time I put the device back to the download mode at 90% I end up with the failure to download message. IMO the flashing is not complete whenever you get the error message, regardless several people that say otherwise. So if you get the error message, flash it again, until you get the message that tells you the processes is complete. Otherwise you may end up not having the fastboot in your device.
[LG Optimus G Pro] mityman50:
So how do you know if you got fast boot? Just by if you get to 100% without an error message? Or then, how do you know you didn't get it?

I'm in the middle of flashing stock right now, and I'm going to do it your way: let it boot after 85% then return to download mode. Will edit back in a few minutes with results.

Yep OK so here's the deal with lot of details because that's how I like it:

1. At 85% it started booting, and in LG FlashTool in the Port 1 text window you get the message "Reboot Sleep Time [100s]."

2. It went all the way to 92% while booting,

3. The moment it finished it's boot (so was at the phone setup screen) it ticked over to 93%,

4. I let it sit just to see what happened, and within a few seconds it went up to 94%, 95%...

5. Just before 100% in LG FlashTool I get the message "FBOOT OK : 111 sec",

6. In a few moments I get the messages, "Finalizing," then "complete!" then "PASS!! (540 sec)". The banner changed to "PASS!! [540 sec]" and is blue, not red and "ERROR!!"

I have to conclude that you should let it boot and just let it sit. It knows what it's doing. Thanks for the heads up, hawkwind!
[LG Optimus G Pro] ssgswjohnson:
First, I'm a noob learning how to do this stuff for the first time. I just rooted my first phone 4 days ago, so I am still figuring all of this out. Now that that's out of the way, a couple of questions:

Since I have no desire to install a fresh stock KK, and I am already rooted, can I skip those steps and simply follow your steps for the recovery portion?

I am at the point where I am rooted and would like to try a few things, but feel the need to back everything up first. I am having a difficult time figuring out the best way to install a recovery so I can make backups, and your posted method seems to be the easiest.

My phone is the ATT on stock KK, rooted with Towelroot. I have SuperSU install, as well as BusyBox, SQLite Editor, 3G/4G Speed Optimizer, Root Checker, Greenify, and ROM Toolbox. I haven't done anything with greenify or rom toolbox yet, as I want to be backed up first with a custom recovery.

hopefully that is enough information. I appreciate any response!

-Steve
[LG Optimus G Pro] hawkwind212:
O

So you don't have the custom recovery installed yet? The easiest method is go download freegee from the play store. Freegee will install either cwm 6.0.47 or twrp 2.6.1 in your phone. Now, a word of advice, if you choose cwm as your recovery, it's not the newest version of cwm that freegee installs, but it's a stable version, and it will not cause your device to go into the recovery loop when you get into the recovery mode with volume + power buttons, which is the issue with the touch version of cwm. I don't know anything about twrp because I don't use it, but you can, it's all matter of preference. I just want to tell you if you use cwm, stay with version 6.0.47. Don't flash the newer version because you want the touch control. Let me which one you use.
[LG Optimus G Pro] mityman50:
So maybe this is common knowledge but I'm sharing here- if you take the AT&T OTA update to KitKat after flashing the stock tot, you will be locked out of recovery!

Specifically the 20h build locks out recovery. I didn't want to use towelroot, wanted to do a proper root and a proper root only, but with the 20h update I had to use towelroot before using G Pro Kitkat Recovery. Then I went the proper root process, if that even did anything.

I'm still miffed as hell that I had to use towelroot at all, but I don't want to reinstall a stock tot again.
[LG Optimus G Pro] ssgswjohnson:
I got my OGP for free from a friend of mine who now has a G3. When i got it, it already had Kit Kat on it, so i am assuming i am starting from the most up to date factory look available. That is why I have been so hesitant to dive in and try to install recovery. I keep reading about all these issues people are having with doing what are basically normal modification procedures. To be honest, if i wasn't trying to feed 6 kids on an enlisted man's salary, I would just go get a different phone with more support, but i don't have that sort of expendable income. That is also why i have to be so careful with the phone.

So, based on the reply from Hawkwind, I should, in my current state, be able to simply FreeGee myself the CWM? Without issues? Or, since the phone is all LG and ATT up to date, will these solutions not work, as based on mityman's warning?

I have been doing a lot of reading and in this thread http://xdaforums.com/optimus-g-pro/general/noob-to-g-pro-t2975524 , there was a lot of extra work to get CWM or TWRP to install. if those steps arent necessary, then thats fantastic!
[LG Optimus G Pro] mityman50:
You pretty much have the gist of it down. To be sure, go into settings > about phone > build number... if it ends in 20h, you are locked out of recovery currently.

That having been said, it isn't an issue (for you, at least... I'll explain in the next paragraph). The app G Pro Recovery Unlock, which is linked to in the first post of this thread under Recovery (the Google Docs link) bypasses that lock and installs a CWM based recovery. So your next step is incredibly easy: download that app, install, open it, select "unlock and install recovery" (something like that), and you're done!

Now, the reason that getting locked out of your recovery by the 20h update should have been an issue is because the root method in this thread requires getting into recovery! So what I'm wondering is, how did you root? As far as I know right now, towelroot would be the only way.

The reason I ask is because towelroot has given me issues in the past. Sometimes when I would try to do backups and restore when I was rooted with towelroot, they would error out. Am I certain this is because of towelroot? No, not certain. But it's the only reason I've got, and it's why I try to avoid towelroot, so I can test this idea out.

So what I'm saying is, if you indeed are rooted with towelroot, you may face issues with backups and restoring. Sure you can uninstall AT&T apps and other cool root stuff, but just be wary of the issues I've had in the past. At the very least if you continue on as is- that is, if you download G Pro Recovery Unlock, use it to install recovery, and set up a backup- at least test restoring that backup before installing a custom ROM just to be safe.

If in the future you want to do a proper root with stock KitKat- which is what this thread is all about- for the purpose of keeping it as your "safe go-to" backup, I'll gladly help explain the process of using LG Flash Tools, tot files, and dll files. I remember what it was like being a noob, and while the guides here (particularly hyelton's also linked to in the first post of this thread) are good, sometimes the finer points are a bit muddled. And if it isn't clear yet, I am a ridiculously long winded and explicit explainer.

Hope this helps. Let me know what you plan on doing and if you need help.
[LG Optimus G Pro] ssgswjohnson:
I appreciate the info; and you are very correct on the finer points being a bit muddled. I'm going to run out to my car and, firstly, check the build number so so i know, then I'm going to proceed based on what you have written. OH! before I forget, I did use the Towelroot method, so I'll make sure and test everything out before I go crazy.

Somewhat unrelated: If I need further help, would it be proper to handle that sort of thing over PM, or is this forum's etiquette to do these things out in the open to help out as many folks as possible? I feel like I hijacked a thread and don't want to make a negative early impression for myself.

Also, this stuff is awesome. I'm more of a meat-head that feels out of place in my IT workplace, but this is making me want to learn Linux and expand my horizons, which is cool. I have a hell of a time training my self unless I am really excited about something.

---------- Post added at 04:09 AM ---------- Previous post was at 03:24 AM ----------

I have the 20h build, but the app worked! I now have the CWM based recovery. I rebooted into it, but I didn't do any backing up or recovering just yet, since I only have one hour of shift left and have to get ready for passdown. After I get some sleep today I will go ahead and do a back up and try to restore it. I'll let you know how that goes.
[LG Optimus G Pro] mityman50:
Feel free to PM me any questions. I'm far, far from an expert, but I definitely know how to do those stock firmware flashes. Glad to hear things are working out!
[LG Optimus G Pro] hawkwind212:
What's wrong with using towelroot? EDIT: so there may be some complications associate with towelroot. The other method is to use a Chinese program call root master, it's not as easy to use as towelroot, but it gets the job done.
[LG Optimus G Pro] mityman50:
I've had issues in the past which may or may not have been because of towelroot. I know that when booting out of recovery I would often get a message that I was going to lose root access, or in other places some apps didn't think I had root access. I guessed this is because towelroot isn't a proper root, from my understanding it uses some exploit.

Right now I'm a bit stuck, actually. I need to restore my phone to stock again but the 4.4.2 tot in OP doesn't want to work with LGFlashTools. I don't want to use a 4.1.2 tot and then OTA to 4.4.2 because then I'd have to use towelroot. Not sure if it's the tot, the dll (which is the one from OP on page 3) or LGFlashTool (I'm not using the version provided by OP, but a newer one with the MegaLock.dll. Dunno what the problem is.

---------- Post added at 12:18 AM ---------- Previous post was at 12:15 AM ----------

This method works with 20h?
[LG Optimus G Pro] hawkwind212:
I'm not sure, don't know my old build number because I'm using custom ROM right now. But I have never heard people complain about it other than they have to guess the UI because it's written in Chinese.
[LG Optimus G Pro] ssgswjohnson:
So, just to ensure i am doing things correctly, (again, excuse the noobness) to test that my recovery is working properly, all i need to do is select the backup and restore, then create the backup... next just restore that backup. Or, should i reboot after i create it, then go back and restore? AND... when i do the restore, should i do the cache wipe steps? To ensure the restore is all im booting into. Sorry, i know these questions must seem ridiculous in this forum.

Sent by Optimus Prime
[LG Optimus G Pro] hawkwind212:
JI

First, breath in, and out. You will bust your load if you don't stay calm. Now, you said you have the rom toolbox,right? Open the Toolbox and select rom installer from the menu. Once it's open, swipe from the left edged like the play store to open another menu. In that menu, Select backup and restore, then select backup current rom. If you install everything correctly, just site back and watch the Toolbox does everything for you.