yashsingh1/xdaforums huggingface dataset:
[Verizon LG G2] kaczmar2:
The LG G2 (and other devices, like the Samsung Galaxy S4) on Verizon and AT&T used locked bootloaders. These same devices on other carriers (T-Mobile, etc.) include an unlocked bootloader, which allows users to flash custom kernels and make other modifications to the software on their own devices, AT&T and Verizon branded devices ship with a locked bootloader that prevents these types of modifications.

Loki is effectively an exploit that fools the locked bootloader into loading an unsigned, modified (loki-fied) image. You can read more about how it works here and here, if you wish.

You can use Flashify and and flash CWM while you have a stock recovery if you use the images I posted and follow the instructions in a post above. My understanding is that the AT&T variant of the G2 has a locked bootloader, so these same instructions would apply to that device, I would assume. If you want to use TWRP instead of CWM, there is a Loki-enabled image of that floating around the XDA forums; you can use Flashify and flash TWRP if you wish.
[Verizon LG G2] Viper76269:
anyone get a white screen asking you for a code to put in after hitting reboot system from CWM recovery? i just shut the phone off and back on and it was ok, but i'm just wondering if it was a fluke
[Verizon LG G2] litrekid:
I got the same. rebooted and all seems fine. Although my widgets seem to keep vanishing randomly. Doubt its linked to this though.
[Verizon LG G2] markcyst:
I can only view my backups from within recovery, cannot see them from the phone after booted
[Verizon LG G2] jaben2:
They are in a didn't area. It is mnt>emulated>cwm, or something along those lines. If you go into rom manager it will tell you the destination
[Verizon LG G2] ghodzilla5150:
Thanks Dude. Works Great and setup was fast. Awesome:D I couldn't get TWRP to work but I have always used Clockwork Recovery Touch and prefer it anyways
[Verizon LG G2] zandroid:
Does otg usb work with CWM?
[Verizon LG G2] kake:
Just wondering is wiping any faster in cwm. Its GLACIAL in twrp
[Verizon LG G2] heffzilla:
Check the 4th post
[Verizon LG G2] kake:
Sorry I didn't see that at first glance... Don't know how I missed it. But thanks
[Verizon LG G2] litrekid:
Wow r everyones backups 5gig
[Verizon LG G2] heffzilla:
My compressed cm backups are 1.2GB

---------- Post added at 04:35 AM ---------- Previous post was at 04:34 AM ----------

On twrp, which is irrelevant, sorry
[Verizon LG G2] lazarus2297:
^^ this^^ I would like to know as well.
[Verizon LG G2] adamfair:
I have OTG cable and it works with wireless mouse no problem. I have not tested with anything else.
[Verizon LG G2] wooddale:
Once you install a recovery either CWM or TWRP you have to flash back to stock to get stock recovery back anyone tried yet
[Verizon LG G2] simon_lefisch:
If you can find a stock recovery image you can push it via adb/fastboot. I had to do that when I soft bricked my phone.
[Verizon LG G2] wooddale:
Thanks thats what I was kind of looking for something like they got for the Razrs multiple choice Stock CWM or TWRP.
[Verizon LG G2] djraimondi:
Can you flash a stock recovery through twrp? Or is adb the only way.
[Verizon LG G2] wooddale:
I couldnt find a stock recovery I think the only way is to flash backbto stock. I just want to check my options before I root and get a custom recovery. If we do get KitKat it will never flash with custom recovery. Unless someone makes a flashable zip.
[Verizon LG G2] simon_lefisch:
only thru adb/fastboot

heres a link to the recovery images i used.

http://downloads.codefi.re/autoprime/LG/LG_G2/VS980/Stock_Firmware

notice that it says "10B partitions" and "11A partitions". depending on which version your on, download the appropriate recovery image and push it via adb/fastboot. theres a thread that shows how to push TWRP/CWM via adb so i would assume you could follow it and replace the .img file with the stock recovery one. i only used fastboot cuz i softbricked my phone and fastboot was all i could use.

