yashsingh1/xdaforums huggingface dataset:
[Verizon LG G2] xdabbeb:
[MENTION=3727492]JackpotClavin[/MENTION] [MENTION=3072222]RandomGuy982[/MENTION] My guess is that not everything was in place before the update. KK (and 4.3) had more requirements for full root. I still prefer SuperSU. Here's part of a script that I run after a TOT/KDZ restore that should give you an idea:

#!/bin/sh

adb shell "mount -o remount,rw /system"
echo "1" > .installed_su_daemon
adb shell "mkdir /system/bin/.ext"
adb shell "mkdir /system/etc/init.d"
adb push su /system/xbin/daemonsu
adb push su /system/xbin/su
adb push su /system/bin/.ext/.su
adb push Superuser.apk /system/app/Superuser.apk
adb push install-recovery.sh /system/etc/install-recovery.sh
adb push 99SuperSUDaemon /system/etc/init.d/99SuperSUDaemon
adb push .installed_su_daemon /system/etc/.installed_su_daemon

adb shell "chmod 0777 /system/bin/.ext"
adb shell "chmod 06755 /system/bin/.ext/.su"
adb shell "chmod 06755 /system/xbin/su"
adb shell "chmod 0755 /system/xbin/daemonsu"
adb shell "chmod 0755 /system/etc/install-recovery.sh"
adb shell "chmod 0755 /system/etc/init.d/99SuperSUDaemon"
adb shell "chmod 0644 /system/etc/.installed_su_daemon"
adb shell "chmod 0644 /system/app/Superuser.apk"
[Verizon LG G2] RandomGuy982:
I'm guessing you should temp uproot which would make the back up file rootkeeper needs to restore root. You may want to check the supersu app to see if there is an ota survival option as well.
[Verizon LG G2] Enter The Nexus:
Can we use the KK modded updater script people are using for their T-Mobile/ATT/F320 bootloaders?

Also, can't we simply make a flashable zip for this?
[Verizon LG G2] koftheworld:
https://pvzwmdmcdn.vzw.motive.com/firmware/LG_VS980_11A_TO_12B.bin
[Verizon LG G2] Cloudyfa:
Yep, keep using a KitKat baseband with 4.2.2 ROMs (or AOSP) will cause sensor issue, you guys need to flash back your JB baseband. You can find more info here: http://xdaforums.com/showthread.php?t=2680948. That's why I told you only flash it after the ROM is booting fine. Btw, this thread is going out of control so I'll remove all the files.

We'll update more info about the progress later.
[Verizon LG G2] koftheworld:
How about a new thread for the files and testing?
[Verizon LG G2] :
New thread. An and let me know if you need mirrors on dedicated servers.
[Verizon LG G2] annoyingduck:
Success! I got an error type 3 on the second command, so I just disconnected, reconnected and started shell again for the second part and it worked fine.
[Verizon LG G2] MTechRD:
Hello,

Can someone please help me?

I Performed all the steps one by one.

1 - I did a full wipe (data, Davilk, system and Cache)

2 - Install this ROM LG-G2-VZW-OTA-VS98012B-Loki-Patched

3 - Then by adb i copied the file dlpkgfile

4 - then by ADB SHELL i sent this commands:

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

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

After sending the commands, in about 5 seconds the phone restarted but not started with the upgrade process, and entered to in recovery mode and there was no way to start normally.

I reboot several times and was returning to the mode of recovery (TWRP 2.7.0.0)
[Verizon LG G2] Enter The Nexus:
100% percent stock.
[Verizon LG G2] gti2756:
If you have a windows 7 computer you can plug in the phone and run the Verizon updater and download 12b through the computer
[Verizon LG G2] MTechRD:
Do you have an 100% Stock Rom 12b?

Can you tell me or give the link, please?

I only found those:

LG G2 VZW OTA VS98012B Debloated

LG-G2-VZW-OTA-VS98012B-Loki-Patched
[Verizon LG G2] Enter The Nexus:
Revert to 11A, update to 12B, root, and do the procedure.
[Verizon LG G2] MTechRD:
mmmmm :rolleyes:

