yashsingh1/xdaforums huggingface dataset:
[G2 Original Android Development] theelderstatesman:
No, I didn't wipe cache. The output is like this (see jpg) ...
[G2 Original Android Development] theelderstatesman:
Must be: adb pull /cache/recovery/last_log.gz

---------- Post added at 06:50 PM ---------- Previous post was at 06:48 PM ----------

Here's the log ... Mille grazie ....
[G2 Original Android Development] aleasto:
That is oddly suspicious.

Looks like recovery crashed during the update?

Nevermind.

Let me try some stuff, but can you try to update with Lineage Recovery installed instead?
[G2 Original Android Development] theelderstatesman:
Here's the log ...
[G2 Original Android Development] aleasto:
Err, that's a 0B file
[G2 Original Android Development] theelderstatesman:
Sorry, you're right, but that's the log he pulled from the device ...
[G2 Original Android Development] theelderstatesman:
Third try on the log file. I repeated everything from the start and this time the last_log.gz file is not empty plus I also pulled a file that's just called log.gz from the device. I hope this is helpful. Mille grazie ...
[G2 Original Android Development] aleasto:
Thanks.

Now if you get back to a booting environment, can you share your /system/addon.d/70-gapps.sh ?
[G2 Original Android Development] theelderstatesman:
Sorry for my stupidity, what do you mean by booting environment? Do you mean after booting successfully, is that it? But, booting successfully means doing a clean install and I just did that. Pls., tell me what to do and I will do it ...
[G2 Original Android Development] theelderstatesman:
This is a screenshot of /system/addon.d/ and there's no such file. Tell me, if you want one of the other files ...
[G2 Original Android Development] aleasto:
Ah!

I kindof assumed you were using opengapps...

The problem is with bit gapps then, probably.

Try opengapps and/or lineage recovery
[G2 Original Android Development] theelderstatesman:
Mille grazie ... Ok, I'll do that on the next build and tell you about the result ...
[G2 Original Android Development] rootarded:
[MENTION=4742143]aleasto[/MENTION]

I don't want to be impatient or annoying, but are there any updates regarding the mobile network coarse location issue?

The only workaround for kind of stable navigation is to turn off Google location service completely, making the device use GPS only.

Thank you for your work!
[G2 Original Android Development] theelderstatesman:
I couldn't wait and had to try it. It really worked, thank you so much. The problem was in fact the BiTGApps. I switched back to Open GApps and the Lineage Updater worked just fine ... Mille grazie ...
[G2 Original Android Development] aleasto:
I don't know.
[G2 Original Android Development] Sunandroid:
If my mind serves me right, isn‘t it the case, the button combination to enter the recovery changed with the 4.4 version of the bootloader.

I think the combination, that is described in the LOS installation tutorial is the method for getting in to the recovery with a 4.4 bootloader.

As a sidenote I however doubt anyone is using a JB bootloader nowadays.
[G2 Original Android Development] IT Tech:
[MENTION=6321840]theelderstatesman[/MENTION]

I saw some of your posts and just an FYI, I have been using TWRP 3.3.1-0 since it's release. Trying to troubleshoot bugs/problems with "lineage-17.1-20200320-UNOFFICIAL-vs980" I have tried many TWRP Backups (As I have for years) and the Backup completes successfully but WILL NOT RESTORE. When I do a restore and reboot the Lineage rolling animation just goes on forever. Tried this with three different backups.
[G2 Original Android Development] theelderstatesman:
That's exactly what I'm experiencing and I'm happy to know that I'm not alone anymore, but I'm also sad that we (and probably others) are in this situation. Just like you, I have been using this very same TWRP version for years successfully. I don't know, if you saw it, but I had some problems with the Lineage Updater and the dirty flashing due to the BiTGApps I was using, so I thought - in my ignorance - that maybe that's also causing the problem with the restore of the TWRP backups and I tried it again, but for nothing, because it isn't. That means that BiTGApps has nothing to do with the problem and in my humble opinion it must be either Android 10 or LOS 17 that's somehow not compatible. You also have to see that TWRP will not be updated anymore so soon or even at all and the only alternative I know of is the Lineage Recovery, but according to [MENTION=4742143]aleasto[/MENTION] it has no backup function ...
[G2 Original Android Development] rootarded:
So it is a global problem? Or device specific?
[G2 Original Android Development] JustIceForSake:
Just wanted to say thank you to the developers and maintainers for keeping the LG G2 alive and well.