also, when we do get kitkat, i dont think youll be able to get the update via OTA if youre rooted, so you'd have to flash to stock to take it. however, on previous devices ive had, developers have made flashable updates of OS's that you can flash via TWRP/CWM.
[Verizon LG G2] 3gDroid:
How do I push Clockwork Recovery or TWRP through adb??
[Verizon LG G2] wooddale:
You can just download either image on your phone then get Flashify from market and it will do it for you.
[Verizon LG G2] smtom:
Thanks OP, flashed CWM using Flashify, worked just fine.
[Verizon LG G2] bigwavedave25:
Awesome, worked fine for me using adb to push loki_flash and the recovery image. Now to find a good Rom to try out! ?

VS980 / Tapatalk
[Verizon LG G2] simon_lefisch:
Has anyone been able to boot into recovery using the back buttons? If so, how did you do it and what key combo did you use?

---------- Post added at 11:16 AM ---------- Previous post was at 10:35 AM ----------

Never mind. Figured it out.
[Verizon LG G2] GorfinG:
Curious about this as well. I saw it somewhere, just can't remember where.
[Verizon LG G2] simon_lefisch:
if phone is off (or restarting), hold down power and vol-. when you see LG logo, release power and press again. this will take you to a 'factory reset' screen. confirm to reset by pressing the power button and it will take you to recovery.
[Verizon LG G2] jesssiii:
ROM Mangager

Anyone used ROM Mangager to manage CWMR the way we can use the TWRP manager to manage that recovery, ie: booting into recovery or doing a backup, flashing, ect.? I know you can't install the recovery through there but wondering if it can be used otherwise.
[Verizon LG G2] djraimondi:
I flashed twrp but for the new 4.4 ROM we need cwm. If I flash cwm the same way I did twrp (option 1) will it delete the current recovery? Or do I have to delete twrp first then flash.

Also can cwm use my original nandroid backup that I made through twrp?
[Verizon LG G2] jesssiii:
No need to delete TWRP first. After installing CWM, make a backup of your rom because the TWRP backups won't work with CWM. However, the TWRP backups will remain on your sdcard. So if you then go back to TWRP, you can use them.
[Verizon LG G2] djraimondi:
How do I delete twrp?
[Verizon LG G2] simon_lefisch:
I didn't have to delete TWRP when I flashed CWM via flashify. Flashed CWM, rebooted into recovery and CWM came right up.
[Verizon LG G2] djraimondi:
I don't like flashify. Personal preference. I would rather use adb
[Verizon LG G2] jesssiii:
The first line in my answer said NO NEED TO DELETE TWRP.
[Verizon LG G2] djraimondi:
Oh god I'm sorry. I must need more sleep. Thank you.
[Verizon LG G2] simon_lefisch:
Is there any way to be able to compress the backup made by CWM like you can in TWRP?
[Verizon LG G2] djraimondi:
I heard compressing backups can sometimes lead to errors.
[Verizon LG G2] bouchigo:
You can find this info, along with other useful info here: http://wiki.cyanogenmod.org/w/D802_Info

Look at the How to boot into recovery mode section.
[Verizon LG G2] jesssiii:
.has_su_daemon

OK, finally took the plunge and changed over to this recovery. But now it asks if I want it to fix the broken su. I forget where to install the file .has_su_daemon so it won't do that anymore. Anyone know?
[Verizon LG G2] wooddale:
I read no.
[Verizon LG G2] jmileti:
Ok. Am I missing something. Haven't used CWM in awhile. Can you change backup destination. Can't seem to find it in settings. Thanks
[Verizon LG G2] simon_lefisch:
Weird. How did you swap over? ADB or flashify? I swapped over using flashify and didn't get that error.
[Verizon LG G2] djraimondi:
I'd just like to say that I just got home. I had TWRP installed and I just adb pushed and flashed the CWM zero problems. Thank you all. I kinda miss my touch TWRP (it looked much nicer) but I NEEEEEEED this new 4.4 ROM. I was sitting in class when I saw it released and literally almost got up and went home.