Well, Thanks a lot my friend... i'll try it but is the same... jejejejeje Do you have the link for 100% stock 11A?

Sorry i haven't :D
[Verizon LG G2] Enter The Nexus:
Look on the thread "revert to Verizon stock"
[Verizon LG G2] player911:
I posted a detailed walkthrough on page 37. I just did this. Make sure you confirm your folders are setup properly and the command script is being created.

Also make sure you are on 12B :D

Everything is working like a champ.
[Verizon LG G2] NyPlaya513:
no, it is not the same and that is the problem. when you simply flash the rom of 12b over 11a, the basband doesnt change as well as radios. When you do the update through verizon, the whole thing changes the way it needs. Another big part of this is the recovery. No custom one. You need to do this as if the phone was stock even though you are pushing it.
[Verizon LG G2] MTechRD:
I don't never used LG Flash tool. where can i get it and the Stock ROM 11A?

Please, help me with this part... pls
[Verizon LG G2] Enter The Nexus:
Look it up on YouTube.
[Verizon LG G2] MTechRD:
Mmmmm... Ok
[Verizon LG G2] NyPlaya513:
shanetrain makes it a bit more user friendly

http://xdaforums.com/showpost.php?p=51493762&postcount=182
[Verizon LG G2] IamPro:
damn thats cold
[Verizon LG G2] freebird_78:
So it seems like it's going for me now.

It's appearing that the issue was the 12B KDZ. I redid it twice with the same results. Went back and did TOT method, followed by OTA, and it's now on step 2.

Quite pissed about that, actually. Spent 4 hours dicking around with the FlashTool to finally get all the bugs worked out, and in the end, it CREATED a problem. Save your time, do the TOT method.
[Verizon LG G2] TheUnladenSwallow:
The full walkthrough video is recorded, will try getting it up tomorrow.
[Verizon LG G2] MTechRD:
After do this and failed, I was unable to start up my phone. I did a restore from Recovery and nothing, reinstall the rom with the zip by recovery and nothing... After the phone reboot the phone goes directly to recovery

I'm downloading. Kdz of 11A and 12B and LG Flashtool... What do I recommend?
[Verizon LG G2] Rippley05:
EDIT** figurd it out, I had to take the " off at the end of command
[Verizon LG G2] Mattecko99:
Anyone who can give me the camera.apk? Kinda messed with it. Deleted it. Any help is appreciated.
[Verizon LG G2] Rippley05:
Blah, got it going, restarted and got "software update fail"...sunofa

Edit**

Is it because I changed my statusbar icons to white through g2 settings in xposed? How would I get that back to stock? Gonna try a factory reset..which sucks lol
[Verizon LG G2] NyPlaya513:
please look at the page back where I quoted you and gave a link to another user who made it a bit more clear cut. You must follow directions. This has absolutely nothing to do with recovery so stay out of it. This is done with your computer and then IF YOU WANT you can use terminal in the phone to initiate the update as one user did. Other then that, the only activity with the phone involves download mode, airplanemode, usb debugging and thats it.

---------- Post added at 02:12 AM ---------- Previous post was at 02:12 AM ----------

Yes, that is possible. You have to be stock without mods. I suggest you start fresh as the OP mentions
[Verizon LG G2] Rippley05:
Factory reset, still failed. Man..should have just left this alone
[Verizon LG G2] NyPlaya513:
do a restore to stock. its a pain, but worth it in the end. Just adb pull or some other method to save your sdcard data. Other then that, wipe the thing
[Verizon LG G2] Rippley05:
I did, I was completely stock, then rooted.

Now, I did a factory reset, I'm bone stock again. All I did was sign into gmail, download root explorer and ran the commands. Failed. I'm at a loss

It does everything like it's supposed to, just after it reboots, the software update fails.
[Verizon LG G2] NyPlaya513:
did you check the md5? and rename it properly?

---------- Post added at 02:45 AM ---------- Previous post was at 02:32 AM ----------

