yashsingh1/xdaforums huggingface dataset:
[G2 Original Android Development] phoenix_rizzen:
Check the Mahdi thread. Dr87 just posted TWRP 2.7.1.0 for most variants (including D803) with proper CPU/GPU/hotplug/thermal support.

Edit: d'oh! Ninja'd.

Typos courtesy of my LG G2 (D803) running Mahdi-ROM.
[G2 Original Android Development] blastagator:
Awesome! He should make that its own thread. Working great here on d800.
[G2 Original Android Development] Walter21026:
That is right, it will take you to a factory reset prompt, Just push power twice ( it will not wipe your device) after you push power to confirm factory reset it will take you to TWRP
[G2 Original Android Development] jasonsf:
http://xdaforums.com/showthread.php?t=2449670
[G2 Original Android Development] bradleyyy:
Will anyone please provide instruction?

I'm posting all over cause I'm in such a hurry to fully enjoy this phone and tweak it so that it performs to its fullest potential.

Will someone please make a post (or direct me to one) that explains how to get TWRP onto a stock device so that I can then install the only custom rom seemingly available called CleanRom. While you are so kindly taking up valuable time to type up my request please have in mind that I am the biggest noob you will probably encounter so please have patience with me and expect more questions. Please make the process as quick and painless as possible for both of us. I really appreciate the help :)

Wait...nevermind the answer to my question is one post above. How convenient :)
[G2 Original Android Development] aaronc_98:
ok- that worked. I was scared about the factory reset but it did boot into TWRP.

thanks,
[G2 Original Android Development] flb1213:
Long story short i just downloaded Flashify and it installed twrp no problem already made a nano and off i go.
[G2 Original Android Development] somboons:
with version can support D802 Open version.

this is my stock recovery /kernel D802 Open version can you make TWRP img?

https://www.dropbox.com/s/m8odzqdr3jdrfkb/LGD802-Stock-Recovery.img

https://www.dropbox.com/s/coul73bjnust5wy/LGD802-Stock-Kernel
[G2 Original Android Development] mouf32:
Exactly what I did...
[G2 Original Android Development] Dees_Troy:
Sprint variant added:

Sprint Downloads
[G2 Original Android Development] wolfgart:
can you update Korean F320K to your last release ?
[G2 Original Android Development] somboons:
excue me it for D802 , right ?

Could you make for D802?
[G2 Original Android Development] tigabert:
+1 to that. Plzzz..
[G2 Original Android Development] moosc:
Question when the recovery goes into the mode showing its flashing, is there a way to make the font larger? Pretty dang small on such a amazing screen

Sent from Bad Azz VZW LG G2 Cyan Tapatalk
[G2 Original Android Development] leoaudio13:
Its weird that I have TWRP 2.6.3.0 after flashing 2.6.3.1 image provided in the 1st page. LG G2 F320K :)
[G2 Original Android Development] wolfgart:
Nope.... For the 2.6.3.2 like others variants
[G2 Original Android Development] Hendrickson:
Ok I have discovered how to get it to work on other Korean variants other than F320K. My phone is a F320L, however I used the CWM touch mod for this model and flashed this F320K11c update.zip Firmware here: http://optimusforums.com/threads/new-firmware-f320k11c-update-zip-for-twrp-or-cwm.9146/

Then to make my phone 100% a F320K model I then entered download mode and used LG Mobile Support tool to recovery my phone completely as a F320K model. (Even though its a L or was a F320L model) I have run all F/S/K firmwares on my F320L without any issues.

Then rooted with vroot and using flashify flashed the F320K TWRP recovery image and rebooted into TWRP ;) A mission but it works if your willing to try this.

---------- Post added at 05:17 PM ---------- Previous post was at 05:13 PM ----------

Same here, top says Team Win Recovery Project v2.6.3.0
[G2 Original Android Development] leoaudio13:
Are you be able to select backup to Ext-SD card ? mine can't recognize Ext-SDcard :(
[G2 Original Android Development] Hendrickson:
No just internal storage is selectable.
[G2 Original Android Development] wolfgart:
Dees_Troy has updated his KOR recovery to 2.6.3.2 . Now external sdcard is perfect functional. After install , Go before in recovery , MOUNT , checkmark on external sd, and Fun
[G2 Original Android Development] devadip:
thanks to wolfgart and Dees_Troy,

the recovery work fine and let me do back up on external sd

thank a lot to both:good::good:
[G2 Original Android Development] energie:
which one of the files shall i use considering i have the italian g2 version? :/
[G2 Original Android Development] Kappa Lamda:
I am thinking of buying a G2 but only problem is the lack of SD card slot. cause I tend to keep 1-2 backups and 1-2 roms ready to flash.

