yashsingh1/xdaforums huggingface dataset:
[Verizon LG G2] bigpapii:
thank you for your response.. i think i will go with flashify seeing as i do not know much about adb... do you think its alright to download twrp through the flashify app? i saw i could do that and it will flash it as a .img or would i be better off downloading straight from the link provided here and extracting it changing the .lok to .img and putting it on my phone then flash
[Verizon LG G2] xemnas18:
You would be better off doing what you stated, use the ones from this thread...not from the app.
[Verizon LG G2] greyhd:
Thank you for these files, I took the OTA to 12B and used the Loki TWRP files to get up and running. I just had one question, I went with .3 and not the .4 OTG version. Does 2.7 TWRP recommended on 4.2.2 and does it have OTG?
[Verizon LG G2] Lawlrus:
2.7 has fixes and a bunch of other new stuff. Whether you're on 4.2 or 4.4, an upgrade is an upgrade.

Yes it does have otg

Sent from my VS980 4G
[Verizon LG G2] greyhd:
Thank you, I will check TWRP's website for 2.7.
[Verizon LG G2] Lawlrus:
Last I saw the twrp site didn't have it patched for 12b.

Go into the g2 themes and apps and find the thread for holified twrp. It is patched for 12b

Sent from my VS980 4G
[Verizon LG G2] greyhd:
Thank you, just read that a few pages back.
[Verizon LG G2] jesssiii:
I'm on 24A rooted with the twrp 2.7 from Jackpotclavin. Backup works but when I try to restore nandroids, they FAIL. Anyone know why?

VZW LG G2 VS98024A
[Verizon LG G2] docslate:
I have the same problem and can't figure it out. I however am on 12B. It seems like there is a disconnect between what is actually installed and what the recovery thinks is installed. When I tried to flash Phils/loki via ADB I received an incorrect version message. At the end of every restore attempt, I get a failed message at the end of system restore. I don't want to upgrade to 24 until I figure this out as I'm not sure I can go back to Malladus 1.24 if I flash a slug.
[Verizon LG G2] jesssiii:
Also, could someone point me to a flashable zip for 2.6.3.3 lokified for 12b (modded 24A) I could flash with twrp 2.7? Never had a problem with that version and I'm at work so I can't use computer. Thanks!

EDIT: Nevermind, used Flashify.

VZW LG G2 VS98024A
[Verizon LG G2] docslate:
Wonder if you were able to get recovery restore working again. If so, mind sharing it?
[Verizon LG G2] Lawlrus:
I use the 2.7 from the holofied thread in the original android section, and I have never had an issue restoring backups. I've used it for 12b and 24a and have never had an issue.

I use nandroid to make my backups.

Sent from my Vs980 Running Xdabbeb's 24a
[Verizon LG G2] jesssiii:
I used Flashify to install the twrp 2.6.3.3 from this thread and made a backup. That version never failed me in the past and 2.7 never restored any nandroid I made with it. Haven't actually tried to restore yet with this older version, so we'll see.

Since posting that I did more research and it seems people who use the nandroid app to backup and restore are fine but the ones who just use twrp itself alone have problems. They say it's the size of the backups. I did notice the older version broke it up into sections and I don't remember the new twrp doing that, but I may have just not noticed. Hope they fix it soon, I liked the other improvements in 2.7!

VZW LG G2 VS98024A
[Verizon LG G2] johnhale:
In TWRP 2.7 it won't restore my efs. Try unticking that option in the restore and see if that won't work for you
[Verizon LG G2] andydumi:
I am on 11A rooted with CWM installed and I would like to move to KK.

Can I use flashify to download and flash TWRP 2.7, then use XDABEBB's guide?

Edit: Did it and it worked great.
[Verizon LG G2] Lawlrus:
If you have cwm and want to move to twrp, you could have just flashed twrp in cwm to switch, as opposed to using flashify.

I've done it a.few times going between philz and twrp

