yashsingh1/xdaforums huggingface dataset:
[G3 Android Development] GerediloS:
Good evening, first of all thank you for answering me

I can confirm that I used the correct version.

my twrp is in version twrp-3.6.1_9-0-d855.img

That said, my motherboard was bought in china, despite installing the roms, including the official d855, I suspect that it was originally going to be an LS990, and some modifications were made to be recognized as a d855

because whenever I try to install even a stock.kdz rom of the d855 I have problems with wifi, bluetooth, NFC, 3G, 4G not working.

The only roms that I can install and that the cell phone turns on are the @MESA Stock ROM for the d855 model or the LGUP kdz but even with the cell turned on I still have the connectivity problems I mentioned (wifi, 4g, and other things)

Could you help me, I've tried everything.

If you need access to Minimal ADB and Fastboot, I can upload any file.
[G3 Android Development] HardStyl3r:
I am a bit worried about the phone being recognized as LG-D855V. What makes you think it was originally ls990? Have you tried forcefully flashing ls990 roms? That could end up in a bad situation if it bricked, but might solve the problem.
[G3 Android Development] GerediloS:
Querying the imei number (352596062994869) after installing Clean ROM 3.2 it shows up as ls 990 so I thought it was originally an ls990.

I tried to install some kdz and custom rom from ls990 but without success it always crashes in the model verification part.

I don't know why it recognizes as d855-V

Do you have any idea what we can do to install the bloodline? or fix this connectivity bug.

A detail that originally came with a kitkat rom where it worked perfectly with access to wifi and 4g but was outdated.
[G3 Android Development] HardStyl3r:
You need to manually change your build model in TWRP in TWRP'S build.prop and hopefully it will pass all the variant checks. You can optionally get rid of all variant checks in the zip files.
[G3 Android Development] GerediloS:
do you recommend that I try to install LineageOS itself using this method?

and which file would I have to delete inside the zip?
[G3 Android Development] GerediloS:
I have no idea how to change the build.prop so I think it would be easier to delete the checks.
[G3 Android Development] HardStyl3r:
You can edit build.prop inside TWRP in terminal.
[G3 Android Development] GerediloS:
I managed to find the file but which line do I have to change and put what?
[G3 Android Development] GerediloS:
I'm having trouble figuring out what to change in the file build.prop
[G3 Android Development] f0urier:
Does anyone know if VoLTE will ever be an option for the d85x? My understanding is that the LG drivers aren't open source, so that makes things tricky or damn near impossible. Can anyone confirm this?
[G3 Android Development] Freench:
It seems one patch since 20220319 causes trouble in my terminal. It's a d855, TWRP 3.6.0 then 3.6.1, LineageOS nightly, without gapps. Storage is encrypted.

Problems :

- a dirty update (from TWRP) breaks Magisk. I have to wipe and install the new ROM from scratch,

- some apps "forget" to ask me some permissions (storage access, most of the time). I have to manually give them,

- OSMand+ looses its offline maps, I have to manually change its storage location to be able to get new ones,

- DavX5 works one time, then loop-crashes,

- Nextcloud app is unable to log in my self-hosted instance.

Are new storage restrictions or calls set since 20220319 ? Looks like some apps can't read or write into their usual directories.

Last but not least, TWRP is unable to restore my backups (infinite launch screen, I have to remove the battery to regain the control). I have to reinstall the working LineageOS system from scratch. So I can't do quick and dirty tests, as "updating" and "restoring" takes several hours...
[G3 Android Development] Freench:
On my phone, I can flash Magisk 23, not Magisk 24.X.

So flash Magisk 23 zip file, boot LineageOS, and install Magisk 24.3 APK. And then, Magisk will flash itself like a good boy.
[G3 Android Development] gandul:
I confirm that there is no more bug with sound recording feature now

Right it's work well if I use my OTG cable before rooting the phone.

After rooting with magisk it does not work anymore.

I will try to find why !

Thanks for your help and valuable work !
[G3 Android Development] hk133hk:
For my LG G3 Korea version(F400K/L/S, I have all 3 version), all of them couldn't install MindTheGapps by using TWRP, warns"could not mount /mnt/system! Aborting"

But after I flashed lineage recovery on all of them, MindTheGapps works fine, is there anything goes wrong for the TWRP?

I also have korea version Samsung S4 i9506 having the same problem, and I choose to install OrangeFox recovery on it, MindTheGapps also works fine, seems like it is the problem of TWRP?

