yashsingh1/xdaforums huggingface dataset:
[Verizon LG G3] KlausWillSeeYouNow:
I used annoyingduck's post on page 16.

http://xdaforums.com/verizon-lg-g3/general/vs98523a-ota-release-t3038706/page16

That's how I did it.
[Verizon LG G3] 92slammer:
no i got 5.0 installed ...which system files do we still need?
[Verizon LG G3] HolyAngel:
we need full system dump and ideally, boot.img as well but i think system is all we're gonna get until we can root this thing.
[Verizon LG G3] annoyingduck:
We need root to pull the boot.img or something else we can do to retain root during the upgrade. I'm gonna try to flash super su 2.46 while on 10b with twrp, flash the stock recovery, ota up to 12b and force this update again to see if I can keep root with the current super su. Only problem is I'm about to pass out and I've been at this for hours, not up for doing this for a third time right now!!
[Verizon LG G3] fr4nk1yn:
I'll give it a go. I'm just starting. I was going to try stock for awhile so no loss, maybe a chance of win.
[Verizon LG G3] schwartz.matthew.e:
Thanks. Now, my phone will only boot into TWRP. It will not reboot into the ROM. :(..help :(
[Verizon LG G3] ohlin5:
There are many posts about this issue, I don't have any links off hand but just search and you'll find them. You CANNOT attempt to install stock/OTA updates with a custom recovery installed.

Edit: People - PLEASE do not perform this update if you don't keep up with the forums regularly and haven't been around for a while! This is NOT a user-friendly upgrade procedure for those who aren't familiar with common issue points. Just have some patience and wait till a flashable zip is released, everyone will be better off for it! Thanks.

[MENTION=6053822]IllegalArgument[/MENTION], any thoughts about putting a big, bold, red-lettered warning/recommendation in the OP warning inexperienced users to not install? To help prevent this from becoming a support thread....idk just a thought! Lol :)
[Verizon LG G3] :
Try this? http://xdaforums.com/lg-g3/development/fix-stuck-custom-recovery-trying-ota-t2907508
[Verizon LG G3] schwartz.matthew.e:
It worked. Thanks! Now I need a copy of the stock recovery.... Can someone upload it for me?

---------- Post added at 05:06 AM ---------- Previous post was at 04:51 AM ----------

Never mind..I finally found it. I am trying to do the OTA from 10b to 11c now. It failed once...redownloading it and trying it again.

So, it failed updating via OTA again. No idea why. Gave some weird 0x..... error.
[Verizon LG G3] fr4nk1yn:
Getting stuck in recovery happens to the best of us. And even me.

I originaly sideloaded Flashify and "tried" to flash TWRP but realized that step wasn't necessary because SuperSU can install itself to /system.

So I installed SuperSU, installed it to system from the settings and enabled OTA Survival and rebooted into the TWRP loop.

After folowing the instructions and clicking "Do update" I received a toast message along the lines of "RESULTS_NOT_EXECUTED".

I clicked "Reset" on the same menu screen, pretty much thinking it would just reboot and it launched the update.

Unfortunately root was not kept as expected.

-edit: this is weird: photos added.

Also I don't believe this can be the final. Application Manager allows apps, and services, to be disdisabled that would surely cause problems of people poked aroundaround the all tab.
[Verizon LG G3] vzdragon:
So i just tried it the exact way you said and when i hit reset it just resets my phone so you must of gotten lucky. I .tot back to 10b installed supersu and kept root while doing the ota's to 12b.
[Verizon LG G3] fr4nk1yn:
There should be a fota_somethingpromotinsomething folder on sd, try cement then the update again with reset. That's actually what I did.
[Verizon LG G3] vzdragon:
this is actually all i get in that folder. not sure what promotion file you referred to i'm having difficulty locating it.

EDIT: not sure if it will make a difference, but after updating to 12b i lost the ability to get into ethernet mode so i've been inputting the commands through terminal on my phone
[Verizon LG G3] Ariac Konrel:
A bit late, but...

Here's a /system dump.

Click here to download.

Thanks to bweN diorD for letting me upload to his Mediafire account.
[Verizon LG G3] fr4nk1yn:
Sorry, late night and LG keyboard is a bad mix.

There was a folder the root of the sdcard, not in cache, who's name started with "fota_". That's what I deleted.

SU is at least partially installed. Ideas?
[Verizon LG G3] Ariac Konrel:
More like leftover files, but denied access or something.

Could be a lot of things, but the 'root' is not functional so it seems quite useless.
[Verizon LG G3] revolutionyzer:
Wow ! That's cool ! Thanks for the guide ! :good:
[Verizon LG G3] skiman10:
Have you tried to pull the boot.img? Can you do su on the terminal?
[Verizon LG G3] lexluthor:
I didn't lose root during ota to 12b. Is it confirmed for sure that i will lose root if i do this update?
[Verizon LG G3] vzdragon:
Looking through the root of my sd with no avail I can't locate anything remotely close to what youre referring to. Ugh... ? I wish there was a fix for the error message that comes up when you try to hit get update
[Verizon LG G3] fr4nk1yn:
tried from terminal emulator. Denied.

It appears all the such file are in place, even in /system/etc. They're just not starting.
[Verizon LG G3] Ariac Konrel:
Yeah, that's normal if SuperSU had survival mode on.

The update to 23A will cause you to lose root access.
[Verizon LG G3] lexluthor:
Didn't even need survival mode during pervious otas.

Will remain on sidelines at this point as i don't want to lose root.
[Verizon LG G3] skiman10:
Darn I was hoping you got it to work and save us all :P haha thanks for trying.
[Verizon LG G3] enigmaco:
Is there a way to install the update without rooting?
[Verizon LG G3] Resun:
No.
[Verizon LG G3] enigmaco:
well fudge that stinks guess I should have went with the nexus.
[Verizon LG G3] Brickman221:
This is probably a dumb question, but where do I run the command? Do I need to install terminal emulator? I noticed the "Su" command, do I need to be rooted to install the update?
[Verizon LG G3] roirraW "edor" ehT:
Yes and yes.

---------- Post added at 09:45 AM ---------- Previous post was at 09:37 AM ----------

Thank you [MENTION=6241403]Ariac Konrel[/MENTION] and @bweN diorD!
[Verizon LG G3] bigshotrob22:
So is lollipop even worth upgrading 2? Anybody notice any advantages?
[Verizon LG G3] PiousInquisitor:
I watched a droid life review of the g3 running lp and was thoroughly unimpressed, even annoyed.

http://www.droid-life.com/2015/02/18/lg-g3-lollipop-update/
[Verizon LG G3] macdaddie87:
Would someone please upload all of the files located in /cache/fota

I am trying to find a way to do the update without root and I think I have figured it out but I need the script files from fota on 12b
[Verizon LG G3] Crsdr37:
FOTA Easy Update

Hey guys I am on stock 12B. I have created the recovery/command within cache. I also copied the update file and named it dlpkgfile within cache/fota

Now I run the command

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

The Phone opens a screen called FOTA Easy Update. Sits there for a minute then just closes? Is there any additional steps I am missing.? Doesnt seem to do anything
[Verizon LG G3] cczupich:
Clarification please

I have been rooting and unlocking phones for years now but since I got my G3 I didn't really see the need to until now because I want this update so bad. But anyways, I have a rooted G3 with 12B, not unlocked. I really don't care that much about having root once I get Lollipop. So my question is: Do I just run the commands that are from the first post and that is it, I have read through all of the pages and there are a lot of work arounds for trying to stay with root, but all I want is Lollipop. Thank you ahead of time.
[Verizon LG G3] macdaddie87:
Here. http://xdaforums.com/lg-g3/general/vs985-wont-update-flashing-to-10b-t3039423/post59066765
[Verizon LG G3] maximusmullivan:
I'm waiting patiently till we get a flashable zip file.

Sent from my Nexus 7 2013
[Verizon LG G3] iBolski:
Unless someone finds a way root it, you won't be flashing it via TWRP.
[Verizon LG G3] Crsdr37:
Thanks thats what I have been doing. But I am going to redownload the 12B_TO_23.UP and retry maybe a bad download

It sits at the FOTA EASY UPDATE screen for a good minute like it's trying to verify it.

Edit- Thanks I redownloaded the update file and redid the same steps and it fixed it. Must have been a bad download to start! Currently updating to 23A Yea!!
[Verizon LG G3] KlausWillSeeYouNow:
Hello,

What can be done with the system dump? Sorry, I don't have much expertise with this... I downloaded and explored the contents of the .rar; is there some way it could help me return the software status to "Official"?

Thanks! Any help is appreciated.
[Verizon LG G3] roirraW "edor" ehT:
Nope, I doubt if it could help anyone with anything except developers.
[Verizon LG G3] vzdragon:
one issue i'm having is whenever i try to move the .up file into /cache/fota it keeps giving me an error and im not sure why. I have root, am using es file explorer (with root explorer on) and using in app to re mount partition as r/w any ideas?

I know this thread isn't to trouble shoot to get people onto lollipop it's for pulling system resources for development, but i was just curious on see'ing the official update is all
[Verizon LG G3] HolyAngel:
Ok, after like two days of messing with this I'm finally on L.

I already had the system dump(Thanks!) but pulled my own anyways.

Also pulled the ramdisk files so thats almost all we need..

Of course root didn't stay, have the files but the phone still needs rerooted.. No system r/w either or i'd just manually root it myself. Going to play around with this a bit more before tot'ing back and trying to make a rom. LG hasn't released the verizon source code yet but we do have L source code for the D855 that contains a verizon defconfig. I'll try repacking my boot.img with the new ramdisk files and if that doesn't work I'll try compiling a new zimage-dtb from the L source code and going from there.

Making headway at least! :good:
[Verizon LG G3] shindiggity:
Thanks for your hard work sir!!
[Verizon LG G3] iBolski:
Forgive me if this has already been stated, but I didn't see it in any of the previous posts, but it is confirmed we can flash back via TOT and still do the Stump and Bump?

Thanks!
[Verizon LG G3] HolyAngel:
Yeah downgrading is confirmed working.
[Verizon LG G3] :
Post 172: http://xdaforums.com/verizon-lg-g3/general/vs98523a-ota-release-t3038706/page18
[Verizon LG G3] skiman10:
Can you share the ramdisk files you pulled with me? I would love to try and get a bootable kernel for lollipop. I'm still new at kernel modification but I would love to try. Also how did you pull the ramdisk files in the first place?
[Verizon LG G3] HolyAngel:
Heh, that was super easy, they're all in root of the device under the folder list, just copied all of them to the sdcard with rom toolbox and copied them off :P

And yeah give me awhile
[Verizon LG G3] skiman10:
Lol derp I knew that. Ignore me derping around right now haha.
[Verizon LG G3] ncwildcat:
I have been excited about this update but now disappointed. I prefer aosp but camera and signal quality keep me away. The fact that lg didn't incorporate many of the changes is dissapointing.
[Verizon LG G3] HolyAngel:
hmm looks like i wiped before backing up the ramdisk files to external sdcard, i saved all to my pc but the init files, they wouldn't copy off the phone.. may need someone to manually write those out for me(Basically open, copy all, make new empty doc and paste it all in, then save. for each init file). In the meantime, working on making a rom. already got the updater script made out, just gotta do the kernel work.
[Verizon LG G3] ohlin5:
Thanks for the great work! Great to see all the amazing work our wonderful devs do!!

On another note - I'm echoing that previous comment about LG removing some LP features....the apparent non-inclusion of multiple user support is really kinda dumb imho personally.
[Verizon LG G3] annoyingduck:
Thats Verizon's epic fail, other carrier's LP update have it. Yeah it blows, I was hoping for that, I'm tired of manually switching between gmail accounts within each google app. Major Loss for us. Hopefully CM can stabilize once we have the kernel source...
[Verizon LG G3] vzdragon:
just got stuck in a bootloop doing the method on page 16. Not sure why since it worked fine yesterday when i tried it. Just waiting for .tot to stop failing at "changing to DL mode" so i can flash back. Taking longer than usual
[Verizon LG G3] annoyingduck:
Just use the button combo and factory reset it in the stock recovery.
[Verizon LG G3] roirraW "edor" ehT:
Awesome! Yes, thanks for working on this. Seeing what I or others can do that we're not supposed to be able to do is my favorite aspect of this.

Forgive the "plug' but I put a poll here, asking whether for both unsuccessfully and successfully flashing the 23A OTA, which downgrade method was used to get to 10B.
[Verizon LG G3] freebird_78:
Just so I'm 100%...

I'm on SkyDragon (12B). I need to restore stock recovery, install VZ hidden menu APK, then run the commands from the OP in a term window?
[Verizon LG G3] vzdragon:
wont work already tried just boots back up to the lg screen over and over again. Holding vol up won't go into DL mode just keeps going to lg screen. Shoot everything was going good to
[Verizon LG G3] annoyingduck:
Really....? I'm not going any further than read up in this thread. Your so far off the mark that I'm unwilling to help.

---------- Post added at 01:48 PM ---------- Previous post was at 01:47 PM ----------

Dam, tot'ing it is then...
[Verizon LG G3] HolyAngel:
unplug phone from pc, power off. then hold vol up while pluggin in usb, keep holding it, it will boot directly into dl mode.
[Verizon LG G3] vzdragon:
yeah it just went through on .tot hopefully it completes if it does it'll be enough rooting for me haha since the official software is already available i'll just go back to stock and wait for an official release. thanks for the help
[Verizon LG G3] HolyAngel:
Yeah might need those other ramdisk files if someone can get them to me please. In the meantime I'm going to compile a new kernel from the lollipop source..
[Verizon LG G3] bigshotrob22:
[MENTION=1211160]HolyAngel[/MENTION] hit me up on hangout. rrascon22
[Verizon LG G3] maximusmullivan:
That's why I'm waiting.

Sent from my Nexus 7 2013
[Verizon LG G3] fr4nk1yn:
if you need the files still pm me what you need and I'll get then to you.
[Verizon LG G3] mapatton82:
I am currently on the 23A update. If anyone needs any information please PM me.
[Verizon LG G3] HolyAngel:
I need these:

init.environ.rc

init.gyrocali.sh

init.htc.audio.sh

init.network.sh

init.power.rc

init.project.rc

init.qcom.audio.sh

init.qcom.class_core.sh

init.qcom.early_boot.sh

init.qcom.factory.sh

init.qcom.firmware_links.sh

init.qcom.post_boot.sh

init.qcom.sh

init.qcom.ssr.sh

init.qcom.syspart_fixup.sh

init.qcom.wifi.sh

init.rc

init.ril.rc

init.target.rc

init.trace.rc

init.usb.rc

init.usbdiag.sh

init.zygote32.rc

and anything else in the root of the phone. I already have the default prop/context files/uevent files and sepolicy/selinux files. You may have to make a document for each file and manually copy paste the contents.
[Verizon LG G3] mapatton82:
Well I have the files downloaded in a zip file but I'm not sure how useful they will be. Most of them are blank and when I try to view as text through Root Explorer on my phone they are also blank. Regardless here is the zip file:

https://www.androidfilehost.com/?fid=95916177934534341

Edit: If someone knows a better way to get the files let me know and I give it a shot.
[Verizon LG G3] iBolski:
Don't hold your breath. Finding a root exploit in LP has been difficult at best. I'm sure one exists somewhere, but for this phone, no one knows yet since LP hasn't hit everyone yet on this phone.

You might not ever see a root for it. There is no root for 12b.
[Verizon LG G3] HolyAngel:
yeah thats basically what happened to me when I pulled them off my phone, they had info in them when i copied them to the sdcard though and I could see the info. Thats why I was thinking copy it out of each file and place in a document you create.. I may just have to ota back up to L again and see if I can pull them again :/

Thanks for the effort!!
[Verizon LG G3] bigshotrob22:
This is how I was able to get to lollipop

1) I used this method to TOT back to 10B (http://xdaforums.com/verizon-lg-g3/general/restore-verizon-to-stock-t2827878)

2) I rooted with stump (http://xdaforums.com/lg-g3/orig-development/root-stump-root-lg-g3-sprint-verizon-t2850906)

3) After I was rooted I copied all 3 of the .up packages from IllegalArgument (http://downloads.codefi.re/illegalargument/LG_VS985/) and placed them onto my external_sd/SoftwareUpdate folder

4) I then used the following command to select the package I copied in step 3. (In my case I selected 10B_TO_11C)