Sent from my Vs980 running Mahdi Beta2 24a
[Verizon LG G2] datechnerd:
i had to edit the updater-script in the rom and kernel to skip loki.sh and just put boot.img in its rightful place, and had to loki patch the boot.img's in the zips.
[Verizon LG G2] BreakingVZW:
Nice. :good:
[Verizon LG G2] datechnerd:
I've been trying to find a way for the updater to determine if the phone has 12b, and take a route with a prepatched boot.img and if it doesn't have 12b go to the loki.sh and patch as normal
[Verizon LG G2] BreakingVZW:
Sweet man. That'd make things so much easier. Tbh I'm just running stock rooted. I love the stock Rom. That's odd for me to say bc normally the first thing I do is swap in aosp but the lg skin has just enough aosp in it to make me not really want to change it. LG did a great job with this device. I'm coming from HTC One and while that phone is a beast (I really miss beats and those front speakers) this phone is a monster.
[Verizon LG G2] simon_lefisch:
Sorry, I should've been more clear. Can it mount in TWRP using file manager?
[Verizon LG G2] datechnerd:
I found one that should, but I'll have to patch it, and you'd pretty much be the guinea pig
[Verizon LG G2] simon_lefisch:
I'm willing to test. I left my otg cable at my house so I won't be able to test til tomorrow afternoon if that's cool.
[Verizon LG G2] datechnerd:
TWRP 2.6.3.4 from http://xdaforums.com/showthread.php?t=2469995

attached is the patched .lok(in a NON-flashable zip file{sorry about bold})
[Verizon LG G2] simon_lefisch:
Cool so flash the zip and push the lok file via adb correct?
[Verizon LG G2] datechnerd:
if by flash you mean extract, yes

if by flash you mean like in custom recovery, no

extract the zip so you have twrpotg.lok then

dan@pc:~$ adb push twrpotg.lok /data/local/tmp

dan@pc:~$ adb push loki_flash /data/local/tmp

dan@pc:~$ adb shell

shell@android:/ $ su

shell@android:/ # /data/local/tmp/loki_flash

Usage: /data/local/tmp/loki_flash [boot|recovery] [in.lok]

shell@android:/ # /data/local/tmp/loki_flash recovery /data/local/tmp/twrpotg.lok

[+] Loki validation passed, flashing image.

2253+1 records in

2253+1 records out

9230848 bytes transferred in 0.656 secs (14071414 bytes/sec)

[+] Loki flashing complete!
[Verizon LG G2] simon_lefisch:
Sorry, I meant flash the v2.6.3.4 zip then push the lok file. Or do I just push the lok and that's it?
[Verizon LG G2] datechnerd:
no flashing zip, only flash the lok in attachments. if you follow the example i believe i changed the file name to match

or you can change the .lok to .img and use flashify
[Verizon LG G2] philsfan:
Can you get this running on the latest Gummy ROM? I really wish I knew how to edit the scripts myself so I could stop asking you to do it for me, lol.
[Verizon LG G2] datechnerd:
yeah, I'll try to have it up for ya' in the next hour (are you hoping for 12/28 nightly?)
[Verizon LG G2] philsfan:
You're the man
[Verizon LG G2] datechnerd:
here it be https://www.mediafire.com/?q137v3ps6ij4edn

you should report back if you see what else i changed when flashing it (nothing that will affect how it flashes)
[Verizon LG G2] philsfan:
flashed and running great man. also flashed your kernel fix from before. can't thank you enough! :good:

i'm not sure i understand your comment, what else did you change?
[Verizon LG G2] datechnerd:
when you flashed the rom, did it say installation complete! you're welcome from datechnerd?
[Verizon LG G2] philsfan:
lol oh man i missed it! set it to flash and put the phone down to feed the pup, lol. good stuff bro
[Verizon LG G2] datechnerd:
Thought I'd have myself just a little fun
[Verizon LG G2] mediumraresteak:
I just used Freegee and it flashed CWM for me in a matter of seconds.
[Verizon LG G2] Carloskeee:
with freegee intalling the recovery can you flash a rom? i do not understand this loki at all. like if i were to use free gee to flash CWM would i still need to do the .loki? im stock rooted. 12b
[Verizon LG G2] kbuck13:
I'm with you, I have been reading any and every thread I can. I am rooted but stopped there, I had no trouble with my previous phones ( droid X a and OG RAZR)!
[Verizon LG G2] datechnerd:
The recovery is Loki patched, and Roms for this phone are, but 12b you'll probably need some work done to the Rom like some of the ones I've posted previously
[Verizon LG G2] kbuck13:
So when you use freegee to install the recovery of choice then that also installs the Loki patch?
[Verizon LG G2] Carloskeee:
on this thread? so i can just use freegee and flash one of these roms you have posted? i do not understand .loki at all. how to flash or even what it is.
[Verizon LG G2] datechnerd:
Roms flash normal. flash in recovery
[Verizon LG G2] datechnerd:
How'd it work?
[Verizon LG G2] BreakingVZW:
He meant the other flash... That gets you arrested. Nnnnngross
[Verizon LG G2] datechnerd:
haha come on this isn't android porn
[Verizon LG G2] BreakingVZW:
I'm with you man. LG is so different from any other android device I've ever used. You give me an HTC One or Droid or Galaxy phone, I'm golden. LG put Thor's brother in their phone (Loki joke!) and I am having to learn how it works all over again. On one hand it's fun bc I like learning new systems and whatnot and on the other hand it's frustrating as all hell bc I normally can just walk everyone through things on the other devices I've used and with LG and the Loki usage I'm more whaaaaaaaa?

---------- Post added at 01:38 PM ---------- Previous post was at 01:27 PM ----------

I know but I had to say it before someone else did :P
[Verizon LG G2] chip0:
ok so i dont wanna sound like a noob but i need to use adb to install this right? where can i dl that? or what is adb? lol
[Verizon LG G2] datechnerd:
right:P

i've kind of liked this whole loki thing, i mean i wasn't much into editing mods, and this is getting me somewhere

though i've got an idea for unlocking the bootloader, just go to figure out how to execute the plan
[Verizon LG G2] BreakingVZW:
That's what shelnutt2 told me (freegee dev). He said he built in a script that applies the Loki patch when you flash the recovery but like the op said the Rom has to have the same patching applied. That's up to the dev to build it in to the Rom. If i am understanding what the op is saying correctly.
[Verizon LG G2] datechnerd:
or set me after the rom :P I can get the rom running on 12b

