yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] Lessmore:
[MENTION=9804573]LegendOcta[/MENTION]

Man, answer is right above your post, use your eyes.

Yes, you can install it if you disable safety checks, but it will not work tho, cause all g2's aren't the same inside.

It's a great deal to have microsd and changeable battery, especially cause whatever you can buy for d802 now would be worse than compatible lg battery for f320.

Find a devs who cares and fetch 'em your device if you really need this one.

Nouhgat is still fine, use it.
[G2 Android Development] 60nine:
to be more precise - f320 is the most different inside of all LG G2 devices...

the main problem with developing stuff for F320 is the lack of developers with that same model... so they can't test it properly even if someone tries to cook a rom for that device...

if anyone searches G2 forums - the frequently asked question for any developer is "will you support f320?" and the most common answer to that question is "NO"...

so people with F320 should live with it already...
[G2 Android Development] zemix:
I dunno why, sim card has become often disconnected, for no reason, I admit that it may be a glitch SIM card, but it is very strange, someone else encountered? d802

[upd] never mind, I just replaced the SIM card, it turns out to be a frequent problem, the SIM just unmagnetised due to the load of the network, and becomes crazy (From the words of a specialist operator)
[G2 Android Development] LegendOcta:
Then...... Its because they cant get the device?

Then they can ask the people who has it, or they can by the second hand one and test I think........ isnt it???

Or is it impossible even with it.....?
[G2 Android Development] Lessmore:
[MENTION=4656786]60nine[/MENTION]

I just didn't want to repeat my previous post word to word. Cpu/lcd/cameras/digitizer and outer shell is only common stuff in this one. If others at least look like little bit tweaked a bit from base model, this one looks more like g2 mini than g2 inside. [MENTION=9804573]LegendOcta[/MENTION]

And why they should do so in your opinion?

Devs typically do port roms for themselves, for stuff they already use. No one pays them for it.

"It would be really great if you would spend your money and time for what i want."

I said, you can donate your device to the cause if you so desperate to see pie on f320.

I sold mine and bought a couple d802 and vs980, because f320 does not have 4g in Russia and i can buy nothing for it locally.

G2 is slowly dying. F320 just was first.

Even ****ty batteries disappearing from market, replacement parts are ****ty, or refurbished and tired. We're lucky to have pie on major models now, really.
[G2 Android Development] AlexDOS:
Hi, all.

Installed AospExtended-v6.4-d802-20190319-1534-OFFICIAL using factory reset/wipes. Added OpenGapps micro package. Installed Magisk 18.1 with Magisk Manager 7.1. And, finally, installed the same set of applications which I had on Resurrection 7.1. And I got a huge power consumption (more than 5% per hour) while smart sleeps. Do you have suggestions how to find the root of the problem?

Thanks.
[G2 Android Development] Lessmore:
[MENTION=3238515]AlexDOS[/MENTION]

>set of applications which I had on Resurrection 7.1.

Your mileage may vary.

Here my stats on tired(~2000mah) battery with magisk+lkt+gapps. and handful of misc apps.

If you did full wipe, better cycle your battery couple of times before anything, your battery stats can be wiped.

Battery manager in pie can tell you about hungry apps. Keyboard app in last build often shows as culprit.
[G2 Android Development] Lessmore:
Sorry, can't add screenshot afterthought with XDA app
[G2 Android Development] aleasto:
AospExtended v6.5 builds are out

Should bring some memory improvements:

* Improve zram performance

* Pin important system files and apps in memory

Checkout the features changelog: https://blog.aospextended.com/AospExtended-v6.5-Changelog/
[G2 Android Development] prsa01:
Ls980 - Dirty flash from 6.3 to 6.5; magisk open gapps pico

All seems to be working perfectly.