adb shell su -c "am start -n com.lge.VerizonHiddenMenu/.fota.DmcTestFotaMenu"

5) I then did the following:

adb shell

su

am start -n com.lge.VerizonHiddenMenu/com.lge.VerizonHiddenMenu.fota.DmcEzUpdateStart

(I also had to load Superuser.apk to grant adb shell root access)

Your phone will automatically reboot and install the update. I did steps 5 and 6 on the next package (11C_TO_12B) and then finally (12B_TO_23A)

Hope this helps
[Verizon LG G3] mapatton82:
Just tried this and it will let me copy some, which were included in the previous zip file, but for most I am getting Permission denied.
[Verizon LG G3] macdaddie87:
Delete any file over 50mb in the for a folder then try to copy
[Verizon LG G3] cczupich:
Help Please, I know I'm dumb

Hello, I have read through and tried many times to use the terminal commands but for some reason they are not even working. I put in su then I try the commands but nothing. Can someone please tell me how to input the correct commands in the correct order. I have all the files in the correct folders and I am properly rooted and I am on 12B. Please help.
[Verizon LG G3] hsbadr:
Could you try the following command:

ls -la /

I want to check the permissions & owners. Also, adb may give you better access as a shell user.
[Verizon LG G3] mapatton82:
Here you go!
[Verizon LG G3] hsbadr:
ummm we don't have access to even read init files...
[Verizon LG G3] HolyAngel:
great :/ will see what I can do with d855 Lollipop ramdisk compared to our own
[Verizon LG G3] hsbadr:
Good luck! I'd be glad to help if you've the LP source on GitHub.
[Verizon LG G3] bweN diorD:
i have followed and read this entire thread, but i dont recall anyone on lolli saying they tried all known root methods and they dont work, just everyone saying they lost root.

