yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] jamm513:
M8, the easy way to backup your current recovery, is using Flashify (Look in the playstore), there is an option to backup.
[G2 Android Development] Perilla_:
Thanks. Anyway I tried with dd if=/dev/block/platform/msm_sdcc.1/by-name/recovery of=/sdcard/recovery_stock.img. Is recovery.img 16Mb?
[G2 Android Development] nic85:
why discontinued?
[G2 Android Development] garywojdan81:
Wootever doesn't have a g2 anymore
[G2 Android Development] nic85:
oh that's bad.. latest build has OTG and loki? any bug?
[G2 Android Development] JRJ442:
Sad day.

---------- Post added at 12:13 AM ---------- Previous post was at 12:11 AM ----------

It seems to work fine on 4.4 ROMs. But flashing a 4.3 ROM always failed, for me anyway
[G2 Android Development] Minotavrs:
why discontinued????? 4.2.2 works great with this version !!
[G2 Android Development] xodeus:
I hope that a dev with knowledge will take this project and try to maintain it. But ok, we have a working recovery. Hope that new roms won't need any additional stuff from the recovery to being flashed.

Thanks to Wootever and any other dev that has been working on this project.
[G2 Android Development] garywojdan81:
Read back 3 posts from your own
[G2 Android Development] Minotavrs:
????????????????????????????????/ :confused::confused:
[G2 Android Development] garywojdan81:
I'm not trying to be a jerk, but this has been answered on this page already
[G2 Android Development] Minotavrs:
could u be more specific... or point me to the link post...
[G2 Android Development] garywojdan81:
Post #241
[G2 Android Development] Minotavrs:
Could u explain more ...

I don't understand the meaning of this post....
[G2 Android Development] garywojdan81:
I thought it was self-explanatory, but o.k.

Wootever is the dev that brought this to the g2 because he had a g2. He got rid of his g2, he didn't say why, so he has discontinued developing for the g2. Because he doesn't own one anymore.
[G2 Android Development] Minotavrs:
Thanks m8 now I got it...
[G2 Android Development] gokturk_1976:
I can't install CM 10.2 via twrp 2.6.3.4 :/
[G2 Android Development] JRJ442:
Yeah I could never install any 4.3 ROMs either. AOKP, CM or whatever. 4.4x ROMs install fine with it. You may have to roll back to 2.6.3.2 and then to. 3 to flash 10.2
[G2 Android Development] Steamer86:
Hue hue hue....
[G2 Android Development] spiderio:
my favorite recovery is discontinue

I hope some dev will continue developing this recovery

I love TWRP advance features
[G2 Android Development] JRJ442:
We'll still have TWRP, just not this one by Wootever.
[G2 Android Development] Schrotty35:
I hope the time bug will solved soon.

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] horst0815:
not really solved, but a working workaround

http://xdaforums.com/showthread.php?t=2580974
[G2 Android Development] nic85:
is USB OTG working?
[G2 Android Development] jmileti:
2.6.3.4 is working
[G2 Android Development] joshevans5579:
Try this

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