So does otg backup/restore and otg flash work without problems? Regardless if it for stock rom, custom stock based rom, aosp based rom etc or the backup size.

I did some search but the last posts about that where about 2 months ago.
[G2 Original Android Development] el_tute:
I have a Pendrive with two usb ports, standard and microusb to use as OTG.

And no problems at all, I made my backups and flash my roms with TWRP Recovery directly from the OTG.
[G2 Original Android Development] Berzerker7:
Why not wait for the G3 at this point?
[G2 Original Android Development] JRJ442:
Because there's a 99% chance there won't be a way for custom recovery on it. They blocked Loki on the G2s Kit Kat update. Odds are they'll do it again. Except this time we won't be able to downgrade the bootloader because there won't be one to downgrade to
[G2 Original Android Development] Berzerker7:
Even if they patch an exploit, something else will eventually take its place. It's only a matter of time before something gets root, just look at the VZW/ATT GS5. LG phones were always known to have simple exploits. They don't seem to employ the highly skilled security experts.

Also, in terms of not downgrading the bootloader, there could be engineering snapshot or pre-production bootloaders that it could be downgraded to, similar to getting engineering HBOOTs on HTC phones.
[G2 Original Android Development] JRJ442:
I'd still wait to see if there's any exploit before I shelled out the cash. I'm sure there will a root exploit. A way to boot custom recoveries is something different. I don't think safe strap is an alternative for us. To my knowledge that's the only thing S4 and S5 users have. I did see someone claim to see a G3 running vanilla android. Maybe a Google Play Edition is in the works. Possibly something could be derived from that for all models. I'd still hold out til I knew for sure.
[G2 Original Android Development] Berzerker7:
Well I definitely wouldn't go out and buy one day 1, sure, but at this point, it's going to be released in a couple weeks and I'd give it a month or two before something good comes out, if even that long.
[G2 Original Android Development] kwdan:
I always try to buy phones day 1 with earliest software(before they start patching a bunch of stuff) and don't update until root and recovery are available .
[G2 Original Android Development] Berzerker7:
I meant literally day 1, it's fine to wait a week or two. Even if an update rolls out in a week, there's an extremely high probability that the phones won't come with the update out of the box until a few months afterwards.
[G2 Original Android Development] Formhault:
Is official TWRP going to get an implementation of thermal throttling, just like in dr87's mod?
[G2 Original Android Development] Ace42:
Wait for 2.7.1.1(or .2). You should just use dr87's variant because we don't know if this'll get updated anytime soon.

Transmitted via Geass
[G2 Original Android Development] Formhault:
I'm using dr87's TWRP right now. Flashed CloudyG3 and the phone barely got warm. It'd be nice if whatever he implemented would be merged into the official build, though. Unless he creates his own thread and keeps updating as TWRP goes on.
[G2 Original Android Development] JRJ442:
He said he was gonna keep them updated as TWRP gets bumped up versions. But I'm not sure if he's gonna create a thread for them or not.
[G2 Original Android Development] vikdal:
Just flashed the modified twrp from [MENTION=5232783]dr87[/MENTION]. Works great! Gonna flash new rom etc now. See you on the other side :)
[G2 Original Android Development] demoncamber:
[MENTION=5232783]dr87[/MENTION] is awesome he did a great job and fixed the issues as well!! Who else can brag about having tap to wake in recovery? Haha
[G2 Original Android Development] kramnod:
Hi, I don't know if its just me or anyone else already experienced the same issue as mine..

Got TWRP 2.7 installed on my G2 D802 cellphone, rooted it first with IOroot and installed TWRP using Autorec..

I have been playing around with different roms, and this issue happened when I think I may have deleted a file when I was cleaning up my Internal storage...

What happens is that everytime I create a nandroid back up, it always fails.. It starts the process but towards the middle it would fail, same thing happens everytime, regardless of the rom I use. Tried it Pardus Sensation, Pardus Classic and Cloudy G3..

I can flash roms, I just can't create a nandroid..

Anyone experienced this? How do I resolve this?

Thanks in advance
[G2 Original Android Development] fLipz:
[MENTION=2420607]kramnod[/MENTION]

have you tried [MENTION=5232783]dr87[/MENTION] Custom-TWRP-2710 Recovery?
[G2 Original Android Development] mrrogers1:
It works like a charm!
[G2 Original Android Development] ftw2118:
I am having the same problem. . I have a lgg2 ls980zvc on sprint. It's rooted with. Autorecovery and the flashed kernel do too the white lines. I had the same phone a week ago and I did the same exact thing as this phone and was able to do a backup on twrp. I don't know why it won't go past data. It does system the. Data the. Stops at data. And I have plenty of space for all of it. Did u ever figure out what the problem was with yours
[G2 Original Android Development] mrrogers1:
Have you tried turning on compression in backup?
[G2 Original Android Development] wolfraim:
Can i use d802 version for my d805?