Many thanks to OP and other contributors for helping to keep this old device relevant!
[G2 Android Development] popxunga:
Are you aware of any trustable site to buy a decent battery for D802 ?
[G2 Android Development] zemix:
You can buy absolutely any battery on Aliexpress for our LG. Just search d802 battery or BLT7 At least for a while it will be better than a depleted native. Thank God - the price is ridiculous. Reviews are mostly good, even if it is not the original. Anything is better than the old swollen tired battery. They all looks like original but mostly it is core analogues of this accessory.

I personally changed the battery in the official LG service in September 2017, surprisingly they had a fresh supply of original batteries 2017-08, August. It works like the first one well, but it is logical - with active use and all this ROM flashes - it also degraded with time.

I heard here in Ukraine (and Russia too) local resellers sell analogue "branded" as Cameron Sino LG D802 3000 mAh, but these are just rumors some are good some are bad! The price is tooooo expensive than the original - and the quality is questionable))) For this I recommend going to Aliexpress and buy BL-T7 in any store with good raiting and reviews and not even worry if you really need a replacement.
[G2 Android Development] popxunga:
You did it in a good time. Here in Portugal the official LG service does not support the G2 anymore. They just have a couple of batteries in stock (probably old), which they don't sell without paying the service, and other parts that can more or less easily damaged during the battery replacement are unavailable.

I guess I'm going to buy one of those from AliExpress and try to replace it myself hopefully without screwing the phone. Thanks for your feedback.
[G2 Android Development] zemix:
A bit of a flood, but in any case :D I admit honestly that I have “crooked hands” in this regard)))))) for this I find it easier to entrust this task to the service master. We have literally in any market, any shopping center has small "service centers for phones and other portable devices" there guys in 5 minutes will replace anything for a adequate price. Good luck to you anyway
[G2 Android Development] LegendOcta:
Is F320S & D802 battery same?

I have 2, so I think I can give one........

I;m in South Korea.

But, im elementery student......
[G2 Android Development] Lessmore:
[MENTION=4240321]popxunga[/MENTION]

There are about 3 kinds of "copy" you can get. All of them are pretty bad. Flat>Small>Light "original" And all of them you can get from same seller depending on time.

More less(get it?) you can trust weight of the battery. Original is very dense, about 46g. You can calculate theoretical capacity like that (3000/46)*(Weight of your battery)*(1-0.1*(years since cell made))

Best i found in local store on second attempt is 39g "flat" cell made year ago. First i get "small" cell 31g without a date and it was worse than my 6 year old original.

So i estimate about 2200-2300 is best you can get if you ask seller to weight their batteries and manufacturing date and filter out sellers.

I found another way that could get me more juice out of this phone, size-compatible cell i can barely fit in this chassis with weight of 42g and promised capacity of 3000mah and 3100 max capacity. I Did not tried it yet, so i will not tell what cell it is. [MENTION=9804573]LegendOcta[/MENTION]

Nope, only f320 have "user changeable" battery.
[G2 Android Development] LegendOcta:
Oh..... Then how does the back of the D802 look like??
[G2 Android Development] Lessmore:
[MENTION=9804573]LegendOcta[/MENTION]
[G2 Android Development] IT Tech:
VS980 AospExtended-v6.5-vs980-20190423-2008-OFFICIAL

I am currently running AospExtended-v6.4-vs980-20190319-1658-OFFICIAL (USING MY EDITED UPDATER SCRIPT)

Just messing around I tried to clean flash AospExtended-v6.5-vs980-20190423-2008-OFFICIAL

Tried a clean flash Using TWRP 3.1.1-0 (which I had to use to flash my current 6.4 Rom)

1) In TWRP, Factory Reset

2) Flash AospExtended-v6.5-vs980-20190423-2008-OFFICIAL

Rom would not install. "ERROR 7"

Flashed TWRP from 3.1.1-0 to 3.2.3-0 and Tried a clean flash Using TWRP 3.2.3-0

1) Flash AospExtended-v6.5-vs980-20190423-2008-OFFICIAL

2) Wipe Dalvik & Cache