By the way, if anyone have the same problem on TWRP, then you should give up TWRP, flash any other recovery, or the easiest way, go back to lineage recovery. Just put the recovery .img file to the phone internal storage and install by TWRP is ok.
[G3 Android Development] HardStyl3r:
VoLTE will not work.

I do not maintain TWRP any more, and I don't know what changes have been made to it since. I need some logs to determine what's the problem with storage (especially when it's encrypted), but since you're running a very old build, that I can't even download to test, I would like you to upgrade manually to the newest version if that's not a problem for you.

In future case, if you need to update via OTA, LineageOS paired with LineageOS Recovery does the job nicely. I have personally stopped using backup and restore functions of TWRP, because it always caused some trouble. I back up internal storage and sdcard manually to my computer.

I need some logs when you plug it in before and after rooting.

I see that Magisk is breaking everything. I will look into that later this month, but I would like you all to keep in mind that Magisk is a modification that I do not provide support for.
[G3 Android Development] Freench:
So you think using TWRP instead of LineageOS recovery may be the root of my problems ? Interesting.

I'll try to make a new update at the end of the week, if I have enough time.

Very old ? Two months ? Well... OK.

What do you mean by "manually" ?

OK. I'll try LineageOS recovery.

I don't use OTA today, I only make one update by month (for the security patches). My internet bandwidth is really poor, I need several hours to download a ROM.

OK, that confirms my feelings.

So am I. I also sync some data via CalDAV/WebDAV, make backups of the SMS/MMS database, use oandbackup, and so on... But none of those methods are able to make a complete "system snapshot", so, if the update fails, I have to clean-flash a working ROM, then restore all my apps and data.
[G3 Android Development] HardStyl3r:
Not really what I meant, I just don't know what's happened to TWRP because I switched to LineageOS Recovery a long time ago.

By very old, I meant that I can't download it any more to test it on my own.

Well, perform a clean flash.

Fair. You should be able to perform an update monthly with LineageOS Recovery, too.

I always had a decent internet connection to just redownload my applications, and most of them were already configured after they've been downloaded, so I could not relate to your problem. For SMS, MMS and Call Logs, sometimes they automatically synced from Google Backup or I restored them with an app with green icon. In your case, system snapshots are certainly a way to go, but I am afraid I can't assist you with that.
[G3 Android Development] 99diego:
@HardStyl3r

Hello there.

I have flashed multiple d855 devices and none of them seems to be able to get a GPS fix.

Is this common (hardware) problem with this device version?

Is it a software problem that can maybe fixed?

I'd be happy to hear from you and/or any recommended solutions.

Otherwise the ROM works smoothly.

Thank you very much for this great effort! Please never stop! <3

PS: I assume a workaround would be to use an external GPS received attached either via Bluetooth or USB.
[G3 Android Development] 99diego:
According to latest lineageos blog post

@HardStyl3r

Could you give an outlook of future development / updates for this LG G3 device?

Will there still be (security) updates for Lineage 18.1 on this device?
[G3 Android Development] ChrisGermany2017:
Hi 99diego,

important things first: HardStyl3r thank you for your device support and effort. I am here to, not miss a port from 18.1 to 19.1, too.

About your question for Security Updates. This should be for example, as long as K. Haggerty and Co, merge the Google AOSP-Patchtes to the Lineage Sources.

Like here,

https://review.lineageos.org/c/LineageOS/android_build/+/330881

they review and update it monthly for older Versions/Repositories too.

Topic 2

======

With GPS, i only use one d855 and have no issues with it.

- Over time, hardware may be get faulty.

- Are you sure you did not mixed up your Hardware Device Version (D810, D850, D852, D855...), with the right Lineageos?

Like Use on Hardware D855 a Rom for D852?

However. My D855 still have the same proprietary files as in the public backup from github.com/TheMuppets and its (proprietary_vendor_lge) for the D855.

I will not share my own builds or recommend to compile own builds. Switching from official lineageos to custom builds comes with a full reset and data loss (if you have no backups). And if you are not familiar with compiling software it cost much time and energy.

Topic 3

======

Thank 99diego, for sharing that blog Post. Read it weeks ago but not carefully.

".. but until a proper workaround/backport of BPF is brought to older kernel versions, don’t expect legacy devices to ship LineageOS 19."

Sad, but fully understandable. I am fine to stay with 18.1 in that case.

A quick Searching, Linux 3.18.x Kernels support eBPF, like for the LG G5. Its just my d855 still use a 3.4.x Kernel. And i am not familiar with Building Kernels for Android. I think devices use that first delivered Kernels that come with the Smartphones because the binary blobs (drivers modules) will not load without "update".

Have a nice Weekend!

Chris
[G3 Android Development] NoUserNameForYou:
Hello HardStyl3r

This device's design is horrendous, they put two heating chips on top of each other and after some time the memory starts to fail.

Only way to prevent it is undervolting and underclocking. The kernel you provided in the rom allows to underclock which I'm really thankful for, but I live in a hot country and I'd really appreciate undervolting as well as limiting the core count. The current MPdecision even when turned off from kernel managers still meddles with the core count. Please provide these options if they are not too much of a hassle.

Thank you.
[G3 Android Development] LGG3Korea:
Hello @HardStyl3r and others,

I've been trying to flash LineageOS 18.1 on LG G3 F400L following https://wiki.lineageos.org/devices/f400/install and every time I end up on a boot-loop. I'm pretty sure that I'm following the procedure correctly and none of the sub-steps failed. Any clue on what's wrong and how do I get it installed correctly? I tried different combinations of installer zip and recovery as well, also some other customized recoveries. Fails every single time.

I also tried this method to flash the ROM: https://xdaforums.com/t/lg-g3-f4001-those-who-have-problems-installing-android-11.4315345/

The result is the same - boot loop.

Any pointers?
[G3 Android Development] :
Well, I guess lineageOS is then unofficially dead because of this VoLTE issue. Thanks guys, good luck.
[G3 Android Development] Cupcoker:
Thanks! Thanks for doing with this ROM! I flash on my LG G3 F400S using this method: https://xdaforums.com/t/lg-g3-f400l...-installing-android-11.4315345/#post-87155575

I just like I have got a brand new phone!

Ok, let's talk about the benefits

This ROM is really smooth for daily usage like web browsing, YouTube and Facebook. Animation is also silky!) but playing 3d heavy games are not that smoothly (unless you change the dpi)