I upgraded from LOS 16 to LOS 17.1 official simply installing LOS 17.1's image from TWRP (upgraded to 3.3.1.0 for the occasion) over LOS 16 (dirty flash), then without rebooting I installed Nano Gapps, latest version of Magisk and then I wiped Davik and Cache. I rebooted the phone and I was on LOS 17.1 with all my previous apps/settings intact. I proceeded just in case upgrading all the app in Play Store.

The upgrading process was easy and without issues.

I used a usb-key to upgrade via TWRP (naturally I previously downloaded TWRP 3.3.1.0, LOS 17.1, Nano Gapps and Magisk).

I'm just a day into the upgrade, but for now I don't have anything to report bug wise.

Thank you!

EDIT: obviously before the upgrade I made a complete backup with TWRP and a backup of all the apps and settings with Titanium Backup.
[G2 Original Android Development] theelderstatesman:
I owe a big thank you to [MENTION=4620757]m0han[/MENTION] for this information: "try this: back up just the data. then wipe cache, dalvik-cache, data, system (and vendor).

thereafter, do a clean flash. reboot and do a restore of data alone. it has worked for me."

It worked for him and for me, too ...
[G2 Original Android Development] IT Tech:
I will try this at some point. I have invested crazy amounts of time already trying to troubleshoot TWRP and Android 10.

Below is some interesting information from the TWRP team. It is from October 2019 and the opening statement is this: Please note that this post is primary related to TWRP and the Pixel 3 and 4 and devices that may ship in the future that ship with Android 10 as their original version of Android. Older non-Pixel devices that shipped with older versions of Android and receive upgrades to Android 10 are not affected.

Long story short, TWRP support for Android 10 is going to take a while.

Here is the link to the full story:

https://twrp.me/site/update/2019/10/23/twrp-and-android-10.html

Additionally, XDA has a backup tool called Migrate. While it is not a complete ROM backup check it out HERE: https://www.xda-developers.com/migrate-app-switch-custom-roms/

I have been using MyBackupPro for many years.
[G2 Original Android Development] theelderstatesman:
Thank you, but I already knew about this article. That was the reason why I said that TWRP is not going to get any update so soon (or maybe not at all).

Where the backup tool is concerned, I didn't know that, but I already used the backup Google does successfully for that purpose (of switching from one rom to the other) and it worked for me ...

I also used MyBackupPro in the beginning of my android experience, but it didn't backup some apps and that's why I stopped using it. After that, I started to use the backup Google does and was happy ...

Of course, everyone has different needs ...
[G2 Original Android Development] popxunga:
Hi...

There's no new builds since some days ago.

And a few that were published after April 22 were removed. Looks like that all the build engines are suspended/stopped.

Does anyone know what's going on ?

Thanks.
[G2 Original Android Development] theelderstatesman:
Very good question ...
[G2 Original Android Development] theelderstatesman:
In fact, D801 & D803 have an update dating from yesterday, D800 & D802 not (yet) ...
[G2 Original Android Development] agrumpyone:
FYI: https://status.lineageos.org/issues/5eae596b4a0ebd114676545f
[G2 Original Android Development] AMartin8:
[MENTION=4742143]aleasto[/MENTION] and others

I have a second LG G2 - D802 with stock KitKat 4.4.2, rooted with TowelRoot and I have used autorec to install TWRP 3.2.3.

