yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] tambukey:
Yeah that is also happening. I went and changed back the mixer_paths.xml and audio_platform_info.xml manually but the problem still persists. I think it is due to a full file change of the audio_platform_info.xml. I am looking to see if I can find an older version, or if anyone on here still on a 5.x version could upload the file /system/etc/audio_platform_info.xml that could help until [MENTION=5461026]kessaras[/MENTION] can address it.

So watching top, mediacodec hw/android.hardware.media.omx@1.o-service and mediaserver immediately stop running once headphones are plugged in. one two occasions plugging in the headphones has brought up Google Assistant but it cannot hear me. (that could just be the phone mistaking for a headset though) It is really weird too because the playback doesn't stop on plug-in (that part is how it is supposed to work) but the playback just keeps skipping back and forth, like i'm watching my playback say 3:21, 3:20,3:22,3:20 and never progressing or doing anything else.

This problem affects all sound so long as headphones are plugged in. I do not own non BT headsets to see if it affects that too.
[G4 Android Development] MetaColon:
I don't think so, as I unlocked my bootloader normally and never had any issue with playing videos on other ROMs. I do however encounter the lags as well.
[G4 Android Development] michael_0394:
H811 here I have same issues with headphones right now and still no internet connection with USB tethering ?
[G4 Android Development] kessaras:
Will read it when I have time. Thank you for the log.

I don't know how you did it and your bt audio worked guys but mine doesn't.

Anyway. If I don't have the same issues I will ask for your logs.

[MENTION=5659251]aha360[/MENTION] just use the previous build for now. until i fix this too.

Some things got fixed some others broke. It sucks. But thats why i build on every change so that we can always be up to date and with working stuff.
[G4 Android Development] tambukey:
It is basically anything that has to do with the headphone jack. I just want to ask, why were there so many audio changes? besides BT audio everything was working. By anything I mean all sounds do not work if something is plugged into the headphone jack. You can test it by plugging a head phone, going to the phone app with the dial pad sound on, and for me it creates a very big lag and no noises when pressing a bunch of buttons
[G4 Android Development] ThePiGuy:
They were all outdated as O uses different files (I think xmls instead of confs) and whilst it did fall back to confs, it wasn't great practice and it gave [MENTION=5545101]steadfasterX[/MENTION] and [MENTION=5461026]kessaras[/MENTION] a chance to rewrite them in the hopes they stumbled across the problem for BT calling
[G4 Android Development] spartan268:
Nougat works fine. Oreo is what breaks it. I believe when you revert back it'll still be broken too. Several other users reported the same thing from the UsU thread particularly H812s like myself. Nougat AOSCP and everything else is stable but this rom isn't for us. Other legit H811 users, don't get that problem on this oreo rom.
[G4 Android Development] nummer:
Naw, after reverting back to stock marshmallow high res video playback worked fine again, and it still does after upgrading to nougat :victory:
[G4 Android Development] elcoya06:
I have installed Aospa 8.1 and I do not have sound to make calls and it does not record sound nor does it record sound the camera .. I have read several pages to know if someone had the same problem .. but they are many and I do not find any solution. Is it the problem of the rom? or compatibility with my cell
[G4 Android Development] fi5z.x9:
hi guys, after a reboot I realized my recent button stopped functioning, plus I can't expand my notification panel to access the quick tiles. Already cleared delvik/cache still not functioning. Anyone got suggestions
[G4 Android Development] kessaras:
i fixed some audio issues but it looks like other issues came up.

no big deal if i dont fix them all ill just revert them and let the bt audio go to ...*ell.

all these audio sh*t are so hard to fix them when the only phone out there with the same audio chipset (Qualcomm WCD9330 Audio Codec) is galaxy note 4 with even less support than g4.

i dont know where i can find the audio configurations that will work, i dont know what do add/remove in the hal, i dont know which hals i should fix.

for example i fixed the amplifier and now you say you dont have the linein working.

Source ? huh. source is a joke. thats even worse. we r the only msm8992 with active development while i use stuff from kernels 3.18.x + to maintain 3.10.108.

Bullhead source can only be used at an extend. impossible just to copy a source. On every cherry-pick i have to add my part. Took me 4 hours just to update and add some fixes in kernel level for the sound....

So if i dont get everything working, i will just let it be just like it was before.

Just use a build that works best for you , thats why i build always when i change something and let you test it with me.

(EDIT)

