yashsingh1/xdaforums huggingface dataset:
[G3 Android Development] TheseAreNotTheDroids:
One thing I've just figured out yesterday that helped the performance of my G3 and stopped it from rebooting was to install the XTD kernel and change the maximum CPU frequency to 2457 MHz and change the maximum GPU frequency to 462 MHz.

All the documentation I've found online about the hardware in the G3 states that the maximum CPU freqency is 2.5 GHz and the maximum GPU frequency is 578 MHz, however the default when I installed the XTD kernel was (if I remember correctly) 1728 MHz max CPU freq and 657 MHz max CPU freq. I noticed a much smoother experience bumping the max CPU freq up to 2457 MHz. I believe what was causing my reboots was my GPU because if the max GPU freq is set to 578 MHz or higher I get reboots and glitches when I'm watching videos on YouTube. As soon as I dropped the max GPU freq to 462 MHz my phone stopped rebooting and glitching.

Anyway, I'm on a different ROM at the moment and I can't remember what the defaults for the LineageOS 16.0 kernel is, but you may want to install Kernel Adiutor and see what your CPU and GPU max frequencies are set at. However, I would be very careful changing anything if you have never played around with kernels much. I recommend doing a web search for your specific device and check out the hardware specs on it before changing anything. if you decide you want to try to play around with the kernel settings, it be a good idea to read through the entire XTD kernel thread carefully before changing anything in your kernel settings or installing a different kernel.
[G3 Android Development] EugeneOnTheEdge:
Hmm, I'll give this trick a shot once my final exams are over. One thing that I noticed though (I have edited my original post, too), is most of my random reboots happen after I end a call (note: I'm not saying that it reboots by itself after every call).

There was one time when it rebooted while I was on the phone and that was pretty annoying. Yeah I had to spend another 30 seconds to explain what had happened, but thankfully, that someone wasn't my gf--if it were her, it would've been another 30 minutes :laugh:

Thanks for your tips, by the way!
[G3 Android Development] HardStyl3r:
doing new builds today, gonna release probably tomorrow or in the evening if all of them pass tests :)
[G3 Android Development] lort4334:
google pixel launcher stopped
[G3 Android Development] L1p1c1:
works?
[G3 Android Development] HardStyl3r:
new update!
[G3 Android Development] alliance1975:
Dziękuję Pan.
[G3 Android Development] Berberos:
Thanks
[G3 Android Development] alliance1975:
Full wipe, unmodified updater-script resulted in error7. Removed the asserts and install went very smooth.

Open camera pics appear dark, unfortunately. Previous versions had this. I need to explore camera options to see if I can find a simple fix.

Someone mentioned in prior post reverting to gapps supplied camera. Did that and working much better than open camera. BTW, thanks for seperate volume controls for various notifications, i.e. alarm, sms, phonering.
[G3 Android Development] shahabkhan99:
thanks for this new release 12/01 ... LOS camera + WiFi Hotspot working great on LS990

*NFC not working + WiFi 5.0 GHz drain Battery... I dont know maybe my device has issue

other all :good:
[G3 Android Development] Šəmûʼēl:
Where is the gps settings about: "gps only", "gps or mobile info" ?

Seems to me, current default setting is "gps only" and impossible to change it
[G3 Android Development] ezantera:
Awesome pictures from open gapps integrated camera if you turn on HDR. Problem is that google camera is integrated only in Open gapps Stock and above. That means google launcher and bunch other stuff most of us probably dont need. I went with aroma, and everything went good.

D855, aroma open gapps, face recognition works, google camera, I did not encounter any obvious bugs. Perfect :D
[G3 Android Development] alliance1975:
Thanks ezantera. It was probably your post that I remembered. I installed nano gapps which installed Camera version 2.02.014. I'm not sure if it's the same as yours but the pictures are great. I just switched on HDR and will that for a while.
[G3 Android Development] Easy_as_Pi_3.14:
Hi. I dirty flashed the latest update as well as XTD and had an infinite boot. When not plugged in, it would eventually reboot to recovery.

Logcat: View attachment infinite_boot.log.bz2

Sorry the log is so huge.

It seems to be a database issue.

I have a D851.
[G3 Android Development] :
Why do you provide a log if you dirty flash ?
[G3 Android Development] HardStyl3r:
you need latest recovery, I flashed it with no issue. Prebuilt Snap camera works fine.

5GHz is pretty strange, even the hotspot doesn't want to work while 2.4GHz works fine

NFC will not work unless full NFC HAL support is present

I personally haven't seen any other option in any Pie rom without GApps

