yashsingh1/xdaforums huggingface dataset:
[Verizon LG G2] Chuckleb0ne:
Don't download the kitkat modem. It borks auto rotate sensor. Can't seem to get it to work anymore. Even when I revert back to old modems.
[Verizon LG G2] jesssiii:
Stock 11a without any modified system stuff? Good internet connection?
[Verizon LG G2] sefirosu0522:
Hey guys, can someone give me a heads up as to what I'm doing wrong? See below:

C:\adt-bundle-windows-x86_64-20140321\sdk\platform-tools>adb shell

root@android:/ # echo "--update_package=/cache/fota/dlpkgfile" > /cache/recovery

/command

ota/dlpkgfile" > /cache/recovery/command <

/system/bin/sh: can't create /cache/recovery/command: No such file or directory

1|root@android:/ #

C:\adt-bundle-windows-x86_64-20140321\sdk\platform-tools>

EDIT: Missing the recovery folder huh? Just create it in /cache?
[Verizon LG G2] jonstrong:
Yes...that's it
[Verizon LG G2] SplicedX:
Yep, I can confirm. Did you have any luck correcting it. Guess I have to learn to to a full restore.
[Verizon LG G2] sefirosu0522:
Not sure what my issue is guys but no luck. Is there certain permissions needed for the recovery folder and the dlpkgfile bin file? I don't have it as .bin, it's just dlpkgfile. I took a picture of what's happening.
[Verizon LG G2] Chuckleb0ne:
Yea nothing seems to work... I don't know what to do at this point.
[Verizon LG G2] da_reeseboy:
Did you do a full restore to stock via tot method?
[Verizon LG G2] jonstrong:
I didn't see other people mention changing permissions on the recovery folder -- but I went ahead and changed permissions before I ran the update, and I had no trouble. Either the permissions I changed didn't matter, or they helped. After creating the folder, I noticed that it's permissions were slightly different than those of the fota folder above it, so I added "write" permission for "Group" so it would match -- permissions became 0775. Again - no idea if it was needed, but it didn't hurt, and my update ran just fine.
[Verizon LG G2] sefirosu0522:
Ok thank you. I'll try this again. So you changed permissions on the recovery and Group folders? Did change permissions on anything else?
[Verizon LG G2] fly_guy:
Does the modded Hot Spot apk work?
[Verizon LG G2] shanetrain:
I couldn't get it to...
[Verizon LG G2] krazie1:
I believe the hot spot needs to be modded from the New kitkat Rom.
[Verizon LG G2] New Rising:
I can also confirm auto rotate is borked after attempting to install cloudy flex kk rom.
[Verizon LG G2] player911:
Are you going to be able to create a "stock rooted" rom with this like you did for 12B?

I'm already on stock 12B and rooted. It was a while ago, I'm not sure what version I used but I do have TWRP custom recovery which would require a full wipe. I'd rather keep TWRP and flash a stock rooted 24A rom and be happy.
[Verizon LG G2] savoca:
Using ls980 source in this one. http://savoca.co/galbi/KK_vs980_2.zip
[Verizon LG G2] sefirosu0522:
Ok is it normal for Update 2/2 to take forever? I'm getting nervous. It's been on it for about 10 minutes.
[Verizon LG G2] da_reeseboy:
Normal. Mine stuck at 36% for a while, then slowly started crawling up.
[Verizon LG G2] sefirosu0522:
Thanks, man. I appreciate it. I was stuck at 36% too. Just started moving up.

Now I hear ioroot25 is working on this. That true?
[Verizon LG G2] Enter The Nexus:
It worksyeah
[Verizon LG G2] IamPro:
How is that G Pro 2 port going?
[Verizon LG G2] TheUnladenSwallow:
Making Progress

Hey guys, just wanted to say I'm making a vid on the process in the op. I just finished like 40 mins of filming lol, also I will try that kernel later today Savoca, right now I'm on the stock kitkat ota. Will 11a tot then 12b, root and custom recovery later to try it out.
[Verizon LG G2] Enter The Nexus:
For some reason, the message OptimusRs sent me wouldn't show what files are needed for him. Until then idk the progress.
[Verizon LG G2] sefirosu0522:
Quickie. How do we get rid of that annoying "This system has been modified" message from Verizon Protection tool? What did you have to freeze in Titanium Backup? Anyone remember
[Verizon LG G2] da_reeseboy:
Did you root using ioroot 25?

