yashsingh1/xdaforums huggingface dataset:
[G2 Original Android Development] antykat:
Try this:

https://xdaforums.com/showthread.php?p=74438942

Wysłane z LG G5 H850
[G2 Original Android Development] carlosmedina06:
Thanks this really work, but WhatsApp cam and Instagram cam still slow ?
[G2 Original Android Development] pejicgoran:
Whether developers can include this snap.apk from aicp nougat rom in official lineage build becouse it is perfect for our d802.Stok snap.apk have bugs from begining and nobody have intent to solve it .

-Panorama do not works(can not save image)

-When choose 13mpx ratio is not 4:3 becouse softwere keys back and home has black navigation bar.

-preview when you take a picture just work in vertical mod
[G2 Original Android Development] Barua:
Anyone who stucked at slow/laggy and outdated stock rom should try this one. It is awesome, you will feel the difference. No lag, no delay, smooth performance, great experience since now.
[G2 Original Android Development] Kapricornus:
When screenshot is worth a thousand words.
[MENTION=5586231]qwertyu123[/MENTION] and I made g2 boot with Oreo! I'll upload build later today here
[G2 Original Android Development] Kapricornus:
I'll answer a few questions here:

1. F320 support. [MENTION=5586231]qwertyu123[/MENTION] and I have investigated the effort required to support this device. It uses a different kernel source, so we need to move over every patch to it. If there's someone, who wants to help it become true - shout it out, we will be happy to work together with you! If not, it's too much work for two of us. You might want to try out Lambda kernel in the meantime

2. mixer_paths and audio volume/noise. If there is a bunch of people that are happy with the new file (ping me if you happen to be one of them), we will definitely consider including into official builds

3. Snap.apk from AICP. Well, it is not device specific, so you should ask lead developers about that
[G2 Original Android Development] JuraP:
Sorry to say, but you can´t use Google Assistant on LG G2 because of low DPI. The phone just doesn´t meet system requirements. It is possible to install it (as apk from APKMirror) , but the G Assistant refuses to launch.
[G2 Original Android Development] Qizami:
I'm using Google assistant from same time I'm started using LOS.
[G2 Original Android Development] pejicgoran:
It works
[G2 Original Android Development] JuraP:
So how did U managed to got it work - passed the DPI ( edited build.prop?)???
[G2 Original Android Development] pejicgoran:
Just instal 7.1 open gaaps full and select english language.And google assistent works without any edit in build.prop.
[G2 Original Android Development] carlosmedina06:
I installed APK from apkmirror > move to system app with link2SD > unistalled with link2SD and that's it, it works in the native Google application.
[G2 Original Android Development] pythonimus:
Does the music visualization on lockscreen work for anyone?

