yashsingh1/xdaforums huggingface dataset:
[Nexus 5X General] NForce25:
Well I'm running the 20160621 nightly right now and it really doesn't feel like fixed
[Nexus 5X General] Wooaarr:
It definitely is not fixed and even changing changing the mixer_paths as suggested doesn't completely fix the issue. (Although it does help)

I have the feeling the sound gets a bit distorted.

There must be something else at play here.
[Nexus 5X General] marsaltito:
Not fixed , it was just hope i get . :(

I had 100% same issue on BB Q10 , take about 6month to fix !! Hope CM will be little faster then BB . :)

N5X CM13
[Nexus 5X General] sherincal:
At this point I feel like I am better off waiting for N and hope that this sound bug won't return in that version of CM. The issue has been up in Jira for a long time.

https://jira.cyanogenmod.org/browse/NIGHTLIES-2789 The problem is apparently fixed but it isn't.

https://jira.cyanogenmod.org/browse/NIGHTLIES-2973 This is just being totally ignored I feel. I feel like I should just tweet this at ciwrl or something. He is a busy man but if he can't maintain, maybe he should try and actively find someone else who can maintain the device.
[Nexus 5X General] razorloves:
There was only one device specific change that was merged the day this low sound bug started, so let's see if it's the cause.

I'll revert it and make a build for you guys to test. I would test but i don't have access to a 5x anymore.

I'll post back in a few hours with the download link.

EDIT:

Here's link https://www.androidfilehost.com/?fid=24588212152304091

This is just like a new nightly. Only difference is the suspected change is reverted.

First, make a backup in twrp, in case you need it.

Then flash it like normal. No wiping needed.
[Nexus 5X General] Wooaarr:
Maybe I'm just imagining it, but it seems to work for me with your build.
[Nexus 5X General] NForce25:
Nope, it didn't help at all. It's more likely that the update to android 6.0.1_r43 triggered this bug
[Nexus 5X General] razorloves:
nah, that happened on may 3rd, so that would have broke the nightly on the 4th.

sound was fine on the may 4th nightly.

Steve and Roman did several audio patches on the 4th. I would think those are the culprit.
[Nexus 5X General] OhioYJ:
I'll try and test your ROM tonight with the sound meter. I'll also go back to factory and give that a whirl, just so we have a baseline with it is with the Google software as is.
[Nexus 5X General] razorloves:
cool. thanks

Got another test build. https://www.androidfilehost.com/?fid=24588232905720340

This one reverts the few changes steve made to audio hal on the 4th may

Also has same revert as previous test build.
[Nexus 5X General] OhioYJ:
Downloading the new build now. The first test build didn't do it. 78 dB on that one. I'll post up all the results together soon so they are in one place. The MTC19V Google build is just slightly louder than the 4-18 snap shot, but not by much. Now to put TWRP and everything back on my phone......
[Nexus 5X General] OhioYJ:
Ding Ding Ding we have a winner. That one definitely measures louder for me. Right after I booted it right away It seemed louder to me. Perhaps a couple others could try it out and see what they think.

As you can see playing MP3 files there is a much larger volume difference even. To my ears it does indeed sound better with the changes Steve made merged, but we aren't exactly talking a high fidelity speaker to begin with. So does it really matter? Personally I would think the volume level is more important, the audio quality is still acceptable without the changes. When I'm listening to music, I'm typically doing it through bluetooth, or through the the AUX jack anyways.
[Nexus 5X General] razorloves:
Ok... getting closer to the exact cause of the low volume.

Here's another test build: https://www.androidfilehost.com/?fid=24588212152304135

This one only reverts part of one change.

Fingers crossed.
[Nexus 5X General] jbburf:
Could you explain what the vendor image is and why it needs to be flashed? Everything is running smoothly for me but this is a mystery. Thanks in advance.
[Nexus 5X General] Jonathan_m84:
It contains the vendor specific drivers, google it. You can downlosd it in various places, just look for it and flash it in twrp..
[Nexus 5X General] OhioYJ:
I think you got then. That build is still 81.5 dB, a little more than 81.5 actually. That's probably just splitting hairs though.
[Nexus 5X General] razorloves:
Sweet. thanks. I was pretty sure the changes in that file were causing the problem.

The audio calibration is not being sent to the correct sound device (acdb id). I'm just not sure how to fix it properly.

I'll talk with ciwrl and see if he has some time to assist me or to just fix it himself.
[Nexus 5X General] Midomad:
Nice Catch,

Appreciated.
[Nexus 5X General] razorloves:
An update on the low sound.