If you click it it appears to be a VZW a-v - http://imgur.com/zM2UiHG
[Verizon LG G2] jonstrong:
Just changed permissions on the recovery folder that I created, matching it to the fota folder (0775).
[Verizon LG G2] da_reeseboy:
Okay, just curious. Possibly just need to freeze an app.
[Verizon LG G2] sefirosu0522:
How can we get rid of it?
[Verizon LG G2] TheUnladenSwallow:
It's a Notification...

Swipe it away? It IS a notification lol.
[Verizon LG G2] da_reeseboy:
I seems like it goes away after you click it... I should know in a few minutes for sure.
[Verizon LG G2] sefirosu0522:
I did swipe it away. My main concern is that it's hopefully not something that will trip Verizon and they cancel my account. I just want to be able to freeze whatever it is if it's possible.

Thanks for checking.
[Verizon LG G2] Enter The Nexus:
Has anyone tried flashing the zip w/ the ls980 source?
[Verizon LG G2] flyinj54:
Downloading cloudyfa ROM now and will give this a shot
[Verizon LG G2] Enter The Nexus:
Speak of the devil lol
[Verizon LG G2] flyinj54:
Going to try it. I assume we flash the cloudys rom the kk modem them the kernel is this correct? Not sure if the updated baseband comes in cloudys ROM?
[Verizon LG G2] icebergz12:
I was wondering the same thing. Otherwise are waiting for source code or a work around I guess. Seems like ls980 kernel would work. *fingers crossed*
[Verizon LG G2] mrchambo:
Cloudyfa vs980 Rom

Tried this as is, no boot. Will try with savoca's ls980 kernel.

Clean flashed from Nameless 4.4.2 AOSP Rom.

Thanks to all awesome devs working on LG G2 24A!

MrC
[Verizon LG G2] koftheworld:
Remember to try other modems if the kk one doesn't work. It could be a mix and match to find the key.
[Verizon LG G2] mrchambo:
Currently running 12B, will try KK next.

Thanks for the tip, KoftheWorld!

MrC
[Verizon LG G2] TheUnladenSwallow:
Bootloader Exploits

If you guys don't boot right w/ savoca's new kernel, cloudy's ROM and any of the modems/basebands then it might be better to focus on a new bootloader exploit for 4.4 until we get kernel source.
[Verizon LG G2] simon_lefisch:
hey guys, i tried to flash the zip from the OP (which completed) and tried to flash the new kernel patch, but it failed.

assert failed: run_program("/tmp/loki.sh") == 0

e: error executing updater binary in zip

anyone else get this? I cleaned flashed over malladus 1.2.9 btw. gonna restore my stock 12B and try again.
[Verizon LG G2] flb1213:
So it was a no-go using 1.2.9?
[Verizon LG G2] simon_lefisch:
only for the kernel. the rom flashed fine but didn't boot (got stuck at the verizon logo). the kernel failed to flash. I'm restoring my 12B ota right now and will try again. also, i was using TWRP v2.6.3.3 that was loki'd for 12B ota.
[Verizon LG G2] heleos:
I flashed cloudy's flashable and the newest savoca's kernel based off the LS980, and it just sat at the verizon logo (clean flash over malladus 1.2.9)
[Verizon LG G2] annoyingduck:
Use freegee and loki the kernel zip before you flash it.

-VZW LG G2 VS980
[Verizon LG G2] simon_lefisch:
yea i don't like using those apps so ill prob just replace the script with one that i already have. if that fails then ill try freegee
[Verizon LG G2] flb1213:
Same here sat at logo for about 30 mins until I wiped and went back to malladus. I'm confident with the great group of people working on the ota well have a working 24b soon.
[Verizon LG G2] xlxfoxxlx:
Freeze" Verizon support & protection"
[Verizon LG G2] sefirosu0522:
Thanks! Did that and a bunch of stock apps that came with it.
[Verizon LG G2] Cloudyfa:
Try this file:

KK_Kernel_VS980
[Verizon LG G2] koftheworld:
I feel like we're minutes away...
[Verizon LG G2] heleos:
Will do, as soon as i can boot into recovery, having trouble having it recognize my voldown + power
[Verizon LG G2] player911:
Ok

So I'm trying this finally.

I started with 10B TOT file, Rooted with ioRoot25, took the 12B OTA, retained root. I have cache/recovery and the dlpkgfile in /cache/fota

I run the first command. I see the command script get created in /cache/recovery. :good:

Second script, reboots, goes into the updater, and throws an Err: 0x111004, then reboots.

Does the dlpkgfile require special permissions? I have it set to 555 when I copy it over as shown in other screenshots, just like the command script is

-Update-

So I download a MD5 checker and both are right. Weird thing is, I drag/drop the file into the md5.exe, and it throws the exact same error. Although my MD5 file on PC matches on my phone. Anyone have the MD5 of the KK update bin file?

Here's mine EBB9750E33574C7738A8256FB01A9E00

I'm so close.
[Verizon LG G2] koftheworld:
You got rid of the .bin extension and you changed permissions for both the file and folder?
[Verizon LG G2] freebird_78:
I'm in the exact same boat.
[Verizon LG G2] flb1213:
How did you make out?
[Verizon LG G2] NyPlaya513:
its probably the permissions, if it was the .bin he would have been in the same boat as me where the command would reboot the phone and not see the exact file name since you have a .bin and not just a file without a extension as the command needs
[Verizon LG G2] player911:
yea I got rid of .bin

I set the recovery folder for 755. Should I also change the command or dlpkgfile?

I think I've tried changing dlpkgfile to 755 too.

I'm redownloading now cause I find it odd that the MD5 app checker threw out the same error as the updater.

-Update-

Nope, same MD5 as before.

So create a recovery folder

Change permissions to 755

Copy dlpkgfile to /cache/fota/

run scripts?
[Verizon LG G2] NyPlaya513:
no, the md5 was fine. I checked with mine. What did you check with? I used http://code.kliu.org/hashcheck/

someone posted it on one of the threads
[Verizon LG G2] player911:
I have an MD5 app and also checked it in Root Explorer properties page.

Probably a permission of the dlpkgfile, but I didn't see any mention of changing it from rw-rw-rw-

There is also a bunch of extra files in /cache/fota from my 12B install... should I delete those out? Perhaps the old files are conflicting with the new update

/cache = rwxrwx---

/cache/permissoin = rwxrw-rw-

/cache/fota = rwxrwxr-x

/cache/fota/dlpkgfile = rw-rw-rw-

/cache/recovery/command = rw-rw-rw-

Tried updating dlpkgfile to rwxrwxrwx (777) but still same error.
[Verizon LG G2] heleos:
Will let you know, currently flashing

edit: still stuck on verizon boot screen
[Verizon LG G2] freebird_78:
Followed this to the T. Getting error x1110D1

KDZ back using 12B kdz. Rooted with IOROOT25.

MD5 checked out. Permissions 755, no .bin, created recovery, saw command file created.
[Verizon LG G2] EvilDobe:
Same crap happened to me. I got pissed & had to leave the house for a party. I downloaded the file, used Root Explorer to rename & move the file, then terminal emulator to run the OP commands. Worked like a champ from there. Whole process was done 100% from the phone. #Winning
[Verizon LG G2] 1heffer:
Ok guys after the "am start -n com lge lgfota permission/com lge lgfota permission dmcezupdatestart" command I get "Error: Bad component name: com"

???
[Verizon LG G2] 55Pegasus:
I only added /cache/recovery.
[Verizon LG G2] player911:
com.lge.lgfota.permissions/.DmcEzUpdateStart

missing some periods and stuff.

-

Can I delete the extra stuff in /fota? I'm thinking it is pulling a file with a mismatched MD5 checksum and failing. (I'm doing it anyway) :P