Here you go https://www.dropbox.com/s/ujd241dt8w9o2ri/LGCameraApp.apk
[Verizon LG G2] Rippley05:
I downloaded the file twice. Renamed it to dlpkgfile with no extension. It shows up as a .bin in root explorer. i put it in cache/fota, it's 669.34 MB. I run both commands exactly as it's listed, all works well until the phone restarts and says Software Updated Fail
[Verizon LG G2] Mattecko99:
I put it in system/app, then fixed the permissions and tried to install but it didn't work still. Won't install.
[Verizon LG G2] Esteway.619:
VS98024A - OTA manual install

Adb shows my phone but offline and won't let me do adb shell. Anyone know a fix. Updated androidSDK and drivers. Still shows offline.
[Verizon LG G2] Rippley05:
App only lets 1 pic per post?
[Verizon LG G2] Mattecko99:
Take off the .bin part.

---------- Post added at 10:56 PM ---------- Previous post was at 10:56 PM ----------

You are able to post more than one photo per post.
[Verizon LG G2] amit_sen:
[MENTION=2600743]xdab[/MENTION]abb [MENTION=1279093]player1[/MENTION]1 I'm using vzw lg &2 in India. Gsm user here. Can I follow ur instruction to get KK. Does ur steps involve d/l anything from vzw server like ota ?

I will d/l .bin file and 12b kdz files if given green light :D:D

G2 | ⓣⓐⓟⓐⓣⓐⓛⓚ | TF300T
[Verizon LG G2] Mattecko99:
You only download the .bin and nothing is downloaded from the vzw server.
[Verizon LG G2] Rippley05:
Welp. ..I went full blown retard...definitely appreciate the assistance. That at least started the update, failed early in tho. The file is now gone from my phone for some reason
[Verizon LG G2] Mattecko99:
Its alright! When I first did it I questioned whether or not I should do that. It should me made a little more clear in the OP. Are you fully stock 12B? Absolutely nothing messed with?
[Verizon LG G2] Rippley05:
Yep. Fully stock. It's getting that 1111004 error or whatever it is.
[Verizon LG G2] Mattecko99:
Hmm I didn't get an error. You're also initializing the adb shell obviously. Hmm. Maybe revert to stock again? Maybe doing it again could fix the error.
[Verizon LG G2] Rippley05:
Yep. I'm at a loss. No matter what I do or how many times I factory reset, I keep getting the 1111004 error.
[Verizon LG G2] NyPlaya513:
pure curiosity, are you referting to 11a and then taking the ota to 12b? or are you flashing to a stock 12b

---------- Post added at 03:52 AM ---------- Previous post was at 03:52 AM ----------

think the odex will help?
[Verizon LG G2] Mattecko99:
It possibly could. I knew I shouldn't have messed with it. Does the camera.apk come with an odex?
[Verizon LG G2] NyPlaya513:
https://www.dropbox.com/s/0lx05a7ln73b8xj/LGCameraApp.odex

Give it a shot

and btw, although not exactly what you want. I am curious if a factory reset would still retain root and fix your problem. Not to mention you could flash one of the two better cameras in the g2 development thread for the 4k video and slowmotion :)
[Verizon LG G2] Rippley05:
I've never flashed anything on this phone. I rooted today and messed around with a couple things in xposed...then did a few factory resets to get back to stock, Always been 12b, never had a custom recovery or anything installed.
[Verizon LG G2] Mattecko99:
This is what got me into this. I'm on the stock 4.4.2 and I ended up installing one of those cameras, come to find it gives me an error when recording video so I deleted it, and now I'm here. Can't reinstall the stock camera.
[Verizon LG G2] NyPlaya513:
ok, just to get everything out of the way do the full 11a restore and take the ota to 12b. I am assuming the phone you have came with 12b. After you take the update, root it and then try this. Its painful and annoying but its the thing that seems to be essentially fullproof

---------- Post added at 04:05 AM ---------- Previous post was at 04:03 AM ----------