3) Flash open_gapps-arm-9.0-stock-20190424

4) Wipe Dalvik & Cache

5) Reboot

NO 4G LTE even after rebooting again

Re-Flashed TWRP from 3.2.3-0 to 3.1.1-0

1) Flashed xdabbeb_vs98039A_stock_fw

2) Rebooted to get 4G Working

3) In TWRP - Wipe Data, Cache and Dalvik

4) Flash AospExtended-v6.5-vs980-20190423-2008-OFFICIAL (WITH EDITED "UPDATER SCRIPT") that was edited by removing the lines in the below:

assert(getprop("ro.product.device") == "vs980" || getprop("ro.build.product") == "vs980" ||

getprop("ro.product.device") == "g2" || getprop("ro.build.product") == "g2" ||

getprop("ro.product.device") == "galbi" || getprop("ro.build.product") == "galbi" || abort("E3004: This package is for device: vs980,g2,galbi; this device is " + getprop("ro.product.device") + "."););

5) Wipe Dalvik & Cache

6) Flash open_gapps-arm-9.0-stock-20190424

7) Wipe Dalvik & Cache

6) Reboot

4G LTE WORKS and Rom seems to be working fine

After all this troubleshooting, In TWRP 3.1.1-0 (stayed with this version)

1) Wipe Data, Cache and Dalvik

2) "Restored" my complete saved 6.4 Rom then without wiping anything, flashed the 6.5 Rom. Working well! :good:

Thank You [MENTION=4742143]YoDevil[/MENTION] for all the great work and the latest build. :good:

I know you advise against editing the updater script but the ROM will not install (ERROR 7) without editing that script and as I have mentioned in previous posts, I have had problems flashing PIE Rom's without editing the updater script.
[G2 Android Development] aleasto:
Could you share an 'adb logcat -b all -d' on the rom flashed with TWRP 3.2.3-0?

Also, would you be willing to test a different recovery like Lineage Recovery or my builds of TWRP?
[G2 Android Development] Lessmore:
[MENTION=4742143]YoDevil[/MENTION]

I can do.

Just need to find my stock backups to recover from the bug later.

My problem is same.

Btw where can i get linage recovery?

It does not advertised well, is it stable?
[G2 Android Development] aleasto:
I don't think we're quite ready to officially ship it, but it is functioning and stable. Will share when I get back from vacation
[G2 Android Development] Lessmore:
[MENTION=4742143]YoDevil[/MENTION]

Here my "logcat -b all -d" on 3.2.3/6.5 vs980 model. txt2.zip file.

Can't register network.

Modem mode is wcdma preferred. Fresh clean install.

And one from d802, same rom, recovery version, wcdma preferred mode. All working fine. txt_d802.zip
[G2 Android Development] IT Tech:
[MENTION=4742143]YoDevil[/MENTION]

I would be happy to help and work with you. I am not familiar with the "adb logcat". From the very little I read about adb it seems to be a windows based program that will allow you to access and save the system logs from android? [MENTION=5821146]Lessmore[/MENTION] offered his logcat because he has the same problem. If you need my help, let me know.
[G2 Android Development] k1ll3rnl:
Hi,

I have installed AospExtended-v5.8-d802-20180914-1407-OFFICIAL.zip with Gapps micro

All is working fine

Now i want to install AospExtended-v6.5-d802-20190423-1815-OFFICIAL.zip

But this fails

I have twrp: v2.8.7.3

I deleted data , dalvik and cache

and run AospExtended-v6.5-d802-20190423-1815-OFFICIAL.zip

but fails to install

Please help because this is an nice Rom
[G2 Android Development] 60nine:
update your twrp to latest version
[G2 Android Development] Lessmore:
You can do it differently. You will need magisk tho. Go dev settings and enable local terminal or install one. It will appear in apps. Run it and type "su" then grant root then type "logcat -b all -d >/sdcard/logcat.txt" and then upload file, you know where to find it.