I remember someone said that I have to (and it's in the instructions on wiki) update to Android 5 (Lollipop), but is it really necessary or can I just install LOS 17.1?

What could be issues if I do no upgrade to Lollipop OTA (or maybe I should install it via TWRP)?
[G2 Original Android Development] popxunga:
AFAIK, the KK bootloader is incompatible with LOS. That's why you have to upgrade to LL first.

If you don't do it, you will probably end in a bootloop or worst.
[G2 Original Android Development] AMartin8:
Thanks for the info.

Can I still use simple stock upgrade (OTA) or should I install it via TWRP (knowing, that I already have used AutoRec and have TWRP installed)?
[G2 Original Android Development] popxunga:
Not sure if OTA update is still available, but I guess not. But considering that your phone is already modified, I would grab the LL firmware for your phone model and do CSE flash using the LG Flash Tool (you will need a PC running Windows to do this).
[G2 Original Android Development] AMartin8:
Thanks.

I checked, and did "Restore System do Default", it went fine, except in the end, it boot into TWRP.

Restarted and system was clean.

Then I tried to update via OTA, it said it's about 140MB do download, I did that, then update, it booted into TWRP.

From there I cannot boot into the System, every reboot ends booting into TWRP.

I'm not using Windows in general, but I do have it somewhere installed, Windows 10 just in case I need it for something.

The question is though, can I just install Lollipop via .kdz file like this one:

https://storagecow.eu/index.php?dir=Xda/LG+G2/Stock/Lollipop/16GB/

I read somewhere, that country doesn't matter - and I hope it doesn't, as I cannot see there an International version or Europe Open for D802 16GB.

[EDIT]

I can run LG Flash Tool 2014, however no matter what I do, even if I try to get to the Download Mode (Turn Off, then hold Vol.Up while pluging in cable) it always goes into TWRP 3.2.3.

My plan was to go with KK version, then update to Lollipop, do AutoRec, install TWRP, upgrade TWRP and install LOS 17.1.

It seems, that not being able to get into the Download Mode, my only option is to install older LOS and then after fixing Download Mode install stock KK and so forth.

Unless someone has a better idea?

Which LineageOS should I use with this bootloader 15.1 or 16 is ok?
[G2 Original Android Development] popxunga:
Try to follow this guide:

https://xdaforums.com/showthread.php?t=2432476
[G2 Original Android Development] AMartin8:
I have found it earlier and tried to follow it, but I cannot enter Download Mode

I guess, this one is perfect for solution, as I did exactly what's in the title - will try it now (just need to login to Linux once again):

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

[EDIT]

After I did in TWRP: dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota

and rebooted, the reboot takes a long time - looks like stuck with LG Logo but diod isconstantly flashing and changing color suggesting it like after install of a new system so I'm waiting patiently.
[G2 Original Android Development] IT Tech:
website problems Bad Post
[G2 Original Android Development] popxunga:
That's a well known workaround to avoid some bootloop condition. I hope you did a backup of that partition before erase what's inside it (that's what you have done) as there's no way to recover it.
[G2 Original Android Development] IT Tech:
*****PLEASE UNDERSTAND THE LINK AND INFORMATION BELOW IS NOT FOR YOUR D802.*****

I have the VS980 and the resources on this page By xdabbeb were tremendous. He created Flashable Firmware Zips for the Stock Lollipop ROM, Bootstacks/Modems/Manual OTA/etc which should repair ANY issues like No Download Mode, Modem etc. It helped fix my No Download Mode issue and was very simple as I mentioned in a flashable zip. You will drive yourself crazy looking for a fix for No Download Mode. The reason I posted this for you was so you could search to see if something similar is available for the D802.

*****REMEMBER THIS INFORMATION IS NOT FOR YOUR D802 - IT IS FOR THE VS980 ONLY*****

https://xdaforums.com/verizon-g2/development/vs980-resources-bootstacks-unofficial-t3050777
[G2 Original Android Development] AMartin8:
Well, I waited about 1,5h and nothing, so rebooted and went into TWRP - it was still working.

Then I tried Download Mode and it worked too, so installed KitKat via LG Flash Tool 2014 and next Lollipop.

Here is where it gets tricky - I remember I did use some root application and then installed AutoRec and upgrade TWRP - but I cannot find AutoRec for Lollipop, so if anyone of you have such AutoRec it would be great to share the file with me.

Also, which app for rooting you would recommend?

---------- Post added at 09:29 PM ---------- Previous post was at 09:25 PM ----------

Thanks, but the link doesn't seem to be accurate and like missing something?

404 Page Not Found
[G2 Original Android Development] popxunga:
Hi [MENTION=10096353]AMartin8[/MENTION]

Now that you have your phone with LL, why not follow the instructions available at the Lineage Wiki ?
[G2 Original Android Development] rootarded:
Because these instructions bricked my phone, I can not recommend them. You are better off with autorec2 (just google "d802 autorec lollipop").
[G2 Original Android Development] popxunga:
In your case did you start from a clean stock LL ?
[G2 Original Android Development] aleasto:
What's so hard about following the official install instructions.
[G2 Original Android Development] popxunga:
Nothing I guess...
[G2 Original Android Development] rootarded:
I started from clean stock LP and followed that official guide exactly. But after pushing aboot, laf and the recovery image I got the boot certification verify error. I used the right images, did not reboot too early, everything went fine until that point.

---------- Post added at 02:00 AM ---------- Previous post was at 01:59 AM ----------

I followed them exactly, that's not the issue here.
[G2 Original Android Development] IT Tech:
My previous post has been edited and the link now works:

https://xdaforums.com/verizon-g2/development/vs980-resources-bootstacks-unofficial-t3050777
[G2 Original Android Development] AMartin8:
The only thing is, that I want TWRP and not Lineage Recovery due to lack of backup option and possibly other features.

Unless there is an easy way to go from Lineage Recovery to TWRP and the other way around - is it?

Other than that I think the instruction is correct, maybe just except how to enter the recovery - it says to push Vol.Down plus Power button and then after LG Logo appears to release those and push Vol.Up + Vol.Down. It worked if I'm not mistaken in Android 4.2.2, but after update to Kitkat 4.4.2 it changed to Vol.Down + Power and then after LG Logo you release just Power button and press it again (while holding all the time Vol.Down button).

At least that how it's working on my two LG G2 D802 16GB and 32GB.

---------- Post added at 08:39 AM ---------- Previous post was at 08:14 AM ----------

Most of instructions mention to install from Google Play, but it's gone there so I asked if someone has the file.

But I found it already, thanks.

So now I only install it, upgrade TWRP to the newest, install LOS 17.1 and I'm home.
[G2 Original Android Development] aleasto:
It is the issue.

It is said that you need to boot recovery after installing the images. Using the key combination that is written in the guide.
[G2 Original Android Development] rootarded:
I exactly did that. But I couldn't boot into recovery, it showed said error imidiately.
[G2 Original Android Development] aleasto:
Because you pressed the keys wrong, so it tried to boot the stock system instead.
[G2 Original Android Development] agrumpyone:
as the key combo seems to be an issue for some users, maybe the wiki could mention to execute "adb reboot recovery" as an alternative way to enter recovery?
[G2 Original Android Development] aleasto:
Yea i might do that. I wasn't sure stock allowed for it.
[G2 Original Android Development] AMartin8:
It all went fine so thank you guys for your help.

Also thank you [MENTION=4742143]aleasto[/MENTION] for buttery smooth LOS 17.1 - so far everything seems to be working perfectly fine - I used the latest available currently 2020.04.22 version, TWRP latest 3.3.1.
[G2 Original Android Development] rootarded:
No, I did press "vol down" and "power", and when the LG logo came up it imidately went into the error screen. I tried several times. It just wouldn't recognize "vol up" and "power" after the display powered on.

It wouldn't even start into the bootloader, so I had no download mode, only "Qualcomm USB Diagnostics 9006".
[G2 Original Android Development] aleasto:
Because it's Vol Up + Vol Down, not Vol Up + Power.

I really doubt that, unless you missed or ****ed up the step of installing laf.img
[G2 Original Android Development] BiG_FooT:
1) Download TWRP 3.3.1 here: https://www.gregtwallace.com/lg-g2/g2-twrp/

2) To easily Root D802 use this guide from XDA: https://xdaforums.com/lg-g2/development-d802/tools-how-to-install-twrp-bump-d80230a-t3072186/amp/

