yashsingh1/xdaforums huggingface dataset:
[G2 Original Android Development] da_reeseboy:
Receiving the OTA is the issue. Every custom recovery will continue to boot loop into recovery, because the OTA essentially sets a flag to boot into recovery. Factory recovery would see the OTA update flag, install the update, then clear the flag so normal boot would resume. To correct this, you will need to clear the flag manually using adb access. The command is described in this thread - http://xdaforums.com/showthread.php?t=2451696

I should have a little more time later this morning to help you with this using Philz CWM if you need it.
[G2 Original Android Development] Phil3759:
If we allow formatting of /fota, it will fix the problem?

Is it a real partition on your phone? Is it an ext4 or something else (emmc...)

I can add an entry in fstab to be able to format it which will fix your head ache
[G2 Original Android Development] da_reeseboy:
Sorry for the delayed response - yes that does indeed fix bootloop caused by accidentally taking an ota with a custom recovery, at least for the lg g2.
[G2 Original Android Development] Phil3759:
ok,

But what is the fstype of it?
[G2 Original Android Development] Gandalf:
[MENTION=4666971]Phil3759[/MENTION]

caught an error in your d803 tree --

https://github.com/PhilZ-cwm6/android_device_lge_d803/blob/kitkat/full_d803.mk#L29

needs to be

https://github.com/NamelessRom/android_device_lge_d803/blob/android-4.4/nameless_d803.mk#L31

to match stock, and every other d80x variant :D

currently, d803 users are going to have a hell of a time flashing anything
[G2 Original Android Development] Phil3759:
No,

I am in sync with this:

https://github.com/houst0nn/android_device_lge_d803

The forks in my repo are not used
[G2 Original Android Development] da_reeseboy:
Not a clue here... How do I find that out?
[G2 Original Android Development] Gandalf:
hmmm

all of my d803 users are having status 7 errors .. assert errors.. using ALL recoveries, i cannot figure out why to save my life, lol
[G2 Original Android Development] Phil3759:
What if you read the faq?
[G2 Original Android Development] Phil3759:
Ask in your forum threads, it is best place
[G2 Original Android Development] thecubed:
Yes, the partition is indeed a real partition on the phone - however (I don't have my G2 with me to confirm) it doesn't have a filesystem. If you're going to allow people to format it, please don't put a filesystem on it since that could cause undesirable issues later on down the road if something decides to use it.

Essentially, I was working on a postrecoveryboot.sh script that would say "Detected a FOTA update on your phone. Clear FOTA partition to allow booting to Android?" and allow the user to choose whether to wipe it or not. This method ends up being the most cross-recovery compatible since it can be used with TWRP too, not just CWM.

Edit: I should add that I haven't gotten any of that script done - just so nobody gets stuck waiting on me, I've got enough projects on my plate now, so I haven't even touched anything remotely related to Android for a few months after I moved. If anyone wants to pick up and write that, be my guest! :D
[G2 Original Android Development] Phil3759:
but what if you format it to emmc type?

could you try?
[G2 Original Android Development] thecubed:
I don't see any code in the standard CWM source that'd allow you to format a partition of type "emmc", just quickly looking over it it would seem that it might end up putting an ext3 filesystem on it - which *shouldn't* cause issues, but there's always a chance something could attempt to read it and lock up after finding unexpected data.

I'm pretty sure the /fota partition is just a binary partition for LG's FOTA application to read from - as when the firmware updater receives an image from LG's server, it contains a few pieces (going off the top of my head here):

1. The updater image

This image is copied to RAM at a specific offset, and on reboot, LK sees the MSM-RADIO-UPDATE header in RAM and boots from it, bypassing the normal EMMC boot process

2. The data contained in /fota

3. The full FOTA image contained in /data/fota

Then again, I don't have my G2 with me, so I can't confirm any of this - my G2 is still in California so I'm out of luck for now.

If anyone has any questions, I'm on IRC more than XDA, so just PM IOMonster on Freenode and I'll be around eventually :)
[G2 Original Android Development] TDSJR:
How do I know which order .zip files will flash when using the multi_flash functionality? Thanks in advance for any help.
[G2 Original Android Development] indianx:
I loves PhilZ cwm but it does not autoflash cm11 updates on the LG G2 D801.

Always have to manually reboot into recovery and flash the new nightly.

Is there a official LG G2 D801 clockworkmod 6.0.4.4 or higher for CM11 :confused:?
[G2 Original Android Development] Phil3759:
if you care reading the faq, you'll get it
[G2 Original Android Development] same240:
Can this work on my F320S set?