oh see that gives info. I did a backup using xdabbebs app. I wonder if i give my restore of it to you that you could restore it back.
[Verizon LG G2] Mattecko99:
Seems that the odex actually fixed the problem! So thank you very much! I really do want that 4K recording. It would work on our Stock 4.4.2?
[Verizon LG G2] Rippley05:
Ehh, maybe tomorrow. Wanna see if anyone else gets the error on a phone that came with 12b. That's a buttload of annoyance and it probably won't work.

Thanks for trying to help guys
[Verizon LG G2] NyPlaya513:
yup, I just used the two different apps from jishnu or xdabbeb
[Verizon LG G2] Mattecko99:
Maybe its a one time error but I installed xdabbeb's and when I first try record the 4K video and end it it says error, but the next time I do it, it doesn't say error. Also, after even upgrading through this ota exploit, every time I boot my phone it gives me a gaaps has stopped.
[Verizon LG G2] MTechRD:
What is the best and safest method to make your G2 stock?

KDZ or TOT?
[Verizon LG G2] garywojdan81:
Use the flash tool & .tot file.
[Verizon LG G2] jrgilbert79:
Your rename isn't really working. If you take off the extension for real it would show as unknown file type. Run cmd as administrator and Rename file with command line.

Start > Run/Search bar > type CMD (Don't hit enter) > Right click CMD.com at the top > Run as Administrator > Accept the popup (Yes) > type CD \ > type cd users\("username"\Desktop\"folder name with .bin file inside"\ > hit enter > type rename "filename.bin" filename (without the bin)

This should solve a lot of peoples issues.

Non pro versions off Windows like home tend to protect extensions so the grandma's of the world don't mess up there word documents etc.

Just update the OP with a file with no extension...
[Verizon LG G2] jesssiii:
You could just move them to the other, original, thread. I'd love to keep track of both.

The method in the Verizon only back to stock thread is very easy to follow. If you can't do that, you should just wait for a flashable Verizon kitkat rom.

You don't have to wipe data if that is the only change you made to stock. In the Xposed app there is a button to remove the framework. Then reboot. Easy-peasy!

See above. Factory reset won't remove the framework possibly. So go into the app itself.

VS980 VZW 24A-OTA
[Verizon LG G2] Stigy:
If I have a custom recovery installed, on VS98011A what is the best way for me to get to a rooted 4.4.2? I really want to stay rooted to continue to use Xposed. I'd prefer to keep all my data, but can TiBU if needed.

Thanks in advance! Been a while since I did this.
[Verizon LG G2] NyPlaya513:
your custom recovery is useless for now. follow the OP and revert to stock (will wipe everything so tibu it and store it on a pc for re-applying after). to 11a, take 12b ota and then root and then follow the directions from this thread.
[Verizon LG G2] Stigy:
Do you have the link to revert to stock? I'm assuming I can't just reflash the stock recovery?

Thanks again - appreciate the quick response.
[Verizon LG G2] EvilDobe:
I'd like to aplogize in advance but the OP clearly states....

Call me what you will for this but if the OPs instructions don't work for you then you're not following them exactly as posted. You're not reading. You're not following the instructions EXACTLY. If this doesn't work for you on the first try - you're doing it wrong. I'm not really sure what the confusion regarding "100% stock" is with people. If you can't figure out what "100% stock" means then you probably shouldn't be trying to follow this procedure. If you can't properly rename a file then you probably shouldn't be trying to follow this procedure. If you can't figure out how to get back to 100% stock then you probably shouldn't be trying to follow this procedure. If you're not sure how to backup the files on your sdcard then you probably shouldn't be trying to follow this procedure.

If this process doesn't work for you on the first, or even second, try then you should probably stop & wait for someone to package up the contents into a flashable zip that you're comfortable with. It's better to wait & do something you're comfortable with than to bork your phone. Once again I apologize but if this doesn't work for you on the first or second try... you're flat out doing it wrong & not following the instructions in the OP & you need to give up before you make things worse for your device.
[Verizon LG G2] flyinj54:
What is the proper way to store the titanium backup on PC? I copied the folder from my phone to my PC but I noticed that on my phone it shows 271 files and when copying the folder to my PC it decreases to 60 files and the mb size goes down as well.
[Verizon LG G2] garywojdan81:
Well said, and I would give you more than 1 "thanks" If it were possible. The only thing I would've added is the completely unnecessary requests for everyone to post links for everything in this thread. I've been seeing that multiple times per page for every little thing, and I consider that just lazy. I'm sorry but is it really that hard to do a search on this very forum? If you can't do a simple search, or even read the thread you're posting in, then you probably shouldn't be trying this procedure.
[Verizon LG G2] tbis:
What I'd do for a flashbacks zip! My laptop won't connect to my phone! The drivers aren't friendly on Windows 7 Can't wait to get home this week.
[Verizon LG G2] pinecone:
I was able to do this on Server 2012. It should work on Windows 7
[Verizon LG G2] tbis:
It's just my laptop. I can connect fine to my desktop at home that's on Windows 7. I just said that out of frustration for my laptop.
[Verizon LG G2] EvilDobe:
Drivers work fine on Windows 7. I know this because I use Windows 7 & restored to stock. As for a "flash back" zip.. are you referring to a zip that would put you back at 100% stock? A zip that would require a custom recovery to flash thus not putting you back at 100% stock?
[Verizon LG G2] tbis:
A zip to flash the ota because I'm at a standstill until my I can get on my desktop and do all the steps.
[Verizon LG G2] EvilDobe:
If you are already at 100% stock you can follow the procedure using root explorer (or a root browsing tool) & terminal emulator. I put myself back to stock then went to a birthday party & finished the process on the way there. The kid got their present & I got my 4.4.2. :) Win-win all around.
[Verizon LG G2] tbis:
Sadly no I need to get back to stock.
[Verizon LG G2] Lawlrus:
More people need to be "cold", development threads are not for coddling and hand holding.

