yashsingh1/xdaforums huggingface dataset:
[Verizon LG G2] xdabbeb:
After interrupting the 11A to 12B OTA to see what was happening and decompiling certain framework bits along with the LGFOTA.apk I was able to figure out how to force the 24A OTA KitKat build to install. Thanks to [MENTION=3727492]JackpotClavin[/MENTION] for finding the bin file.

It looks like an official release is near, so if you aren't VERY comfortable with adb, etc. then this isn't for you, and please don't attempt it. As with any procedures of this sort you risk getting your phone in an unusable state and potentially worse. If you are comfortable with this and don't want to wait for the OTA, here's what I did to make it work. Hopefully this will also help others force future OTAs as the procedure should be transferable.

Manual OTA Install:

Restore to 100% stock VS98012B via one of the available tot/kdz methods, then get root using the latest ioroot from autoprime (or do it manually). Don't install a recovery. Don't modify anything.

Download the bin file from here and verify that the md5 is ebb9750e33574c7738a8256fb01a9e00

Rename the file to dlpkgfile and push it to /cache/fota/

From an adb shell run the following command:

echo "--update_package=/cache/fota/dlpkgfile" > /cache/recovery/command

** Note: If the recovery directory does not exist on your phone...create it :)

From adb shell run the following command:

am start -n com.lge.lgfota.permission/com.lge.lgfota.permission.DmcEzUpdateStart

The phone will restart on its own and go through the software update procedure.

Optional:

If you want a custom recovery, then you have a few more steps. JackpotClavin has already written up an excellent guide on how to do so HERE. Follow his steps 5-8 (as you've theoretically already followed this guide to get to 24A), and substitute one of the .lok files included in this archive for the file named "boot.emmc.win" in step 7. If you have already gone through that procedure and have a custom recovery, you can simply flash either of the following two zips:

xdabbeb_vs98024a_kernel_google_gcc

xdabbeb_vs98024a_kernel_linaro_gcc

Q: What's the difference between the two?

A: One is built with the standard 4.6 gcc toolchain (same as stock LG) and the other is built with a linaro 4.7.4 optimized gcc toolchain.

Note: In order to have a custom recovery you need to be use an older (12b, 4.2.2) aboot/bootloader. At the same time, your laf partition (which is the one responsible for download mode) is now based on the new 24A OTA and won't work with the older aboot. All you need to do to get a working download mode again is dd the laf partition from 12b. You can find it right here. Since the only way you got to this point is by using dd to install an older aboot, I'll assume you can do the same thing for laf.

Devs: Feel free to use the kernels in your roms. Just give credit in your OP.
[Verizon LG G2] Enter The Nexus:
FAQ

Can I flash this with a custom recovery?

No, 100% stock. Follow the instructions in the OP or find an alternate version on pg. 37 here. There's also a video here, thanks Chet.

Is this Android 4.4.2 Kit Kat?

Yeah.

Is ART included/working?

It's broken/unusable for now.

Can I root on 24A?

Yeah. Use ioroot25!

Can I do this from my phone?

If you're rooted, go ahead and download a terminal emulator app. Then, proceed to do the process from your phone.
[Verizon LG G2] xdabbeb:
Well, if you want to manually undo every last thing on your phone that could possibly bork an OTA patch you certainly could, but I've made dozens of modifications to the stock ROM that I know would cause problems so for me it was easier to just use the TOT method to restore.
[Verizon LG G2] jesssiii:
Only mod I have is Xposed. If I uninstall and reboot, should be good?

VZW LG G2 VS980
[Verizon LG G2] bonesjones:
Only thing I've done is installed twrp.

Anyway to just undo that change?
[Verizon LG G2] JackpotClavin:
This kept root you said?

Did you use any root backup method or you just kept the original /system/xbin/su and it didn't do anything?
[Verizon LG G2] Enter The Nexus:
Yes. It's just like the D80x update, they kept root, so did we.
[Verizon LG G2] player911:
I'm not sure you can flash a stock recovery back. Perhaps using flashify to flash recovery image back?

UPDATE

3/31/2014

I've posted more details of the procedure on page 37

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

Hope it helps some of you with the little details. Kit Kat runs great.
[Verizon LG G2] Enter The Nexus:
Yeah find the stock img in the old VZW thread. I'm going to try this on a rooted stock debloated ROM.
[Verizon LG G2] xdabbeb:
[MENTION=3727492]JackpotClavin[/MENTION] Correct, I kept root and I've never used any of those "rootkeeper" methods. I just manually pushed/created everything necessary for root (you can look at the update-binary for SuperSU if you want) and it works fine.

If you have a stock vs98012b recovery you can just dd it back. At one point in my testing I did so. Here it is if you don't have it.
[Verizon LG G2] Enter The Nexus:
Is the FOTA apk needed?
[Verizon LG G2] flyinj54:
In the future we would probably have to downgrade back to 12b to reinstall custom recovery as Roms come out with this base correct?
[Verizon LG G2] jesssiii:
Epic FAIL.
[Verizon LG G2] player911:
At this point, yes. Doing this will get you on stock KK. Waiting to flash this as a rooted custom rom will allow you to keep recovery.
[Verizon LG G2] RandomGuy982:
That worked perfectly to get it started. Good find! Step two is taking forever, but I feel good about the outcome!
[Verizon LG G2] jesssiii:
You changed the name of the file without .bin on the end, correct? Not sure why my attempt failed.

I already have files in my /cache/fota folder, should those be deleted?
[Verizon LG G2] flyinj54:
What do you think about fastboot flashing modem.img for aosp based roms? Should work right?

Edit: kk modem breaks boot on cm11 ;p
[Verizon LG G2] xdabbeb:
Yeah, step two takes forever. Did that both times for me.

Correcto. You could really name it whatever you want, but you'd need to adjust elsewhere accordingly. If you do everything exactly as in the OP you'll be fine. As I mentioned, if you had anything that wasn't 100% stock it could cause the update to fail. You will have a dummy file and a muc file in the fota/ dir from what I remember. Those are fine. If you had been attempting this on your own and left other files around I suppose it could cause problems though. Best to wipe it all out and return to 100% stock if you're not sure!
[Verizon LG G2] jesssiii:
I'm getting no such file or directory regarding the first command- /cache/recovery/command.
[Verizon LG G2] icebergz12:
But honestly this whole thing is a test so... we will see as we go.
[Verizon LG G2] shanetrain:
To make this a tad bit more "newb" friendly, I am posting the steps I took, specifially, to do the above:

First, this is assuming you have ADB setup on your computer.

Always make a backup and I am not responsible for anything that you do or that happens to your phone.

This was done on Windows 8.1.

1. Go back to stock by following the method in this post: http://xdaforums.com/showpost.php?p=45694605&postcount=1

(keep in mind this will wipe all data, including your SD card)

2. Take the OTA to 12B.

3. Root by following this post: http://xdaforums.com/showthread.php?t=2448887&page=87

4. Open a command prompt by going to your start menu, clicking "run" and typing in "cmd".

5. In the command prompt, you will type "cd (wherever ADB Shell is located"). For example, mine is at "C:\adt-bundle-windows-x86_64-20131030\sdk\platform-tools". Once you have changed directories type "adb shell".

6. Plug your phone into a USB port on your computer, and make sure that you have enabled developer options on your phone and checked "USB Debugging". When you are prompted on your phone of what type of connection, choose "Internet" and make sure to choose "Ethernet".If you are getting a "device not recognized" message in your command prompt, you do not have ADB setup correctly.

7. Once you are running ADB shell, you can copy and past in the above commands.

Again, this is assuming you have followed the steps above and downloaded the bin file and have pushed it to the cache/fota folder on your phone with something like Root Explorer. I personally downloaded the bin file on my laptop and pushed it to my SD card using media sync and then opened Root Explored to push it to the cache/fota folder.

I hope this helps some folks with the specifics.:cool:

*ETA*: KK is just flying on this thing, wow!
[Verizon LG G2] 1heffer:
Its flashing!
[Verizon LG G2] annoyingduck:
Flashed fine...not going past boot animation though. Gonna try [MENTION=246530]Sova[/MENTION]ca kernel he posted a few pages back....

Edit: kernel failed... Looks like we're stuck until we get a kernel
[Verizon LG G2] icebergz12:
Well, the rom part should still be good right?
[Verizon LG G2] 1heffer:
Install New System

Extracting files

creating symlinks

setting permissions

set_metadata_recursive: some changes failed

E: Error executing updater binary in zip '/sdcard
[Verizon LG G2] icebergz12:
Well I am still downloading over 4g... 44% should I just kill it?
[Verizon LG G2] annoyingduck:
Rom should be fine, we just need a patched kernel.
[Verizon LG G2] 1heffer:
Oh well, goodnight.
[Verizon LG G2] icebergz12:
That's what I figured, but if they are going to rebake it I was just going to abort my download.
[Verizon LG G2] annoyingduck:
Your call, but it will be as simple as flashing a kernel after this same rom zip once we get one..
[Verizon LG G2] icebergz12:
Yeah that's why I kept my unlimited data. I will let it finish just to use VZW data. *sinister laugh until they throttle me*
[Verizon LG G2] 55Pegasus:
I was able to flash all three files. After letting it set on boot screen about ten minutes, rebooted. It went to setup wizard, however does not see my sim card. Was able to restore on wifi but still no sim.
[Verizon LG G2] annoyingduck:
Were you originally on 12b? (i am) maybe the kernel needs the 12b patch. Try flashing another baseband instead of the kk one and see if you get your sim to show

-VZW LG G2 VS980
[Verizon LG G2] 55Pegasus:
I'll give that a try. Give me a few.
[Verizon LG G2] helpme364:
This is all very exciting. I had a feeling that Cloudy was gonna be involved with all of this.
[Verizon LG G2] Chuckleb0ne:
Trying that right now. Got myself in a bootloop. Gonna flash the 12b modem all together. Try to start fresh.
[Verizon LG G2] 55Pegasus:
I'm stuck on the boot screen again.
[Verizon LG G2] savoca:
The ROM cloudyfa gave with my kernel is fine. It should be up to a Dev to find the proper combination of bootstack and modem to make it work properly.

For example, ATT had to use 10d (earliest) bootstack and the latest KK modem to boot into stock KK with custom recovery
[Verizon LG G2] Chuckleb0ne:
Try mounting the system in recovery and then reboot.

---------- Post added at 12:27 AM ---------- Previous post was at 12:20 AM ----------

Alright well im going to be up for a while and try to see if i cant get this thing to boot and recognize the sim.
[Verizon LG G2] 55Pegasus:
Just flashed all three plus 12b modem and mounted system. Sitting on android is upgrading. Going to let it set for a few and see what happens.
[Verizon LG G2] Chuckleb0ne:
Its not going to work. Ive been on that screen for a while and nothing happens. I also tried other modems and still aint having any luck.

---------- Post added at 12:38 AM ---------- Previous post was at 12:32 AM ----------

We might need to .tot restore to the most previous build of software, then attempt this all over again. But i aint doing that tonight, i might just do it the old fashioned way and adb it over to KitKat.
[Verizon LG G2] bookerok:
if i want stock kk without root, i may dont make root by ioroot method,right?
[Verizon LG G2] bouchigo:
You'll still have root, just no custom recovery.
[Verizon LG G2] shanetrain:
Can anyone that he upgraded let us know if the mobile hotspot hack from this forum let us know if it works?

I can't seem to get it going.
[Verizon LG G2] 55Pegasus:
Flashing back to stock. Will try again tomorrow. Time to sleep.
[Verizon LG G2] Xplic1T:
Also interested in this ... what rom you using currently ShaneTraine ?
[Verizon LG G2] SimsDelt:
I do the same stuff on my unlimited too. And they can't throttle 4g (still can 3g)... It's illegal per their agreement with the FCC for the LTE frequency usage.
[Verizon LG G2] Cloudyfa:
Main purpose of that ROM I uploaded is testing the patched kernel and trying to find the suitable bootstack so we can have a perfect KitKat with working recovery.