It will work without # but logcat output under $ in local terminal is very small. Here in pictures.
[G2 Android Development] zemix:
latest build, That's a very strange things is going on, the discharge catastrophically without any reason, the smartphone just lying on the table, even without the internet, look at the chart, no any applications from the time of full charging is not used, the schedule of discharge from 100 to 60 just for no reason... It's kind of crazy. Even Root and Magisk are not installed. what the hell ¯\_(ツ)_/¯ screenshot https://i.imgur.com/xdMrHw9.jpg
[G2 Android Development] zemix:
1) I have a noob question, but still... Does it make any sense to try on D802 to format in twrp (btw twrp-3.3.0-0 released) memory from the ext4 (I have now, and always has been) in F2FS (never tried)? I read the articles, and came to the conclusion that this will not help to speed up the performance greatly, but applications working with small files and apps that use a lot of “cache-files” will it make usage more speedy (Instagram Facebook, etc...)?

2) AEX ROMs (4.6 with Android 7.1.2 and this one 6.5 with Android 9) both support normally f2fs file system?

3) And last question, what sections need to be formatted, only /data and /cache or /system too?

Thanks to all you guys who help ;)
[G2 Android Development] aleasto:
1) Probably no perceivable improvement

2) All roms support it, but it's unstable on anything older than AEX v6.5

3) data and/or cache
[G2 Android Development] xer565:
None of my sensors are working anyone ideas as to what the problem is
[G2 Android Development] Lessmore:
[MENTION=9434834]xer565[/MENTION]

Can you expand on it? Sorry, don't remember where i left my crystal ball, lets do this the old way.

Is it proximity or orientation? Or may be magnetic? It can't be all of them. What model do you have?
[G2 Android Development] xer565:
Proximity,orientation and magnetic its as i said all not working.

Screen does not rotate nor goes off on calls..apps or games tht require the phone to be tilted does not react.
[G2 Android Development] popxunga:
Did you try a clean install ?
[G2 Android Development] xer565:
I have
[G2 Android Development] popxunga:
Try a different ROM.

Or maybe is a good idea go back to stock and test.
[G2 Android Development] xer565:
Ok will do
[G2 Android Development] Simaramis:
cannot get LTE working with Freedompop on any LG G2 Oreo or Pie Roms

Just a heads-up for others trying to get Freedompop LTE working. I did not manage. Tried flashing the Freedompop_APNs_fix2.8.16, tried doing a Nandroid of just the modems I backed up in stock Lollipop, no go. This worked before for Nougat. 3G however gives about 1.5 Mbps download and about half that upload. I think FP LTE is mostly the same speed 8']>. The bad part though is that the Freedompoop app doesn't register on 3g, so that won't work. I tried both latest Oreo and Pie versions, along with the other Rom that has a Oreo Rom dated Oct-2018. Going back to Nougat. My daily drivers are both G2 lol, the other one is a D-801 that one is smooth on Oreo. Thanks Alessandro for the great work you put in. Coffee coming your way!!
[G2 Android Development] prsa01:
Did you see a page or 2 back the guy with a vs980 who got lte by using an older twrp? May be worth trying. I believe/hope he and OP are trying to figure the issue out with new twrp.

Since I don't use the freedompop apps (use Google Voice) I can get by with CDMA until it gets fixed.

Hope you find something that works for you!
[G2 Android Development] Lessmore:
[MENTION=4433692]prsa01[/MENTION]

We're have working test version of 3.2.3 that do not damage modem on vs980, but it still require to boot on stock to fix damage that already done.

Same issue was found in developing version of lineage recovery and was fixed as well. Will hear from [MENTION=4742143]YoDevil[/MENTION]
[G2 Android Development] Simaramis:
From what I gather the Sprint versions are struggling with LTE in Oreo and Pie, at least the LG G2 and the LG G3. I will try an older twrp. I think the FP app does its thing over LTE (VoLTE), so, if the modems are not ported right I thinks that might be the problem.
[G2 Android Development] prsa01:
That's fantastic!