I had to do this and it booted right up. Then flashed the .3.3 version of TWRP
[G2 Android Development] bayuadhi069:
Sad to see u go [MENTION=4709667]Wootever[/MENTION], your recovery had saved my phone more than a couple of times. Thank you for your work.
[G2 Android Development] NRGZ28:
Too bad.... This guy's partition saved my phone tonite as well. Dreaded /system partition not mounting problem.. with the regular TWRP.
[G2 Android Development] nismology:
Hey can you expand on this just in case someone runs into the same issue? Thanks and happy New Year to all!
[G2 Android Development] NRGZ28:
Used the "regular" TWRP since I got the phone. All of the sudden it stopped wanting to partition or access the system partition whatsoever. Now that I installed THIS recovery, I can access it and flash ROMs no problem!
[G2 Android Development] JRJ442:
Somehow mount system got unchecked for me causing that. Even with this version. So if it happens again check that.
[G2 Android Development] badhand386:
How do you install a custom recovery on this phone? I downloaded the tool but its only for international and ATT, How did you get your first recovery on your tmobile phone?
[G2 Android Development] ang1dust:
How do you get into recovery manually? I tried vol down and power, vol up and power goes into firmware flash screen
[G2 Android Development] mannequin:
power down, hold power and vol down until the LG logo appears, let go and quickly press them again, on the following screen press reset button 3 times in a row (don't worry it won't erase or reset anything)
[G2 Android Development] captainhase:
I did a backup and now when I want restore it, it fails. Is there any trick?

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] jmileti:
Yeah you need to unchecked efs from the restore screen. Has been an issue for awhile. Trust me it works. If you look up efs backup by auto prime in forum he has a seperate efs back up to work around the fail on using twrp to restore that partition.
[G2 Android Development] force70:
I have no issue restoring a backup with efs included..never have?

sent from canada via my G2, Note 3 or S4
[G2 Android Development] hyperxguy:
I did some restores and didn't have any issue with EFS.

By the way, I had some issue flashing the most recent Mahdi and DirtyUnicorns with this TWRP version (had been fine on earlier releases).

So I flashed the other 2.6.3.4 TWRP (newer loki for OTA 12B) ---> problem solved. Just in case anyone run into similar issue.
[G2 Android Development] JRJ442:
You said in another thread you didn't actually take the OTA, just flashed the radio right? I was wondering if that would work. I may wanna use that recovery for something soon.
[G2 Android Development] captainhase:
@ hypexguy, can you kindly provide a link to the recovery thread. I'm only with my mobile phone and a bad internet connection. A Google search does not bring a clear result.

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] jmileti:
Maybe its just an issue with twrp 2.6.3.3 and.4 for Verizon then. Cause its been an issue for us for awhile. That's why we use auto primes efs backup zip.
[G2 Android Development] hyperxguy:
Sorry for the late reply.

It's from this post here (the download link I used is in post#320):

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

As I said, this 2.6.3.4 had been great with all the kitkat ROMs I tried. Then it can't flash the latest releases of those ROMs.

The 2.6.3.4 above solved this issue (probably loki version).

Update: just in case you need the direct link:

http://www.androidfilehost.com/?fid=23306841710657664

Wait ... do you have a D802 (in your signature) ... mine is VS980.
[G2 Android Development] captainhase:
Yes, I have the international one. Thanks anyway!

Gesendet von meinem Nexus 7 mit Tapatalk
[G2 Android Development] alcangel64:
TWRP recovery not installing on T-mobile LG G2

Hello how can i install TWRP recovery on my Tmobile LG G2 using my Mac or Terminal on my phone because y don't have a windows PC please HELP.
[G2 Android Development] Kroutnuk:
You can use the play store app Flashify.
[G2 Android Development] jellybear456:
Download flashify or freegee from the playstore.
[G2 Android Development] madskills384:
I'm currently on the Verizon LG G2 and I have CWM 6.0.4.4 if I flash that zip from the recovery can anyone confirm that will work? Don't want to get struck in a bootloop and can't flash anything or boot into phone.
[G2 Android Development] alcangel64:
TWRP recovery not installing on T-mobile LG G2

Thank you but I tried that but it did not work it show a black screen and it said {750} fastboot mode started and {800} udc-start() do you have and idea how to fix this so i can install recovery.
[G2 Android Development] madskills384:
Worked perfectly, sweet!
[G2 Android Development] feralcat:
Downloaded 2.3.6.4 to update my Rogers d803 running twrp 2.3.6.2 All I do is go into recovery and flash over to update?
[G2 Android Development] force70:
Yep.

sent from Canada via my G2, Note 3 or S4
[G2 Android Development] feralcat:
Right on. Thanks for the quick reply.
[G2 Android Development] Ibrahim9999:
I've the 2.6.3.3 TWRP recovery on my LG D802 flashed with the FreeGee app.