Secondly, the laser auto focus is functioning! This is unexpected!

And it was a fluent installation without any errors, and still no bugs is found!

I really appreciate your hardwork! Thanks
[G3 Android Development] NoUserNameForYou:
Please somebody, create a custom kernel to reduce voltage. I swear the device burns through my fingers.
[G3 Android Development] Freench:
Some days (yes, several months. OK, ok...) later, I finally took some time to go on. And, today, no problem, or just about.

I made a clean flash with LOS 20220813, via TWRP, installed Magisk v23, then v25.2, and all my apps (half from scratch, half restored from my last backup) and data, and voilà.

I just had one "auto-resolved" bug : the system "forgot" to search the SIM card. Even after several reboots. I had to force it, by reactivating manually the SIM locking in the security parameters. And then, the system refused the SIM code several times, even though it was correct. Some seconds later, the pin code screen suddenly appeared, and the system accepted the code. Since that, no problem anymore.

So what changed ?

- I replaced oandbackup, which seems unmaintained now, by Neobackup, which works well, even if it's not officially stable.

- TWRP 3.6.2, but I don't know if that matters, as I don't have to make a restore.

- Nextcloud and DavX5 apps were buggy. Problems solved now.

Next step, next month : dirty-flashing the next security update, to see how the system will work.

Thanks for the hard work and the patience. :)
[G3 Android Development] Bullet Saloon:
Looking for help. After flashing Lineage 18.1 to try on my LG G3 VS985, I decided to go back to Marshmallow 6.0. Problem is, now back on Android 6.0 my external sd card won't show, like it is not inserted.

I reformatted my SD Card and even tried other ones. SD cards will no longer show on Android 6.0.

Then, I re-flashed Lineage 18.1 and my external SD cards WILL show again? Strange issue. Anyone else ran into this? How do I get my external sd card to read after downgrading from 18.1 back to Marshmallow 6.0? Tricky one, please help.

Thanks
[G3 Android Development] Freench:
Perhaps your SD card is formated with exFAT, and Marshmallow can't read it ? Did you try to reformat your card with FAT 32, on your computer, for example ?
[G3 Android Development] Bullet Saloon:
I've been trying for days. I formatted sd card to FAT 32 and tried new sd cards. Heads up folks, this is a problem when you downgrade from Lineage 18.1, you will lose the use of your sd card reader. I am hoping a developer is familiar with this issue and has a fix or suggestion.