Maybe once it is figured out someone could post a step-by-step:

1). Flash twrp (old or new/fixed or lineage recovery?)

2) Flash stock to repair modems (which stock? From where?)

3) Do what while on stock?

4). Flash different recovery?

5) Flash back to AEX

I know devs are trying to work while others are doing the testing so not expecting anything quick. Just hoping that someone will ultimately have the full picture.

Thanks again!
[G2 Android Development] aleasto:
Flash the fixed recovery (when blastagator updates it)

Flash any stock, lollipop or KitKat, in zip form or kdz/tot

(Root and update recovery if you used kdz/tot method)

Flash custom rom
[G2 Android Development] Lessmore:
[MENTION=4433692]prsa01[/MENTION]

The way and what stock/stock based, clean/prerooted firmware you get on device does not matter, any will do. I did it via restore backup feature in twrp.

Then you need to get fixed version of twrp, the way you get it on device does not matter ether.

Finally you need to boot stock system and reboot it normally. Modem should work fine at this point.

From there you can do anything you want.
[G2 Android Development] prsa01:
Can I use this "stock" rom so I don't have to go all the way back to kdz/tot?

https://xdaforums.com/sprint-g2/development/rom-ls980-stock-5-0-2-zvi-flashable-t3303163

Been so long since I went thru that process I don't really remember what was involved.

Thanks
[G2 Android Development] hitmancho:
Hey, I started using this ROM after moving from AOSPExtended 4.6 last week and it is pretty good, but I started having random reboots almost from the start. They always occur when I am trying to open or close an app or doing any "heavier" action like that. Also, sometimes it random reboots when I try turning on LTE after the phone has just reset from a random reboot.

I am attaching a logcat I took after that but I do not really know what there should be in one. The phone rebooted around 12 today and before that the log shows my phone from 0:41 the past night.
[G2 Android Development] k1ll3rnl:
it worked with the new TWRP

thanks.... :)
[G2 Android Development] Lessmore:
[MENTION=4433692]prsa01[/MENTION]

You probably better just try and see.

At this moment g2 is unbrickable. Cant kill it if you try. You just need to have efs backup. Everyone should.

I don't see why this zip shouldn't do. It flashes bootstacks too, be careful.

Upd.

We found nice workaround, don't need to go stock. There is a line at dec 2048 offset in misc partition. Previous recoveries (newer than 3.1.1 erasing it when loading and line was important for modem somehow.

"42 53 50 20 46 6F 72 65 76 65 72" reads as "BSP Forever"

I guess fix would be implemented in convenient way soon. Or you can just back up your misc, open it in hex editor and add this line, than flash it back. Fixed 3.3 beta TWRP is available at blastagor site.
[G2 Android Development] aleasto:
LS980/VS980 users:

If you have network issues, this should solve them!

* Flash TWRP beta from blastagator.

Reboot Recovery to automatically apply the fix.

Reboot System
[G2 Android Development] harunkaplan:
hi

do you think next update or is this last update anymore ??
[G2 Android Development] MJ.nfl:
First of all, a big thank you to YoDevil and others for prolonging our G2's life span.

I have a request and a couple of questions:

[MENTION=4742143]YoDevil[/MENTION]

1. Can you please adjust the brightness slider. Since version 6.4 It feels as you have to slide 3/4 of the phone to get 50% brightness. Also when sliding down a 1/4 you get to, what feels like, 20% of screen brightness. Something just seems a bit off. Anyone else noticed this?

2. I have been using USB tethering a lot since I've cut my TV/internet cable. It's been a while now that I've noticed a strange bug (no matter the ROM, lineage, RR, AOSP). When I frequently connect and disconnect the phone from PC or laptop, there comes a time when the phone doesn't make a sound when I connect it to a power source (PC, laptop or AC). The real problem is that when that happens, the phone's ring doesn't work (alarm does). The only way to recover from this is to reboot the phone.