Just spoke with ciwrl and he wasn't even aware of the issue or the jira bug report. :(

We discussed it and he looked into the issue briefly, but said he would talk to steve about it.

Makes sense since steve is the one who made all these audio changes to the 5x.

I'll keep you guys updated if i hear anything else.
[Nexus 5X General] razorloves:
I haven't heard anything back yet so i stepped it up a notch. lol

I submitted a change to increase the volume level in mixer_paths file.

This will give it more exposure and increase the chances of Steve looking into it sooner.
[Nexus 5X General] doyou37:
:good::D
[Nexus 5X General] OhioYJ:
Your JIRA link in there doesnt work for me? Might want to check it. Maybe its just down at the moment?
[Nexus 5X General] marsaltito:
I just check it and it works . ;)

N5X CM13
[Nexus 5X General] razorloves:
It's a long time known issue in cyanogenmod's gerrit. All jira links go to cyngn.com instead of cyanogenmod.org.
[Nexus 5X General] razorloves:
Well, I spoke with ciwrl again and turns out steve lost his 5X in the ocean the other day. lol

Sucks, but they said the mixer_paths edit is the best way to go. So, my change has been merged.

It will be in the next nightly (2 July).

Test it out and let me know if the results are good. :good:
[Nexus 5X General] allard1997:
So this is just a workaround merged in CM13 and not actually a fix?
[Nexus 5X General] razorloves:
I suspect that a better fix is elsewhere, like i mentioned in a previous post, but i could very well be wrong. I'm no expert.

Certainly nowhere near the expertise of ciwrl and steve. Those guys are like world class.

So, since they said to go with the mixer_paths edit, I'm gonna accept that.
[Nexus 5X General] NForce25:
Well, if they proposed to go with that, I'm glad I got rid of CM in favor of OmniRom on my nexus. The speed and sound is on whole another level. I still remember when CM used to be like that, though
[Nexus 5X General] razorloves:
What is so wrong about the mixer_paths edit that would make you say that? Sounds like you know something the rest of us don't. lol. There's only been one person that has tested it at 88 and he reported that it matched the sound prior to the issue. So, that's good since that is the goal here. I'm still waiting on others to report on it, just to make sure it's good, since it's in the nightlies now.
[Nexus 5X General] Jonathan_m84:
Sorry but i agree. The volume is the same but the sound is more distorted with the mixer path fix. I switch roms regularly and chrome has much nicer sounds on the speaker than CM eith mixer path set to 88. Guess the fix for now is ok, but hoping for a better fix from the CM team. Really love CM roms...
[Nexus 5X General] razorloves:
Well, that's what testing is for. You are the first to report that it's distorted at 88. So, now we know it's not a good solution. So, back to the drawing board. lol. All i can do is tell them it's not good. Since none of the cm devs have the device anymore it is not looking good for you guys.
[Nexus 5X General] lcrponte:
Don't overexaggerate... Sound volume is definitely a bit louder (the way it should be I think) and the lows are very slightly distorted.

Maybe this has been already discussed but... Is AudioFX like crap on all devices or what? Everytime that I turn it on, sound volume is cutted by half or so... I have the same behaviour on Nexus 9... Is this the normal behaviour or...?

I have it turned off for all output sources.
[Nexus 5X General] asparaz43:
I had already written that FX audio does not work but no one has seen my post, who is in contact with the cyano team could do this :o

http://xdaforums.com/showpost.php?p=67288562&postcount=781
[Nexus 5X General] lcrponte:
[MENTION=5011098]asparaz43[/MENTION] Different topics... AudioFX works, it does what it's promised. Add effects to what you hear, just with a very low sound output and that may be a bug. I'm not using it because of that anyway.

I've seen your post but I just ignored it because you were mixing two different problems ;)
[Nexus 5X General] NForce25:
Someone else reported distortion on 88 too, that's exactly the reason why I don't agree that this is a proper fix. LG d802 also has low volume on cm13 - if you edit mixer_paths to match the volume of stock ROM, there are noticeable distortions too
[Nexus 5X General] asparaz43:
I doubt that the two are related but probably I'm wrong
[Nexus 5X General] OhioYJ:
The volumes measure the same as prior to the issue, and is actually almost exactly the same as the factory MTC19V. That being said, perhaps the problem here is all my music and videos are normalized and don't have any clipping. This could be why I don't hear any real distortion problems on my phone and others are?