Can i use d802 twrp version for my lg g2 d805?

Thanks
[G2 Original Android Development] tatanico:
Yes.
[G2 Original Android Development] Ascrounch:
hello

this is not working on my phone :/

rooted with Ioroot 25r1

then installed TWRP ion market, that makes me installing busybox

so reload TWRP and tryed to installing a recovery but he doesnt do anything... then after TWRP crashing.

i've just opened the phone, he is new, never used before...
[G2 Original Android Development] Ascrounch:
i forgot this image
[G2 Original Android Development] JRJ442:
Have you used AutoRec first? You have to flash the Jelly Bean aboot before you flash the recovery.
[G2 Original Android Development] Ascrounch:
Yep : ) i done it with autorec, it worked.

Then installed twrp.
[G2 Original Android Development] Wesley32:
Okay, So, I try to install dr87's custom twrp and it won't flash. I currently have TWRP version 2.7.0.0 on the D800. Everytime I try to flash the custom TWRP or just the regular TWRP 2.7.1.0 I get an error and it fails to flash? any ideas on why?
[G2 Original Android Development] JRJ442:
TWRP has been putting in the wrong Loki patch for a few versions now. Same with VS980. So when he compiled them from source with his kernel the same patch was used. He fixed VS980 before upload, but didn't get a report of it on D800 until after. He posted a fixed version in the thread but you'll have to do some searching because its kind of buried and not on the same page as the rest of the downloads. . Try searching the Mahdi thread for custom TWRP D800 and see what comes up. If you can't find it, I used that version for my themed ones if you don't mind having a different TWRP splash screen.
[G2 Original Android Development] veloct:
Try flashify

LG VS980
[G2 Original Android Development] Wesley32:
Awesome, FLashed your skinned version via Flashify and got me to TWRP 2.7.1.0

Thanks for your help.

Thanks guys. will try both and let you know.
[G2 Original Android Development] JRJ442:
Just so you know there's no need to use Flashify with mine. You can just flash them in recovery. All of the Loki stuff is correct in them. dr87 just updated his too by the way. So his should flash fine in recovery for you this time ?
[G2 Original Android Development] Snuzzo:
[MENTION=3520986]JRJ442[/MENTION]

Just out of curiosity; any thoughts of f2fs on this device?
[G2 Original Android Development] ffejy462:
I've been wondering the same thing. Been seeing more and more roms, kernels, etc being switched over to f2fs on mostly older devices threads. Apparently they've been seeing an increase in battery life and benchmarks. (real benchmark numbers that actually mean something)
[G2 Original Android Development] JRJ442:
[MENTION=5073488]ffejy462[/MENTION] [MENTION=3419683]Snuzzo[/MENTION] Honestly I haven't really looked into it. The only device I have that some ROMs have switched to f2fs is Grouper. And the ROM I run hasn't switched as of yet.
[G2 Original Android Development] ffejy462:
I highly doubt there would be much rom and kernel developer support to make an ext4 and f2fs version of roms concurrently. The g2 really doesn't suffer from poor battery or poor performance. Maybe somebody could take a stock and an aosp rom and convert it to f2fs just for bleeps and giggles. I'd really like to see the l preview with f2fs. That combo would be pretty hard to beat (once the bugs are worked out of l). I wouldn't be surprised if there's one over in the Nexus 5 forum...
[G2 Original Android Development] RandomPooka:
Wouldn't it really be a matter of whether there's f2fs support in the kernel, or at least in a module for the recovery? You've got to be able to format the partitions in recovery to a supported filesystem. It would be simple for f2fs support to be compiled into the ROM without needing to rebuild the entire ROM. Just change the updater script to format the filesystem as f2fs during install. You wouldn't need to change anything else, as far as I can figure. The files don't care what fs they're installed on, so long as it's a filesystem with unix style permissions.

The important thing is whether the kernel has f2fs support built in. You can't boot from a filesystem that you don't have support for without loading a module first, and if that support module is on the partition you need the module to read, you're a bit screwed. So .. does our kernel have f2fs support? If not, I'm wondering if it's something as simple as toggling a flag in the kernel config file during build time. I'm not 100 percent familiar with this device yet, so I'm not sure how and where everything is stored and what can or can't be done with kernels. I come from Moto devices where the kernel couldn't be replaced. We had kexec kernel injection that allowed us to replace the stock kernel with a custom one at runtime. But that limited us to ext3, and SELinux was available in the ROM, but not recovery.
[G2 Original Android Development] fLipz:
to everyone here's is the link for the [MENTION=5232783]dr87[/MENTION] Latest Custom TWRP (2014-07-10)
[G2 Original Android Development] avercros:
Hello.