i know this is an extremely long shot, but i have seen first hand, Verizon re-opening by mistake, exploits that have been long patched, with an update.

i would try, stump, purple drake, io, towel, and any others that were previously relevant.
[Verizon LG G3] fr4nk1yn:
ADB shell doesn't work. it copies some as is other show up blank. That was my first try, after napping with the kids.

Is there a good editor to make this easier on the phone? ES FIle Explorer is being a *****.
[Verizon LG G3] Ariac Konrel:
Stump won't work, it says the device it rooted. Most likely due to leftover files.

IORoot won't work either, I tried that. I guess I will try Towel Root and Purple Drake, but I doubt they will work.
[Verizon LG G3] hsbadr:
Good point! I've also noticed that your system dump includes all SuperSU files: /system/xbin/su, /system/xbin/daemonsu, /system/lib/libsupol.so, ... etc. Have you tried to start SU daemon or run su via adb?
[Verizon LG G3] bweN diorD:
yea, i figured there would be issues with stump, the phone has to be clean or its not happy.

thanks
[Verizon LG G3] Ariac Konrel:
Indeed they're leftover from Kitkat, but utterly useless.

I tried using adb shell and su (separately and one after another) and the device virtually disconnected, I had to disconnect the wire and reconnect it in order for it to be picked up again.
[Verizon LG G3] hsbadr:
Ok, that's good! I'm thinking of a way to make the KK leftover useful, like if we intentionally left something (binary/library/script) exploitable, that won't be overwritten by the OTA patch.
[Verizon LG G3] HolyAngel:
Lollipop requires a new way of rooting, chainfire had to rewrite supersu and its install process in order to root it. We need a new apk or some way to use it.
[Verizon LG G3] Ariac Konrel:
I am thinking that too, but I am not sure how to. If you figure something out, I'll be willing to test. I don't mind softbricks, but I won't mess with the bootloader, I do not have a spare device.