For those only want the KitKat (with root) itself and dont care about custom recovery, I may create a patch so you guys only need to flash that ROM + this patch to have KitKat on your device (but I must wait for xdabbeb to verify all the files he uploaded first to make sure it safe). It will save your time of doing all these things manually (and maybe a little hard for normal users)
[Verizon LG G2] JackpotClavin:
[MENTION=4316709]Savoca[/MENTION] [MENTION=270378]Cloudyfa[/MENTION] it seems like the kernel is booting fine, but people are getting stuck at the boot animation with the kernel that uses the 4.2 bootstack that we worked on a few weeks back. I had the same problem when I ported the TMobile G2 stock ROM over to my G2, and found that the sound wasn't getting initialized.. something due to the adsp failing to load proprietary software; and Android will fail to boot if there isn't working sound in most cases. Anyways, it all boiled down to the devtree (yet again). Try cherry-picking this -> http://pastebin.com/raw.php?i=bHEzEdac and rebuild
[Verizon LG G2] icebergz12:
So is an issue with hole size... figures
[Verizon LG G2] JackpotClavin:
Well now I'm not so sure.. I just tried my own patch for that and I still couldn't get the sound to work, which is holding us back at the boot animation

It might just the the most obvious solution: we need Verizon's kernel source because there's a kernel change that we can't replicate right now
[Verizon LG G2] jrgilbert79:
That's what she s... never mind I know these guys will probably own this error today.
[Verizon LG G2] 55Pegasus:
When I got the system to boot, I check mobile network in setting. The screen would just flicker on and off like a florescent light bulb about to go out. In about phone all connections were blank.

Also, all sounds were working fine.
[Verizon LG G2] JackpotClavin:
Oh I had no clue it booted. That's great news then. Were you able to get a logcat or dmesg?
[Verizon LG G2] 55Pegasus:
No, it was past 1:00 am and was a little fried.

---------- Post added at 06:24 AM ---------- Previous post was at 06:20 AM ----------

I'll give it another go and see what I can come up with.
[Verizon LG G2] jesssiii:
Push the file first.

Sorry so late getting back to you but I fell asleep.

Guys, I think this thread is getting confusing between the OP's force OTA and the devs trying to get a kitkat rom with recovery working. Can it be split up?

VS980 VZW 24A-OTA
[Verizon LG G2] icebergz12:
I messaged the op for a split.
[Verizon LG G2] savoca:
The kernel I built was out of d802 source, this hasn't been a problem in the past but it's very possible that verizon hadn't pushed changes through when whoever handled d802 sent up their source. (This was the case for d803)

Worst case scenario, we just wait for vs980 source.
[Verizon LG G2] Cloudyfa:
Have you tried with LS980 source?

Well, but yes i think pp should wait for VS980 source.
[Verizon LG G2] jrgilbert79:
That's a good idea they are both cdma at least
[Verizon LG G2] kxs783kms:
Thank you sir. I got it solved not to long after I posted that and I've been running KK with root perfectly since last night. :)
[Verizon LG G2] 55Pegasus:
Here is a catlog of Cloudyfa Rom. Hope it helps. https://www.dropbox.com/s/r4gy2so5ygt8njo/2014-03-30-07-17-21.txt.zip