In a few words, this phone is crazy hard to maintain it. its a miracle it even works so good. But dont worry. in the end the worst case is to just revert the audio changes and ignore this bt audio problem.
[G4 Android Development] tambukey:
Yeah I always go to the Nexus 5x for sources. That phone is essentially a G4 and has some good development behind it. I know it isn't exact though. It does have the exact same audio chipset though, so it isn't only the s4 note. I'll be digging through Nexus forums, gerrits, and github to see if I can find anything close. The only thing that seems to suck is it looks like the Nexus 5x uses different busses for some of the audio signals, and I feel like that would make it a pain to crossover some files.

Edit: sorry i must of skipped over the word bullhead, but yeah I understand the issue. Wish I could learn fast enough to help more than just comparing ****.
[G4 Android Development] ThePiGuy:
Yep just looked now. Apparently it is also the same as the OnePlus 2
[G4 Android Development] steadfasterX:
If you refer to BT calling:

could you pls share a logcat as described here:

https://xdaforums.com/showpost.php?p=76525319&postcount=106

that would be a great help as for me and others this issue is still NOT fixed

Actually we have these: nextbit, oneplus2, sony kitakami afaik

-
[G4 Android Development] ThePiGuy:
Is this BT calling or standard calling?
[G4 Android Development] Ironic:
I can't stream to my TV with the latest parfait version.

The G4 just won't find my TV, while the S8 of a mate from me finds it instantly.
[G4 Android Development] tambukey:
Are you referring to Chromecast or other service through a smart TV? i haven't tried chromecast on the 6.0 version yet, but it seems like Parfait is really still an Alpha release with some of these new bugs. I would revert back to the latest 5.x version if you need.
[G4 Android Development] Ironic:
It's called AnyCast by Hisense but it worked on early stages of the version 5.X.X.

There is also another problem. When i'm connected to my PS3 via Spotify and a friend of mine starts playing music on the ps3 via his android phone, I can't take back control. The PS3 disappeared in the list of available playback devices.

I think this is because of some wifi problems in this android version because i am the only one with problems regarding MY devices in MY wifi-network.
[G4 Android Development] tambukey:
Not sure what's up. I'll play around with casting later today since I am at work. Did you try turning on and off wifi on your phone? Did that change anything? Are you using a 2.4ghz or 5ghz wifi?
[G4 Android Development] Ironic:
Yeah, of course. Also restarted my phone. I only have 2.4ghz activated, but other guys don't have any problems in my network so it MUST be regarding to my G4.
[G4 Android Development] tambukey:
I wasn't doubting it was the phone, but was trying to learn more to discern what on the phone is the issue. I have had issues in the past with 5ghz networks cause for some reason Oreo did weird things to it. When you updated did you do a clean or dirty flash or use any type of backup (like titanium)? Sometimes wireless services get messed up when updating, I had bluetooth basically just stop working and even a clean flash didn't fix it. Had to manually remove bluetooth files and find original ones again. But like i said before, try dirty flashing to the older build and see if the problem persists. If it does it may be something else that isn't necessarily affected by the ROM.
[G4 Android Development] Ironic:
Now i did a dirty flash from 5.X.X to 6.0.0. But the 5.X.X was a clean flash, where streaming wouldn't work, too.
[G4 Android Development] ThePiGuy:
No idea if this will help at all, but you could always make a twrp backup and then clean flash 6.0.0 to see if that helps
[G4 Android Development] tambukey:
Your streaming was broken on the 5.x version too? That isn't a ROM issue to me any more. As no one else has this problem. I have had zero issues with streaming this far, and just haven't tested 6.0 yet. Sorry not sure where to go from that though. Try other apps for streaming, or try to stream at someone else's place.
[G4 Android Development] gioxoid:
I'm on the latest N version. What does it mean when the screen goes black, the phone becomes unresponsive and the led pop out in blue color?

Generic crash or something more specific?
[G4 Android Development] steadfasterX:
I fixed the jack port issue (and some other sound stuff) which was a combination of 2 issues at all:

https://gerrit.cypheros.co/#/c/CypherOS/kernel_lge_msm8992/+/4782/

https://github.com/CypherOS/device_lge_g4-common/commit/80e682e4e5ccc7e1068f87922b05bae48c78dcc6

Will be included in the next build.

-
[G4 Android Development] ntnlzr:
check logcat?
[G4 Android Development] tambukey:
Damn good Steadfaster. I saw that difference between the Nexus 5x and ours in the audio_platform_info.xml, and thought something along that the output devices weren't defined in our version. But I still really know very little for most of this, and hadn't gotten to just throwing files at my phone cause that's about all I can do. I mainly look through all the gerrits for syntax :eek:
[G4 Android Development] steadfasterX:
well yea but just reverting the XML was not enough and just reverting the kernel change neither.