nice!

dirty flashes

are not

supported.
[G3 Android Development] Easy_as_Pi_3.14:
If a Lineage ROM doesn't work after dirty flashing a Resurrection Remix ROM, that is fine.

If there is a clear and explicitly stated reason to clean flash (e.g. switching the partition layout on the S II Skyrocket to change the sdcard partition to the data partition), that is fine.

If a ROM requires a clean flash after a major Android version upgrade, or after five or more skipped updates, that is annoying, but acceptable.

However, if an incremental ROM update doesn't work after a dirty flash, even if it works fine with a clean flash, it is broken.

OEM updates rarely need a clean flash, and the ones that do will clearly state "This update will erase all user data on the device."

Besides, from the looks of it, it appears to be downgrading the settings database, which is

clearly a bug.
[G3 Android Development] :
The upgrade to r16 was bigger then expected so a clean flash is recommended
[G3 Android Development] L1p1c1:
Install RR 6.0.2 and dirty flash Lineage OS 16.0 first version or the second. Will work without a problem like a charm. This time easy has right if dirty flash dosent work.
[G3 Android Development] Easy_as_Pi_3.14:
Instead of just saying "it isn't supported", could you at least take a look at it? If you can't fix it and/or it is an identified upstream bug, I understand (where even are the 16.0 bugs? I only see 14.1 and 15.1), but ignoring it is like this:

There is no logical reason why an update would downgrade a settings database. It is clearly crashing the zygote from the logs, and I presume a dirty flash would work fine once that was fixed.
[G3 Android Development] alliance1975:
Am currently using twrp-3.0.2-0-d850.img. My phone is a d851 with a d850 mother board. And yes, thank you, I switched to Snap camera as well.

Apparently there is a TWRP-3.1.1-d850.img for the LG G3, by FrazedEcho, here:

https://androidfilehost.com/?fid=745425885120749071

Is anyone using it?
[G3 Android Development] Rob...:
you need the latest twrp. look there.

https://xdaforums.com/lg-g3/development/recovery-teamwin-recovery-project-lg-g3-t3813552
[G3 Android Development] HardStyl3r:
there obviously are a reasons why not to dirty flash:

* Pie is not 1000% stable, it's only msm8974 which is like 4 years old, legacy device which requires a haxx to even boot

* the difference between builds were like 42 days, there were a l o t changes to the source

* as far as I remember you dirty flashed with XTD on the board, yeah, nice

* I never supported and never did a dirty flash nor will start to do so.

https://xdaforums.com/lg-g3/development/recovery-teamwin-recovery-project-lg-g3-t3813552 - take this
[G3 Android Development] alliance1975:
Rob and styl3r, thank you and sorry. I always click to last page and should have seen the reference on the OP. 3.2.3 installed and working fine.
[G3 Android Development] HardStyl3r:
has anyone booted the latest build on f400?
[G3 Android Development] son_91:
Yes. My f400 device can boot. Thanks.
[G3 Android Development] Marcos OC:
Thanks again, this rom was great but it slowed after some time, will do a clean flash again, with nano gapps for that camera thingy.

Enviado desde mi LG-D855 mediante Tapatalk
[G3 Android Development] TheLastBoyScout:
I just resurrected by LG G3 VS985 after being in a drawer for over a year since I got my Google Pixel. Slapped this bad boy on there and now I have a nice handheld GPS to use while on hikes and backpacking.

Thanks for helping to breath life back into an old phone~!
[G3 Android Development] joosicky:
what we do when this gets update? we should not re download it right? updating from phone is working?
[G3 Android Development] HardStyl3r:
you can download it on phone and flash via TWRP. Clean flash recommended (full wipe)
[G3 Android Development] wahabcrouz:
If you want to install custom kernel,

flash this file is nor exist is delete
[G3 Android Development] L1p1c1:
on d855 everything is working fine, did a clean install, didnt wanted to loose time in case of soemthing goes wrong.

1) camera on low light is amazing, no tearing and works with no dark first shoot.

2) nfc didnt tested, i dont use it, i turned off.

3) cant test the hidden network wi-fi, im on default kernel because everything works smooth for the moment and im curious.

4) smart pulldown from left or right dosent seem to work. its seems its not like in oreo, to activate from bottom, activates from status bar, but makes no sense.

5) shorcuts from bottom seems the maximum number is just 5, sad

6) if you want to use only device gps go to location>>>google location accuracy and deactivate. its different from oreo, you have only 2 options now>>device gps and device gps+wifi data.

other settings to turn off regarding privacy