Can I just flash 'd802-twrp-recovery.zip' like any other zip file?

Has anyone tried this yet?

The phone is new and I don't want to get in any boot loops etc.

Thanks in advance
[G2 Android Development] Ramdanih:
yes you can.. :o
[G2 Android Development] Ibrahim9999:
Thanks for the quick reply!

Unfortunately I get this error while flashing the zip

Can you or somebody else please help me with this problem?
[G2 Android Development] Ibrahim9999:
Finally I managed to flash the TWRP recovery 2.6.3.4 correctly.

Maybe I can help someone with explaining how:

1. Download the free FreeGee app from the Play Store.

2. Open it and go to options

3. Select 'Update Loki in zip' and select the recovery zip file

4. Flash the zip in recovery and that's it!
[G2 Android Development] pm.mohanani@gmail.com:
doesn not support in a bricked phone, if used via adb sideload command, as 'adb sideload ' is the only way that can intake a flashable file in Device..

DO u have other way to Flash this TWRP in Bricked LG G2 Sprint Device...

Thank you
[G2 Android Development] jastonas:
Why is this (2.6.3.4) discontinued and the one that is maintained offers 2.6.3.3 ?
[G2 Android Development] JDMpire:
Yes, that is a good question....

why?
[G2 Android Development] Kroutnuk:
It is discontinued because wootever no longer has a G2 I think.
[G2 Android Development] 93fuelslut:
I wonder why? I like this phone

sent from your moms phone
[G2 Android Development] nismology:
I know this is an old post but I just went through this and learned that you have to use loki_patch on the recovery first before you can use loki_flash.

./loki_patch recovery [aboot] [recovery input] [recovery output]

Without the brackets of course.
[G2 Android Development] AndroidNoobeee:
I flashed the 2.6.3.4 update to my g2 running TWRP 2.6.3.2 in the recovery but it fails...

any help?
[G2 Android Development] jastonas:
How does it fail??
[G2 Android Development] shriom_manerker:
can you please upload the zip you lokified ? its for d802 right ? cus i couldnt find any 2.6.3.4 twrp for g2 :\
[G2 Android Development] ahme_t:
TWRP 2.7.0.0 lg d802 here : http://techerrata.com/browse/twrp2/g2d802
[G2 Android Development] omegajester:
Wonder when they're gonna update to 2.7.0.0 Roger's TWRP :/

Mess with the best, die like the rest
[G2 Android Development] Ibrahim9999:
The download is in the first post in this thread.

Click on (d802-twrp-recovery) [International] (or whatever version it is) and it will download.
[G2 Android Development] Jrock_Xtreme:
quick question... i dont have a custom recovery yet (just got the phone, it's an 803 with Rogers) and i noticed that the link for first time users is only for the 800/802... can install the 800/802 version then flash the 803 zip afterwards? Slightly confused... thanks.
[G2 Android Development] Danilo Pantelić:
Finaly kernel from LG for KK D802 International - https://www.lg.com/global/support/opensource/opensourceList?types=ALL&search=D802 :good:

Now is recovery and root very close :D
[G2 Android Development] lorddm:
Hi all.

Somebody can help me:

How I can full remove TWRP for making OTA UPDATE to 4.4.x?

Or maybe How I can make OTA UPDATE with installed TWRP

Adv.thanks
[G2 Android Development] bonny_k-9:
Is it true that if you format the Internal Storage, then EFS is formatted too?
[G2 Android Development] malte41:
Thx Mr.Troy

D80210a-EUR-XX (german o2 stock):

Installed TWRP and rooted the device withhin the process. 5min. and a reboot.

Thx! great code.
[G2 Android Development] ny-hardcore:
I used this without being rooted to install the recovery :)

I didn't install supersu from recovery as i don't want to trip the rootchecker stuff....
[G2 Android Development] justbenice:
Dear OP, Can you update your scripts to TWRP 2.6.3.2 ? Thanks alot !
[G2 Android Development] Wootever:
Updated first post.