Nope.
[Verizon LG G2] 1heffer:
Aww crap. Just upgraded to win8.1,copy and paste from the thread is screwy.
[Verizon LG G2] sefirosu0522:
Where would we flash this? It's not for 4.4.2 is it? I thought there wasn't a recovery yet.
[Verizon LG G2] freebird_78:
So any ideas on x11100D1 error?
[Verizon LG G2] NyPlaya513:
its a ongoing process of getting it to work from a recovery installed, rooted, 4.2.2 rom
[Verizon LG G2] sefirosu0522:
Thanks for clarifying that.
[Verizon LG G2] NyPlaya513:
although i doubt it did anything substantial, the recovery folder wasnt initially there for me and I am not sure what contents the fota folder initially had, but after the revert back to 11a and then updating to 12b, I did a factory reset (rebooting and holding voldown+power) and naturally created the required folders and I believe files.
[Verizon LG G2] flyinj54:
I booted and everything seemed to work but showed no sim card detected so no mobile network. Going to try some different modem's to see if it makes any difference

After one reboot it stuck at verizon boot animation. Currently trying other modems

No go with all other jb modem/baseband wont boo stuck at verizon animiation.
[Verizon LG G2] player911:
Ok so I'm researching online about this 0x1111004 and it seems it is a root problem. Are you guys doing something with root permissions before? I've tried doing this through Adb shell and terminal emulator and same error.
[Verizon LG G2] freebird_78:
I give up. Tried everything including temp unroot. Keep getting x11100D1
[Verizon LG G2] player911:
So you factory reset after doing an OTA to 12B. Didn't that wipe root?
[Verizon LG G2] heleos:
I never got passed the verizon splash screen with that kernel. What were you coming from?
[Verizon LG G2] NyPlaya513:
oddly enough, no. I checked and it was fine. later through my troubles of getting the ota to flash (due to my idiocy and lack of sleep of not removing the .bin from the end) I did re-root using ioroot but that was pure desperation
[Verizon LG G2] player911:
well whats the harm? I'll do a wipe
[Verizon LG G2] NyPlaya513:
exactly, in the state you are put in just to go to kitkat (wiping the devices memory), whats the harm in doing it a few times

can always revert back and start again from 11a
[Verizon LG G2] 1heffer:
Sweet. Thanks [MENTION=2941286]xdabbeb[/MENTION] & everyone one of you beautiful sumbitches. I heart you guys.
[Verizon LG G2] TheWh0leTruth:
Successful reboot but it's not updated.

I put both commands, everything seems fine, even tried to move to SD card and then moving to FOTA. Enter the second command, it reboots and then loads up to normal rom. Any suggestions of what I might be missing.
[Verizon LG G2] player911:
I just factory reset and root was still there. Threw over the dlpkgfile over to /cache/fota, recovery was there, so I just ran the scripts...

Same FREAKIN' ERROR!

:blows brains out:

I don't get it.

UPDATE

LMAO

I just checked my phones status... and I'm only on 11A. Idiot! I was on 10B before, I swore the update said 12A.
[Verizon LG G2] NyPlaya513:
does the file still say ".bin" at the end of the file? if so, you are making the same mistake as I did
[Verizon LG G2] TheWh0leTruth:
Nevermind, I'm an idiot. I never removed the (dot)bin from the filename inside of the FOTA folder. I just finished 1/2, the horror and excitement.
[Verizon LG G2] NyPlaya513:
aaaaannnnndddddd boom goes the dynamite :)
[Verizon LG G2] annoyingduck:
Got an instant failed again with this kernel zip w/cloudyfa's rom. I even 12b patched it and tried again

---------- Post added at 09:01 PM ---------- Previous post was at 09:00 PM ----------