****. But the leftover files may make it easier for us, after all the priority (as of now) is to extract files.

----------------------------------------------------------------------------------------------------------------------------

Since the files are there, will making SuperSU a system app possibly help? Since the files are there, I doubt it, but worth a shot I guess.
[Verizon LG G3] shiftr182:
What are they using to root lollipop on the official Sprint version, or the official international version? Shouldn't that work on ours? Or does it have to be built into the rom beforehand?
[Verizon LG G3] hsbadr:
ok, let me check what I can offer. I'm more of hacking via scripts, but it might be useful for security devs to exploit a vulnerable app (e.g., Flash Player) that we leave in /system/priv-app with any necessary permissions in /etc/permissions...
[Verizon LG G3] Averix:
So has this OTA actually started going public yet? Or still in some weird test push state. Just wondering if I need to monitor the phone to make sure it doesn't get updated over night. Lol
[Verizon LG G3] danaff37:
Yeah but it's all in the latest super su app and binaries already. But in LP, it won't work without the daemon running. That's started up by an init process in a rooted lp phone. Don't know how we could get it started properly after an update...
[Verizon LG G3] ohlin5:
Really?? Other carriers have it and somehow Verizon fails so epically yet again. Given I'm not a dev and know nothing about that end of things, do you think it would be theoretically possible for someone to rip that feature from another carrier's LP update and merge it into an otherwise mainly stock 23A rom? Or likely not?
[Verizon LG G3] fr4nk1yn:
But the latest SuperSU is lollipop compatible(?), or are the files in different locations?