[MENTION=614507]razorloves[/MENTION] Was there a reason not to revert that single change. Maybe that's the better route, since people don't like the quality with the mixer path change.
[Nexus 5X General] NForce25:
I guess they didn't want to just revert that change because it would affect multiple devices, even the ones which were not affected in a bad way by this change
[Nexus 5X General] lcrponte:
Is it possible to lower it down just a notch? If RX7 Digital Volume was set from 84 to 88, we have a few values under 88 till 84 to try, right?

Apparently Steve's commits somehow made the lows a little bit richer and if those commits were for a few devices crosswise, we may very well be facing the fact that N5X's loudspeaker isn't as capable as other device's.

By trying to lower RX7 Digital Volume's value notch by notch we may be able to get to the perfect spot.
[Nexus 5X General] razorloves:
Yeah, what NForce25 said is the main reason. It's not so easy to make a change to a file that can affect tons of other devices.

Plus, that change was made by the great and powerful oz, steve. lol. I can't just say "Hey, your change sucks so I want to revert it, even though i'm not sure what the exact problem is." lol

Go ahead and try it. It's simple to change. I provided howto a couple pages back.

But each notch you go down you'll be lowering the volume. So...
[Nexus 5X General] marsaltito:
How to make volume steps to change by 2 ?

N5X CM13
[Nexus 5X General] OhioYJ:
Well and I guess realistically this goes back to what I said earlier, with how often are people actually playing music at loud volumes through their phone speaker? I play music with my phone all the time through a blue tooth speakers, through headphones, etc. I need my phone to be louder when on speaker phone, when ringing, when the alarm goes off, etc, which this change does help with.

Looks like a lot of fixes in todays nightly, I'll update my phone ad check it out.

If everyone thinks it's awful, it'll have to reverted though, and the low sound will just be the new normal I guess. Would perhaps taking up donations for getting a device for a developer be helpful? Everyone is complaining about not getting enough attention for their device, perhaps this would get the 5x some more attention?
[Nexus 5X General] lcrponte:
[MENTION=3062807]Jonathan_m84[/MENTION] [MENTION=3720814]OhioYJ[/MENTION] Can you guys test it @ value 87?

I've just did it and it's much more pleasant to my ears.
[Nexus 5X General] razorloves:
Just consider this mixer_paths change temporary. I'll keep nagging them about needing a proper fix, so hopefully that will go somewhere. Or maybe some developer out there with a 5x will step up and fill the void.

But if you all think the mixer_paths value is better at some other level, like lcrponte is suggesting, just let me know. I can submit it for you, if you want.
[Nexus 5X General] OhioYJ:
I tried both 88 and 87 tonight, I really don't have any distortion at either. However again, all my music/videos is normalized, so my stuff might as well be "pre loudness war". On the Sound level meter, there's essentially no change between 87 and 88, it's actually only the 1 dB change.

So if others agree it sounds better, I see no reason not to have [MENTION=614507]razorloves[/MENTION] push that change to the mixerpaths file. Might as well tweak it and get right. Especially while we have people kind enough to help us, when they don't even have this device.
[Nexus 5X General] lcrponte:
[MENTION=3720814]OhioYJ[/MENTION] Could you try listening something else on YT on max volume? I'm pretty sure that you'll notice something!

Edit: I've randomly chosen this vid to do my tests.
[Nexus 5X General] OhioYJ:
Yeah I noticed a really nice background....

Seriously though, yeah you are right, that was harsh. Even at 87 there seems to be some distortion, but it's definitely better.

I downloaded that video and did some checking into, it sits right at 94.2 dB, so it is louder than it should be, but it's far from the loudest file/video I've come across out there. Which means when someone comes across a video that the average 99 or 100 dB it will most likely distort really badly at max volume. (those are levels of the sound files, not measured levels from the phone)
[Nexus 5X General] lcrponte:
[MENTION=3720814]OhioYJ[/MENTION] "...but it's far from the loudest file/video I've come across out there. Which means when someone comes across a video that the average 99 or 100 dB it will most likely distort really badly at max volume..."

w00t? 100 dBs? You're watching too much John Cena vids xD

What's your suggestion than? Should we keep lowering it? We'll end up on '84' again :cool:
[Nexus 5X General] OhioYJ:
No, I don't want to end up at that point. Files that are that loud will always contain clipping and such anyways, that's the problem with the loudness wars. We need more users input to see what kind of quality they are getting out of real world use.

If nothing else, lowering it to 87 I'd say is definitely a good idea. I'm hoping this isn't much work for [MENTION=614507]razorloves[/MENTION] to do?