really both together caused that issue ..

.
[G4 Android Development] dat_benjie:
Had that problem after a dirty flash from Oreo back to Nougat. A clean flash of the latest N version fixed it for me. :svetius:
[G4 Android Development] gioxoid:
No, my friend. Coming from official N of LG.
[G4 Android Development] dat_benjie:
Edit: Nvm
[G4 Android Development] gioxoid:
wilco. At a glance the problem seems related to Magisk, when some apps require root access, the phone crashes.

I'll check logcat in next hours when the issue comes back

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

Clean flash you mean formatting also personal data partition ?

No, I did a factory reset, installed the AOSCP Zip plus Gapps plus Magisk, factory reset again a booted.
[G4 Android Development] dat_benjie:
No, edit: with /edit clean flash I meant wiping Cache, Data, system and Dalvik in TWRP. You could try that, flash aoscp, gapps and magisk/supersu
[G4 Android Development] crazycorp:
Hi all !

First, thanks to [MENTION=5461026]kessaras[/MENTION], for this ROM ! really awesome, my G4 has a new life :D

I managed to make HostSpot working by creating a hostapd.conf file in /data/hostapd/ with this simple content :

I don't know yet why System ui Hostpost configurator can't write a valid config file and why when tunring hostpost ON, hostapd daemon only look for /data/hostapd/hostapd.conf but .. it's working and I can manage to have Data on my wifi client

I'm looking closer at logcat...

My 2 cents
[G4 Android Development] tambukey:
That's awesome. I'll do this later today to verify. To check, did this work by "turning on" hotspot with that file already created, or does it just work once the .conf is created?
[G4 Android Development] crazycorp:
On/Off hotspot from the UI is working (once the file is in the folder), so it's a 7/10 workaround ^^

Notice : on my G4, I had to chmod 777 otherwise this file cannot be read (adb logcat | grep hostapd.conf and see if you have read file message)
[G4 Android Development] tambukey:
Will do, i'll be off work soon so I should be able to test in about an hour.

Edit: Never mind decided to just do it here, and can confirm it works.
[G4 Android Development] kessaras:
Hostapd was not there ?

I thought I had added it. I will look into it to add it in the Hals to see if it will get built from open source otherwise yes I will do the same and add it prebuilt.

Good finding.
[G4 Android Development] ThePiGuy:
Nice work - I can confirm here that it works as well. Btw, not sure all the info is required - I tried changing the AP name on my phone and it changed on my laptop but the hostapd.conf stayed the same so I wonder if that is redundant
[G4 Android Development] aha360:
LMFAO

It works

IT WORKS

ITTTTTT WOOOORRRRRKKKKKKKKKSSSSSSSS

Jokes aside, the WiFi hotspot configuration doesn't work, even if the Permissions are changed to CHMOD 777, but it still works.

What a great start to Ramadan LOL.
[G4 Android Development] gioxoid:
Something wrong about gps ?

Phone is burning
[G4 Android Development] crazycorp:
:victory: Yes, I can't see where Hotspot configurator write his configuration, but the file is never modified and I can't see any write permission issue when I modify the SSID from the UI but as you said it's works
[G4 Android Development] ThePiGuy:
Check /data/misc/wifi/hostapd.conf and see if that exists
[G4 Android Development] tambukey:
Based on the logcat from turning on and off Hotspot it looks like SEpolicy is blocking it from changing anything in hostapd