I'm on a D800, i have installed the 2.7.0.0 versión, if i want to update i can flash the zip with the installed twrp to update?

Thanks, and sorry for my bad english.
[G2 Original Android Development] topcaser:
Hi, I am on a D802 which is currently running 2.6.3.4. I downloaded both 2.7.0.0 and 2.7.1.0 and tried either to flash via Recovery. Unfortunately both trials failed (due to corrupted zip). Furthermore Flashify did not find the online newest version. Instead I got the waiting circle.

Which version do I need to update via Recovery?

Sent from my Galaxy Note 3
[G2 Original Android Development] Snuzzo:
[MENTION=3053466]RandomPooka[/MENTION]

Matter of adding f2fs to kernel and recovery. Plus a few odds and ends for the rom. Very minor but testing could be a lot of soft bricks
[G2 Original Android Development] RandomPooka:
Sounds about right. And if we have all the appropriate files for restoring to stock, it should be no problem to recover from it. You can also boot to recovery with vol+power down and format the partitions via recovery and reinstall on an ext4 filesystem.
[G2 Original Android Development] topcaser:
No one?

Sent from my Galaxy Note 3
[G2 Original Android Development] JRJ442:
Here try [MENTION=5232783]dr87[/MENTION]s custom TWRP https://www.mediafire.com/folder/1wdwa8648lu7n/TWRP I think the official one may have the wrong Loki patch like D800 and VS980. I remember something along those lines on 2.7 when it first came out. That's why they failed, not because the zip was corrupt.
[G2 Original Android Development] penser:
Has TWRP had any bug fixes since 2.7.1.0 was released? It has a pretty big bug. When the screen turns off, such as during a long flash, it won't turn back on and there's no way of knowing whether the flash finished successfully or not. 2.7.0.0 doesn't have this problem. This is on D800.
[G2 Original Android Development] vikdal:
Yes, flash the update from TWRP and reboot recovery.

Edit: doh, quoted the wrong post, but anyways. Install the version linked in the post above.

---------- Post added at 10:28 AM ---------- Previous post was at 10:25 AM ----------

Yes, flash from TWRP and reboot.
[G2 Original Android Development] mikekoke:
This procedure is compatible with the model D802 and with Android 4.4.2? Because I just made the change and I want to root recovery.
[G2 Original Android Development] topcaser:
Thanks for sharing. Just a last question: why does the custom version has a file size of round about 10 MB whereas the official version has only some KB?

Sent from my LG G2
[G2 Original Android Development] JRJ442:
The file size is supposed to be 9 or 10ish MB. If you only got a KB it was definitely a bad download. No recovery is only a few KB.
[G2 Original Android Development] topcaser:
The download link was corrupt. Thanks.

Sent from my LG G2

---------- Post added at 05:57 PM ---------- Previous post was at 05:55 PM ----------

Is it possible to adjust screen brightness? I can only find screen timeout in the settings...

Sent from my LG G2
[G2 Original Android Development] JJT211:
I keep getting download unsuccessful on both the official as well as the above link to dr87's custom twrp vs980. Is it the link or is it me? Everything else ive DLs just fine.

Edit: Dl'd the ls980 successfully. The VS980 link isnt working.
[G2 Original Android Development] JJT211:
Ok i found it. Here's dr87's most current link for 2.7.1 for anyone thats interested

https://www.mediafire.com/folder/hid9ny9jl91yx/TWRPS
[G2 Original Android Development] JRJ442:
No this isn't his most current TWRP. My link was and it worked just fine for me. These that you linked were the old ones where you have to flash the one specific to your display. His newest that I linked to... have a few internal fixes from TWRP and a script that reads what display you have, and patches the recovery accordingly for you. The newest ones were just released a few days ago. Not on June 23rd
[G2 Original Android Development] JJT211:
Oh ok thx for the clarification.

I got that link from the OP of the Mahdi ROM thread. But yea if thats the case, then the VS980 link is broken. Did you try the VS980 one? Cuz all the others worked fine.

I flashed the one (non JDI) from my link after IDing which kind of screen I have.

---------- Post added at 09:13 AM ---------- Previous post was at 09:10 AM ----------

Oh ok thx for the clarification.

I got that link from the OP of the Mahdi ROM thread. But yea if thats the case, then the VS980 link is broken. Did you try the VS980 one? Cuz all the others worked fine.