I imagine most people have moved on from the LG G3, or haven't needed to downgrade.

Things I've tried so far: to get my sd card reader to work again:

Downgraded to 10b with kdz and re-rooted. (No go)

Flashed CleanRom 3.2 (No go)

Flashed several other stock roms. (No go)

The only way to gain use of my sd card reader again is to re-flash Lineage 18.1

I've wrecked 2 phones before I got wise. Bummer
[G3 Android Development] Bullet Saloon:
From first post: WARNING

/*

* Your warranty is now void.

*

* I am not responsible for bricked devices,

dead SD cards

,

* thermonuclear war, or you getting fired because the alarm app failed. Please

* do some research if you have any concerns about features included in this ROM

* before flashing it! YOU are choosing to make these modifications, and if

* you point the finger at me for messing up your device, I will laugh at you.

*/

We were warned. Fair enough. I have never seen permanent loss of a

hardware device

by trying a new rom, deciding against it, then downgrading.
[G3 Android Development] Falar85:
I think it is obvious. No one is going to go back to a version that hasn't been supported for years, which is why this problem hasn't happened to anyone else. It's like going back to Windows XP and saying that now some hardware doesn't work on it. Maybe you should reconsider whether a downgrade is necessary for you.
[G3 Android Development] Bullet Saloon:
For my simple use, Android 6.0 works best for daily use. I needed to try Android 11 (Lineage 18.1) for Android Auto only on my extra phone. I can hotspot my signal to the AA phone on road trips. Perfect, I should have quit while I was ahead.

Then I flashed 18.1 on my main phone and found it to be unreliable in some ways and wanted to go back to Android 6.0, that is how I discovered this issue.

Android 6.0 is still very reliable for normal everyday use on an old outdated LG G3, Lineage 18.1 was not for me.

Thanks anyway.
[G3 Android Development] Bullet Saloon:
Not trying to knock Lineage 18.1, it just wasn't my cup of tea. I am old fashioned and old works best for me most of the time.

Anyone who wants to try this rom on an LG G3, just know you can't go back with a working sd card reader. I hope this info might be helpful to someone else. Still looking for a fix...
[G3 Android Development] HardStyl3r:
My SD Card SanDisk Ultra has been formatted by me using diskpart to exFAT. I've flashed LineageOS 18.1 from it (no root, no gapps etc), did some I/O on SD Card and moved to CleanROM. My SD Card is still properly functioning on LG G3 and my Galaxy S8+. Are you sure there's nothing wrong with your phone? I couldn't really understand what was going on, reading your messages.
[G3 Android Development] Bullet Saloon:
My SD card reader does not work on TWO phones now after downgrading back to Clean Rom 3.2 from Lineage 18.1.

After days of trying to figure this out, I believe it has to do with a phone format issue. For example, I flash a stock rooted rom and everything work except my sd card reader. Then I flash 18.1 recovery instead of TWRP to the stock rom and my sd card shows on my computer and in in recovery only.

When I reboot out of recovery back to stock rooted OS...no sd card.

What procedure did you use to downgrade from 18.1 back to Clean Rom 3.2?
[G3 Android Development] HardStyl3r:
I just wiped everything, including internal storage when on 18.1 and then proceeded to flash Clean ROM. Maybe reflashing your phone as shown in this tutorial, which also means going back to stock, will help?
[G3 Android Development] Honkette1738:
Is it just me, or did the newest update cause my phone to bootloop? I downloaded the latest update, tapped install, put my phone down, and came back to it bootlooping for a few minutes and then booting into TWRP.
[G3 Android Development] Bullet Saloon:
At this point, I just as well throw the phone in the recycle bin. I have spent many days, and countless hours trying to figure this out. I have tried everything I know of.

The phone's sim card/sd reader is not broken. SD card reader is blocked by something after downgrade.

Any extreme measure I'm willing to try. Does anyone have any ideas? I don't care about blowing up the phone, I just want to go down swinging.

Thank you
[G3 Android Development] rahimali:
tried flashing stock kdz?
[G3 Android Development] Bullet Saloon:
Yes
[G3 Android Development] aziz07:
Hello I like this rom but I have an issue with Wifi disconnecting often when turning off screen. I am using latest 1 Oct 2022 rom. LG D852.
[G3 Android Development] andybones:
I had this going on with the stock ROM before root.