1) Accesibility>>text to speech output>>>Settings the key>>>Annonimous usage report>>> turn off

2) security>>>trust >>>>lineage os statistics>>>stats collection>>> turn off.
[G3 Android Development] jdmst77:
Latest TWRP does not work for everyone. D851 users, the 3.2.2 release is fine. 3.2.3 will not work on your device
[G3 Android Development] sergey1977:
if use 2 sim phone is reboot. whith 1 sim all fine
[G3 Android Development] Šəmûʼēl:
I used lg g3 d856 with two sims - normal boot and usage.

I applied my patch (boot.props) to change multisim mode
[G3 Android Development] mtkmanjaro:
D851 Camera don't work on last build it says can't connect to camera. I revert back to Oreo and camera work perfectly

Thanks for your hard work [MENTION=6880495]HardStyl3r[/MENTION] i will wait for more stable build.
[G3 Android Development] HardStyl3r:
it should work, others don't have that issue and source for them is the same. you can reflash on the latest, working recovery with latest addons you flash with rom. Snap, the default camera should work then.
[G3 Android Development] mtkmanjaro:
Nope [MENTION=6880495]HardStyl3r[/MENTION] clean Flash + magisk no gaaps default app camera don't work footjet camera don't work, don't matter what app of camera i tried. Respected to others if you look the feedback there is only 3,4 feedbacks from the last build and i can't see anything from D851 except my, so any others users from d851 can please report if the camera works for you guys on last build. Thanks

Note. My camera works well on Crdroid pie
[G3 Android Development] sergey1977:
patch didn't help. if i insert 2nd sim cyclic reboot.
[G3 Android Development] fela4:
3.2.3 worked perfect on my d851

---------- Post added at 07:54 PM ---------- Previous post was at 07:52 PM ----------

Camera working fine on my d851 with great improvement moreover. Using the December build
[G3 Android Development] mtkmanjaro:
Oh really, well if camera works in your d851, maybe i need to reflash stock firmware and then flash lineage 16, thanks for your feedback dude. The only thing that I can't understand is why mi camera works on Crdroid pie but not in the December build of Hardstyl3r. :eek:
[G3 Android Development] EugeneOnTheEdge:
Ahh I have finally got a chance to update my G3 D855. I've two final exams left and I needa take a break from studying..

So I just installed the new 20181201 update.

One thing to note: as the dev has pointed out, do NOT dirty flash it! I tried dirty flashing from the 20181020 (aka anniversary build) version and albeit the ROM being flashed successfully, the device didn't boot (I've tried clearing dalvik and cache, no luck). After the boot animation, it kept throwing me back into TWRP. I've basically wasted 15 minutes of my time so you don't have to. Just clean flash it whichever version you're coming from.

I'll be back with my findings after my computer science exam is over this Tuesday ;)

And as always, kudos to the dev [MENTION=6880495]HardStyl3r[/MENTION] for is ever-enduring hard work and passion!
[G3 Android Development] seecay:
Just wanted to report that connecting via USB defaults to charging only. The file transfer options in the drop down menu are greyed out regardless of debugging setting in the Developer options. Workaround is to set file transfer as default in the Developer options.

FYI for those with this issue...

ROM: 16.0

Build: 03.12.2018

Clean install with Open Gapps...

As always, thanks HardStyl3r for the awesome ROM!
[G3 Android Development] jdmst77:
what's your trick? on all 3 of my D851 devices, flashing 3.2.3 throws them into fastboot mode instead of recovery
[G3 Android Development] fela4:
I use the official TWRP img which i just flash to recovery using flashify...then reboot to recovery.Not had any issues.
[G3 Android Development] jdmst77:
thanks, will have to try with flashify later. I flashed the same image in TWRP and nothing but fastboot loads instead of recovery every time
[G3 Android Development] kiwibibo:
several bugs

hi, i have several things to solve - i got 16.0-20181201-unofficial-d855 build...

1. i cant connect to my PC through MTP - PC do not recognize phone at all, tried even with USB debugging ON/OFF.

2. proximity sensor seems to be NOT working - when i am calling someone, i put my phone close to my ear, display stays turned on :/ is there any test menu/test mode to test sensors?

3. auto-brightness is NOT working - when i set it on AUTO, it does NOTHING

Thanks
[G3 Android Development] haxor254:
Same version doesnt work on my d855, i used phone check and all the sensors are not found (lux,proximity,gyro,accelerometer) so most features wont work, also usb doesnt work anymore as well and wont give me option to change to mtp or ptp, using defualt usb mode in developer options still wont work giving me errors on device manager with "An invalid parameter was passed to a service or function."