No go here with this kernel either, it flashed, but stuck at boot.
[Verizon LG G2] flyinj54:
Cm11. Booted once and after reboot stuck at verizon screen. Now i've lost auto rotate in cm11. Doh!
[Verizon LG G2] heleos:
Yeah, I just noticed I lost auto-rotate for malladus
[Verizon LG G2] Chuckleb0ne:
Yea there's something about the kk modem that borks auto rotate.
[Verizon LG G2] New Rising:
I lost auto rotate too, but I just did a clean flash of slimkat and auto rotate is working. Now I just gotta see if I flash back to malladus or my stock rom to see if it works again.
[Verizon LG G2] simon_lefisch:
confirmed. neither kernel patch will boot all the way. i was able to flash both patches (without fail) and both got stuck on verizon logo.
[Verizon LG G2] heleos:
I'm still showing a 12B radio though, not the 24A
[Verizon LG G2] deathshead:
So just to confirm, auto rotation is broken on any kitkat leak build at this point?

This thread seems to be a little confusing with guys flashing both xdadebb's method and the flashable cloudy method..
[Verizon LG G2] player911:
Ok, So I'm finally updating to KK OTA.

Jesus. Pretty easy but here is my walkthrough.

I'm not going to cover using LG Flash tool to flash back to 10B or 11A. Just do it.

Then Root with ioRoot25.

Update to 12B in settings Software Updater (important to check ;) )

Factory Reset (just for laughs, you'll still be rooted after)

Check USB Debugging

Go into USB Connections and select Internet > Ethernet

Download Root Explorer (or similar)

Copy the 24A OTA Update .bin file onto your phone

Rename the update file "dlpkgfile" without an extension

Copy "dlpkgfile" over into /cache/fota/

Check to make sure /cache/recovery folder is present. If not create a folder called "recovery" in /cache/

Now the fun part:

Open a command window with access to ADB. You had to do this for Root.

type "adb devices"

confirm your device is listed and not offline. You need to allow the connection on your phone.

type:

adb shell

su

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

Now go into Root Explorer and confirm that there is a "command" script/file in /cache/recovery/

If there is, go back to ADB Shell and type:

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

Your phone should reboot and start the update process. It takes a while. Just let it finish.

PS. I posted the MD5 of the KK Update file a few pages back if you are having problems.
[Verizon LG G2] EvilDobe:
Everything seems to be working as expected for me.
[Verizon LG G2] simon_lefisch:
people were reporting auto-rotate being borked after trying to flash the kk zip and restoring back to previous rom. i can confirm this as it has happened to me. gonna download 12B debloated then restore and see if that fixed the prob.
[Verizon LG G2] New Rising:
Hey guys I just flashed slimkat which auto rotate worked on then restored my malladus backup and auto rotate is working again. So until an easier way is figured that works for now. Before that I tried flashing back to my stock debloated ROM and auto rotate was still borked.
[Verizon LG G2] deathshead:
Ahh IC, thanks guys for clarification!
[Verizon LG G2] gti2756:
This thread is borked.

I got this going according to the OP. KitKat really flies.
[Verizon LG G2] da_reeseboy:
So did everyone else. There is alot of additional things being tried in this thread tho, like trying to build a rom that will allow a custom recovery. Thats where most are having issues - with those test builds.
[Verizon LG G2] annoyingduck:
We need to get a 12b.tot file! Man this 12b Ota takes forever from Verizon!
[Verizon LG G2] koftheworld:
There is a kdz
[Verizon LG G2] annoyingduck:
I'm on Windows 8.1 and had difficulty with the kdz method.
[Verizon LG G2] koftheworld:
I'm going to try it myself a bit later.
[Verizon LG G2] annoyingduck:
Windows 8 kdz 12b you mean? If yes, please let me know how you make out.
[Verizon LG G2] da_reeseboy:
I wonder how tough it would be to force the 12b ota from a download like we are doing with the 24a update.
[Verizon LG G2] JackpotClavin:
For those having sensor issues after using the stock 4.4.2 ROM, and going back to another ROM, the best thing you can do is to make a backup, wipe, then reboot (without restoring at this point) after booting, reboot into recovery, and restore that backup. I think there's something that gets copied from /data to another partition that messes with the sensors. I had this issue when using another phone's official KitKat ROM on my phone a few weeks back
[Verizon LG G2] xdabbeb:
Yeah, this is getting a little out of control. I do think it's best if the flashable rom/kernels/etc be in their own thread. It makes it confusing for those just trying to force the OTA.

[MENTION=335505]player911[/MENTION] I think you might want to check your 2nd adb command in your post above :)