It is activated in the settings and album cover on lockscreen works perfectly. (when playing music on stock music player)
[G2 Original Android Development] JuraP:
Doesn´t work this way :(

---------- Post added at 11:37 PM ---------- Previous post was at 11:35 PM ----------

Yes it does....also with Google Play Music. It doesn´t, when you are streamin to Chromecast etc.
[G2 Original Android Development] Qizami:
[MENTION=1197646]JuraP[/MENTION], open Google app, click on hamburger menu button, open Settings, at the top you should see Google Assistant menu options, and bellow Search menu options. Click Settings from Google Assistant menu, Then go to Phone then enable Google Assistant and "Ok Google" detection options. Set Assistant language to English (US) (this will also change your phone language to ENG us), tap on Voice model to teach Google Assistant to only run assistant on your own voice. That's it. Now say "ok google" and enjoy. If this do not work for you, try searching on internet. GA works without any need to tweak build.prop or whatever. I have other phone with 2x (or more) worse DPI and GA works on it also.
[G2 Original Android Development] JuraP:
Sorry 4 off-topic - just to wrap up thist theme : for all strugling to get Google Assistant workink: I had all the time the google Assistant menu missing in Google app. What helped was to instal Google Assistant from APK Mirror, clear ALL data in Google services and Google app. (Apps - Google/Google Services - Storage - Manage Space - Clear all data) than reboot and voilá: Google Assistant is finally working! Once again sry for off-topic.
[G2 Original Android Development] wq0913562:
Paranoid Android released the source code now it seems:

https://www.xda-developers.com/paranoid-android-snapdragon-camera-app-sources/

[MENTION=4283595]Kapricornus[/MENTION] [MENTION=5586231]qwertyu123[/MENTION] Can we use this to improve the camera on the LineageOS D802 build? If yes: Should someone open a feature request on the LineageOS JIRA?
[G2 Original Android Development] qwertyu123:
Yeah you can open a request in jira asking for this update. Hopefully it will be considered by lead developers.
[G2 Original Android Development] Boopie11:
Correct me if i am wrong, but they just releade the app UI, not the image processing algorithm??
[G2 Original Android Development] qwertyu123:
I'm really not informed about the status of the snap camera. In any case if you open a jira ticket asking to update the snap camera from aicp or anywhere (provide a link to the sources if you have it), and more important, explaining the reasons to do that, if its reasonable it might be considered. If there is no problem they'll probably do it sooner or later although lead developers, now, they are so busy preparing 15...
[G2 Original Android Development] wq0913562:
Done, see: https://jira.lineageos.org/browse/REGRESSION-1417

Maybe it makes sense if all of you upvote it.
[G2 Original Android Development] de.er:
How did you install this camera app on lineage? Tried on my D802, but it fails due to conflicts with the existing snap camera app.... Tried uninstalling the lineage's snap camera using Titanium Backup, but it's still there :confused::confused:
[G2 Original Android Development] antykat:
Replace it with root explorer.

Wysłane z LG G5 H850
[G2 Original Android Development] qwertyu123:
Finally it looks we might have a new Wifi driver from Android N (Backported from LG G4/G5/G6)

Most of the wifi errors that appear in logcat (not all of them, but most of them) with the Lollipop driver have dissapeared, but we want to make sure we don't break current functionalities.

See below a test build for your testing pleasure... Please let us know the issues you find, and more important, if the wifi disconnects during screen off have dissapeared ([MENTION=7226320]LooCoreZ[/MENTION] [MENTION=366070]schossel[/MENTION] [MENTION=2722779]Qizami[/MENTION]).

https://www.mediafire.com/file/bmmz...020-UNOFFICIAL-d802_android_n_wifi_driver.zip (Clean flash is needed)

First bug found: wifi access point is broken, don't activate it (hard reboot, is needed as wifi freezes totally)

On the other side disconnection bug seems fixed
[G2 Original Android Development] Boopie11:
Will it mean more stability, battery life or...?

Old wifi driver works ok for me
[G2 Original Android Development] qwertyu123:
Just stability
[G2 Original Android Development] benoitb85:
Thanks, I'll try this file. I have high impedance (Sennheiser HD600) and low impedance (Sennheiser PX200) headsets and with the low impedance one I clearly hear a loud white noise, especially when listening to podcasts.

I also have way too high minimal volume in voice phone calls when using a low impedance headset. Is it possible to tweak that volume to lower levels with the same XML file ? Currently it hurts my ears if I try to use these headsets for work calls that last 1 hour.
[G2 Original Android Development] popxunga:
Thanks ! Old Wi-Fi driver works fine for me... Can't test this build now because clean flash is required.
[G2 Original Android Development] shier.one:
Yes it was reported that low-impedance headsets are more affected by this problem.

And yes, as I already said, that XML file is responsible for almost every volume property of the system.
[G2 Original Android Development] benoitb85:
About 2. I just tested and the new xml file does improve the situation.

About 3. I cannot find the path to the apk to overwrite. Can someone tell me what the path is ? I looked in /system/app but no luck.
[G2 Original Android Development] de.er:
/system/priv-app/snap

not sure what improvement exactly is this aicp camera app, had a quick look and don't seem to be much different...
[G2 Original Android Development] pejicgoran:
Nothing is improvement in snap.apk.It just work as it should be work.Everything work.First panorama work.Second it us stok galery for preview and finaly ratio 4:3 is normal becouse softwere keys are inclued in camera.
[G2 Original Android Development] Kapricornus:
I've taken a look at your file. It has too many irrellevant to the headphones' section changes and it removes a number of them as well. The changes affect speaker, microphone, camera recording and so on, as a result it can break audio for others.

Can you find minimal needed changeset for the noise to go away? Potentially tweaking all "headphone-*" will be enough. I'm attaching current mixer_paths file for a reference
[G2 Original Android Development] shier.one:
Yes I had compared my file to the original and I had found a lots of changes. A while ago I edited the original file by myself to fix the hissing but I can't find that one anymore so I took this one from G2 Tweaksbox.

Do you want me to test your mixer_paths to see if it solves the problem as well?
[G2 Original Android Development] Kapricornus:
That would be great if you find/recreate it! The file that I've attached is the original one with no changes

Your mixer_paths file seems to come from an older Android version, so it might break us something
[G2 Original Android Development] shier.one:
Have been using the one I posted for a while now and it didn't break anything, but I understand devices are different. Anyway I deleted that old one for sure, and I remember it took me long to find the perfect balance between volumes to get rid of the hissing; however I'm sorry but as of now I don't have time to do it again but if I find the time I'll be happy to help!
[G2 Original Android Development] nickname9:
I always change, under the headphones section, "COMP1 Switch" from 1 to 0. It doesn't fix the hissing but it alleviates only a bit.

I don't remember where i read it, but it was for the G3 if i remember correctly.
[G2 Original Android Development] qwertyu123:
I just updated with a different version of driver from LG V10 Nougat.

This one apparently has no issues but I would like to know about the disconnect issues that some of you had [MENTION=7226320]LooCoreZ[/MENTION] [MENTION=366070]schossel[/MENTION] [MENTION=2722779]Qizami[/MENTION]

I have no feedback until today.

https://www.mediafire.com/file/lqmc2xr4aaai6kk/lineage-14.1-20171123_193747-UNOFFICIAL-d802.zip
[G2 Original Android Development] schossel:
Sorry, just read the email. Do I have to wipe everything? If yes, then it will take over the weekend because it's my daughters phone and I don't have the time and phone till then.
[G2 Original Android Development] shier.one:
Yes that's one thing that I remember having done when I tweaked the file on my own. More specifically, I directly deleted the line.

The rest was tweaking HPHL/HPHR and RX1/RX2 volumes till the hissing goes away and some other changes I don't remember.
[G2 Original Android Development] qwertyu123:
You need to wipe System and data partitition. Internal data (pictures etc) doesnt need to be deleted.
[G2 Original Android Development] schossel:
I'll have a look asap.
[G2 Original Android Development] popxunga:
I guess it is always a good idea to make a backup first. As far as I can remember, last time I've formated the data partition, the data in the internal storage was also gone.
[G2 Original Android Development] Kapricornus:
There are format and wipe options in TWRP. Format erases everything, wipe removes app data, but skips internal storage with pictures etc.

But having a backup is always a good idea :)
[G2 Original Android Development] Qizami:
[MENTION=5586231]qwertyu123[/MENTION]