Also why doesn't CWM let your backups be a zip file. Kind of weird that they are Tar files... though I guess not because android is essentially linux. Still bothers me haha.
[Verizon LG G2] simon_lefisch:
Are you installing the gummy ROM?
[Verizon LG G2] djraimondi:
In a few days. Wanna give them a little more time to work out the kinks
[Verizon LG G2] simon_lefisch:
Same here. Gotta wait for the home button to be fixed lol.
[Verizon LG G2] djraimondi:
Question on this ROM since it is different then what I am used too.

What is wipe cache partition?

What is wipe data/factory reset?

I know in TWRP I just chose wipe everything but internal storage. I always did this when flashing ROM's to avoid any hassle (I never liked dirty wipes). How would I do a clean wipe in CWM but still keep the contents of my internal storage?
[Verizon LG G2] simon_lefisch:
It's the same as TWRP. When you flash a ROM, wipe data/cache/dalvik) and flash. The only difference (If I remember correctly) is you wipe those partitions separately instead of all at once (like twrp).
[Verizon LG G2] djraimondi:
So does it matter which I do first? The main menu on the touch version has data/factory and cache and then inside advance it has dalvik.
[Verizon LG G2] simon_lefisch:
No it doesn't matter. I typically go data/cache/dalvik and /system if needed.
[Verizon LG G2] djraimondi:
All I could find was "format system". So let me just get this straight. In twrp when I did swipe to format and I chose data cache dalvik it is the same as manually wiping those in cwm. Do I have to go back and format those areas as well?

Finally what would be the point of formatting /system.