I'd say we leave it at 87, and wait and see if anyone else complains, unless you see a reason to change it?
[Nexus 5X General] Jonathan_m84:
In my opinion, the only way to compare is to stock. And then work on the audio drivwr. But i can unserstand that it is a job for the pros. Maybe [MENTION=2040569]jgcaap[/MENTION] can help?
[Nexus 5X General] OhioYJ:
The stock MTC19V flash using my test file based on the Orion ringtone measures 82.5 dB at 12", max volume, mix path file set at 88, was at 81.5 dB, so it's still technically quieter. Although I didn't try other files while stock, so there could very well could be distortion in factory form at max volume?
[Nexus 5X General] jgcaap:
hello. What do you need exactly?

thanks
[Nexus 5X General] Jonathan_m84:
Hi, we are discussing the audio probpems that were introduced into the may 4th release. Ever sibce the audio has been low. Recently there has been an update to ibcrease the volume but that was a temporarily fix. The real fix could be in a post made earlier from razerlove:
[Nexus 5X General] marsaltito:
Anyone experience wifi connect but no internet ? (build from 02.07)

Checked connection with PC and N7 both work !!??
[Nexus 5X General] biggreen:
Yes, build 30.06 , sometime after big phone sleep see wifi without internet, after reboot all ok..
[Nexus 5X General] marsaltito:
I did try reboot but no help . I update to latest niygtly to "fix" this issue ?!

N5X CM13
[Nexus 5X General] NForce25:
I've tested that d'n'b mix someone posted here on OmniRom with stock mixer path values (there is no low sound problem). No distortions on max volume
[Nexus 5X General] razorloves:
Can someone test this build? It has the new proprietary files from the MTC19Z update that google released the other day.

https://www.androidfilehost.com/?fid=24588232905720937

Make a backup in twrp first.

If you have any problems with it, try the new vendor.img with it https://www.androidfilehost.com/?fid=24588232905720811

I just need it tested before it's merged into the nightlies.

Thanks
[Nexus 5X General] mlord:
As soon as TWRP finishes the backup, I'll flash it and use it here today.

Thanks!
[Nexus 5X General] dimine:
I am running it now without the new vendor.img, no problems so far. Anything special to test?
[Nexus 5X General] razorloves:
thanks. just normal basic functions. cellular data, wifi, gps, phone call. :good:
[Nexus 5X General] mlord:
I installed both the CM13 package and the vendor.img file.

After rebooting and rebuilding the Dalvik cache,

the screen presented me with this message:

Android System

There's an internal problem with your device.

Contact your manufacturer for details.

OK.

The phone (data/wifi/voice) all appears to be working otherwise. Not sure what that message was about. Restoring from backup now..

EDIT: I restored only

vendor.img

from the backup, rebooted.. no message this time. Phone appears to be normal, GPS, data, wifi, voice all good.
[Nexus 5X General] dimine:
Works fine, took a short trip with navigation, made a test call.
[Nexus 5X General] razorloves:
oh yeah, forgot to tell you guys you can ignore that message in this testing situation.

You get that message whenever your vendor.img build id (e.g. mtc19z) doesn't match the rom build id.

thank you all for testing. :good:
[Nexus 5X General] Shebee:
Hi, you can fix this problem by matching the build.prop values found in the /vendor partition with your build.prop values from the /data partition (or is it in system? I forgot).

All you need is a root browser/explorer. I did the editing on my computer for fast copy/pasting though.

Edit: didn't notice your edit :D
[Nexus 5X General] mlord:
Which nightly first has (or will have) these updates?

Thanks.
[Nexus 5X General] razorloves:
I'm waiting for them to be merged. Ciwrl is afk for a week and it's the weekend, so might take a couple days. I'll let you guys know.

Or you can just check on them here:

https://github.com/TheMuppets/proprietary_vendor_lge/pull/192/commits

and

http://review.cyanogenmod.org/151852
[Nexus 5X General] marsaltito:
Woooottt ! You get new battery with DU rom ??? Must have to !

N7(flo),N5X CM
[Nexus 5X General] jabarel:
for me its ok :)
[Nexus 5X General] razorloves:
These are now merged. The blobs update will be in the 12 July nightly, but the build id/fingerprint update came a little too late so it will be in 13 July nightly.

In case you need it, the newest vendor.img from the MTC19Z factory image is here. Instructions for updating the vendor.img here.

Also, the MTC19Z factory image has a new bootloader, but the radio is the same. You can get them here:

bootloader bhz10p

radio 2.6.32.1.13

These cannot be flashed with TWRP, only with fastboot.

All files are directly from the factory image on google's site here.
[Nexus 5X General] nikosddesign:
changelog?
[Nexus 5X General] mlord:
Do any of those get installed as part of the nightly update?

Or are they always a manual thing we just have to do ourselves?