Does anyone have the same problem or knows a workaround that would avoid restarting the phone?

3. Since Android pie, restoring apps to working state has never been more difficult. I restore my apps with Titanium Backup as I did before, but now I have to go to each app individually and set permissions. Does anyone know an easier way to go about this issue?

But enough from me for now, I'll leave some questions for later. Thank you all again...
[G2 Android Development] blue966:
download link didnt work for me...

my country is exotic...

is it possible for other download link?

thanks a lot...
[G2 Android Development] ehsanmokh:
Update Is Not Good!!

After updating rom from 6.4 to 6.5, sometimes my phone gets stuck. Even when I'm working with an application, it automatically closes. It seems like it's a low RAM

:(

Please help me . . .

Model: LG-D802
[G2 Android Development] imiimiimi:
me too but after clean install i didnt have that problem anymore (its about 3 days)
[G2 Android Development] ehsanmokh:
How clean install..??
[G2 Android Development] imiimiimi:
format system, data and cach then install rom.
[G2 Android Development] Simaramis:
Here's link that explains how to go back to stock it's easy but need a windows machine:https://xdaforums.com/showthread.php?t=2432476
[G2 Android Development] umeshbluezzz:
Same issue.sometimes shows only 200 mb free ram.

Tried clean flash still the same after an hour or something.any fix u found?
[G2 Android Development] zemix:
Please, if some of you use official Facebook app, check - 3d movable photos moves when you are scroll or watch them?

For example, a lot of 3d photos here https://www.facebook.com/groups/3dphotographs/

Because I'll see only static via Facebook app.

D802
[G2 Android Development] Jefeqw:
Good day

I have troubles with Substratum themes (i using the last update 23/04 for lg g2 ls980)

What i do?

Any one else have this problem with sustratum?
[G2 Android Development] ivaneris:
Is it applicable to f320k korean lg g2?
[G2 Android Development] Scooterthedude:
When i flash pie on the D801 from stock i loose root. Once its up and running how do i gain root again? Thx I know the basics ive done a couple phones but done with directions. Thx.
[G2 Android Development] zemix:
Already discussed dozens of times in this topic...

first of all u need latest TWRP Version 3.3.0-0, download here http://www.gregtwallace.com/lgg2-projects/twrp/?version=3.3.0-0 and flash via twrp

then...

1) download Magisk https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

you need Magisk-v19.2.zip and latest MagiskManager-v7.2.0.apk

1) in TWRP clean flash rom zip with all wipes

3) flash gapps zip (nano recommend)

3) flash Magisk-v19.2.zip

4) run the rom and install MagiskManager-v7.2.0.apk

You'll get magisk Root and abilities to Hide Bank apps for NFC payments (if needed), Google pay etc.

Supersu already outdated and not relevant to fresh rom since AEX on android Nougat and +
[G2 Android Development] Scooterthedude:
Thanks for the time. Worked perfect. Saved for notes.
[G2 Android Development] moienh:
i have a problem with this rom my gps cant fix why?
[G2 Android Development] lightdot:
Which model of the G2 do you have?

Which ROM did you upgrade from? Did you do a full wipe when upgrading?
[G2 Android Development] moienh:
d802

from crdroid android oreo

yes full wipe
[G2 Android Development] Domgup:
Problem with LG G2 D806, I tried many roms 6,7,8 and 9 do not get good battery life. I read that the problem is in the modem because for this model a part is developed in the Kernel, even if it does a recovery of the baseband / efs, I get a day and a half almost without using it. I have no choice but to return to CloudyG2 (Lollipop).

Please, any user with the D806 that has solved this problem, tell me how you solved it. Thank you.
[G2 Android Development] Andreeyy11:
Tem como trocar o lado da hora?
[G2 Android Development] Carlos_Bilibio:
Sim.