Need advice there, thanks.
[G2 Original Android Development] manuelmagix:
At this moment, don´t work with Kit Kat Stock D80220A (Vodafone) International.
[G2 Original Android Development] alvaro_lsrs:
i can´t flash the new philz recovery 6.19 in android 4.4.2 for d802.
[G2 Original Android Development] murdoch1:
If your on lg stock 4.4.2 you won't be able to flash ANY custom recoveries.
[G2 Original Android Development] Phil3759:
they completely locked bootloader?

LG decided to ban flashing custom recoveries or there is a way to unlock it at LG web site?
[G2 Original Android Development] murdoch1:
I gather they have now secured the Loki patch to prevent custom recoveries. There is a thread in the general section whereby various scenarios have been attempted. All failed as yet. I'm not technical that's only my understanding of it.

Here is the forum:

http://xdaforums.com/showthread.php?t=2667227
[G2 Original Android Development] Phil3759:
Uploaded 6.19.6 final

This fixes auto loki properly

You can now flash what ever you like. Ensure auto loki option is enabled
[G2 Original Android Development] player911:
Does this work for the Official LG 4.4 roms?
[G2 Original Android Development] Phil3759:
probably not, if LG locked it, I do not think you'll get something soon
[G2 Original Android Development] iall5tar:
Maybe from you? ? =P
[G2 Original Android Development] MaluNoPeleke:
I can only find 6.19.3 for the D802. Is it the same?
[G2 Original Android Development] Phil3759:
no

refresh goo later
[G2 Original Android Development] pilotgav:
As soon as I installed this recovery I got vertical lines on the right side of my screen which won't go away no matter what I do. They even shore up in recovery.

Has anyone seen this before?
[G2 Original Android Development] Swamphound:
Just flashed and running well here.

Sent from my VS980 4G using Xparent Green Tapatalk 2
[G2 Original Android Development] manuelmagix:
But not Kk, right???

Enviado desde mi LG-D802 mediante Tapatalk
[G2 Original Android Development] Jostian:
just waiting for 6.19.6 for 802, not yet on goo, will try bit later, thanks for all the effort!!
[G2 Original Android Development] Tubamannen:
6.19.7 up for d802 :)

Skickat från min LG-D802 via Tapatalk
[G2 Original Android Development] Phil3759:
Please confirm auto loki option is definitely fixed now
[G2 Original Android Development] BriVG:
Just tried to install 6.19.7 for vs980 and got an error saying it was not lokified
[G2 Original Android Development] SeVIIn:
I lost custom recovery altogether when flashing 6.19.7 on my D801

Edit: Used Freegee to install CWM then flashed 6.19.3
[G2 Original Android Development] halaros2:
D802 Had a problem with lokify during flash through recovery. Recovery not working at all so I flashed back previous version and working great again!!!
[G2 Original Android Development] Phil3759:
Read main thread

You cannot upgrade directly from versions before 6.19.3

Just flash 6.19.3 and then this one
[G2 Original Android Development] halaros2:
Thanks and sorry, i read main thread but i must have missed that info! Great work
[G2 Original Android Development] tonisauffa:
Probably I'm stupid! I've installed the v. 6.19.3 and I did a nandroid backup on my usb otg. After that I've installed the v. 6.19.7 but I'cant see and I cant mount my usb otg......

EDIT: My otg was broken!