Sent from my VS980 4G
[Verizon LG G2] deathshead:
Just updated here. The update went smooth as pie.

I pushed the .bin to cache/fota with rootexplorer and set permissions.

If anyone has problems with this, then you are NOT following the directions correctly, and shouldn't be messing around.

This is super simple.

Thanks XDABEBB! You are a Righteous Dude To The Max.
[Verizon LG G2] jcutter347:
Look in the "general" section. Make sure to follow the "Verizon only" instructions. No way that i know of to return just the stock recovery.
[Verizon LG G2] illyfilly:
Does the 4k camera work better?
[Verizon LG G2] Rippley05:
Well. I wiped, downloaded and installed xposed, went in the app under framework and hit uninstall. I then completed the steps again, the update is now apparently working...

So thank you very much for the assistance. I'm glad you took the time to reply. Some of you other people need to relax.

Edit* on step 2, @ 36% so all is well. Can't believe it was something that simple....I didn't even need to factory reset lol...damn it.

Edit **** all done, now rolling on Kit Kat, whew weeeee...thanks a ton
[Verizon LG G2] BrandNewMonkey:
permissions

This is a great help for us noobs buuuuuuuut I ran into trouble and couldn't flash the update. Turns out it was a problem with permissions. I just used Root Browser to change the "execute" permissions of the update file to allow it to execute and all was good. Thanks for the easy instructions!
[Verizon LG G2] annoyingduck:
Weird, I never looked at the amount of files, just the size. I just cut the entire folder to my desktop and paste it back after the update.

-VZW LG G2 VS980
[Verizon LG G2] puothy:
You can return to stock recovery using Flashify and Stock Recovery image in this thread for 12B. BUT......You will very likely lose all data on your SD card and it will cause your phone to act is if you did a factory reset. I did it this morning and worked fine.
[Verizon LG G2] Enter The Nexus:
Sprint just got the OTA. We have hope guys.
[Verizon LG G2] deathshead:
deleted
[Verizon LG G2] garywojdan81:
Last again! Yes!
[Verizon LG G2] Enter The Nexus:
Bruh I'm saying we have hope that VZW will officially push the update themselves today. Also, the guys who are ADB inclined (such as I) have hope for KK without going through the "grueling" process of adb sideloading.
[Verizon LG G2] Lawlrus:
Hope for vzw to push the ota maybe?