Thanks.
[Nexus 5X General] OhioYJ:
You mean for the 5x CM?

Bullhead CM13 Changelog

Or did you mean for the July Security Update for Google:

Google's July Security Update Change Log
[Nexus 5X General] razorloves:
None of the cm roms come with the vendor.img. Some cm roms come with radio and bootloader (mostly just a few nexus devices and oneplus one), but the bullhead rom does not.

So, you have to flash yourself.
[Nexus 5X General] mlord:
Thanks. Flashed.
[Nexus 5X General] OhioYJ:
*edit* too slow, everyone beat me to it.

This is where some of the newer devices are different from older devices. In this case you need to flash the vendor image separately. These updates are not included in the ROMs (for this device).

So you will need find the vendor image, or download the complete factory image from Google, and separate out the vendor image and flash just that part. If you don't know how to do this, there are tool kits that will do this for you, personally I'll recommend:

Mark Skippen's Toolkit.
[Nexus 5X General] mlord:
Actually, Google themselves provide simple command-line (fastboot) instructions for it along with the images.

Cheers!
[Nexus 5X General] OhioYJ:
They do, but the toolkits, are kind of nice as you dont have to separate anything or type anything. Sometimes they are quicker. Some times its easier to use the command line, just depends on what you're doing I guess.
[Nexus 5X General] nikosddesign:
_------------

5x cm

Thanks for the link!
[Nexus 5X General] marsaltito:
Do i need to install TWRP again afte bootloadre update ?

I cant remember from last time i did that ! :)

update: i did it after making backup and TWRP is stil there after bootloader update ;)
[Nexus 5X General] Ritwyk:
Do we need to flash the MTC19Z vendor for the July 14th (or July 13th) nightly? I don't see the fingerprint update in the changelog yet.
[Nexus 5X General] razorloves:
http://xdaforums.com/showpost.php?p=67705832&postcount=864
[Nexus 5X General] datagubben:
Is there still a sound issue with cm13?
[Nexus 5X General] razorloves:
Another update to the low volume issue:

I spoke with dcd a few days ago about my suspicion that calibration is being done wrong, which was caused by steve's change here.

He came up with a fix and tested it and volume was back to normal. :good:

So, he submitted to gerrit today. Let's see what happens. heh. http://review.cyanogenmod.org/152757
[Nexus 5X General] OhioYJ:
Does that mean the mixer path change will be reverted to so we aren't mixing fixes?
[Nexus 5X General] razorloves:
of course
[Nexus 5X General] sherincal:
OH MY GOD, FINALLY! The mixer paths bandaid fix did not fix things for me ): But if this finally fixes it, I might be a happy camper finally.
[Nexus 5X General] razorloves:
Just a heads up. I would avoid using the July 16 nightly.

Steve only merged the volume fix change and left the mixer_paths change.

So, the volume will be loud and distorted.

If you still want to use it, you can manually change the mixer_paths value. Like described here, but to 84 instead of 88
[Nexus 5X General] GuruDude:
The last time I updated the vendor img it reset the phone. Is it how it works or did I do it incorrectly? Thanks!
[Nexus 5X General] lcrponte:
[MENTION=5838664]GuruDude[/MENTION] You did it incorrectly.
[Nexus 5X General] GuruDude:
What's the process to update the system seamlessly from MTC19V? Do I update vendor through TWRP and then update bootloader using fastboot? And then will I need to reinstall TWRP?

Thanks!
[Nexus 5X General] Jonathan_m84:
No need to reinstall TWRP, the rest is correct
[Nexus 5X General] OhioYJ:
And the July 17th nightly, doesn't look like it will make it into the 18th either currently. Hopefully they get it merged soon.

Just glad its getting some traction. Thanks for all your help razorloves.
[Nexus 5X General] allard1997:
Edited the mixer path myself and can confirm that the sound issue is fixed!
[Nexus 5X General] OhioYJ:
It got merged, the mixer path edit will be the July 18th nightly. So hopefully that should be the first ones that everything just works, thanks to [MENTION=614507]razorloves[/MENTION] taking the lead to fix and help fix these problems.
[Nexus 5X General] lcrponte:
Audio is perfect now. Even AudioFX has it's usefulness now!

Great connections that you have [MENTION=614507]razorloves[/MENTION] ;)
[Nexus 5X General] Wooaarr:
I remember that a while back the "Skip audio with volume buttons" was not working for me. Can anyone confirm that?
[Nexus 5X General] lcrponte:
[MENTION=4663907]Wooaarr[/MENTION] I've just tested it now, it's working mate.