Changelog:

* added my custom kernel
* added checkbox to toggle loki function
* added efs backup/restore
* added recent twrp fixes
* fixed delay on formatting
[G2 Android Development] javahuan:
Installed the new version, but....got auto reboot when i trying to nano backup my phone... :crying:
[G2 Android Development] blacklixt22:
may I ask if your kernel can be flashed using cwm or I should use this lokified twrp? i have lg d802 and i dont know if the bootloader is lock or unlock thanks
[G2 Android Development] mat226:
Work perfect...
[G2 Android Development] javahuan:
Really? i got reboot every time i do a backup for my phone, have you try to do a full nano backup?
[G2 Android Development] Swanseatom:
New to non nexus LG devices. Is there no way to flash recovery just using fastboot on g2?
[G2 Android Development] Barsky:
All I get is a white text on black background screen. I am pretty sure it is the Fastboot screen. Tried Twice.

Any suggestions?

Nevermind. Rooted it and then used TWRP's dd method. Thanks, regardless.
[G2 Android Development] javahuan:
Confirm that version of 22-10-2013 02:13, work very well! Thank you so much!! :)
[G2 Android Development] robeppef:
mount and backup

Hi,

I successfully installed your recovery on my rooted D802, but I can´t mount anything and backup fails ("Internal Storage: 0MB" and the Console says "unableto mount /data")

Can someone help? - The main use of recovery for me is to backup and recover my phone :)
[G2 Android Development] mehdi.prong:
hi.i cant download from that links.....pls check it.....
[G2 Android Development] Wootever:
I included a separate loki patcher in my kernel flash package, so you don't need a recovery with built-in loki support.

But other upcoming kernels or aosp/cm roms will probably need a recovery with built-in loki support.

I rebuild the kernel again without the linaro toolchain, as it is needless for a recovery kernel and also seems to cause some problems.

[MENTION=4284609]robeppef[/MENTION]

I will need a dmesg and the recovery log file to further investigate this issue.

[MENTION=5162480]mehdi.prong[/MENTION]

Sorry, tested both links again and can't notice any problems.
[G2 Android Development] robeppef:
send you the files as private message :)

---------- Post added at 03:14 PM ---------- Previous post was at 03:06 PM ----------

tried CWM Recovery -> install works but I can´t mount sdcard or the expernal sdcard either.

Any ideas? I got a rooted D802.

---------- Post added at 03:18 PM ---------- Previous post was at 03:14 PM ----------

tried CWM Recovery -> install works but I can´t mount sdcard or the expernal sdcard either.

Any ideas? I got a rooted D802.
[G2 Android Development] somemadcaaant:
I just downloaded the latest zip so the link works and it works for backups as i just tested that successfully, data partition is mounting on mine fine so update your busybox perhaps.

The only thing that doesn't work for now is USB-OTG, can this be fixed? Everything else is fine.

Thanks for your work woot.
[G2 Android Development] robeppef:
Busybox 1.21.1 installed in /system/xbin

also tried the pro version
[G2 Android Development] robeppef:
Got it : had to un-encrypt phone :)
[G2 Android Development] stafly17:
So do you think this will work for the sprint version??
[G2 Android Development] kkcheung:
yes, im using CWM recovery with my F320S. Really want to change it to TWRP...any suggestion?:confused:
[G2 Android Development] hwwr:
May i clarify something.

Does that mean that i do not have to root my G2?

I jus have to use the tool provided to install TWRP and i can go about flashing any rom and kernel right?

Thank you
[G2 Android Development] Amroo1988:
Thanks for that .

can i receive OTA update and installing with TWRP recovery or not ?

If i can't >>>

How can i revert to stock recovery ?
[G2 Android Development] Ibanez33:
I have TWRP running and installed, I can boot to it and have updated to cyanogen but when I try to make a backup it reboots the phone.