Also I dirty flashed over MicroMods 12B stock Rom and it booted up right away. Wiped only cache and dalvik cache.
[Verizon LG G2] n3os33k3r:
how long has the rom been taking to boot for you guys? Currently been at the verizon logo for about 10 minutes now
[Verizon LG G2] thedanks:
Woh, woh, woh. You got the Stock kit kat rom to work with custom recovery by dirty flashing it over that rom you say?
[Verizon LG G2] kenbrownstone:
I've has ROMs take 20 minutes before.. .Only on this device
[Verizon LG G2] 55Pegasus:
It boots but does not see my sim card. No network connection.
[Verizon LG G2] jonstrong:
I think [MENTION=2861395]jesssiii[/MENTION] has a good point. Great to see the rapid progress toward a flashable rooted kk rom with custom recovery, but for anyone new coming to the thread to see about loading the VZW KK OTA, the original topic is getting buried in the new discussion. Probably a lot easier for others to make use of all this good work and info if the topic could be split into two threads.
[Verizon LG G2] NyPlaya513:
agreed, I am refreshing like a beast to see if anyone saw/has a solution to my issue I posted above doing the manual method
[Verizon LG G2] bigshotrob22:
What Radios are you using? Have you tried flashing 12B radio after you have booted into the ROM?
[Verizon LG G2] 55Pegasus:
Yes, last night.
[Verizon LG G2] bigshotrob22:
Well that sucks ballz. Lol
[Verizon LG G2] NyPlaya513:
just to add to this, I also re-rooted, downloaded the bin file again through a wired connection and pushed it via adb. still no dice. the echo goes, but the update command essentially reboots the phone and then the phone just notifies me "update successful" meanwhile it did nothing
[Verizon LG G2] 55Pegasus:
Back to stock for now. Will try adb but have to get computer setup, upgraded to Mint 16 and haven't had anytime.
[Verizon LG G2] MTechRD:
Hi guys!!!

Anybody have installed the Cluodyfa rom?

I have Malladus 1.2.9 installed and TWRP 2.7 and i want to know if i can install it.
[Verizon LG G2] xlxfoxxlx:
Cloudyfas' boots as long as you install the kk baseband but it is unable to detect sim card and baseband is unknown in settings, tried with other radios but then it doesnt boot at all.
[Verizon LG G2] MTechRD:
Thanks But, if i install the first one in this thread (VS98024A - OTA manual install) will i be able to use my sim card?
[Verizon LG G2] xlxfoxxlx:
yes and if done correct you still have root, downfall is that you will not be able to use a custom recovery unless you restore back to 11a or a new exploit is found
[Verizon LG G2] player911:
Yes. Forcing the OTA works fine.
[Verizon LG G2] jesssiii:
Sorry you're having this problem. What's confusing me is that it's saying successful but not working. Are you certain you followed the OP exactly? Did you rename the file without the dot bin?

VS980 VZW 24A-OTA
[Verizon LG G2] koftheworld:
And you made the recovery folder?
[Verizon LG G2] jesssiii:
He said he had the recovery folder.

VS980 VZW 24A-OTA
[Verizon LG G2] koftheworld:
I need to learn how to read sorry
[Verizon LG G2] NyPlaya513:
QUOTE=jesssiii;51503751]Sorry you're having this problem. What's confusing me is that it's saying successful but not working. Are you certain you followed the OP exactly? Did you rename the file without the dot bin?

VS980 VZW 24A-OTA[/QUOTE]

there it is right there I'm too accustomed to not changing the file extension that I left the .bin

Yay for vampires like me and not thinking...flashing fine and off to bed at noon hurray

Thanks alot
[Verizon LG G2] MTechRD:
Thanks. [MENTION=2903821]xlxfoxxlx[/MENTION] and [MENTION=335505]player911[/MENTION]

Let's me read very carefully and try ota manually install step by step.
[Verizon LG G2] hoangan12:
Who can make a video. Thanks
[Verizon LG G2] jesssiii:
Glad you got it working!

VS980 VZW 24A-OTA
[Verizon LG G2] bb12489:
Just a quick question. Are we able to flash back to any .tot/kdz after we take the 4.4.2 OTA? So I could try out kitkat now using the OP method, then revert back to 11a to get TWRP for custom ROMs? Has anyone here successfully flashed back to 11a after the kitkat update?

I've had some terrible experiences back with the droid RAZR and leaked OTA's, so I wanted to make sure this wasn't the same deal.
[Verizon LG G2] hoangan12:
When we can flash kk on recovery
[Verizon LG G2] jesssiii:
Yes. The only problem I had at first was the com port needing to be reset to 41. Then all went fine. I went back due to losing root the first time. To keep root I used the latest IOROOT (24). I had originally used version 16.