Should be the same process
[Verizon LG G2] SplicedX:
Cloudy's method borked the auto rotation. I just finished restoring back to stock with the 11a TOT file and lg flash. From what i've read, I believe xdadebb's method works fine
[Verizon LG G2] da_reeseboy:
Anyone have that 12b ota file?
[Verizon LG G2] bouchigo:
There's a 12B .kdz floating around. That should do the trick too.
[Verizon LG G2] JackpotClavin:
Great tutorial, but somehow I managed to lose root, so I'm screwed in regards to getting back to CM11 for now
[Verizon LG G2] player911:
Just flash the JB stock rom tot file and go from there.

what is the exact DD command to push the stock recovery back over? I'm on stock 12B with only Xposed. I didn't modify any system files.

I want to do a Nandroid and back it up to my PC, push stock recovery, wipe, flash 24A.

adb shell su dd if=/sdcard/recovery.img of=/dev/block/?????????
[Verizon LG G2] xdabbeb:
You could just use the TOT method and go back to 11A. Here's the thread. If you didn't have everything 100% in place for root you could potentially lose it going to 4.4. I'd recommend checking out the update-binary (which is actually just a script) from the SuperSU flashable zip to give you a guide as to what needs to be where with which permissions, etc. I used to only run my own AOSP builds on toro, but this stock rom is really good (when modified) and I haven't wanted to use anything but it for the G2.

Did I read correctly in the other thread that someone has the kernel source for this? I won't have time to build one until next week, but it would be great if someone could do so before then with the patched devtree you found earlier.
[Verizon LG G2] JackpotClavin:
Yeah I know that's always an option, but I don't want my internal storage to get wiped
[Verizon LG G2] BigBoyPL:
This method don't allow to flash anything in back (I mean from for example for v10b to v10a) because it only patches changes in files.

Can you open this .bin file like .zip file ? I have fota for lgd802 but from B2B service and inside zip I have .up file that I can oprn like a zip and view file names.
[Verizon LG G2] RandomGuy982:
Look in /system/bin and see if SU is still there. I made a backup with voodoo, but it won't let me restore it. I had the same issue with my xt912 droid razr when flashing to a leak. There were a few commands that we used in terminal to restore root. I am looking for them now.
[Verizon LG G2] da_reeseboy:
of=/dev/block/platform/msm_sdcc.1/by-name/recovery
[Verizon LG G2] Enter The Nexus:
Where could I get the FOTA apk?
[Verizon LG G2] xdabbeb:
If you're using the one I uploaded and put it at the root of your sdcard it would be:

dd if=/sdcard/recovery_vs98012b.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery

You could just pull the apk/odex from one of the stock 12B images, but if it's missing I'd say there's a good chance you may have made other changes that could cause problems. I'd recommend restoring to stock 12b fully.
[Verizon LG G2] RandomGuy982:
Delete
[Verizon LG G2] JackpotClavin:
I don't have /system/su-backup. The permissions changed on my su to just 755.
[Verizon LG G2] xdabbeb:
G2 system partition is ext4, but he won't be able to mount it r/w without root regardless...unless someone has found a new adb root exploit, that is?
[Verizon LG G2] RandomGuy982:
I realized after posting that I didn't either. I can wait. I was running stock since 12B anyway.
[Verizon LG G2] bigshotrob22:
So how is stock KK?
[Verizon LG G2] RandomGuy982:
It is really smooth. Knock On works every time the first time. I haven't played with it much other than that. I'm busy trying to restore root.
[Verizon LG G2] bonesjones:
So just to be clear, what do I need to do in order to save root?

I'm about to kick off the ota update, and i just saw that you guys are losing root.
[Verizon LG G2] datsyuk:
Can someone clear up a few things for me, will flashing any pieces of this do any good for current 4.4 AOSP ROMs we already have now? Or are the devs going to have to base/merge this stuff in on their own. I know the 4.4 kernel source can prob be put to use now because we needed modems. Hopefully this kills off all the SODs, etc as well.