3) Yes, KNOCK ON/OFF will work

You should start with Rooting which will install old version of TWRP. Then flash latest TWRP 3.3.1. You could flash Magisk to switch from SuperSU to this more sophisticated Superuser manager.
[G2 Original Android Development] Twit2:
hi guys I followed all the instructions in wiki.lineageos.org/devices/d802/install when I'm doing the section : (Installing a custom recovery using dd) step 4 .. and I did exactly as the instructions said for the buttons but I get the following error:

I tried it several times and it didn't work.. After that I reconnected the device to the computer and it popping up this:

[IMG="screenshot"]https://i.imgur.com/pKeAW72.png[/IMG]

Now I am trying to go back to the stuck firmware via LG Flash Tool and it shewed me that the device is not connected to the computer ?

what am i supposed to do ? please help.
[G2 Original Android Development] aleasto:
Press the right buttons ffs
[G2 Original Android Development] Twit2:
"hold Volume Down + Power. When the LG logo appears, release both buttons and hold Volume Up + Volume Down."

right ?

Now is there anyway to bring back the phone alive with any piece of firmware ?

Please heLp
[G2 Original Android Development] aleasto:
The phone is already alive.

You just need to shut down the phone (hold power for ~20s) and try again pressing the key combination.
[G2 Original Android Development] Twit2:
It works but unfortunately after tapping Factory Reset the error appeared again.
[G2 Original Android Development] 60nine:
knock on/off works partially let's say... if the device is active, then it only works if you knock on status bar to turn it off (if the option is turned on in settings)...

when it's turned off - it's working normally...