I'd still like to work on editing the script rom developers use so it'll work on 12b and before but for now i just bypass it
[Verizon LG G2] BreakingVZW:
Dude shut up! You have a a BL unlock idea!? If you can unlock the bootloader we can bypass this patching altogether and VZW can eat it.
[Verizon LG G2] datechnerd:
it's a long shot but who knows
[Verizon LG G2] BreakingVZW:
Hey it has to start somewhere. If you figure it out and get us out from under the VZW dome of we hate the dev community not only will you have had auto-beast mode permanently engaged, we'd at least have a possible blueprint for doing it on all of the G successors after the G2.
[Verizon LG G2] datechnerd:
though i think part of how I think I'm going to execute it will require the hiddenmenus mod on 12b, but its currently 11A the dev just needs free time to make it work on 12b
[Verizon LG G2] chip0:
so im still lost its saying to "push" the loki flash file? but how do i do that?
[Verizon LG G2] datechnerd:
well what are you trying to do?
[Verizon LG G2] chip0:
im trying to install this recovery lol this is what i need to start flashing roms right? lol this lg phone is so confusing
[Verizon LG G2] datechnerd:
if you don't want to mess with loki, just extract the zip so you have the recovery.lok(recovery being the one you picked) rename it so it's recovery.img(name infront of .img doesn't matter) put it on your phone, open flashify, select flash recovery img and navigate to were you put it on your phone
[Verizon LG G2] chip0:
ahhh thats much more easy lol ok thank u kindly sir!
[Verizon LG G2] datechnerd:
you're welcome
[Verizon LG G2] chip0:
****...i think i just bricked it lol it wont turn on :(
[Verizon LG G2] datechnerd:
what all did you do?
[Verizon LG G2] chip0:
lol nvm it just took a while now its good doe haha so how do i boot into recovery?
[Verizon LG G2] datechnerd:
many ways

terminal emulator, reboot recovery

xposed framework and advanced power menu

when phones off, press and hold power and volume down, when lg logo pops up let go immediately and press combo again
[Verizon LG G2] chip0:
i did the power and vol key thing and it takes me to a screen that wants me to factory hard reset?

---------- Post added at 08:33 PM ---------- Previous post was at 08:32 PM ----------

it also says rooted in the top corner, idk if that helps
[Verizon LG G2] datechnerd:
that's right, you do what it says, and it takes you to recovery instead of wiping
[Verizon LG G2] chip0:
ahh ok lol thanks homes
[Verizon LG G2] jesssiii:
Thanks!

I was skeptical due to people telling me that freegee installed 3.3, even though it said 3.0 and it didn't ACT like 3.3 either. But the twrp.lok installed perfectly with no problem and when I did adb reboot recovery, it booted into... 3.3! Backing up my stock 12b modded and debloated as I type. And... successful, yay. Thanks again!
[Verizon LG G2] chip0:
hmm everytime i try to boot into recovery it just goes black and then i have to reset my phone?
[Verizon LG G2] datechnerd:
are you on 12b? and how exactly did you flash it
[Verizon LG G2] chip0:
how u said to with flashify, and idk, how can i tell if im on 12b?

---------- Post added at 08:53 PM ---------- Previous post was at 08:52 PM ----------

my phone says vs98011a is that what your talking about? if so how do i get to 12b? or is there another recovery im supposed to dl?
[Verizon LG G2] simon_lefisch:
[MENTION=5438547]datechnerd[/MENTION] sorry I haven't got back to you yet about the otg recovery. Ended up getting the 24hr flu bug :/ im gonna be running around with my son today so I'll flash this evening when he's asleep.
[Verizon LG G2] chip0:
i just checked to see if i have an update available, it says i do, but i didnt dl it cuz my phones rooted, will i loose root if i update? or is there another way to do this? and if i update, can i root the new version?
[Verizon LG G2] datechnerd:
these recoveries are for 12b

remove root

plug into computer, download update with lg update tool(should be able to install from phone when connected as installer)

then reroot with ioroot15 or ioroot16

then give these a shot
[Verizon LG G2] chip0:
ahh ok, could u possibly post a link to that new root? and how do i remove this current root?
[Verizon LG G2] datechnerd:
that suckss hope you fell better
[Verizon LG G2] mediumraresteak:
Is there a way to wipe everything, and to clarify, I mean including the recovery so I have nothing on the phone? I want to do a complete fresh installation of stock with nothing on the phone if possible.
[Verizon LG G2] datechnerd:
in supersu you can go to settings and do full unroot
[Verizon LG G2] datechnerd:
http://xdaforums.com/showthread.php?t=2448960
[Verizon LG G2] chip0:
ok just unrooted and ima go from there, thanx a bunch man!
[Verizon LG G2] chip0:
can i download the update from the phone? or is that a different update?
[Verizon LG G2] datechnerd:
you'll brick if you do it from the phone

do it through the update tool on pc
[Verizon LG G2] chip0:
the update tool is not recognizing my phone? i installed all the drivers and stuuf?
[Verizon LG G2] datechnerd:
did you do the installs from the phone? like you plug your phone in and it says connected as installer, find your phone on the pc and open it and launch the installers
[Verizon LG G2] richielasalsa:
Permission Denied

im getting permission denied on this line and i am root ! shell@android:/ # /data/local/tmp/loki_flash - permission denied
[Verizon LG G2] datechnerd:
give this a shot

chmod 777 /data/local/tmp/loki_flash
[Verizon LG G2] richielasalsa:
im such a noob i didnt even think to try permissions change thanks worked! gracias!:good::good::good::good::good::good:
[Verizon LG G2] BreakingVZW:
Since he's just starting out wouldn't it be easier for him to just flash via freegee since it has the Loki patch applied during flash?
[Verizon LG G2] datechnerd:
not a problem
[Verizon LG G2] datechnerd:
i never used freegee and i see people saying it freegee doesn't work
[Verizon LG G2] BreakingVZW:
+1,000,000 for xposed. Root users shouldn't leave home without it. It's like American express for root... if American express didn't suck
[Verizon LG G2] datechnerd:
so it's a contradiction?
[Verizon LG G2] BreakingVZW:
Okay if you're on 11a just use the pre-rooted 12b and flash that in recovery. You can dirty flash it (flash without wiping data, cache and dalvik)

---------- Post added at 04:59 PM ---------- Previous post was at 04:58 PM ----------

Dude just have him flash the pre rooted 12b. He won't have to unroot and do all of the extra legwork to get to the same place.

---------- Post added at 05:00 PM ---------- Previous post was at 04:59 PM ----------

Yes. Follow the instructions in the Return to stock (Verizon Only) thread.
[Verizon LG G2] datechnerd:
he doesn't have a recovery and im too lazy to point him in that direction xD
[Verizon LG G2] BreakingVZW:
That method wipes everything including internal data. It even makes it unrooted in case you Jack up the device and want to exchange it at verizon. (Whispers: I totally did that lol)

---------- Post added at 05:04 PM ---------- Previous post was at 05:02 PM ----------

Worked for me
[Verizon LG G2] datechnerd:
usb method doesn't wipe everything that's how i did it

i used the software provided by the phone and did the update through usb

edit: ooooh you meant return to stock
[Verizon LG G2] BreakingVZW:
The LG DL tool wipes everything if you use the 10b tot in the op of that thread.
[Verizon LG G2] datechnerd:
I updated my phone from rooted 11a to 12b using the update tool :P even had a custom recovery but since it used download mode it didn't brick
[Verizon LG G2] BreakingVZW:
Right but he said he wanted to start all the way over unrooted right? That's why I suggested it. The method I suggested wipes everything back to out of box unrooted with nothing on it.
[Verizon LG G2] datechnerd:
didn't I give that guide?
[Verizon LG G2] BreakingVZW:
Idk man! Lol I couldn't remember who posted that. If it was you then I'm retarded.

---------- Post added at 05:23 PM ---------- Previous post was at 05:20 PM ----------

So do you have the 11a and 12b tot? If you do then I'd like a copy if you could post it. It'd save me a step if i needed to reset to stock.

---------- Post added at 05:30 PM ---------- Previous post was at 05:23 PM ----------

I was referring to the guide by Krazie1. If you already gave the same advice and I missed it then my bad man.
[Verizon LG G2] datechnerd:
12b was provided by the update tool as a kdz
[Verizon LG G2] datechnerd:
12b kdz

https://www.mediafire.com/?c2c4c4glw722hu8
[Verizon LG G2] Lawlrus:
Is there an issue with people that are on vs98012b flashing roms?

Maybe I read it wrong but it seemed like earlier in this thread people were having problems.
[Verizon LG G2] fedor32:
Same Question I have. I am rooted on VS98012B with TWRP 2.6.3.3 installed, but when I flash a ROM, it will not boot. All I get is the LG Logo that shows up for a split second and then just a black screen.
[Verizon LG G2] billjohnson:
It's not hard kids.

For the dumb-dumbs like me who are wildly busy but just want to run the latest 12B ROMs....I thought I'd try wizard stuff to help out the n00bs and I was able to flash the latest debloated as follows...Went back to my stock unrooted, used the LG Update tool and updated to 12B firmware, gained root again, flashed CWM from this thread (works now that I'm on a 12B stock instead of rebooting to a blank screen). Now I'm flashing a 12/28 debloat as we speak.

UPDATE: ROM still won't flash. I'll try another and check.
[Verizon LG G2] datechnerd:
Yes, the Roms have to be patched.

Just let me know and I'll patch and upload whichever rom
[Verizon LG G2] fedor32:
I was wanting in install Malladus 1.2.3, Thanks
[Verizon LG G2] Lawlrus:
Looks like you already patched ose for someone so I will more than likely just use it. Thanks
[Verizon LG G2] jesssiii:
Right now I'm waiting for the kitkat issues to be worked out. But if I want to start crack flashing again it would be better to just downgrade to 11a. Doesn't sound appealing to keep asking OP to fix every rom as they are updated.

Do appreciate the offer, though!

Verizon G2 VS980
[Verizon LG G2] BreakingVZW:
They were but the op hacked into the secret death star space station and fixed it.
[Verizon LG G2] datechnerd:
here you go

http://www.mediafire.com/download/dzc5pe7omxm5u6w/malladus-vs98012b-1.2.3.zip
[Verizon LG G2] datechnerd:
XD

That's one way to put it
[Verizon LG G2] billjohnson:
I just tried -

http://xdaforums.com/showthread.php?t=2586379

and

http://xdaforums.com/showthread.php?t=2524683

Same Loki error for some reason. This CWM flashes perfectly. I wish I knew what the issue was.
[Verizon LG G2] BreakingVZW:
Did you flash the cwm that the op posted? You shouldn't be getting Loki issues if you used the tools provided.
[Verizon LG G2] billjohnson:
Yes sir. Did it twice. Even went back to stock and updated with the LG update tool. I'm trying the update tool then another CWM flash.
[Verizon LG G2] datechnerd:
Did you try any of the patched Roms in this thread?
[Verizon LG G2] billjohnson:
Not yet. I've been grabbing from the OP for each ROM but I'm assuming the devs haven't patched them yet? I'll browse from this thread and post an update. Thanks for the assistance. I feel like a n00b but this is driving me nuts....

UPDATE:

I was successful in backing up the stock 12B so that shows that the updated CWM did flash. I'm trying the Malladus from here but I'm sure it should alright now.
[Verizon LG G2] texaswickedtoys:
Just true to flash the modded malladus rom in this thread and it failed immediately
[Verizon LG G2] simon_lefisch:
[MENTION=5438547]datechnerd[/MENTION] i finally flash the twrpotg.lok file and otg worked fine, however whenever i flash a rom it fails. message about an incorrect aboot image. anyway to fix that? im using the debloated 12B rom from this thread

xdaforums.com/showthread.php?t=2586379
[Verizon LG G2] datechnerd:
I'll give it a look
[Verizon LG G2] datechnerd:
give this a try

http://www.mediafire.com/download/i94dtkm0hmx0gri/LG G2 VZW OTA VS98012B Debloated.zip
[Verizon LG G2] simon_lefisch:
downloaded flashed but failed. message:

E: Error executing updater binary in zip

Error flashing zip

ill try downloading and installing again.
[Verizon LG G2] datechnerd:
to you crack flashers http://www.mediafire.com/download/z6co1xss50cc1jt/malladus-vs980-1.2.4.zip

not sure if it needed patching but gave it a shot
[Verizon LG G2] datechnerd:
that's strange, I don't change anything in the updater binary.
[Verizon LG G2] texaswickedtoys:
Datechnerd could you please patch that one just tried and got the black screen

---------- Post added at 07:44 AM ---------- Previous post was at 07:35 AM ----------

Malladus 1.2.4 I mean sorry
[Verizon LG G2] simon_lefisch:
Flashed again and immediately failed again. Same error, however looking at the apps in TiBu it may have worked. Some apps that were system apps (ie; play magazines, audible, etc) are no longer system apps (now white instead of red). Strange that it gave me a failed error tho. Might make a backup and flash malladus or AOSP to see if it actually does work. I'll let you know how it goes. Regardless, glad to have otg mount in TWRP so I can have my backups be on an external sd card. Thanks much:D:thumbup:
[Verizon LG G2] datechnerd:
i patched 1.2.4 and 1.2.3

if it's not working could you give me the error?
[Verizon LG G2] datechnerd:
good luck on your flashing
[Verizon LG G2] texaswickedtoys:
Flash showed successful on 1.2.4 but would not boot just got the black screen after the LG logo let me try to dl again maybe I got a bad one
[Verizon LG G2] datechnerd:
mediafire shows 0 downloads of 1.2.4
[Verizon LG G2] simon_lefisch:
So I still got the same error trying to flash malladus :confused: failed immediately. Not sure what's going on 0_o
[Verizon LG G2] texaswickedtoys:
Ok sorry my first dl wasn't yours mediators should show at least 1 now got error executing updater binary in zip