It's been better but also suffering from this on this ROM.
[G3 Android Development] Azukegi:
@HardStyl3r

I just picked up an LG G3 D852 the other day to mess around and have fun with and I just wanted to say thank you for all the hard work and maintaining for this device.
[G3 Android Development] Azukegi:
@HardStyl3r

Is there a way to re-enable IR learning with this device? I'm pretty sure stock Android 5 & 6 for the G3 had support for it but any custom ROM losees the functionality but I could be wrong. Also would it be possible to port the (LG Quick Remote) app to Android 11?
[G3 Android Development] lRaziel1:
At this point I would put a bet that the pins of your SD slot may have a loose connection. Not like LG is known for doing good soldering jobs anyway... I tell you this because something similar happened to me with a device, until I took a macro shot and well, a SD card slot pin was damaged.

Edit. People report that when the phone heats up, the SD card stops working, and now, I can confirm.

Perhaps during the instalation, the phone got so hot it fried your SD slot lol. Probably desoldered, it may work if you replace it, or not.

Just buy a new motherboard, fairly cheap.
[G3 Android Development] roirraW "edor" ehT:
I'm guessing this is too late, but if you only tried KDZ instead of TOT, try the 10B TOT (or whatever VS985 TOT it is) instead. I seem to recall that TOTs fix problems that KDZs don't. Good luck!
[G3 Android Development] Bullet Saloon:
Thanks for the reply's on this. I just might have got it to hot and melted a pin. Also, I did use the TOT method for downgrading. Weird though that the SD reader works with Lineage, but does not on Marshmallow anymore. Perhaps the burnt pin isn't needed to work on Lineage OS?

Instead of recycling it, or replacing the MB...I just make use of that phone as a way to connect to connect Android Auto by hot spotting my 4G on road trips. Android Auto is no longer supported on older phones (LG G3), but it does work on an older phone (LG G3) with Lineage 18.1.

Still a mystery, but not a big deal. Thanks again.
[G3 Android Development] Azukegi:
@@HardStyl3r

Is this device no longer being maintained on Lineage? I just went to check for updates and noticed its no longer active
[G3 Android Development] macgyver77:
Getting the G3 promoted to LOS 19.1 is probably difficult, if not impossible, due to Android 12 using features not supported by the 3.4 kernel line used on this device:

https://lineageos.org/Changelog-26/

But I just read on the Galaxy S5 forums that LOS has made an exception to the "2 last versions" rule and is willing to offer monthly (security update) builds of 18.1 for legacy devices for a time:

https://github.com/LineageOS/hudson/blob/master/lineage-build-targets

"Our" device is not yet among the targets, but I hope that @HardStyl3r will be able to get the G3 models back onto that build schedule. =)
[G3 Android Development] 99diego:
Dear @HardStyl3r,

Are you still up for patching (security) updates for this device via official lineageos channel? If not would you be up to share / document / teach someone how to do so? I - and maybe others as well - would be happy to help to keep this device "alive". Thank you greatly!
[G3 Android Development] Chris_TWHT:
Hi! I recently did the whole root and TWRP process installing the rom V10B .TOT file, I installed the TWRP but when I flash the ROM, it gives error 1 or 7 saying: this rom is for the LG G3 VS985, your device is . It doesn't say what my cell phone is and so I can't install any custom rom. please help me!
[G3 Android Development] Azukegi:
XDA Remove the Delete button?
[G3 Android Development] mohamedfaky:
Hi, I'm getting boot certification verify error with red blue flashing light on my d855 when I try to flash this from custom recovery, had to go back to stock Android 5.0 rom after softbreak, also flashing any custom recovery (TWRP 3.7.0 from twrp official site, twrp 2.8.0 bump from other site, lineageOS recovery for d855 from official site) and booting to any of them cause same verification error to happen, while using fastboot to boot recovery img on fly (with fastboot boot twrp-XXX.img) works and custom recovery gets booted without issue, I believe most of those custom recoveries are bumped and should work without issues, so why this happen? I can directly access fastboot because I used dd to write zeros on laf partition along time ago, maybe this have something to do with boot certification error? should I write back laf again?

[EDIT: I realised that I should have downgrading bootloader to KK before flashing and after doing that I was able to boot bumped custom recovery and I managed to boot LineageOS 18.1 without issues..]
[G3 Android Development] walter79:
Did somebody has working WPA3 wifi ?
[G3 Android Development] Af0x:
Why is the d855 not maintained anymore?