I flashed the one (non JDI) from my link after IDing which kind of screen I have.

EDIT: Well waddaya know, VS980 is working now! LOL

Thx again!
[G2 Original Android Development] die_for_rock_vn:
Is it work with LG G2 Docomo L-01f?
[G2 Original Android Development] Uqbar:
I have found that if you hit power you won't get the screen up immediately.

But just wait a little bit (I usually wait 1 minute) and then try to hit power once more. My screen wakes up and I can go on using TWRP.

I think this is a bug similar to the one that won't wake up the screen at a call end. Just guessing.
[G2 Original Android Development] Sensamic:
Is this the latest version available for TWRP and is it compatible with D802?

Thanks!
[G2 Original Android Development] xNotta:
Backup failed.

I just tried to do a nand backup using TWRP 2.7.0.0 and when it starts on "system" it stops and says "FAILED".

So I am unable to make a backup of my current system.

LG G2 (LS980 SPRINT) TWRP 2.7.0.0.

2 Recovery.logs: (Can't upload .log files to xda)

https://www.dropbox.com/s/kha6zq67oq2pbls/recoveryfailed.log

https://www.dropbox.com/s/s3rjlclx38vjrds/recovery.log

I don't know how to read the logs properly, but it seems this is why it's failing:

How can I fix this?
[G2 Original Android Development] centro714:
Trying to install twrp with the app and it says it cant find info for my device?? See attached pic.

Is there another way to install twrp? I remember downloading the zip file and using some app to install. Cant remember. What its called.
[G2 Original Android Development] Lawlrus:
I used flashify twice fine.

Some people use freegee, but I've seen people brick their phone using it.

Sent from my Vs980 running SlimKat 4.4.4
[G2 Original Android Development] centro714:
Upon further review, sounds like if im on 4.4.2, ill have a hard time getting recovery?

Should i use the flash tool and downgrade to zva and install twrp that way?

And the only thing i really need is hotspot. Is there a working hotspot hack without installing a custom rom?
[G2 Original Android Development] fishman0919:
Try this... LINK

If you are already have root... just install and run AutoRec apk
[G2 Original Android Development] =dgim=:
2.7.1.0 screen timeout issue

Hm, I've strange issue on 2.7.1.0 version (D802). I set up screen timeout in settings TWRP. On version 2.7.0.0 everything is OK, I mean - sceren is turning off and after that I can turn on back. On version 2.7.1.0 I can't turn on screen. Power button doesn't work, I need to force to restart device. Someone has the same issue ?

Ok, I see that other people also have this issue. I suppose I need to wait for corrected version 2.7.1.1 or back to 2.7.0.0.
[G2 Original Android Development] vikdal:
Have you testet [MENTION=5232783]dr87[/MENTION] edited version of 2.7.1.0? I'm running it, and it works great.

Search for it!
[G2 Original Android Development] mrrogers1:
Yes indeed it does.
[G2 Original Android Development] =dgim=:
Ok, thanks guys. I've installed [MENTION=5232783]dr87[/MENTION]'s release and screen's timeout is OK.
[G2 Original Android Development] zeroxia:
Hi,

My VS980 (Verizon LG G2) has TWRP 2.7.0.0, it was installed with the tool "VS980_AutoRec.apk". And now I want to upgrade to 2.7.1.0.

The download is: openrecovery-twrp-2.7.1.0-vs980.zip

But flashing it in TWRP failed.

I tried to manually run the script (loki.sh), turns out the loki_patch command failed:

So the "aboot" is different than what loki_patch expects. Is it because AutoRec wrote another bootloader? Can I just write the new recovery image to specific partition to do the upgrade? Like this:

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

PS: Content of loki.sh script in the upgrade ZIP package:

#!/sbin/sh
#
# This leverages the loki_patch utility created by djrbliss
# See here for more information on loki: https://github.com/djrbliss/loki
#

dd if=/dev/block/platform/msm_sdcc.1/by-name/aboot of=/tmp/loki/aboot.img
/tmp/loki/loki_patch recovery /tmp/loki/aboot.img /tmp/loki/recovery.img /tmp/loki/recovery.lok || exit 1
/tmp/loki/loki_flash recovery /tmp/loki/recovery.lok || exit 1
rm -rf /tmp/loki
exit 0
[G2 Original Android Development] JRJ442:
They've been using the wrong Loki patch for a few releases now on VS980, and a couple other variants. Use dr87's. It has the correct patch. The screen timeout bug is fixed, and has knock on enabled in the kernel.
[G2 Original Android Development] mor_1228:
where is version for international D802?