Sent from my VS980 4G
[Verizon LG G2] Enter The Nexus:
Delete
[Verizon LG G2] deathshead:
"Sprint just got the OTA. We have hope guys. "

Thank you for this valuable chunk of golden info!

In fact!, I think OP should update the first post with this, as its the greatest piece of info

we are all looking for.
[Verizon LG G2] daverod:
This thread or the 'return to stock' thread? KDZ or TOT?

EDIT: disregard, I completely overlooked the fact that you were referring to recovery. Duh.
[Verizon LG G2] Enter The Nexus:
Return to stock thread

I personally prefer using a TOT file, as I got my instructions from a YouTube video. When I needed to restore my phone the first time, I watched the video, did the crap, and voila.
[Verizon LG G2] deathshead:
Deleted.
[Verizon LG G2] Enter The Nexus:
Delete pls
[Verizon LG G2] deathshead:
Deleted out of respect to OP.
[Verizon LG G2] Enter The Nexus:
Dude, just stop replying!!!! You're dragging this on for no reason! If you wish to continue just PM me, otherwise stop being a baby.

Mods, could you all clean this thread from our pointless argument please?
[Verizon LG G2] deathshead:
Deleted out of respect to Op.
[Verizon LG G2] player911:
I posted some instructions on page 37. If you drop into adb shell and do a "su" first, you'll have better luck creating the script and flashing. I didn't mess with any permissions. It is just easier IMO.
[Verizon LG G2] annoyingduck:
[MENTION=2823580]deathshead[/MENTION]... Stop, you sound ridiculous. [MENTION=4922390]Enter The Nexus[/MENTION] has been in this thread from the beginning and has been more than helpful. Sprint getting the update is important here, especially when the KERNEL SOURCE HAS BEEN RELEASED for it. That tiny bit of info may give a novice a reason to not use this guide and potentially not brick their phone with the hope of an official release.

You sir are out of line.

-VZW LG G2 VS980
[Verizon LG G2] retrospooty:
Seriously, you couldn't just ignore his one harmless off the cuff comment ? You wanting to "police" the thread has turned that one short and simple comment into several causing 10x more of an issue than your initial initial "police" comment referred to. Stop being a thread nazi and just let the mods mod.
[Verizon LG G2] PWn3R:
Playing Devil's Advocate here -- As someone who got stuck on several Moto Razr test builds -- Do we know for sure we can downgrade back to 12B or something from this version?
[Verizon LG G2] annoyingduck:
Yes. 100%. I restored to 11a & took the 12b ota after doing this and then did this again!

-VZW LG G2 VS980
[Verizon LG G2] MicroMod777:
Still waiting for FedEX to drop off my G2. :p

I'm surprised we don't have a flashable KK G2 ROM with all the awesome dev's cranking out AOSP rom's left and right. :confused:
[Verizon LG G2] garywojdan81:
Great to see you over here, man. And the answer is yes, apparently the flash tool/ .tot file or kdz file method will revert you back.
[Verizon LG G2] freebird_78:
On a somewhat unrelated note... Does anyone know how to get into ADB mode with stock recovery, without the GUI itself (ie no USB debugging, internet/ethernet mode). I stupidly made a bad build.prop change and need to restore a backup.

The vol down + power thing is only getting me back to factory reset and thats it.
[Verizon LG G2] Stigy:
Restoring to 11a completely wipes the device correct - "external storage" and all?
[Verizon LG G2] MicroMod777:
Use root explorer and push the build.prop. Then reboot. How did you make the change in the first place??
[Verizon LG G2] annoyingduck:
Yes...So transfer anything vital to your desktop first (nandroid, titanium folder, etc)

-VZW LG G2 VS980
[Verizon LG G2] garywojdan81:
It wipes internal storage (sd card), that's all there is on this phone