05-17 13:58:41.713 27879 27879 E hostapd : Configuration file: /data/hostapd/hostapd.conf
05-17 13:58:41.712 27879 27879 I hostapd : type=1400 audit(0.0:2337): avc: denied { read } for name="hostapd.conf" dev="mmcblk0p55" ino=811012 scontext=u:r:hostapd:s0 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=1
05-17 13:58:41.712 27879 27879 I hostapd : type=1400 audit(0.0:2338): avc: denied { open } for path="/data/hostapd/hostapd.conf" dev="mmcblk0p55" ino=811012 scontext=u:r:hostapd:s0 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=1
05-17 13:58:41.712 27879 27879 I hostapd : type=1400 audit(0.0:2339): avc: denied { getattr } for path="/data/hostapd/hostapd.conf" dev="mmcblk0p55" ino=811012 scontext=u:r:hostapd:s0 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=1
05-17 13:58:59.287 28161 28161 E hostapd : Configuration file: /data/hostapd/hostapd.conf
05-17 13:58:59.284 28161 28161 I hostapd : type=1400 audit(0.0:2349): avc: denied { read } for name="hostapd.conf" dev="mmcblk0p55" ino=811012 scontext=u:r:hostapd:s0 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=1
05-17 13:58:59.284 28161 28161 I hostapd : type=1400 audit(0.0:2350): avc: denied { open } for path="/data/hostapd/hostapd.conf" dev="mmcblk0p55" ino=811012 scontext=u:r:hostapd:s0 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=1
05-17 13:58:59.284 28161 28161 I hostapd : type=1400 audit(0.0:2351): avc: denied { getattr } for path="/data/hostapd/hostapd.conf" dev="mmcblk0p55" ino=811012 scontext=u:r:hostapd:s0 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=1
[G4 Android Development] aha360:
It exists - see attached my .CONF file
[G4 Android Development] obvious:
Maybe bite the bullet and have a completely fresh start. Wipe system, data, cache and possibly even internal storage
[G4 Android Development] ThePiGuy:
Yep. In my case at least, this one was the one that held all the correct settings
[G4 Android Development] kessaras:
since O the file moved in another path, but me i kept the old one.

see this commit now, it explains.

https://gerrit.cypheros.co/#/c/CypherOS/device_lge_g4-common/+/4784/1/rootdir/etc/init.qcom.rc

So hostapd service couldn't run. Thank god you found it. There was not a chance i could see this. Not one in a million ~!

(EDIT)

Let me now test for tonight all fixes, because i was at work all day today and i was only contributing by chat. [MENTION=5545101]steadfasterX[/MENTION] also found which one of my commits 2 days ago broke the line in audio. So we r good.

I build, test and share tomorrow.

It was a good day today , thanks to you, to stead and ThePiGuy.
[G4 Android Development] MetaColon:
Nope, I'm having the same issue (at least in Instagram anyway).
[G4 Android Development] elrasho:
Looking at the OP I cant see a list of outstanding bugs, please can someone help me with that.
[G4 Android Development] burish:
Bluetooth calls

WiFi Hotspot (maybe getting fixed in a short time)

AFAIK thats all
[G4 Android Development] elrasho:
Thanks :)
[G4 Android Development] tambukey:
I still believe this isn't a rom issue. Streaming is fine for most people. I don't understand the instagram issue, I know some have reported trying to take photos through the app causes it to crash, but I have never used Instagram so I know very little on the bug. I think for any one having these issues, they need to do a full clean install and absolutely no backup of apps to verify it is the rom. I know it sucks losing some data, but the only thing for like 99% apps not saved on their own networks is custom app settings( like color changes, or loss of games saves locally cause I know my Sudoku app does that) but none of that is life changing. It shouldn't be on Kessaras to fix bugs that are most likely not his issue, especially with how little free time the man has already.

Edit: I updated to the latest version, 0518 and so far so good on the fixes. All audio on heaphones works, but not sure if it was just me, but turning on system sounds and listening through the headphones was causing some serious lag on the phone.(luckily I never have system sounds on). Hotspot seems to be working, laptop can connect to it but due to my crappy signal at work i'm not sure if data is getting through or not.
[G4 Android Development] berkantkz:
Restart the ril with the app I linked above
[G4 Android Development] Bleuzen:
[MENTION=5545101]steadfasterX[/MENTION] What is the difference between your droid and leech servers? I downloaded from the droid one until now, but I saw that the link has changed. What happened? Or is this only a mirror?
[G4 Android Development] steadfasterX:
droid.binbash.it is the old name

leech.binbash.it is the new one

both point to the same server though but droid.binbash.it will be disabled one day.

.
[G4 Android Development] aha360:
Today's version - aoscp_h815-6.0.0-CBNP.8102.18.05052-unofficial.zip - now has the following working:

• Audio via earphones and via the loudspeaker

• WiFi portable hotspot, complete with the ability to reconfigure the portable hotspot settings

• Start-up boot - the previous Parfait versions had an error message upon start-up
[G4 Android Development] WiZaRd981:
Yep... Earphones and hotspot working now.... But why microphone don't work again... It works on carrier calls but with online apps like Whats App and Viber it doesn't... I checked permissions everything is fine.. I rly like this ROM nah ?