Any suggestions?

My previous searches have found similar issues but on different devices that just list about fixing permissions this didn't work.
[G2 Android Development] MarkyG82:
I would also like to know this.
[G2 Android Development] Amroo1988:
It's easy to revert to stock recovery :fingers-crossed:

Thanks again :good:
[G2 Android Development] Wootever:
Updated first post:

* added AT&T version

* based on latest cm kernel

* fixed usb otg
[G2 Android Development] moh230:
is there a possiblity to do this with t mobile? How can i get the command to show a 3rd option the t mobile recovery img that i downloaded from somewhere else?
[G2 Android Development] poun:
Thanks Wootever, that worked perfectly.

By the way, as I don't have a windows machine, I wrote a bash script to flash the recovery with Loki tools using the phone only (no adb, no drivers).

But when I found your post, I was surprised to see that the loki_flash and loki_patch files you use are both about 67 K when loki's from github (loki_patch-linux-arm / loki_patch-linux-x86) are only 12 K.

SInce yours seemed to be working for several people, I used yours in my script and it worked like a charm. But I have to ask, why the difference ?
[G2 Android Development] Wootever:
[MENTION=1103229]poun[/MENTION]

These loki files are build with static libaries to keep them compatible with different rom/recovery versions.
[G2 Android Development] karmatt:
I used your method yesterday on a unrooted and complete stock 802, it worked like a charm!

Thanks for this
[G2 Android Development] MarkyG82:
Please can someone clarify this.

It might sound like we are nagging but if this is the case then it's a much easier way to enable custom flashes.

Mucho thanks
[G2 Android Development] Wootever:
[MENTION=3103191]MarkyG82[/MENTION] and [MENTION=1925447]hwwr[/MENTION]

Yes, that is exactly what the tool is intended to to :)
[G2 Android Development] fanghan:
Formatting the phone seems like its not working...been sitting here for the past 10 mins trying to format both through factory default option and advanced format option.

Using the international version of G2.
[G2 Android Development] Wootever:
[MENTION=3314403]fanghan[/MENTION]

That seems to be a problem with make_ext4fs selinux handler (part that is responsible for formatting storage), until this is fixed every recovery available for G2 has this issue.
[G2 Android Development] fanghan:
Hmm..how do i bypass it? Should i format it through the current rom im using (stock actually) and from there boot into recovery to install a new rom?
[G2 Android Development] letschky:
I have a problem, I can boot into the recovery, I can flash ROMs, I can make backups, but I can not be restored, it is in error recovery, Uncheck the MD5 verification, but I have unchecked, which also has someone ?

International G2 D802

---------- Post added at 06:09 PM ---------- Previous post was at 06:08 PM ----------

I have a problem, I can boot into the recovery, I can flash ROMs, I can make backups, but I can not be restored, it is in error recovery, Uncheck the MD5 verification, but I have unchecked, which also has someone ?

International G2 D802
[G2 Android Development] richk2:
How to get to recovery

How do you physically get to recovery after installing this. Do you always have to use a computer?
[G2 Android Development] somemadcaaant:
Details are on the op mate...
[G2 Android Development] Polletje:
Works for non rooted

Just to confirm,

works on a non-rooted international D802. And rooted it after rebooting in recovery.

Easiest recovery / rooting ever!
[G2 Android Development] diffstyle:
Since I already have CWM recovery, shall I just flash the .zip via cwm install from. .zip option?
[G2 Android Development] LenAsh:
Yes - as it says.
[G2 Android Development] diffstyle:
Got it, works great, I had to switch to twrp because it has efs backup option
[G2 Android Development] LenAsh:
Good choice - and it can root your phone.
[G2 Android Development] landeiro:
ItS works in D805 Brazilian G2?
[G2 Android Development] somemadcaaant:
Make a back up of your boot.img, flash it and tell us if it works.
[G2 Android Development] landeiro:
friend I need to install fregee after ou before it?
[G2 Android Development] vahid-hetfield:
hey guys

