Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

VS98024A - OTA manual install + Patched Stock Kernels

OP xdabbeb

29th March 2014, 08:33 PM   |  #1  
xdabbeb's Avatar
OP Recognized Developer
Thanks Meter: 4,891
 
863 posts
Join Date:Joined: Sep 2010
Donate to Me
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 @JackpotClavin 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:
  1. 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.
  2. Download the bin file from here and verify that the md5 is ebb9750e33574c7738a8256fb01a9e00
  3. Rename the file to dlpkgfile and push it to /cache/fota/
  4. From an adb shell run the following command:
    Code:
    echo "--update_package=/cache/fota/dlpkgfile" > /cache/recovery/command
    ** Note: If the recovery directory does not exist on your phone...create it
  5. From adb shell run the following command:
    Code:
    am start -n com.lge.lgfota.permission/com.lge.lgfota.permission.DmcEzUpdateStart
  6. 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.
Last edited by xdabbeb; 15th April 2014 at 08:11 PM.
The Following 82 Users Say Thank You to xdabbeb For This Useful Post: [ View ]
29th March 2014, 08:36 PM   |  #2  
Enter The Nexus's Avatar
Senior Member
Flag Trapped in BasedWorld
Thanks Meter: 207
 
517 posts
Join Date:Joined: Oct 2012
More
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.
Last edited by Enter The Nexus; 3rd April 2014 at 06:47 AM.
The Following 6 Users Say Thank You to Enter The Nexus For This Useful Post: [ View ]
29th March 2014, 08:39 PM   |  #3  
xdabbeb's Avatar
OP Recognized Developer
Thanks Meter: 4,891
 
863 posts
Join Date:Joined: Sep 2010
Donate to Me
Quote:
Originally Posted by Enter The Nexus

No way to keep your data? Other than that, thanks, you're amazing.

Sent from my VS980 4G using Tapatalk

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.
The Following 2 Users Say Thank You to xdabbeb For This Useful Post: [ View ]
29th March 2014, 08:41 PM   |  #4  
jesssiii's Avatar
Senior Member
Flag Southern CA
Thanks Meter: 823
 
2,963 posts
Join Date:Joined: Aug 2010
Donate to Me
More
Only mod I have is Xposed. If I uninstall and reboot, should be good?

VZW LG G2 VS980
The Following User Says Thank You to jesssiii For This Useful Post: [ View ]
29th March 2014, 08:44 PM   |  #5  
bonesjones's Avatar
Senior Member
Flag Birmingham
Thanks Meter: 71
 
326 posts
Join Date:Joined: Dec 2009
More
Only thing I've done is installed twrp.
Anyway to just undo that change?

Sent from my VS980 4G using xda app-developers app
29th March 2014, 08:45 PM   |  #6  
JackpotClavin's Avatar
Recognized Developer
New York
Thanks Meter: 2,971
 
901 posts
Join Date:Joined: Feb 2011
Donate to Me
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?

Sent from my LG-VS980 using xda app-developers app
29th March 2014, 08:46 PM   |  #7  
Enter The Nexus's Avatar
Senior Member
Flag Trapped in BasedWorld
Thanks Meter: 207
 
517 posts
Join Date:Joined: Oct 2012
More
Quote:
Originally Posted by JackpotClavin

This kept root you said?

Sent from my LG-VS980 using xda app-developers app

Yes. It's just like the D80x update, they kept root, so did we.

Sent from my VS980 4G using Tapatalk
29th March 2014, 08:48 PM   |  #8  
player911's Avatar
Recognized Developer
Flag Cincinnati
Thanks Meter: 921
 
6,887 posts
Join Date:Joined: Sep 2006
Donate to Me
More
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://forum.xda-developers.com/show...php?p=51514625

Hope it helps some of you with the little details. Kit Kat runs great.



Sent from my VS980 4G using XDA Premium 4 mobile app
Last edited by player911; 31st March 2014 at 06:37 PM.
29th March 2014, 08:51 PM   |  #9  
Enter The Nexus's Avatar
Senior Member
Flag Trapped in BasedWorld
Thanks Meter: 207
 
517 posts
Join Date:Joined: Oct 2012
More
Yeah find the stock img in the old VZW thread. I'm going to try this on a rooted stock debloated ROM.

Sent from my VS980 4G using Tapatalk
29th March 2014, 08:59 PM   |  #10  
xdabbeb's Avatar
OP Recognized Developer
Thanks Meter: 4,891
 
863 posts
Join Date:Joined: Sep 2010
Donate to Me
@JackpotClavin 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.

The Following User Says Thank You to xdabbeb For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes