yashsingh1/xdaforums huggingface dataset:
[G2 Original Android Development] Lostprophet85:
D802 only boots into recovery after update

Hey guys, I switched to official 15.1 (clean flash together with GApps pico and lineageos addonsu for root) at the end of september. Then, two days ago, I wanted to update to the nightly from the 25th of november. So I went into recovery (TWRP 3.2.3-0 Bump Blastagator), flashed the zip, cleaned cache and pressed "reboot system".

A few seconds later, I was back in recovery. After another two tries, I backed up my data via USB cable and did a clean flash of the nightly again, with GApps and addonsu as always. When that had the same result, I used TWRP's restore function to flash a backup of mine (the 14.1 from right before the switch at the end of september). That worked to some extent, because after restoring everything TWRP was an older version, but I still was unable to boot into Android. Then I got desperate and manually wiped and formatted all partitions, clean flashed the old (previously working) nightly from the 24th of september. No luck.

Long story short: Every time I boot up my phone, it boots into recovery, or, if I use the right key combination, into bootloader. But it never boots the system, no matter what I try and flash. What's strange though is that I don't recall seeing any kind of error message. I mean, at this point I strongly suspect hardware failure because the device is 4,5 years in use (I still love it to death by the way), but I expected to see some kind of indication of that. Some error like "unable to mount partition" or "failed to access X" or anything like that. Nothing.

In my desperation, I ordered a G6 sunday night as it was one of the last black weekend deals, but I would prefer to get my beloved G2 back if there is any chance. Does anyone know what the problem could be or what I could do to narrow it down? Any suggestions at all? Any input is appreciated. Thanks in advance.
[G2 Original Android Development] popxunga:
In that case, I'd flash the stock lollipop kdz.
[G2 Original Android Development] Lostprophet85:
Hey, thanks for the quick response. I'll have to read up on the details of that (been a while since I have done that), but I'll give it a shot tomorrow.

Out of interest, would it also be possible to restore a stock backup? I have one from the last official Lollipop stock build, but I don't know whether it would be able to boot because of TWRP (even if it works). This would mean less effort on my side.
[G2 Original Android Development] popxunga:
Hi...

AFAIK, by default, TWRP doesn't include all partitions in the backup. So what you're suggesting may work or not. In the future make sure you select all partitions while in TWRP backup. That way a full restore of all partitions should bring your phone to the same exact previous state.

Good luck !

Edit: If you're talking about a stock backup made with the LG backup tool, I'd first flash kdz and then restore using LG backup tool.
[G2 Original Android Development] runekock:
[MENTION=9097828]Lostprophet85[/MENTION]

I wonder if it is another case of needing to wipe the misc partition? Use the dd command mentioned here:

https://xdaforums.com/lg-g2/orig-development/rom-lineageos-15-alpha-d802-t3707239/post77772682
[G2 Original Android Development] Lostprophet85:
Great suggestion, thank you! Will look into it tonight.

[MENTION=4240321]popxunga[/MENTION]

Thanks again, will do a backup of course.

I'll try the misc partition thing first, if that doesn't work, I'll do the kdz stock flash. Sounds like a plan. Thanks guys!
[G2 Original Android Development] Lostprophet85:
It worked! It's alive again ;)

Hey [MENTION=4610285]runekock[/MENTION] and [MENTION=4240321]popxunga[/MENTION], wiping misc did the trick! For reference, I entered the TWRP terminal command found here

Since I didn't even know that this misc partition existed, I never would have figured it out on my own. So again, thank you both so much for your support, I'm really happy right now :D

Now I just need to figure out whether to keep that G6 that's on it's way :confused:
[G2 Original Android Development] popxunga:
Lol !

Make sure you keep your misc partition backup safe as whatever is in it cannot be recovered not even by flashing the stock kdz.
[G2 Original Android Development] Lostprophet85:
I copied it to my desktop computer before wiping it, so yeah, I'm gonna keep it safe. What I don't understand though: What happened in the first place? Did the OTA of LineageOS screw up my misc partition? And more importantly, what good is the backup of that misc partition if restoring it might very well confine me to TWRP again? This is all very strange.
[G2 Original Android Development] _mat_:
You wrote that you flashed manually from TWRP so how could OTA had to do with that? In case you did OTA with your initial ROM from September I think that could be a problem indeed as there was an issue with the OTA until end of October.
[G2 Original Android Development] popxunga:
OTA just worked fine after a certain LOS 15.1 build. However, flashing manually shouldn't cause any boot loop issue.

From my point of view, is not misc partition fault but a ROM defect.

Any ROM should be able to boot properly without having to wipe the misc partition.
[G2 Original Android Development] Lostprophet85:
I always download the new ROM via OTA, then click "Install now". Then the device reboots to recovery and nothing happens. So I have to flash the ROM manually, but maybe the click on "Install now" did something else that is at fault here? I don't know, maybe that is nonsense but after this strange incident, I am willing to believe there might be a connection.

I just hope that this thing doesn't bite me in the long run. But I'm gonna keep the misc backup and maybe someday this issue will be fixed. Then I can restore it, the OS will hopefully boot anyway and all will be good. Hey, one can hope, right? ;)
[G2 Original Android Development] kevinga:
need help getting 15.1 running - been away for 3 years

It has been about 3 years or so since I last used my G2.

My G2 is the D800 AT&T model.

The last rom on it was CM12.1 with TWRP recovery and Autorec for root.

While recently snooping around on XDA I saw that Lineage 15.1 is available for the G2. I decided to pull out the G2 and give it a shot to get it up to 15.1.

After a few days of reading and trying to get caught up with all the new developments on the G2 I attempted to flash Lineage 15.1 but have not been successful. Here is what I have done so far:

I upgraded TWRP to 3.2.3.-0 (blastagators)

I formatted data, then advance wipe of system and cache.

I did ADB push and loaded the most current Lineage 15.1 file and Gapps (MindTheGapps) into the /sdcard/.

Using TWRP, I flashed both of these files, and then booted system. No Joy.

What I see is an LG logo for a couple seconds, then a black screen - but the screen has a very slight glow as though the phone is on.

I can get back into recovery no problem.

From what I have read I have the KK bootloader because when I boot into recovery my toggle choices are by using the power button and not by using the up and down buttons.

Last night I decided maybe I should go back to stock. I used the TOT method by "hyelton" from this thread: https://xdaforums.com/showthread.php?t=2432476. In his thread he recommends the TOT method instead of KDZ for my AT&T D800. The stock image that I flashed was the KitKat TOT file shown as "LGD800AT-01-V20c-310-410-FEB-02-2014+0.tot". I also flashed the appropriate DLL file shown with that stock image file.

The flash back to stock was successful.

I then rooted using "One Click Root", and then installed recovery using Autorec TWRP. Then I updated TWRP to 3.2.3.-0 (blastagators).

I once again formatted and did a clean install of Lineage 15.1 with MindTheGapps. And once again -no joy. Same result.

I can successfully flash the 12.1 version and all is good.

I suspect I may have the wrong bootloader? If so, this is an area that I need help with because with all the reading I have been doing - to me there is a lot of confusion about the bootloaders available, which one to use and what the limits are with that bootloader.

Any suggestions to help get 15.1 working would be appreciated.
[G2 Original Android Development] Lostprophet85:
Hey, I'm no expert here, but when I updated my G2 (D802 though) from 12.1 to 13, it was strongly recommended to have the Lollipop boot stack. So I swallowed the bitter pill, flashed back to stock lollipop and started anew with the rooting and flashing to get to CM13. Worked like a charm for me, so I suppose this could be your problem. Therefore I would recommend going back to stock (but lollipop!) and trying again.

Best of luck!

Edit: Just to be clear, since you explicitly asked about manually upgrading the bootloader: I would not do that. If you go back to stock lollipop and start again from there, you have everything you need.
[G2 Original Android Development] buggyguy:
you are wrong in using autorec kitkat which basically downgrade the bootloader to jellybean what you need to do is clean flash stock rom whatever version V20c through tot or kdz method and then root by one clickroot. Install flashify app and give root access to it and extract twrp image from blasgator 3.2 or whatever is the latest one from winrar .....extraction is must as twrp blasgator file is in zip you are just extracting image file...............after that put in internal storage .....use flashify to flash that twrp image you just extracted .........go to twrp and flash lastest lineage and opengappps

GOOD LUCK:good::good::good::good:
[G2 Original Android Development] kevinga:
Wow. It never registered with me that Autorec was actually downgrading my bootloader! I probably knew that a few years ago but completely forgot. What you said makes sense!

I will let you know how it works out!

EDIT: OK it worked like a charm! I'm now on 15.1.

Thank you.
[G2 Original Android Development] pejicgoran:
Last bild works perfect.
[G2 Original Android Development] kocaman1321:
I have trouble with LTE. I don't know why but my signal state is always changing.(2sec high signal, 2 sec low) I didn't have this issue on aex 5.8.

What can i do?
[G2 Original Android Development] euphoria360:
call recording?

Hi. Thanks for this great rom. it breathed life into my old g2.

When I open Native Phone Dialer -> Settings -> Sounds and Vibration, at the end of page there is a setting for call recording, to choose recording format.

By googling, it seems to be enabled for some people by their device maintainers.

Is it possible to record calls natively on this rom without installing any third party app?

p.s in my country it is not illegal to record phone calls of your self without the consent of the other person. as long as you keep it for yourself.
[G2 Original Android Development] aleasto:
Call recording is already enabled for the countries that allow it. If you have a legal precedent that your country allows call recording you can let me or lineage know.
[G2 Original Android Development] euphoria360:
great. here is the link to few Iranian websites which have talked about this:

https://www.kanonvokala.com/46253/آیا-ضبط-صدای-مکالمات-تلفنی-خویش-از-نظر-قانونی-اشکالی-دارد-؟

https://www.kanonvokala.com/91158/ظبط-تماس-جرم-است؟

http://tildakish.com/blog/1396/10/16/آیا-ضبط-مکالمات-قانونی-می-باشد؟‎/

It is stated that recording your own calls is not illegal since you are one of the participants and also in some cases it can be used in court to help a case (not as a proof though)
[G2 Original Android Development] mcguolo:
Bad battery deep sleep consumption

Hi guys, it's a couple of week that my phone is suddenly consuming too much battery in deep sleep, as you can see from the picture attached (I charged phone to ~96%, turned airplane mode on, then went to sleep). It all happend with the same rom version.

It used to consume from 3 to 8% in a night, now it can drain up to 35%.

I tried a reflashing 02/12 image, but situation is not much better (a little less than 20% in a night is not acceptable).
[G2 Original Android Development] kocaman1321:
Did u check wakelocks? Some apps may have been caused. U can check them with bbs.
[G2 Original Android Development] mcguolo:
If you look at first screenshot, it's BBS saying 99% deep sleep, that is why I'm so confused.
[G2 Original Android Development] BiG_FooT:
Agree that it's strange. You could try Wake Lock Detector from Play store. You will get this kind of output (see attached screenshot)
[G2 Original Android Development] _mat_:
Sorry I cannot contribute to your issue but how did you get the cycle battery symbol back? I cannot find any native LOS setting for that within 15.1...
[G2 Original Android Development] mcguolo:
The one on the left? That is AccuBattery notification.
[G2 Original Android Development] cauch_y:
I bet it's airplane mode fault. Probably some app tries to sync some data and fails so it is trying over and over again. It can be also some other "automagic". I had app where developer added "feature" to silently scan for Bluetooth headset and connect as soon as it is available. It had massive battery consumption with Bluetooth turned off.
[G2 Original Android Development] mercleb:
or google play services?
[G2 Original Android Development] JustIceForSake:
Does anybody know why "Google Lens" is not supported on Lineage OS 15.1?
[G2 Original Android Development] Sckillfer:
Why it still without exfat support from lineage?

Also missing the PIN entering without confirmation and the search in the settings never returns results, but those are not device specific
[G2 Original Android Development] aleasto:
We are legally prohibited from shipping extfat support, we don't have the license for it.
[G2 Original Android Development] bernida:
What exactly do you mean? I'm using an OTG microSD card reader with a 64GB exfat formatted card without problems, in Lineage aswell as in TWRP
[G2 Original Android Development] JustIceForSake:
Anyone? :)
[G2 Original Android Development] runekock:
Well, Wikipedia says: "Device support is limited, although it is not clear which devices are not supported or why."

I surely don't know. A guess: because G2 doesn't implement the "new" camera API.
[G2 Original Android Development] kocaman1321:
You must install the v7a(armv7) version of Google Lens.
[G2 Original Android Development] mcguolo:
I tried with device in safe mode and airplane mode on, with no luck, always consuming around 20% battery juice in a night with 99% deep sleep. :( Never happened with any device or rom before. :confused:
[G2 Original Android Development] cauch_y:
I think if this is persistent after couple of consequent recharges with the same build it's cellular coverage or hardware problem. As no one else is reporting such issue it must be something with your config. Try revert to official lollipop ROM - it's the last resort. If problem will still occur it's probably hardware failure.
[G2 Original Android Development] ronFenomeno:
I got the same issue after installing the 13/12/2018 build. The battery drain although I have not used the phone. From 100% drop to 80% while I have not turn on the screen
[G2 Original Android Development] kocaman1321:
How can i get fix for GLONASS satellites? I guess all google based roms have this issue. No problem with GPS btw.
[G2 Original Android Development] brock3487:
Hello, everybody. I have some problem wiith wi-fi searching. My device can't find wi-fi channel, but wi-fi router is OK. (I checked it from another smartphone). First time it was perfect but it's happens after turn it off. Restarting smartphone didn't help. (Build 2018-12-18)
[G2 Original Android Development] pejicgoran:
Just in stock rom and in cm13 you can get fix for glonass.
[G2 Original Android Development] kocaman1321:
Thank you devs! I'm so happy with this build. Everything works smooth with no problem. After 20/12 build my signal issues ended. Special thanks to [MENTION=4742143]YoDevil[/MENTION] for supporting this device after 5 years. I'm getting 4h Sot with 5 year old battery/device...
[G2 Original Android Development] ronFenomeno:
how can you get 4 hrs sot? mine only get around 2 hrs sot :crying:
[G2 Original Android Development] kocaman1321:
I'm using greenify,lkt and sysconfig patcher modules on magisk. And I don't use apps that consume high battery like facebook and snapchat.
[G2 Original Android Development] Emperon:
How is the general battery life in 15.1 ?

Also is there a way to download 14.1 from official website, I assume it's more stable than 15.1 ?
[G2 Original Android Development] ronFenomeno:
i got around 2 hours sot on 15.1. it is stable enough to use as a daily drive
[G2 Original Android Development] kocaman1321:
I always get 3-4 hour sot. I guess this is about how you use it.
[G2 Original Android Development] Zlatomip:
Hello! Thanks a lot for Your work.

I can try to make LogCat if You need...

only Unofficial builds are working on D803 model. and after first boot - they DO NOT boot again!?!?! after I customize after first boot... I rebooting the phone... => and again bootloop!!! what to do?
[G2 Original Android Development] Zlatomip:
D803 user

Hello! Thanks a lot for Your work.

But unfortunatelly Official builds are not working.... for D803.

I tried this one - lineage-15.1-20181226-nightly-d803-signed - bootloop.

Only UNofficial build worked... but only for the first boot))

after I reboot phone - again bootloop.

any ideas?

I came directly from KDZ rom... (but for D803 model - it's only 4.4.2 (KitKat), so I install THIS rom (which is 5.0.2 - Lollipoop), and it's requered LP bootloader. Only which I can run that rom is hybrid bootstaks. after that I install 7.1.2 LinageOs Rom.. but this bootloop....

rooted with King Root.

and install TWRP with dd command...

so I need help to run this rom.... why it runs only first time??? after reboot - kaput...
[G2 Original Android Development] aleasto:
Some logs would definitely help, you're kindof the only d803 user on this world.
[G2 Original Android Development] ronFenomeno:
Have you install the gapps? cause the Google play services consume at least half of the battery for each cycle
[G2 Original Android Development] kocaman1321:
Yes I've installed gapps pico. I recommend installing sysconfig to you.
[G2 Original Android Development] ronFenomeno:
sorry, wt do u mean by installing sysconfig? Is it an app?
[G2 Original Android Development] kocaman1321:
No its a magisk module. Check this link if you are interested. https://xdaforums.com/apps/magisk/module-sysconfig-patcher-t3668435
[G2 Original Android Development] Zlatomip:
Only D803 user in the world

Yes... this is kind of problem..

I can't make LogCat during ROM instalation... or after reboot...

also I downloaded android-studio-ide-181.5056338-windows - with it can I succeed?

if ANYbody can help me? (I can follow step by step instructions... or can provide full control to my laptop... or share monitor.... anything!!!)

How to LogCat during shutdown? or booting of android?

also.. same thing is happening with Your AospExtended ROMs (I was trying 4.6; 5.8 - only first boot (one time succeed... after reinstalling the rom - phone can't boot ROM again... ) and 6.1 - do not boot at all).

some logcat files... may be they will give You some info?
[G2 Original Android Development] gianpassa:
I need to root with this ROM.

From the developer options it is possible to enable root only from adb.

Do I have to run the magisk flash from recovery?

Should I also flash the boot by blastagator bump?

Thank you
[G2 Original Android Development] or0m:
I tried using pattern lock without slide screen, with smart lock enabled for trusted places and found an irritating bug. When turning the screen on while being at a place where no pattern is required, the navigation bar is missing and nothing besides the status bar is responsive. After turning the screen off and on again a second time the status bar appears and everything is back to normal.

Is there a better place to notify the developers? It's high time I stated contributing to this wonderful piece of software!

I am root by flashing their official SU, if that helps: https://download.lineageos.org/extras

Does magisk offer anything more?
[G2 Original Android Development] brock3487:
Hello everyone. I have problem with "aggressive battery mode", notifications trying to appear but they were turned off. So phone is blinking everytime. (Build: 2018-12-29)
[G2 Original Android Development] buaser:
Magisk offers using banking app and nfc payments while having root. Not possible on LOS SU.
[G2 Original Android Development] llSmokyll:
Yo, having a great time on this ROM except for one thing. Bluetooth is so inconstant.. i've updated the rom to the latest nightly, cleaned dalvik/cache and rebooted and still bluetooth work for the first activation then go nuts and stop working. Sometimes it happens with WIFI too... any known fix? Can't find anything that works
[G2 Original Android Development] Dzonzi:
Why i dont have a touch screen gestures?

[IMG="like here"]https://www.xda-developers.com/files/2018/02/LineageOS-15.1-Gestures.png[/IMG] https://www.xda-developers.com/files/2018/02/LineageOS-15.1-Gestures.png

i have only Jump to Camera only :(
[G2 Original Android Development] zero condition:
I have the same problem with SmartLock :(
[G2 Original Android Development] llSmokyll:
No clue about this?.. :(
[G2 Original Android Development] aleasto:
Sounds like a hardware issue if you ask me
[G2 Original Android Development] llSmokyll:
It might be.. I've flashed the stock rom and on it the bluetooth was working almost perfectly, it crashed only once. As soon as i returned to lineage the bug came back. Maybe i will have more luck flashing the original .kdz file..

What if is it an hardware issue? Can i repair it manually?

ps: grazie della risposta, bella!
[G2 Original Android Development] aasoror:
D803 .. success

Wow, amazing work :)

Jumped from stock KK to latest nightly (as of couple of days ago) without any major issue.

Procedure:

Being Canadian d803, getting the required bootstack via a stock LP firmware update wasn't an option, so had to manually flash bootstack-d803-CAF.

- On stock KK (rooted, I think towelroot, not sure though because I did back in the days), install AutoRec KK and use that to flash TWRP recovery (make sure to "disable mount namespace separation" on SU before running autorec).

- Reboot into recovery and update TWRP to latest.

- Follow installation instructions formatting data and wiping all other partitions then install: bootstack -> latest nightly -> latest gapps.

- Reboot and wait patiently.

Couple of minor issues though:

- Booting up gets consistently stuck at intermediately flashing LG logo (as if it's boot looping) for couple of minutes before LineageOS logo appears (home screen loads up super fast afterwards), not sure if it's a typical behavior, if not any pointers are appreciated.

- Wedvine L1 seems to have been lost in the upgrade process, DRM'ed content from YT/Google movies can only be played back at 480p now, YT video without DRM plays at 1080p without an issue. Is there any known fix for that ?
[G2 Original Android Development] aleasto:
Thanks for the feedback! [MENTION=4928051]Zlatomip[/MENTION] maybe the issues you have are because you did not flash Lollipop bootstacks?

The boot issue seems a bit like what i'm having on d802 Pie, which is solved by using a different GCC version for compiling the kernel.

DRM should not be variant specific so it's weird nobody else reported issues with it. I dunno..
[G2 Original Android Development] aasoror:
To be honest, I had my G2 retired for the last couple of years or so, l am starting to question if it was L1 certified with stock.

Does DRMInfo show L1 on your D802?
[G2 Original Android Development] buaser:
Eh, will the imap synchronization bug be fixed finally? It's still there... So many bug reports and still nothing. Is this lineageos only or aosp also affected?
[G2 Original Android Development] aleasto:
Yea good point. I only have L3 too. idk about stock.