in recovery i can't Wipe anything!! no factory reset no wipe cash or dalvik cash!! why is that?

Stuck on wiping ........
[G2 Android Development] Kas206:
I cant wipe cache or dalvik cache either. keep getting "unable to mount /cache" :(
[G2 Android Development] freebee269:
i'm getting the same thing. just tried to wipe cache and davlik and it wiped davlik but i've been stuck at wiping cache for 5min now. shouldnt take that long. i've only had the phone for 1 day.
[G2 Android Development] Wootever:
Unfortunately this is a problem with every custom recovery build for g2.

Workaround for now:

Wiping cache may fail. Checking the box for use rm -rf in settings will fix this.​
[G2 Android Development] heathenlife:
OMG Bricked..!!

So I downloaded the recovery file and ran the batch.

Chose International.

It did everything and asked if I wanted to reboot into recovery.

Phone went off and came on again.

Now I am stuck with a black screen that says

[750] Fastboot mode started

[800] udc_start()

[980] ---reset---

[990] ---portchange---

[1000] ---reset---

[1000] ---portchange ---

None of the buttons work.. :(

Any help?

---------- Post added at 08:05 PM ---------- Previous post was at 08:01 PM ----------

Ok.. It looks like if I hold the power button off for 20 seconds it goes off and comes on again... phew.
[G2 Android Development] flickyamom:
Can't wipe cache at all

Edit: Cache wiping very slow but still working* After installing I can't boot up the phone anymore other than recovery.
[G2 Android Development] pinkfloydhomer:
Can I still install OTA updates from LG (Kit Kat coming soon) if I have this installed?

How can I uninstall it, revert to stock recovery?
[G2 Android Development] condudad:
Check out this thread: http://xdaforums.com/showthread.php?t=2432476&highlight=stock
[G2 Android Development] shingers5:
Flashed and working perfect for me. Wipe cache works fine and dalvik too. Even on cwm wiping cache takes a while. On cwm I couldn't flash any aosp or cm based ROM as kept getting bootloop. Flashed this and all is well. Perfect actually
[G2 Android Development] Pajorve:
Its working in modelo D805 varint Brazil ?

Thanx.

:confused::confused::confused:

Enviado de meu Nexus 4 usando o Tapatalk 2
[G2 Android Development] 93fuelslut:
I only saw twrp for at&t and international... Is there no twrp for vzw?
[G2 Android Development] toomuchgame441:
trying to flash the recovery in adb (AT&T variant)... when I try to flash the recovery I keep getting an error that it does not exist in the directory. Only thing different is I noticed when I download it it does not have ".img" at the end of the file... how can I correct this so I can finish flashing the recovery?
[G2 Android Development] carlos_polanco:
Unbrick my ATT LG G2

Hi XDA users, Just want to share my bad experience with this install/Recovery method.

I rooted my LG G2 ATT and then tried to easy flash TWRP with a LG logo bootloop.

I could enter recovery but for some reason couldnt enter Download mode... Couldnt flash any customRom since I didnt download any... and my Laptop couldnt detect my Phone thru LGFlashTool. It was a very frustrating moment.

After many failed tries, I connected the LG G2 with LG PC SUITE and that way Download mode worked!!!!!!!!!!!!!

Then I flashed STOCK rom thru LG Flash tools and it unbricked my new phone.

This might be confusing but I hope this help some other users with similar situation.

At the end, I'm still unable to flash twrp thru this easy install :(
[G2 Android Development] PRGS3:
Worked like charm. So basic, many thanks!
[G2 Android Development] hyperxguy:
Verizon TWRP please .....

I've been using the version from the other thread ... but the OTG support is missing.

Thanks.
[G2 Android Development] irish.iolar:
Could I somehow use cwm to restore a twrp backup? My phones soft bricked and adb sideload isn't working, device not showing up