Edit: Well also when recorded video there is a sound but why doesn't working on these above apps ohhh ?
[G4 Android Development] michael_0394:
WiFi hotspot is working now but for some reason I still don't have internet connection. I tried attaching a log, I turned on the hotspot and waited for it to connect then paused the log.
[G4 Android Development] WiZaRd981:
Tested microphone... Main doesn't work.. But rear work..
[G4 Android Development] elcoya06:
in the last compilation if the microphone works with the camera ... but for applications like telegram and whatsapp the microphone does not work ..
[G4 Android Development] tambukey:
[MENTION=5461026]kessaras[/MENTION] I tested the mic a few different ways and it seems to bee only /system installed apps can actually hear anything from it. Also like others are saying the hotspot connects but will not share data through it. I'll try to get logs later after work.
[G4 Android Development] Ironic:
Yeah, microfon also won't work here, like in WhatsApp.

Could someone just try out to mirror his screen to TV via the streaming tile? I still believe this is rom related, because a clean flash is NOT the solution.
[G4 Android Development] tambukey:
I can mirror my phone perfectly to my chromecast.

[MENTION=5461026]kessaras[/MENTION], [MENTION=5545101]steadfasterX[/MENTION] currently by switching back and forth on speakerphone the mic becomes muted so the person on the other side can't hear you. Even going back off speakerphone the mic is still unusable.
[G4 Android Development] Ironic:
Still odd but thanks.
[G4 Android Development] furkansahin_fs:
Handset volume is too high and very bassy. I try to fix it through mixer_patch files but I can't be successful. What should I do ?

H815 TR

Last version of Rom
[G4 Android Development] michael_0394:
I have another log for USB tethering, it shows up on computer but with no internet connection
[G4 Android Development] raptorddd:
whats app microphone its voip related in mixers path

found this fix

1. Browse to /system/

2. open build.prop with an editor

3. Search for two lines:

use.dedicated.device.for.voip=true

use.voice.path.for.pcm.voip=true

4. Change both of the above to ' =false '

5. It should now work

6. Don't forget to reboot!
[G4 Android Development] aha360:
You got that wrong - from my experience, those two lines you have mentioned HAVE TO END WITH "=true", and I had one of those lines end with "=false"

Once I did that, it, the microphone, was working again
[G4 Android Development] steadfasterX:
Replace this xml in system/vendor/etc and reboot to test again :

https://github.com/Suicide-Squirrel...41b047cb1b10d45/audio/audio_platform_info.xml
[G4 Android Development] dat_benjie:
For some reason, when I flash this ROM, my mobile network doesn't work. I flashed the Titan Kernel, modem and bootloader are v29a, did a clean flash, but no cellular data. I tried to manually type the APN settings of my carrier, but nothing has changed. Does anybody have a clue how to fix this? On the N AOSCP and LOS 14.1 the internet is working without issues.

Any help would by highly appreciated. :)

EDIT: I have an H815
[G4 Android Development] tqwzUX6fn39GZMEzSnDF:
I cannot help, but confirm for H815: I'm facing same issues since 05-15 update. I've tried several times and checked different versions with restore and new flashing. Always same result: Before 05-15 mobile internet works, with 05-15 or 05-18 it doesn't.
[MENTION=5461026]kessaras[/MENTION]: is there any kind of log which is helpful?
[G4 Android Development] ThePiGuy:
Is that even an LG G4? I thought all G4's were H81x or the vs986
[G4 Android Development] shahid111:
Yes...please tell me where to find roms for h650d model :confused:
[G4 Android Development] ThePiGuy:
I don't even think that exists as an LG model at all (so check again - I think you have it wrong).

These are the g4 models (courtesy of gsmarena)

H815 (EMEA), H815TR (Turkey), H815T (Hong Kong), H815P (LATAM, South Africa), H812 (Canada), H810 (AT&T), H811 (T-Mobile), LS991 (Sprint), VS986 (Verizon), US991 (US Cellular)
[G4 Android Development] DosenHatti:
It's G4 Stylus.

Gesendet von meinem LG-H815 mit Tapatalk

---------- Post added at 12:26 PM ---------- Previous post was at 12:24 PM ----------

It's G4 Stylus.

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] ThePiGuy:
Nope gsmarena says g4-stylus are

H631 (T-Mobile); MS631 (Metro PCS); H635 (EMEA); H540 (UAE); H630D (India); H542 (Mexico)

I agree it is more likely though than standard g4 though - if it is a stylus, this is the wrong forum and thread
[G4 Android Development] bedencic:
since i like to flash each new update with fresh install, i am interested if there is a way to save/backup all system settings, about display ringtones, locking screen and such.