We misunderstood each other. I do not have any WiFi disconnect problem with my G2, I just tried to find what could cause problem to others to have it.

I found out that G2 stops replaying on local ping request after some time (10+mins in sleep), and find out also that my router remove G2 device from "Active clients" status page. (if i remembered correctly [MENTION=366070]schossel[/MENTION] have showed us some graphics about this)

But when I get new email/viber/whatever phone instantly play notification sound... And phone start replaying back to ping request again.

Mobile data was 100% disabled when I did made this tests.

Its weird situation. Router do not see G2 as active client, phone looks like offline from local network cuz do not replaying ping. But G2 device still has a internet. Weird (or maybe not).
[G2 Original Android Development] benoitb85:
Here is your file (current LineageOs file) with only the headphones section edited to match the corrected file and the COMP1 value set to 0 (it was not defined at all in shier.one's version so I assume setting it to 0 like nickname9 said will more closely match what we want).

<path name="headphones">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM RX2 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX2 MIX1 INP1" value="RX2" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<ctl name="HPHL DAC Switch" value="1" />
<ctl name="HPHL Volume" value="19" />
<ctl name="HPHR Volume" value="19" />
<ctl name="RX1 Digital Volume" value="63" />
<ctl name="RX2 Digital Volume" value="63" />
<ctl name="COMP1 Switch" value="0" />
</path>

I'll try it, appart from this part I pasted here, it is identical to the stock LineageOs one.

Edit: I'm installing it and notice the old file is called mixer_paths.xml so I am renaming to this. The file you uploaded is mixer_path.xml. Is that a typo or the new name ?
[G2 Original Android Development] Farukkk1903:
my wifi also disconnects. generally i notice when trying to start update multiple apps and leave phone screen off.

but my biggest problem is my phone cant get high net speed with wifi with specially some modems. not with all modems problem occurring.

im trying to tests with moto g5 with same wifi and moto g5 gets 15mbit speed (that fiber firm offering 16mbit for top)

but my g2 only gets near 4mbit not higher.

i dont remember exact date but our rom was working without any problem with this same modem before.

edit: 3g and Lte working well.
[G2 Original Android Development] Qizami:
[MENTION=5698293]Farukkk1903[/MENTION]

I'm getting 40-60Mbps on 2.4MHz (n router 75Mbps) WiFi router, and around 270-290Mbps on 5Ghz (ac router).

It could be so many things what could affect your WiFi speed and internet speed at the moment you making speedtest. But chance that guilty is LOS14.1 is almost 0.
[G2 Original Android Development] shier.one:
I think it's a typo. I'll test the file as well as soon as I can, thanks!
[G2 Original Android Development] Chicken_3H01:
The slightly edited version is the perfect mixer_paths.xml for me. I'll keep that for future updates.

No more hissing and generally low white noise on the headphone outlet. Tested with Westone W30 in-ears.

Thank you for the edits and the general insights into this important file which was given in this discussion.

Best regards. Christian
[G2 Original Android Development] Kapricornus:
Yes, that's a typo.

Thanks for providing this file! I've submitted a change to Gerrit: https://review.lineageos.org/#/c/197223/

I'll merge it by Sunday evening
[G2 Original Android Development] wq0913562:
I'd suggest to just push it into the next official weekly build instead of relying on someone to test it with an unofficial build. Unofficial builds require to wipe and re-install, so obviously it's not convenient to do. Just push it into the next official build and everyone will have it and can provide feedback / report back.

Yes, I realize that official builds are not intended to regularly test and potentially break things.

But since you said that there are no issues with your V10 backported Nougat Wi-Fi driver, I'd suggest to just include it into the next official build.
[G2 Original Android Development] Farukkk1903:
yes it was normal also for me but something broken after an update (i mentioned before i dont remember which one)

what should I do, clean flash or maybe w8 for new wifi driver from v10?
[G2 Original Android Development] zizuka:
Agreed. Go for it! Worst case scenario: revert to previous build if not successful.
[G2 Original Android Development] Erysita:
Hi I'm have a LG vs980... So I'm have a question.

I'm want flash this rom but... So this room are rooted or We are root, and is friendly with twrp

And u uses whit a veryzone sim card... Thank for u time [IMG="creamshot"]https://drive.google.com/file/d/1stUUkb8lf0azeGRUV7-ojHK3sbP7EeSl/view?usp=drivesdk[/IMG]
[G2 Original Android Development] *Jonny*:
IR remote did not work ??
[G2 Original Android Development] popxunga:
IR works. Try Anymote app.
[G2 Original Android Development] Qizami:
Try with clean flash first. If that still do not works for you try unofficial build by [MENTION=5586231]qwertyu123[/MENTION] with V10 driver backported.

Also you said your WiFi disconnect ASAP as you turn off the screen. Flashing and testing unofficial build will be much appreciated by developers to see if there's anything improved.

Just don't forget do post yours results. :)
[G2 Original Android Development] Farukkk1903:
thanks for your answer i saw that they merged v10 wifi driver in gerrit fingers crossed :)
[G2 Original Android Development] wq0913562:
I see it's now merged, thanks:

https://review.lineageos.org/#/c/196926/

;)

And interesting to see that the V10 uses the same chipset as the G2 and drivers are fully compatible between each other according to what you wrote on Gerrit. So I guess we should not have any issue also porting back V10 Oreo Wi-Fi driver to G2 ;)?
[G2 Original Android Development] freinet:
That means in next build the driver is integrated?

Thanks

freinet

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Original Android Development] popxunga:
Yes.
[G2 Original Android Development] keikun007:
i used the aroma opengapps and everything installed fine but the google camera... searched the forum but nothing related... any tips on how to get google camera on the rom?
[G2 Original Android Development] popxunga:
V10 doesn't use the same G2 chipset:

G2-Qualcomm MSM8974 Snapdragon 800

V10-Qualcomm MSM8992 Snapdragon 808

They don't use the same comm's chipset either:

G2-BCM4335

V10-BCM43455

Quoting the change description:

"Kang from LG customized V10 Nougat BCMDHD driver V10 has also BCM4335 chipset."

So this driver from V10 still supports the G2 comm's chipset.
[G2 Original Android Development] qwertyu123:
We were talking about wifi chipset, but you are right its not the same chipset, but its very similar to ours and its the most updated SDIO driver. The G6 driver we tried its PCIE, and though in theory they kept support for our chipset, in the end I couldnt make the wifi hotspot work.