VS980 VZW 24A-OTA
[Verizon LG G2] xlxfoxxlx:
when the devs working on it have the time and everything they need to figure out whats wrong....:rolleyes:

just saying...
[Verizon LG G2] IamPro:
My body is ready
[Verizon LG G2] antinorm:
I tried this yesterday, and it worked fine. Yes, you can TOT back to 10b or 11a after you install 4.4.2, and you can then proceed to install TWRP.
[Verizon LG G2] xlxfoxxlx:
same here
[Verizon LG G2] kxs783kms:
Man, I just wanted to come in here and say how SWEEEEEEEETTTTT KitKat is working on this thing. Knock on, GPS, etc.. are working excellent. Thanks to everyone who's involved in bringing this to us in such great working condition. Can't wait for recovery so I can remove some of this bloat and really start tinkering. Until then, I'm more than satisfied with the way this rom is running as is. Thanks again!!
[Verizon LG G2] jesssiii:
I'm sure you're already familiar, but just wanted to say...

I used the built-in application manager, navigated to "all", then disabled everything I don't use that allowed me to disable it. I'm very satisfied now. Which surprises me cause I used to make heavy use of titanium and flashing, etc.

This phone is a bit more finicky than some others I've had, so running stock keeps all the problems away. Plus, this is the only phone I've actually liked stock.

VS980 VZW 24A-OTA
[Verizon LG G2] TheUnladenSwallow:
Just Remove the System Apps

I recommend ROM toolbox, just remove all the bloatware (like the stuff you can't disable) and then uninstall the toolbox.
[Verizon LG G2] jonstrong:
Agree... The built-in app mgr lets you disable all but a couple of LG and VzW apps -- you can effectively freeze 90% of the bloat without having to resort to TiBu, and then you can hide those apps as well. There's more than enough memory on the G2 so they really don't cause an issue. Also -- I get the impression that there are more interdependencies between apps and the OS here than we usually see (or is good design, actually), so it's possible that removing everything we're tempted to consider "bloat" might cause some unwanted side-effects (i.e., jesssiii's remark about "finicky").

I'm at 36% on "Updating Software (2/2)"... can't wait to actually try out kitkat on this! :good:
[Verizon LG G2] naturecannon:
I have a replacement phone (insurance) arriving tuesday and a semi working phone in hand with a distorted in call speaker from dirt and sand (oh and i have to break the screen too cause they are difficult to deal with) which i have 15 days to send back. I guess this one gets returned to them with KK for a WTF moment :laugh:

OOOPPS, didnt mean to QUOTE
[Verizon LG G2] jonstrong:
Finished -- only had to manually add the "recovery" folder under cache, and the rest ran perfectly. I also verified that I still have root (used Joey Krim's Root Checker). Thanks to [MENTION=2941286]xdabbeb[/MENTION] and all who contributed! Happy boy here - checking out kitkat now...

BTW: ioroot 25 was just released, and autoprime tells us that it will work on 4.4.2 -- worth checking out for anyone who did this manual install of the 4.4.2 OTA and lost root.
[Verizon LG G2] Fuse8499:
Isn't it great to finally have an official version of Kit Kat? Verizon is a little late to the punch, but I'm glad we got the update.
[Verizon LG G2] deathshead:
You have to break the screen? What does this have to do with the Kk Ota? install
[Verizon LG G2] da_reeseboy:
It does. I tested it for him.
[Verizon LG G2] jonstrong:
Excellent! Thx for confirming - that's great. Now - an updated exploit like loki for 4.4.2, and updated custom recoveries and we'll be set.
[Verizon LG G2] gti2756:
I'm back on 11A and trying to OTA to 12B but I keep getting "Download unsuccessful".
[Verizon LG G2] shanetrain:
I am on the 4.4.2 OTA.

Can't seem to get the hotspot hack mod to work.