Auzz adda v'daje!
[G2 Original Android Development] Fauert:
Thank`s for your constant updates , and your fine work of "ART" ... ;)
[G2 Original Android Development] Gnarfsan:
Best recovery ever
[G2 Original Android Development] Galaxy Latino:
Same happen to me, the G2 has 2 vertical lines in the right side :(
[G2 Original Android Development] epapsiou:
I heard that happens on lg g2. Something to do with LCD quality. This is covered under warranty from what I can gather
[G2 Original Android Development] klebengan:
Need help here guys. Is it ok flash philz using twrp? I am planning to flash cust rom which sugested using philz recvery.
[G2 Original Android Development] bahrosuz:
Yes it's ok.

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Original Android Development] klebengan:
Any spesific option i have to do before flash it? Loki? Or anything else bro?
[G2 Original Android Development] bahrosuz:
I have just flashed it, and all works

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Original Android Development] klebengan:
Enter twep and just flash it without any option to do?
[G2 Original Android Development] bahrosuz:
By me it worked with only flash.

Last which I have use was 6.15.

Because i am now on KK, and here is no recovery.

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Original Android Development] SumnSavage:
LS980 Bootloader

So I've done all 3 steps to flash recovery via adb and goo-manager. None above work. I'm on ZVA build I do believe, (OTA update). Each time I loki_flash recovery through adb it tells me that the recovery flashed is not lokified. Cant find just a loki based recovery.img either. Yes I'm rooted, but each time I get secure boot error as if its locked which I'm positive it is since it doesn't take "dd" or twrp's prompt code. And when rebooting into recovery all i get is black screen. Drivers install, but it tells me there is no recovery available. So yeaahh.. Considering downgrading but figured I'd gather input first. I've read about a bootloader exploit but just cant find a link to it as well.
[G2 Original Android Development] Schrotty35:
I have also problems with the latest version. I have a D802 and whene i update to latest version and reboot to recovery i see only black screen with 3 line text.
[G2 Original Android Development] bahrosuz:
But you have flash first 6.19.3?

Post #467
[G2 Original Android Development] Schrotty35:
No i have flash the latest version.
[G2 Original Android Development] bahrosuz:
First 6.19.3, after that the latest
[G2 Original Android Development] alvaro_lsrs:
Open source for d802

https://www.lg.com/global/support/opensource/opensourceList?types=NAME&search=D802

Enviado desde mi LG-D802 mediante Tapatalk
[G2 Original Android Development] ThePotatoRage:
I'm getting the "Secure booting error" problem...

Help? :crying:
[G2 Original Android Development] da_reeseboy:
Did you take the kk update?
[G2 Original Android Development] tonisauffa:
[MENTION=4666971]Phil3759[/MENTION] here the source of d802

https://www.lg.com/global/support/opensource/opensourceList?types=NAME&search=d802

I hope in a new recovery for d802 compatible on KitKat......thank you

Auzz adda v'daje!
[G2 Original Android Development] ThePotatoRage:
I'm at stock 4.2.2 JB.
[G2 Original Android Development] da_reeseboy:
Which phone? And which software version?

It sounds like the loki patch wasn't applied in the process. Unless someone knows better, you might have to flash the factory kdz file back on it. instructions found here - http://xdaforums.com/showthread.php?t=2432476.
[G2 Original Android Development] freebee269:
here is a loki'd recovery of philz latest version for D800 users. this has been loki'd from d800 10d aboot so i dont know if it will work with other g2 variants. this is for people just coming to philz recovery for the first time or for people not wanting to have to flash previous versions to get to the new one. just install through adb and go. i've flashed 4.2.2 and 4.4.2 roms with this so i know it works without any problems.

after you are rooted on android 4.2.2, put this file in the same folder as adb.exe:

- open command prompt in your adb folder by holding down shift + right click then click on open command window here.

- adb push philz_6.19.7_recovery.lok /sdcard/

- adb shell

- su (grant permission on phone)

- dd if=/sdcard/philz_6.19.7_recovery.lok of=/dev/block/platform/msm_sdcc.1/by-name/recovery

- reboot recovery

link to loki'd recovery for d800: http://d-h.st/gTT

credit to philz for an awesome recovery.

edit: here's a loki'd recovery for d802 v6.19.7. can be installed the same way as above. make sure to change the .lok name to the d802 recovery name. http://d-h.st/1N5
[G2 Original Android Development] ThePotatoRage:
Phone - D802

Version - 4.2.2

Already flashed the factory KDZ...
[G2 Original Android Development] da_reeseboy:
And you're still getting a security error?
[G2 Original Android Development] ThePotatoRage:
Yep. Flashed the EU KDZ.
[G2 Original Android Development] da_reeseboy:
I'm a little confused as to why you are posting here then. If you flashed the kdz and are getting security boot errors then you should be posting in that thread. If you flashed the kdz and it booted fine, then tried to flash the latest philz cwm and are getting that error it would help to have those details.

Since you are posting here, I am going to assume the second scenario is what has happened. To flash the latest philz cwm you needed to flash 6.19.3 first (it's been stated times in the last couple pages).

Are you getting this only when you boot to recovery or always? Can you get to download mode per the kdz flashing instructions?
[G2 Original Android Development] ThePotatoRage:
I'm getting the error only when booting to Philz Touch.

I can boot to system and get to download mode.

I didn't know that i need to flash 6.19.3 first... If I'll do it, it won't show the error anymore?
[G2 Original Android Development] da_reeseboy:
From what I understand, yes.
[G2 Original Android Development] street.basketball:
I came from CWM philz 6.0.7.9 (http://xdaforums.com/showthread.php?t=2633150), enable loki support but still have loki errors
[G2 Original Android Development] SNaReX:
I have 4.4.2 stock rom installed. I lost my recovery for D802. I want to install another rom.

How can I install PhilZ without installing 4.2.2 JB KDZ ->root recovery - > install d802 custom rom.
[G2 Original Android Development] da_reeseboy:
As of right now you can't. Dev's are working on it.
[G2 Original Android Development] hoangtu2410:
I'm using TWRP . So if i want to flash 6.19.7 i need flash 6.19.3 first , right ?
[G2 Original Android Development] da_reeseboy:
Right.
[G2 Original Android Development] azyounes:
OMG !! this rom has changef my MAC ADRESS ???!!! can u verify that ?
[G2 Original Android Development] street.basketball:
How about me? I'm using CMW 6.07.9 philz, I enabled loki support but still loki error
[G2 Original Android Development] freebee269:
what model number do you have?
[G2 Original Android Development] bahrosuz:
First 6.19.3

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Original Android Development] Norside:
Can I just flash cwm recovery in twrp?
[G2 Original Android Development] bahrosuz:
Yes,u can
[G2 Original Android Development] Norside:
Will I lose my twrp backups when I install cwm then? And if not, are they restorable in cwm?
[G2 Original Android Development] bahrosuz:
You don't lose nothing (post #1)

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Original Android Development] Norside:
Ah, I did see that now...Great feature for us coming from twrp!:D
[G2 Original Android Development] Antunhr:
I was on cmw and wlash last philz and now when go to recovry have error bootloader. How to fix this.
[G2 Original Android Development] bahrosuz:
Have you flash first 6.19.3, and than the last?

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Original Android Development] Antunhr:
No. I flash last version. Flash it with cmw Unofficial with usb otg support and no loki suport recovery.

How to flash it again because i canot boot to recovery
[G2 Original Android Development] bahrosuz:
Flash 6.19.3, reboot the phone again recovery and than flash the last version.

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Original Android Development] Antunhr:
But how to flash. Canot boot to recovery. What program ?
[G2 Original Android Development] apokit:
Flash with flashify apk twrp first and then you will have twrp recovery........
[G2 Original Android Development] bahrosuz:
Correct. Flash first twrp, you can use also the twrp manager from store

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Original Android Development] Antunhr:
Great. Twp dont have g2 in list. and in web dont have international version. What to do ?
[G2 Original Android Development] bahrosuz:
Try this http://xdaforums.com/showthread.php?t=2633941

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Original Android Development] apokit:
Find from d802 development thread twrp.img by heatsiver and flash it via flashify.......
[G2 Original Android Development] Antunhr:
EDIT:

Install Philz recovery with OptimusRs Simple Tool 3.1.

Great tool with all program and drivers.

Tnx.
[G2 Original Android Development] daryelv:
Updated with no issues on D800. Very straightforward, no "install this recovery first..." issues either.

-Daryel
[G2 Original Android Development] bahrosuz:
Sorry, I'm on the way now and I have very bad network with the phone. When I come home I will send you the files over PC.

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Original Android Development] bl4ckdr4gon:
There seems to be an error when trying to download 6.19.3 in the OP link.

EDIT: Working now
[G2 Original Android Development] iall5tar:
fixed thanks!
[G2 Original Android Development] jamm513:
Having boot recovery bootloop "boot secure error " when flash d805 philpz 6.19.7 recovery.

Enviado desde mi LG-D802 mediante Tapatalk
[G2 Original Android Development] BriVG:
Did you flash 6.19.3 first? This must be done if coming from older than .3
[G2 Original Android Development] dmbardal:
I'm having the exact same issue on the D802 intl.

I had a working 6.15.4 of philz touch before I tried to update to newest version.

Then I flashed 6.19.7, and I got the secure boot error.

I read what you wrote, so I tried to flash 6.19.3.

Same error. Then I tried to flash back to 6.15.4.

Same error.

What does one do to fix this without restoring 4.2.2 KDZ?

The ROM itself is working, just not the recovery anymore.

Edit:

FIXED!

Seems like the "Simple Tool 3.0" were the error somehow?

I fixed this by downloading Flashify on the phone from google play,

then installed recovery.img with TWRP -> reboot to recovery -> installed PhilZ 6.19.3 -> rebooted again -> installed PhilZ 6.19.7 -> Fin.
[G2 Original Android Development] bahrosuz:
I think you need now TWRP, than PhiLz 6.19.3 and then the latest PhiLz.
[G2 Original Android Development] dmbardal:
Should mention that whatever recovery I try to flash, the same error pops up.

Tried with any TWRP and CWM.

Edit:

FIXED!

Seems like the "Simple Tool 3.0" were the error somehow?

I fixed this by downloading Flashify on the phone from google play,

then installed recovery.img with TWRP -> reboot to recovery -> installed PhilZ 6.19.3 -> rebooted again -> installed PhilZ 6.19.7 -> Fin.
[G2 Original Android Development] bahrosuz:
TWRP over PC also?
[G2 Original Android Development] dmbardal:
Fixed by flashing directly from the phone, not over PC.

Nothing over the PC worked, but using flashify from the phone did work perfectly
[G2 Original Android Development] BriVG:
Pretty much what I did, but you beat me to it:) Glad you got it fixed!
[G2 Original Android Development] Tinchoska:
Guys, I am using right now the 6.19.3 and every time I try to flash the .7 it keep showing the .3 version.... any idea?

Enviado desde mi LG-D806 mediante Tapatalk
[G2 Original Android Development] big70tom:
Well I flashed update with flashify and now I have no recovery.... Anyone help??? Please
[G2 Original Android Development] Phil3759:
Sorry to have complicated things, however no big thing I can do

Early versions had the auto-loki option broken

And now, installer checks the ro.loki_enabled property before lokifying

I can make it always lokify, but my installer must be compatible with +100 other phones with some having loki/non loki variants for same device

So, just take time to read carefully and the update will be smooth
[G2 Original Android Development] big70tom:
What do I do now. I love this recovery. I always run it. I don't know how to fix it now
[G2 Original Android Development] Tinchoska:
Dude, this is not a recovery to be flash over flashify.... you have to flash it over recovery.... didn't you read the op? Now you'll need to flash over flashify twrp img then on twrp flash this kernel and you are ready to go

Enviado desde mi LG-D806 mediante Tapatalk
[G2 Original Android Development] big70tom:
I did flash through recovery first. Didn't work. So I read somebody got it to work over flashify.

---------- Post added at 01:53 PM ---------- Previous post was at 01:44 PM ----------

I DL newest twrp zip and tried to flash it in flashify and I still don't have recovery.

I'm saving everyone time. Yes I messed up. I didn't read carefully. I'm a dip****. There that's out of the way.

If anyone can walk me through how to fix this I'd appreciate it. Just explain like I'm a 42 yr old noon, even though I've been flashing since my Sensation days, I really don't understand the recovery process too well.
[G2 Original Android Development] GizmoKaca:
Download FreeGee from Play store. Flash TWRP 2.6.3.3 via FreeGee. Now press settings button in FreeGee and Reboot Recovery. In TWRP first flash Philz 6.19.3 and reboot recovery. Now Flash Philz 6.19.7 and reboot recovery and you should be up and running the latest version of Philz! :)

Hope this helps you! :)
[G2 Original Android Development] pqee:
Anyone use this on the D803 and have screen glitches booting to recovery? I cam from TWRP 2.6.3.4 to Philz 6.19.7 and about 50% of the time when booting to recovery I get the LG logo, then it slowly and glitchily fades to a green/grey stripped screen with the LG logo still a faint ghost in the background. It stays like that with nothing else on the screen. I can sometimes hit the power button once to reboot the phone (first option on Philz is reboot system), but usually I have to manually turn it off and reboot with a key combo.

I've been able to flash new kernels using ROM Toolbox and the same thing happens but after it fades to the LG logo being a ghost, it reboots back to the OS with the new kernel installed. It looks like it's working fine but the display is getting glitched half the time.

It's happened trying to reboot to recovery from the power menu on PA 4.1 Beta2, using rebooter in ROM Toolbox, and doing a Reboot Recovery from within Philz.

Anyone else?
[G2 Original Android Development] bahrosuz:
Have you flash first 6.19.3 and than 6.19.7?

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Original Android Development] assa51:
Hi everyone,

I have LG G2 D802 4.4.2 stock rom with TWRP 2.6.3.3 and works fine. Just a missing thing TWRP doesnt supports external usb storage and I have PhilZ nandroid backups which comes from 4.2.2

Can you help me pls how I can replace my TWRP with PhilZ? I want to stay in rooted kitkat and get my backups otherwise phone is completly clear. If I cannot success I have to return stock rom to 4.2.2 with PhilZ recovery to get my backup (I dont prefer it)

Do you have any idea or tutorial about it?

thanks
[G2 Original Android Development] GizmoKaca:
In TWRP first flash Philz 6.19.3 and reboot recovery. Now Flash Philz 6.19.7 and reboot recovery and you should be up and running the latest version of Philz! Now you can restore your nandroid backup :)