Anyway V10 driver looks great for us as it solved many (if not all) errors that appeared on logcat.
[G2 Original Android Development] hwti:
I don't know how Linux wifi drivers are used by Android, so perhaps my question will be stupid, but : how about using the open driver ?

According to https://wireless.wiki.kernel.org/en/users/drivers/brcm80211, BCM4335 is supported from kernel 3.10.

So using linux-backports (https://backports.wiki.kernel.org/index.php/Main_Page, latest stable version is https://www.kernel.org/pub/linux/kernel/projects/backports/stable/v4.4.2/backports-4.4.2-1.tar.xz), it may be possible to build a brcmfmac driver for our 3.4 kernel.
[G2 Original Android Development] wq0913562:
Is that driver also handling Bluetooth? Or just Wi-Fi?
[G2 Original Android Development] alvinprimo:
Helo just want to check..i cant boot to OS when charging my phone while its power off. So it only show LG logo then back to charging. But if I pull off the cable and power it on it boot normally. Is it my phone or the LOS 14?
[G2 Original Android Development] 9up!:
It's normal behavior. Just press the power button again and it should boot into Android.
[G2 Original Android Development] benoitb85:
I tested it over the weekend and I still have some noise on the headphone jack. But if Chicken_3H01 says it sounds better than the stock one, I guess there is no arm to push it as standard.

Any over user can give feedback ? Maybe it's integrated in build from 27/11 onwards ?
[G2 Original Android Development] 4Freedom:
LOS, same here.
[G2 Original Android Development] alvinprimo:
I think its my phone but I press again still same..only show LG logo then back to charging
[G2 Original Android Development] popxunga:
It will be included in the today build:

https://review.lineageos.org/#/c/197223/
[G2 Original Android Development] alvinprimo:
So not only me..glad its not my phone having prolem..
[G2 Original Android Development] 9up!:
Long press until you see the screen with the LG logo.
[G2 Original Android Development] zizuka:
New build is up.

Have fun and give feedback :)
[G2 Original Android Development] Peppe91:
Today build includes the new wifi driver? If yes, can I just flash it or it's highly recommended a clean wipe?

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Original Android Development] popxunga:
Yes !

Just flash it from twrp. Then wipe davlik and cache.

I'm using the new build for 3 hours now.

So far so good :)
[G2 Original Android Development] pejicgoran:
And i flashed it.

Edit:Hotspot works fine.
[G2 Original Android Development] Boopie11:
Is TV screen mirroring OK with new driver? any bug?
[G2 Original Android Development] popxunga:
Just tested it briefly... and worked fine.
[G2 Original Android Development] pejicgoran:
Nfc android bean tested.Works fine.

I noticed that we have not options share via wifi direct files..I connect another phone wia wifi direct but there is no option to share file via wifi direct.
[G2 Original Android Development] popxunga:
Last time I tried (maybe 2 month's ago), NFC didn't work.
[G2 Original Android Development] pejicgoran:
It works i try.I send and recive file.You just need to find a points on backside when it works.

Ps:You must pulldown bumper

Edit.In youtube apk sound is a litlle lower then earrly.
[G2 Original Android Development] wq0913562:
Why?
[G2 Original Android Development] popxunga:
Why not ?

It doesn't hurt and may avoid issues.

Google it.
[G2 Original Android Development] nickname9:
The background static noise is still present (first and second volume increments), I tried messing with the numbers and I got to the point where the static noise became hissing but the volume was too low.

The issue is more noticeable when listening to something soft like talking or when music ends and fades, on YouTube, twitch (the apps I tested).
[G2 Original Android Development] keikun007:
does anybody have a dead zone on their screen near the top?
[G2 Original Android Development] cauch_y:
As a good practice I would like to inform that Bluetooth problem was probably related to autostart of Yanosik app (it tries to sense if Bluetooth is on to connect to car audio). I did not make a clean flesh I just turned off the app from autostart.

Thanks for support!

Best regards
[G2 Original Android Development] alvinprimo:
Just try it..confirm working!

Thx for the tips
[G2 Original Android Development] wq0913562:
Meh: https://jira.lineageos.org/browse/REGRESSION-1417
[G2 Original Android Development] LooCoreZ:
Hi,

i tested the last build and can confirm that the wifi disconnect while going into sleep mode with some router seems to be fixed.

Thank you to all developer for your great support.

Regards

LooCoreZ
[G2 Original Android Development] Boopie11:
Did you had the issue before? any drawback?