I switched to aospextended but the usb issue is still on it, at least i got sensor function back. Thanks
[G3 Android Development] L1p1c1:
sensors are working and auto brightness is working as well but with some bugs, in the night or most of the time goes to 75 % brightness

d855 build here,

Advice:

do a fresh install and download latest gapps and dont install custom kernel.
[G3 Android Development] haxor254:
I clean flashed and used gapps aroma with no custom kernel, sensors did not work. I retried it the second time with pico instead, wiping and flashing with the same result. Any idea with might be the problem?
[G3 Android Development] kiwibibo:
I performed clean flash, then flashed latest gapps, didnt install any custom kernel. I doubt that if i repeat it same way, something will change :/ Is there any way to test sensors? In marshmallow i used number code something like #xxx#*xxxxxx# . Can I do it in Pie? Thx
[G3 Android Development] L1p1c1:
yeah, you can do it, its a phone feature.

make sure to use only test, dont reset nothing there.

another solution is to install stock marshmallow , reset phone to default settings or you can try as well in pie, search for reset phone.
[G3 Android Development] Rob...:
What do you mean?
[G3 Android Development] EugeneOnTheEdge:
Here are my findings: LOS 16.0 20181201 build!

Aight I can get finally back on this thread since my exhausting computer science final exam is over :D

I am on a root-less LG G3 D855 on stock kernel, performance profile is set to "Quick".

Note note: Everything written below is based on LOS 16.0 version 2018-12-01. Other/future versions will be in separate posts.

In the 2018-12-01 build:

Current build:

The first one on the list is mostly fixed. It lags on some occasions (and most of these occasions happen when you're retracting the navigation bar).

The second one still exists..

The third one: have not figured out just yet, but so far so good :good:

And in addition to all of those, here are my findings:

1. Performance stutters

The device gets rather sluggish in relatively-demanding apps. In Instagram, for example, playing other people's videos on their stories gets really laggy at 15-20fps; stutters are also present when scrolling through peoples' stories and feeds.

Device tends to reboot itself (not hot-reboot) during not-so-intense gaming demands. I was in the middle of a Clash Royale attack when my G3 suddenly lagged and rebooted itself. I don't remember this happening in the previous version nor LOS 15.1.

In the 2018-12-01 build:

Current build:

Fixed! Woohoo!

In the 2018-12-01 build:

Current build:

None of them has been fixed just yet...

And in addition:

2. Things that do NOT work:

Auto brightness: device does not detect that an ambient light sensor exists

Proximity sensor: call screens don't get turned off when the proximity sensor is triggered

In the 2018-12-01 build:

Everything on the list above still works!

3. Confirmed working in this new update:

Media volume: 25 steps, voice volume: 7 steps (I've been waiting for more increments--I finally found the just-right loudness to my ears! :good: :good: )

fixed dark first photo bug

Snap camera

And... I will keep updating this post as I go. ;)

Keep it real, [MENTION=6880495]HardStyl3r[/MENTION].
[G3 Android Development] EugeneOnTheEdge:
Tried installing Sensor Toolbox and Yet Another Auto Brightness: both of them say that no light sensor is equipped in the device...
[G3 Android Development] VetrixFX:
you have to reset the phone to the stock MM software and then root it again and flash everything. I had this problem too and this fixed it.
[G3 Android Development] jdmst77:
No luck. Tried flashing both official 3.2.3 and Hardstyl3r's 3.2.3, using flashify, but both took me into fastboot when trying to boot to recovery
[G3 Android Development] Rob...:
Oficial it works for me on my d855. Using TWRP to flash

the IMG.
[G3 Android Development] fela4:
That should be a device issue...probably a mismatch in the partition binaries...i once had a d855 that was doing the same
[G3 Android Development] jdmst77:
Device and not TWRP image issue? No problems when immediately going back to 3.2.2. No partition sizes were changed in between flashes. How did you fix it?

Tried that on 3 of my d851 devices. Same result
[G3 Android Development] zhekadk:
Rebooting if...

Hi guys

I have an issue - if no screen lock is set, the phone reboots as soon as screen goes to sleep

Has anyone experienced that?
[G3 Android Development] fela4:
I'd try starting fresh from stock using kdz or Tot and work upwards .it might fix that
[G3 Android Development] santaIwantMi8SeForXmas:
Im not sure do we have same problem. LG G3 D855 32gb version.

But after I flash new rom (tried AOSP and 14.1 as well as Lineage 16) everything works fine, then after few days phone keeps restarting. I can use it few mins and then randomly restarts, then after like 6-7 fails during boot it boots up properly.

Im using G3 XTD Kernel R9 2018-12-07. I have latest AOSP atm but I'll flash Lineage as soon as my phone charges up a bit. Flashed everything cleanly and as written by authors.

I have recovery and dmesg logs, but I'm not sure did I take them properly and can you even use it to detect problem. Wifi sometimes says - failed to connect; and it cant connect on anything (tried 2 wifis, 2 hotspots from mobile phones).

I hope this nightmare ends 22.12. when Xiaomi is opening official store in Croatia. :^)
[G3 Android Development] Ruken Antoni:
I had this too, people say its the battery so I got a new one and still restarting, so I went back to stock 5.0 and have been looking for a fix and have found that the modem maybe the problem so I flashed the 20c modem and so far good with the new battery, still rebooting though every once in a while I think it maybe the CPU drawing to much power from the battery and coursing the CPU to over heat (I think) I have had this phone for 4 years now and only in the past few months it's been stuck on the lg logo screen (bootloop) and only now by going back to stock and flashing the modem I have now got in the OS