if someone uses Nova Launcher premium - it has an option to turn off the screen by knocking anywhere...
[G2 Original Android Development] AMartin8:
Hi, BiG_FooT already gave you his easy to follow steps and links.

I did it a bit differently, maybe you or someone else will find it useful:

1) Make sure you are on the latest official Android 5.0.2 for LG G2, then turn on Developer Options (by pressing a few times on the "Build Number" in your settings. Then go back and enter Developer Options to enable USB Debugging.

Also install on your computer ADB (Android Debug Bridge).

2) Use OneClickRoot from here: https://xdaforums.com/lg-g3/general/guide-root-lg-firmwares-kitkat-lollipop-t3056951

Download links are working as of today (just checked). Install LG Drivers and LG One Click Root, then root your LG G2.

There's also a video that shows how to do it. It may stack at some point and you will have to manually enter the Download Mode.

3) Use AutoRec for Lollipop to install TWRP, for example from here: https://mega.nz/folder/rAJmwDjB#IlO4wIgZuf9r1fQSw0oSog

I found it and it has many version, not only D802.

4) Update TWRP to the latest 3.3.1 from here: https://www.gregtwallace.com/lg-g2/g2-twrp/

You have to enter TWRP and install newer version from there.

To enter TWRP turn off your phone, then press and hold Volume Down button and Power Button both at the same time. Then after LG Logo appears, release only Power Button and press it again (while still holding Volume Down button). After white menu appears and will ask you to restore do factory settings, then you can release both buttons. Say "YES" to restore to factory settings and then confirm that and TWRP will start to boot.

5) Download LineageOS 17.1 the latest you can find from here: https://download.lineageos.org/d802

and install it from TWRP, with this sequence:

A) Some advise to clear before the installation from inside the TWRP->Wipe->Advanced Wipe->

- Dalvik/ART Cache (possibly not needed)

- System

- Data

- Cache.

B) Install Lineage OS 17.1

C) After install press: Wipe Cache/Dalvik.

6) Optionally you may need google applications and root, then download also and install from TWRP (all one after another, first LineageOS, then Gapps, then Magisk and only then you can reboot. Do not reboot before you install all 3)

- Google applications and services: https://opengapps.org/

Then choose Android 10, ARM, version (normaly NANO is enough) and press download.

- Magisk (for having root): https://github.com/topjohnwu/Magisk

You just need a Magisk v20.4 (as of today, may change in the future)

- then after install press: Wipe Cache/Dalvik.

7) Reboot and you can be happy with new Lineage OS 17.1

All thanks goes to [MENTION=4742143]aleasto[/MENTION] (YoDevil) for his great work (even though he may prefer Lineage Recovery instead of TWRP :)
[G2 Original Android Development] rootarded:
When you connect it to a Windows PC, what kind of device shows up? Some "Qualcomm USB"?

---------- Post added at 04:00 PM ---------- Previous post was at 03:48 PM ----------

You are right, I ****ed up the buttons. Sorry to waste your time with that.

Nevertheless, it's kind of strange, as the regular button combo is "vol-down + power -> vol-up + power" and has never changed for me.

But I certainly did not **** up with laf.img, as I double checked every step of the tutorial and never deviated from it. At least the console showed everything being pushed to the phone without problems.
[G2 Original Android Development] Twit2:
Exactly,

It shows "Qualcomm MMc Storage USB Device" as disk drives with many partitions.
[G2 Original Android Development] aleasto:
Power it off again.

While holding Volume Up insert the usb cable. You'll be in download mode. Flash stock with LG FlashTool
[G2 Original Android Development] theelderstatesman:
You didn't quote [MENTION=4959040]BiG_FooT[/MENTION] correctly, instead of just BiG_FooT it should be [MENTION=4959040]BiG_FooT[/MENTION]. I'm sure, he deserves it (to be quoted correctly) ...
[G2 Original Android Development] Twit2:
Everything seems working fine but when I've done flash it the phone just stuck and looping on the android logo. what supposed to do now? and I know I disturbed you. I'm so sorry for that.
[G2 Original Android Development] aleasto:
You've probably done a Normal Flash rather than CSE Flash
[G2 Original Android Development] Twit2:
I've done CSE Flash First than I tried the Normal Flash both methods have the same result

But i tried with different firmware and it worked then I have this menu :

Any idea ?

[IMG="screenshot"]https://i.imgur.com/UtL7Jvl.jpg[/IMG]
[G2 Original Android Development] cheeze.keyk:
I wonder if korean variant F320 is supported?