I'm thinking a way of using the leftover files are the way to go. We just have to get it to start.
[Verizon LG G3] annoyingduck:
I'm not on LP anymore, as I just can't function properly without root!! But for everyone else that's on it, please periodically check for the 23a kdz file using the app LG Phone Free I linked many pages ago. With several users in different areas of the country checking that, one of us is bound to get access to the kdz when it hits the servers. Currently all I get is a big red "fail" while on LP, while any other time I get the 12b kdz file link.
[Verizon LG G3] danaff37:
If all this stuff is sticking... Do you think the update would complain if we replaced some binary that starts at boot with another, that maybe isn't overwritten (something that will allow the phone to still start, that could be fixed after root is gained from this)? Or if we took one that possibly is even replaced and chattr +i on it so that it can't be replaced without formatting (as long as the patcher script fails gracefully and doesn't care about errors like that, but I doubt it)?
[Verizon LG G3] bigshotrob22:
What app is that?
[Verizon LG G3] cyberhern:
Is anybody working on a flash2 method with IMG files
[Verizon LG G3] fr4nk1yn:
Text editing on the phone sucks.

I can't copy the entire contents, for exapme fstab.g3 is 55.27KB in /system but I can only copy 10.49KB of that.
[Verizon LG G3] danaff37:
Can you cat the file in terminal?
[Verizon LG G3] fr4nk1yn:
No. Been tried.

Using cat terminal says access is denied and copies some of the files blank.