Update: went back to restarting after 16 hours of use can't get in to the OS
[G3 Android Development] jrickman51:
I've bought a few motherboards off of eBay for $15-20, replacing is very easy to do, after years of flashing and heating up it happens. Just a thought.
[G3 Android Development] fetelove7:
Thank you! And I need to ask you a few questions. ^ _^

:Hello, I am a Korean who uses G3(F400) in Korea.

First of all, thank you very much for all this development.Many people who use G3(F400) in Korea are grateful, too.

Especially, I love this new version of pie! ^_^bb

Thank you again. :)

And if you don't mind, I'd like to ask you a few questions.

1. Can you make the call sound smaller?

I can hear everything around me even if the phone is the smallest.I have no choice but to use 3G in Korea, but the quality is not as good as I thought.

2. Can you make the vibrations bigger?

: The current vibration intensity is so small that we often don't know. Especially, there are so many situations in Korea that I have to do vibrating mode. Or I wish I could control the intensity of the vibrations.

3. The communication is a little unstable.

: Look at the antenna and it doesn't fill 100%.They keep going down and going up and up. I'm a little nervous. AOSP didn't do this before. Could you check this part?

Probably because the state of foreign communication and the state of Korean network are different in Korea.But if you don't mind...Please check.

Thank you again. I am not good at English, so if there is a strange letter, please understand me... (ㅠ _ ㅠ)

I had to write a comment on the AOSP thread, but I didn't write it well....SO SORRY...
[G3 Android Development] zhekadk:
The restart issue for me exists only on LineageOS 16 ROM. The 9.0 PixelExperience and official LineageOS 14.1 are proven to work without reboot on screen lock.

The issue with WiFi as well as other sensors was fixed for me by flashing the 20c modem before flashing ROM.

Now I am testing the 9.0 PixelExp (https://xdaforums.com/lg-g3/development/rom-pixelexperience-t3854540/post78448463#post78448463) with Magestic Root. The Magestic android app (installed from PlayMarket) has many fixes in Download(Repository) menu. Search your issue keyword and try them.
[G3 Android Development] LeoCFZ:
D852 Flashing Error

Does anyone know why I am unable to flash this ROM for my D852 variant? The error is:

E: unknown command [log]

E: Error executing updater binary in zip 'filelocation+name'

I am definitely rooted and I am on TWRP 2.8.6.1 flashed using autorec. I wiped everything before I tried flashing as well.

Is anyone able to offer some guidance please? Thanks!
[G3 Android Development] fela4:
Update TWRP to 3.2.3 that Twrp is quite old
[G3 Android Development] son_91:
Update your twrp to the latest version (3.2.3.0).
[G3 Android Development] LeoCFZ:
Just updated my TWRP to the latest (latest seems to be version 3.0.2-0 according to [https://dl.twrp.me/d852/]?) but unfortunately it still gives me the exact same problem... Thanks for the replies tho.

Anyone else have experience with this problem?
[G3 Android Development] son_91:
Please download the latest twrp via the link on the first page.
[G3 Android Development] LeoCFZ:
Ah I see I have to use the TWRP made my the developer. It fixed my issue! Thanks for the help :good:
[G3 Android Development] jdmst77:
I think the key is Stock MM. I rooted in LP, easiest with one click, and flashed either RR or LOS from there.

Rather than redoing everything, it may be more worthwhile to take a backup, resize the partitions, and restore the backup, if needed