Cwm confuses this young padawan :(
[Verizon LG G2] simon_lefisch:
No you don't have to format them. Just use the wipe data/cache functions on home screen. Then you use wipe dalvik under' advanced'. You don't typically have to format. /system as it is usually done for you when flashing a ROM. I only did it manually when I soft bricked my phone and was tying to restore it to stock, so it wiped whatever system image was there previously. Just remember this....whenever flashing a new ROM for first time, wipe data and cache from the home screen and wipe dalvik from the advanced menu.
[Verizon LG G2] djraimondi:
Thank youuuuu
[Verizon LG G2] wadamean:
Worked like a charm using th3 flashify app.
[Verizon LG G2] lazarus2297:
I asked earlier but never got the answer I was looking for... can anyone confirm whether USB OTG works in recovery.. I know it works when booted into the OS, but would love to know if it works in recovery.

Thanks!
[Verizon LG G2] timisalf:
I couldn't get it to work, every time I tried to mount my card reader it would just return me to the main menu.
[Verizon LG G2] soapinmouth:
Has anyone figured out how to make cache wipes not take 15 minutes on CWM?
[Verizon LG G2] 93fuelslut:
Can I use flashify to install this? And if so, can anyone tell me the steps to install? I couldn't install twrp
[Verizon LG G2] simon_lefisch:
Doesn't take 15 minutes. Maybe 3-4 minute.

Download CWM image file to you're sd card. Install flashify from play store. Open flashify and press recovery image. Locate and select CWM image file. Hit ok.
[Verizon LG G2] nazzo123:
i already have TWRP installed and im trying to flash CWM through flashify and it it just stays on the screen saying flashify... i am using the .img file but do i need to remove TWRP somehow or can i just flash CWM in TWRP?
[Verizon LG G2] simon_lefisch:
You should be able to just flash CWM. I had TWRP on then flashed CWM with no probs. I do know that the free version of flashify allows you to only flash 3 times a day. Not sure if that's the prob for you tho.
[Verizon LG G2] 93fuelslut:
What is yals opinion on twrp vs cwm?
[Verizon LG G2] Jaxon2319:
I wasn't able to flash recovery through rom manager...ended up just using TWRP...but I do use ROM manager to boot into recovery

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

I really like TWRP...this is my first time using it but I may stick with it..its just personal preference...
[Verizon LG G2] nazzo123:
Well I tried flashing it using TWRP and the file wasn't showing up. How am I supposed to flash it if it's not a .zip file
[Verizon LG G2] djraimondi:
Download the one that ends in .img. Then use flashify and flash a "recovery image" not zip file.
[Verizon LG G2] evolishesh:
Just flash the recovery image twrp... Thanks op!
[Verizon LG G2] nazzo123:
im having a problem now with my phone booting up. I tried wiping and looked like it froze so i turned it off and now im turning it on and it stays on the LG screen for a couple minutes and now it stays on the boot up screen looking like its boot looping. How do i boot up into CWM recovery? I havent used CWM in forever
[Verizon LG G2] M@XLOL:
Happened to me the other day. This video explains how to do it. Cheers.

http://www.youtube.com/watch?v=ifi-ArGeTzQ
[Verizon LG G2] paradisewaits:
Can someone confirm that wipe /data from main menu leaves internal storage (/sdcard) untouched? Also if so how would one wipe internal storage in cwm?
[Verizon LG G2] jesssiii:
I can confirm. If by internal storage you mean /system or dalvik, then under advanced I believe it's called.

LG G2 VS980 (VZW)
[Verizon LG G2] cckeeler:
does OTG work with this recovery? I would love to be able to save my backup on something other than the phone because of how large it is.

Thanks
[Verizon LG G2] mouf32:
Nandroid Manager allows you to back up to Google Drive.
[Verizon LG G2] simon_lefisch:
I've heard it does. Im waiting for my adapter to come to make sure. Will confirm once i receive it.

The prob with backing up to a cloud drive is you won't be able to connect to it and load a backup while in recovery, hence having otg.
[Verizon LG G2] insang-droid:
Hat was e easiest recovery install ever. Used Flashfy to install cwm touch.

After first reboot though it went to a screen asking for decryption code?

Not sure what that was but I just rebooted and everything seems good.
[Verizon LG G2] transient_itch:
I had the exact same thing happen to me!

I did a soft reset and it booted up again fine.

However, I don't see any icons/widgets or anything to do enter CWM recovery mode. Isn't that the advantage of installing CWM touch?
[Verizon LG G2] insang-droid:
You have to install the ClockworkMod from app store. You can choose to boot in to recovery using the app.
[Verizon LG G2] RichTJ99:
So to confirm, if I flash CWM as the recovery, can I then install rom manager from the market & have it work properly - assuming I dont update the recovery?
[Verizon LG G2] djraimondi:
Yes. The problem with flashify and cwm app in general stems from the fact that they usually post non lokified images. In order to bypass the bootloader our recoveries must be loki'd.
[Verizon LG G2] jesssiii:
Been doing this with success since first posted ?

Reading all the problems with twrp makes me even more happy I switched to cwmr. The twrp thread still reads .2, you have to search for a working zip of .3, and now I'm seeing there's a .4 that's not working properly! I like the twrp interface but I wish there was better support.

LG G2 VS980 (VZW)
[Verizon LG G2] chip0:
do I need this if I want to flash roms?
[Verizon LG G2] nitsua98:
This, TWRP, or Philz
[Verizon LG G2] greatnesstx:
It takes forever to clear cache and to format my system using cwm. It looks like it freezes, I have to hold down all buttons to reboot
[Verizon LG G2] RichTJ99:
Does CWR have the 5 minute wipe issue that twrp has?
[Verizon LG G2] 93fuelslut:
I'm lost. Where's the cwm touch I can flash in twrp? Am I in the wrong thread? Vs980 Verizon
[Verizon LG G2] cckeeler:
Couple questions. I noticed that rom manager was updated to support Loki, that doesn't really mean a whole lot to me but I'm curious if it now posts a recovery now. Also, I am still looking for a recovery with OTG capabilities. Does anyone know if there is one available for our phone?
[Verizon LG G2] honentan:
VS980's official rom has been upgraded to 12B. The original root method is still effective. But flash cwm failed. The error message: loki aboot different. Here is the link of aboot.img, which backup from my phone of version 12B.

http://pan.baidu.com/s/1sjJFGSX
[Verizon LG G2] rayraycarter4:
so i flashed this and its not reading internal storage and i lost and network!!!!!!
[Verizon LG G2] tombepa:
Does anyone know why it takes CWM like 10 minutes to wipe cache on the g2 but twrp takes about 2 seconds? Do they do it differently and is one method better than the other?
[Verizon LG G2] chip0:
How do I get twrp? I'm still a little lost a to how to install this?
[Verizon LG G2] jesssiii:
Kaczmar, could you update the Loki to work with the Verizon 12b OTA update?

Verizon G2 VS980
[Verizon LG G2] amit_sen:
First time poster in G2 forums as I got my phone on Xmas :D

I don't know at you guys but I didn't face any issues with so-called wipe cache bug on cwm.

I'm using 6.0.4.4 official touch version.

Here's what I did: :

Root with iroot15 file

Install 6.0.4.4 official touch version.

Inside cwm

Factory reset

Wipe cache

Wipe dalvik cache.

Flashed CleanRom v1.0 from 10B base.

Wiping x3 in cwm took 3 mins in total.

Installing Rom took 3 mins.

So I'm not sure what's the issue almost all of you guys facing :rolleyes:

VZW LG2 | ⓣⓐⓟⓐⓣⓐⓛⓚ | TF300T
[Verizon LG G2] Tybaltus Prime:
U planning on bringing more awesomeness to the g2 community? your DNA builds opened that scene up.
[Verizon LG G2] amit_sen:
Once i get i get my buildbox sorted out, i hope to bring awesomeness :D

G2 | ⓣⓐⓟⓐⓣⓐⓛⓚ | TF300T
[Verizon LG G2] kaczmar2:
Did something cause the Verizon CWM recovery image to break after this OTA? I can make a Loki-fied image using CWM sources, but I won't have a way to test it.

Sent using Tapatalk
[Verizon LG G2] datechnerd:
http://xdaforums.com/showthread.php?t=2587296
[Verizon LG G2] nitsua98:
Okay, I don't know if it's because I was on a 12B based rom (Malladus 1.2.4), but I tried to install the loki'd touch image using flashify. It worked, but when I rebooted, I didn't have cellular reception. In the menu, I couldn't change it to LTE/CDMA, and if I tried, after a while an error message would pop up saying that it wasn't able to change to LTE/CDMA and told me to stay on global. Also, Wi-Fi would turn on, but would say that all the networks were 'avoiding poor connection.' So, I backup up the rom and clean flashed v1.2.5. of Malladus. Same issue. Does anybody have any idea what's going on? Currently trying to revert back to TWRP to see if I can resolve the issue.
[Verizon LG G2] wooddale:
Let us know what happens.
[Verizon LG G2] nitsua98:
Got TWRP on, wiped everything but the internal storage, and reflashed, still nothing. Guess I'm going back to stock, if I can even get that bs to work.

---------- Post added at 11:29 PM ---------- Previous post was at 11:24 PM ----------

Ugh, really shouldn't experiment late at night.
[Verizon LG G2] wooddale:
Sorry what pisses me off.is pushing the buttons to get into recovery lol. Good luck and let me know if that fixes it its gotta or your hosed.
[Verizon LG G2] nitsua98:
Ok, seems CWM decided to be a **** and wipe my baseband. Under baseband verison it says "unknown." I'm gonna try to flash a baseband to see if it fixes.
[Verizon LG G2] wooddale:
That would make sense why you don't have data.
[Verizon LG G2] nitsua98:
Huh, guess my edit didn't go through. I flashed baseband and it either didn't write or something, but it's still not working. I should also note that Wi-Fi is not working either.
[Verizon LG G2] wooddale:
Crap you did say that try.it one more.time if that don't work I think your gonna have to go back to stock you got a nanoid?
[Verizon LG G2] nitsua98:
I did make a nandroid in CWM, but the MD5 mismatched and I"m just gonna save myself the headache and revert to stock.
[Verizon LG G2] nitsua98:
BLEH. Returned to stock, still have no signal, random reboots every couple of seconds, can't get past the activation screen... If anybody knows what to do, PLEASE HELP! I think I'm gonna have to get a replacement phone... Going to sleep now, will take suggestions tomorrow. Thanks to anyone who helps. I just don't get how something as simple as installing CWM could f*ck up a phone so badly that even returning to stock won't fix it.
[Verizon LG G2] kaczmar2:
CWM Recovery images for VS98012B

Thank you. I am still on 11A, so I don't have access to the correct aboot.img and a way to test it.
[Verizon LG G2] neduzak999:
I'm currently running the stock Verizon 12b ROM and have twrp 2.6.3.3 . just to be sure, I could use flashify to flash the cwm recovery ending with ".lok.img" right over twrp
[Verizon LG G2] freebird_78:
I just had the EXACT same thing happen to me, except I was on TWRP. Even KDZed. No dice. Had to get a replacement. Sure would like to know what the cause and any possible alternate solution might be, as I'm now extremely hesitant to flash anymore. Flashed CWM from this thread on the replacement thinking it was just TWRP, but now that you've had the same issue on CWM, I'm nervous.
[Verizon LG G2] nitsua98:
Yeah, I'm staying on stock for now... Just rooted.
[Verizon LG G2] ricecake2000:
Yup tried this after using a recovery from FreeGee. All I get is a black screen when rebooting into recovery. This is when using the Flashify method. I wanted to try this since I apparently had Loki in my first recovery yet couldnt flash any roms. Oh well, time to reset back to stock and leave the phone alone. Every year manufacturers make it more of a hassle to do this stuff and its getting a little old.

Just thought I would share my story so someone else doesnt freak. The blank screen is fixable if you leave it alone for a bit then hold in the power button so no harm no foul.
[Verizon LG G2] duke69111:
Are the images on the Clockworkmod site not loki patched?
[Verizon LG G2] commissionerg:
ditto
[Verizon LG G2] simon_lefisch:
Have you guys tried pushing your recovery images with adb?

Sent from my gxidjeb on planet vakcovuhf
[Verizon LG G2] commissionerg:
I just did and it worked. Flashify was a no go for me. Adb push was easier than I thought.
[Verizon LG G2] julesism:
I just flashed CWM 6.0.4.7 from FreeGee and it seems to have worked ok for me but I'm a little nervous based on the issues some of you are having. The slow cache wipe seems to be fixed which is a good thing.
[Verizon LG G2] coolguy71261:
What is the prefered flash method?
[Verizon LG G2] coolguy71261:
Can I install over twrp?
[Verizon LG G2] HueyT:
If you can find a zip for CWM made for your device, you can flash it using TWRP. CWM will start up on next reboot to recovery.
[Verizon LG G2] brnkcv:
Are the images in the OP the most recent? I'd like to flash CWM but need to make sure these are the newest versions.

EDIT: I'm on 12b. Will these images even work?
[Verizon LG G2] holsteinmoo:
I am running TWRP and would like to switch over to CWM as well. Have been struggling to make it happen. Have tried a lot of things I have read in XDA with no luck. I have NOT tried to flash CWM using TWRP though. I am running 24A rooted and am not sure that CWM images work with it. Would love to know if anyone knows what the most current CWM is and if it works with 24A.
[Verizon LG G2] emuhack:
Help Please

Great stuff guys here... I have rooted my G2 and trying to load these files and this is what i get... Hopefully someone can help

adb push recovery-clockwork-touch-6.0.4.4-vs980.lok /data/local/tmp/recovery-clockwork-touch-6.0.4.4-vs980.lok
2579 KB/s (10393600 bytes in 3.934s)

adb shell
shell@g2:/ $ su
su
root@g2:/ # cd /data/local/tmp
cd /data/local/tmp
root@g2:/data/local/tmp # loki_flash recovery /data/local/tmp/recovery-clockwork-touch-6.0.4.4-vs980.lok
local/tmp/recovery-clockwork-touch-6.0.4.4-vs980.lok <
tmp-mksh: loki_flash: not found
127|root@g2:/data/local/tmp # chmod 777 loki_flash
chmod 777 loki_flash
root@g2:/data/local/tmp # ./loki_flash recovery /data/local/tmp/recovery-clockwo
rk-touch-6.0.4.4-vs980.lok
a/local/tmp/recovery-clockwork-touch-6.0.4.4-vs980.lok <
./loki_flash[1]: /acct: can't execute: Is a directory
./loki_flash[2]: loki_flash: not found
./loki_flash[3]: loki_flash: not found
./loki_flash[4]: loki_flash: not found
./loki_flash[5]: loki_flash: not found
./loki_flash[6]: syntax error: '(' unexpected
1|root@g2:/data/local/tmp #

THANKS