yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Android Development] djsubtronic:
I appreciate all the hard work done by the CM team and our own devs, and I don't want to be "that guy" but does anyone know if anybody at the CM team is actually investigating this issue? It's almost a joke now... and seemingly getting worse. Almost every single end of track change on headphones and speaker both cause the volume to ramp up, which is hilarious because in recent builds, sometimes out of completely nowhere the volume will drop to 50% and I turn on my screen to see why, there is a message saying "SAFE VOLUME" ... "damage your hearing" bla bla. Really? If it was so important to have a volume safety then why has it been over 6 weeks and nobody at the CM team has managed to fix what is potentially a hearing-damaging volume? It's especially frustrating if you're doing an activity such as riding a bike and suddenly you are blasted with insane volume and can't do anything about it because you have gloves on and your phone is in your pocket.

Please don't get me wrong, I do appreciate all the hard work done here, and, just wanted to vent... and hope this issue gets more attention by the powers that be.
[Nexus 5 Android Development] mo976:
myfluxi certainly knows, Bluetooth woes of all sorts are an ongoing thing with the nexus 5 from the start...
[Nexus 5 Android Development] juniodalo:
Root permission

Please, PIN lock for root permissions! for improve more security in my phone.

thx
[Nexus 5 Android Development] myfluxi:
Use AOSP until it's fixed. Seriously and in no way intended as insult or offensive in any way.

Under the hood, everybody at CM is doing so much overtime with everything, users are in absolutely no position to complain about anything. This is just a general rant and has nothing to do with you.
[Nexus 5 Android Development] cink40:
System UI FC - how to get rid off? Clean install, 18.1. build...just does not go away...
[Nexus 5 Android Development] OCmylife:
[MENTION=4152171]myfluxi[/MENTION]: What are the changes between CAF 17 and 18, cause they was uploaded on the same day. And as always: I really appreciate your hard work, cause I am really happy with CM12 and for me its the best Rom until now ;)

Sent from my Nexus 5 using Forum Fiend v1.3.1.
[Nexus 5 Android Development] Cubel89:
Good afternoon

A few days ago asking about the sound on the CM forums. As if someone finds it interesting. link:

http://forum.cyanogenmod.org/topic/103483-bluetooth-a2dp/
[Nexus 5 Android Development] ssauger:
One page back he posted the difference. One difference at least, ambient display. Also have to thanks [MENTION=4152171]myfluxi[/MENTION], the CAF builds are awsome and rock solid for me.
[Nexus 5 Android Development] ThatGuy94:
I believe the tethering is a lollipop issue because I even had that issue on stock 5.0 but it worked fine on both stock 4.4 and CM11. I haven't tried to update my PRL or profile but like I said, this was a temporary fix that I only plan on using until I can find a proper fix for it. On the other hand, USB tethering should still work if you need to tether.
[Nexus 5 Android Development] gangrel_82:
I pushed it and changed permissions to rw,r,r. I haven't gotten the Update Device error but the update Profile/PRL utility is not working
[Nexus 5 Android Development] david279:
Ok try this next. Extract it and push it to /system/app and set the correct permissions. They're from the stock rom. Also is data still working(LTE)?
[Nexus 5 Android Development] mchlbenner:
I only have one issue phone will not turn off only reboots.
[Nexus 5 Android Development] david279:
I pushed OmaDmcClient and SprintHiddenSetting from the stock lollipop rom to CM 12 and data worked out the box on sprint with no FC's. Prl update and Profile Update didnt work so still gotta figure that out. Well one step forward......
[Nexus 5 Android Development] razrlover:
This is crazy....all thus about sprint and nothing about tmobile. I go thru the same bs on tmobile. No data/ emergency calls only. Any suggestions?

Yes apns are right, tried toggling airplane mode, reboot etc.

Wifi/ data handover drops data. Poor cell strength drops data. Thanks
[Nexus 5 Android Development] delachavo:
Same occasional problem with screen glitches, color bars, etc.. Happens in xda app and a few others. Hw overlay issue maybe?

Testing better every day. Running through multirom since original build with no major issues, been a solid daily driver even with the minor glitches. No network issues with straight talk services, better data service than ever in the middle of Wisconsin ( work trip )
[Nexus 5 Android Development] mo976:
He he funny I used to go on work trips to Wisconsin as well...setting up networks in inner-city schools for a gov project... What a boring state no offense to any residents...
[Nexus 5 Android Development] :
Will the new clear all recents button be added to the next build?
[Nexus 5 Android Development] txtmikhail:
I'm on tmobile.. I Never had any Data issues on Any Roms i have installed..
[Nexus 5 Android Development] Sharpe351:
[MENTION=1035583]mo976[/MENTION] there are proprietary blob files missing that, I think are causing all the issues for the sprint peeps. I may have a fix, I've got to build and test though. Some of the proprietary files for a few system apps are odex, and you need to odex files for them to work, if I remember correctly. PM me if you have any questions and I can help.
[Nexus 5 Android Development] razrlover:
Thats great.
[Nexus 5 Android Development] Sharpe351:
BTW, I'm on sprint, no data issues, but I get weird no Sim card garbage...
[Nexus 5 Android Development] david279:
I've been looking at that myself. But at this time there's no way to deodexed files for lollipop. It's like 4 apks that need it.
[Nexus 5 Android Development] Sharpe351:
It should be able to be transferred directly. I don't see that as a problem. I'm going to mess with it later. I've got to figure out what I changed that's affecting my builds ability to generate flashable zips. I know its something I did... Lol

*edit* fixed my build issue and now I no longer use --block to build the zips. They flash faster too.
[Nexus 5 Android Development] WildKitsune:
After the latest update, I'm not able anymore to install Apps from Play Store. It always gives me Error: -505

here's the related issue: https://code.google.com/p/android-developer-preview/issues/detail?id=1668

And this is from my logcat:

E/Finsky ( 4741): [1] PackageInstallerImpl.handleCommitCallback: Error -505 while installing com.rootuninstaller.sidebar: INSTALL_FAILED_DUPLICATE_PERMISSION: Package com.rootuninstaller.sidebar attempting to redeclare permission com.google.android.apps.dashclock.permission.READ_EXTENSION_DATA already owned by org.cyanogenmod.launcher.home

Edit:

This only happens on specific apps.

This post explains why: https://code.google.com/p/android-developer-preview/issues/detail?id=1668#c10

Edit2:

There is no other way to install the specific applications!

Even if you get the apk and try to install it manually, it just would not install and prints in logcat:

W/PackageManager( 1091): Package com.rootuninstaller.sidebar attempting to redeclare permission com.google.android.apps.dashclock.permission.READ_EXTENSION_DATA already owned by org.cyanogenmod.launcher.home
[Nexus 5 Android Development] Sharpe351:
Seeing what you've got there I'd say its more of something to start a bug report on CM rather than posting here. Thanks for the heads up though.
[Nexus 5 Android Development] david279:
How did you get rid of the block files?
[Nexus 5 Android Development] Sharpe351:
Omni did it and TeamEOS has a commit up on their gerrit as well. I modified the CM files accordingly and now get non-block zips. Flashes way faster too.
[Nexus 5 Android Development] david279:
Link to that patch? Edit...

Nevermind I found it
[Nexus 5 Android Development] djsubtronic:
Thanks for that. Though my issue is not on bluetooth only, but even on headphones or phone speaker. I'm going to try messing around with the mixer_paths.xml file and see if it changes anything.
[Nexus 5 Android Development] Cubel89:
Any news let me know , please. I have not tested whether headset also happens to me, but proves it today.
[Nexus 5 Android Development] myfluxi:
Very good hint! I'll upload something to test tonite; basically first thing will be to enable the compander last.
[Nexus 5 Android Development] mo976:
I had it as well again today so I guess its not gone, It only happened to me after my toddler was playing with my phone. Is it a constant problem or does it happen after specific actions.
[Nexus 5 Android Development] djsubtronic:
I removed these lines

<ctl name="COMP0 Switch" value="1" />

I got hopeful as the volume didn't go up for a long time... but eventually it happened. So that won't work.

Hopefully you will have better luck than my quick experiment...
[Nexus 5 Android Development] Tylog:
Ok, that's clear it :)
[Nexus 5 Android Development] virani_joush:
I flashed this ROM. Fresh install. But it shows system ui stopped.. Force close... Every 2 seconds that msg comes up.. What to do?
[Nexus 5 Android Development] Tylog:
You can't do anything for now, read the last few posts :)
[Nexus 5 Android Development] orangekid:
How about if no one posts about banning people and we just stick to the subject of the ROM at hand?

This OP deserves better than people arguing about banning and reporting in this thread.

If you have an issue with someone, there is an ignore feature which is pretty much like them being "banned" by you for your purposes anyways.

If someone is breaking the forum rules or causing a scene, please just report the post without adding to it by saying "I am reporting you, you will get banned" etc.

Thanks guys, appreciate it. :highfive:
[Nexus 5 Android Development] myfluxi:
This is just the compander enabled last:

AOSP: https://drive.google.com/file/d/0B4LorYIBlqSSYW1sRDFtRzBJaWs/view?usp=sharing

CAF: https://drive.google.com/file/d/0B4LorYIBlqSSbEtmOGZXWHZOYWs/view?usp=sharing

Problem is, I listen to music from different sources 1-5h a day and never had that jumping volume, so I have to rely on you guys. And make sure you don't use 3rd party effects, DSPs and anything else than AudioFX.
[Nexus 5 Android Development] djsubtronic:
Thank you for trying this but unfortunately the problem persists for me. If you want to reproduce it and have some time to try, here's how: download Playerpro (there is a 14 day trial), start playing a song on your phone speaker, keep the volume around 30% of so. Then wait for the song to finish and automatically move on to the next one. As soon as the next song plays, notice how the volume will start ramping up. Hit either of the volume keys, and it'll immediately go to the correct volume (you'll hear the volume drop dramatically). If it doesn't happen on the first track change, wait another track or two. It will happen. This might sound crazy but it happens way more frequently late at night.

Edit: it may not be necessary, but it may help if after you play the song, put the screen off and leave the phone unattended as the songs go by.
[Nexus 5 Android Development] MidnightDevil:
Does it happen with Eleven ? I noticed on some CM based roms that it happens with Eleven and DSP.
[Nexus 5 Android Development] ssauger:
CAF18 CM12 hardreset video

[MENTION=4152171]myfluxi[/MENTION]

Attached is a zip with last_kmsg and the logcat till reboot. I was watching a short video clip that was send me via Whatsapp in the CM gallery. It sometimes runs without problems, but sometimes the phone restarts. I think it's a hard reset, cause the Google logo comes. It happened already from the gallery by Google, so I guess it does not matter which player it starts.

Thanks in advance
[Nexus 5 Android Development] mmo.xda:
With Google play music playing music from Google cloud (not local storage) with no other dsp software rather than AudioFx it is not happening.

No problem at all.

I'm with Myfluxi CAF build.

Regards
[Nexus 5 Android Development] djsubtronic:
It doesn't happen for me on TuneIn Radio (at least it didn't when I last checked some weeks ago) so perhaps it's only to do with local audio. I haven't tried with MP3s as I don't have any on my phone, but in case this matters, the music I play is M4A (HE-AACv2).
[Nexus 5 Android Development] myfluxi:
We're doing some nasty merging there so crashes are somehow expected in this stage.
[Nexus 5 Android Development] myfluxi:
I use the latest nightly, I downloaded PlayerPro trial, I threw several MP3 albums at it, I had display on and off while switching tracks, I started anywhere from 20 to 70% volume. I hear nothing, it's fine.

Would people with encrypted devices please check this updated kernel image for AOSP based CMs (i.e. Nightlies or from this thread). It holds an updated DRM/crypto driver. For me, device encryption and media playback such as Netflix is fine. Before mass pushing commits, I want to make sure we don't need a mass revert afterwards...
[Nexus 5 Android Development] djsubtronic:
I'm using CAF18-DOZE btw not latest nightly.

Did you change tracks manually or did you let the song finish and advance on its own? It usually happens when auto advancing, not when manually switching. If it still doesn't happen then it could be related to the M4A format/AAC decoder.
[Nexus 5 Android Development] myfluxi:
Rant: OK, you're killing me here. You blame the whole CM team for being ignorant with strong words like "almost a joke now... and seemingly getting worse" and "hilarious". Then you come back and point out adverse behavior on a lumped together unofficial build (mine). Seriously, I'm out of words. No questions left why most CM people only lurk here and don't expose themselves.

Back to topic: Yes, I retested all that on my builds too and it's totally fine. Now I tested everything with .m4a encoded files, of course with automatic track switching. All good here.

Yes, there is or might be an error that shows for a few people but there is absolutely no point in accusations and strong words. None at all.
[Nexus 5 Android Development] djsubtronic:
I have had the same problem on nightlies as well, hence my earlier comment with strong words, and that's why I switched back to CAF since I prefer them and nightlies offered no advantage by way of this volume bug.

The only reason I was asking you to test on CAF18 was because I am using the new mixer_paths you posted last night (as I thought that might have fixed the issue, but it remained).

Anyway, thanks for trying to reproduce the issue. Since it doesn't happen for you it must be something wrong with me, so I'll just drop this topic here.
[Nexus 5 Android Development] myfluxi:
It's not about dropping a topic, it's about putting it into perspective.

Did you try with different headphones? But you say, you noticed this on speakers as well, so that wouldn't be it. Also, it's strange that reverted mixer paths cure it for one user and not for the other. Whatever it is, at this point it does not make sense.
[Nexus 5 Android Development] djsubtronic:
I will try some different apps for local playback and see if that helps.
[Nexus 5 Android Development] myfluxi:
Anyone?
[Nexus 5 Android Development] diaramja:
Sorry myfluxi, I don't use an AOSP CM12 version

I don't want to disturb you but I need to ask you a question. Will a CAF official nightly be ? or CM12 will be always AOSP ( of course for hammerhead)

Thank you
[Nexus 5 Android Development] NunxPT:
I'm on cm-12-20150118-NIGHTLY-hammerhead.zip since I have the SystemUI FC bug with the one on this thread.

I can test it. What do you need me to test after flashing the kernel?
[Nexus 5 Android Development] myfluxi:
Boot your encrypted device, it should be normal as always. Thats it.
[Nexus 5 Android Development] NunxPT:
Kernel installed but my phone is not encrypted. Backing up everything before encrypting. I'll report back soon

---------- Post added at 02:38 PM ---------- Previous post was at 02:00 PM ----------

Ok, encryption done.

It seems everything is working fine, didn't notice anything unusual.
[Nexus 5 Android Development] aldyu:
I'm also experiencing reboots while watching a video using vlc. It happens when notification arrives, the video will freeze then if you touch the screen, the phone reboots. I'm also on CAF18. Just saying to help investigate the problem.
[Nexus 5 Android Development] myfluxi:
Thanks for your commitment!

This will the same error where we have unclocked register access, I'm playing there at the moment so basically nothing to worry about. I didn't manage to break it there, to be honest and still can't reproduce ;)
[Nexus 5 Android Development] NunxPT:
No worries, glad I could help.

Can you please tell me if there is any way I can disable encryption? Clean Installation or nandroid restore doesn't seem to work.

Thanks in advance.
[Nexus 5 Android Development] myfluxi:
In TWRP, I think it was in the wipe section where you had the option to reformat data/storage. After the next reboot you are able to restore your local backups. Thanks again.
[Nexus 5 Android Development] mo976:
Heres a new build I haven't had many UI FC's over the past few builds but I use nova...

https://www.androidfilehost.com/?fid=95897840722646653
[Nexus 5 Android Development] Oscarandco:
Ok, I want to try to install this new release but I see in the chancelog you have removed Ambient display...?
[Nexus 5 Android Development] mo976:
The commit has been abandoned and so I will no longer include it, sorry for the let down. There are always third party apps that offer more functionality in the play store.
[Nexus 5 Android Development] Oscarandco:
Ok, do you think Ambient display can return in a few releases or the project is dead..
[Nexus 5 Android Development] crian:
Its a pity that ambient display is gone on your builds. One of my favorite features.
[Nexus 5 Android Development] Oscarandco:
Yeah, that's was I use this CM12 rom... So just installed and I don't have any FC systhem... I come from Cataclysm, all wipe, install with last PA gapps and all is right....so the rom is again functional... thank's for your work...;)
[Nexus 5 Android Development] daweeze02:
I have the same issue. Another weird thing my phone went from 100 to 12% battery in 3 hours. I plugged it in to charge and in 10 minutes it was up to 53% charged, SMH
[Nexus 5 Android Development] itsita:
Not sure if it's only me,

But the phone consistently crashes while trying to take a photo through the whatsapp app.

I recently changed to the CAF builds. All stock.

Can anyone reproduce?

EDIT: fixed in the latest build (20.01)
[Nexus 5 Android Development] kenshin33:
https://android.googlesource.com/platform/packages/apps/Settings/+/android-5.0.0_r5.1

to those complaining about the misc battery "bug", the above is the reason you don't see it in the stock android (as in original ROM from OEM).

If it's a user build, it's not shown period!
[Nexus 5 Android Development] xVermicide:
I solved the CM clock bug. if you delete the alarm tones folder from /system/media/audio, and replace it with your own, it causes the clock app to go haywire permanently because it the preselected alarm tones aren't present on your phone.

I fixed it by restoring the stock CM alarms folder back.

Sent from my Nexus 5
[Nexus 5 Android Development] myfluxi:
This should be gone in #19 as well as the iommu attach failure.

If you don't spot any more leathal stuff, we're ready.
[Nexus 5 Android Development] djsubtronic:
To anyone who this may interest, just a post regarding the volume increase bug - only the particular case where it ramps up when a song automatically changes after one finishes.

PlayerPro has an addon app called DSP Pack, which allows for added effects and I believe it handles the audio decoding instead of the internal Android decoders. It also has two crossfade options for automatic track changes and manual track changes. The crossover duration can be set from a minimum of 500ms. I keep mine at 500ms because it makes transitions between tracks a little "softer" and smoother. Originally I had this turned on for auto and manual crossfade both. The crossfader, to put it simply, fades out one track to zero within the user-set duration, while at the same time fades the next track from zero to max.

When this volume bug first appeared around Dec 5th, DSP Pack was my first suspect, so I turned it off. But the bug remained. All the way up until [MENTION=4152171]myfluxi[/MENTION] posted a new mixer_paths.xml here . With DSP Pack (and crossfading) turned on, the issue remained - but ONLY when auto advancing tracks. So I decided to turn off the AUTO crossfader only - and hey presto, it no longer jumps volume. Or at least it hasn't in an entire 24 hours (headphones, speakers both) which is the longest period of time I have gone without this bug since I first got it.

This information may or may not help anyone, but I suspect the volume fading by PlayerPro's DSP Pack is somehow conflicting with something else within CM. I'd be happy to look more into this in CM code if someone could point me in some vague direction (i.e which package/libs to look at). Logcat itself doesn't provide any useful information at the time of the bug taking place.

As a side note, I have posted on PlayerPro's forum also.
[Nexus 5 Android Development] myfluxi:
I asked for external DSP multiple times.

If you have a bug, backup, wipe/uninstall all third party stuff, retest and then and only then #blamecmdev.

This stuff cost me hours and hours and gave me really bad feelings.
[Nexus 5 Android Development] djsubtronic:
I mentioned that I turned off all DSP throughout December and January since the bug started, also tried on clean installs.

This particular case described in my previous post is happening only after I used your new mixer paths, since that file fixed the issue, as long as DSP is off. I only provided the last post as extra info.

I appreciate all your time and help.
[Nexus 5 Android Development] myfluxi:
Dude, you are so confusing. What fixes what?
[Nexus 5 Android Development] djsubtronic:
Your mixer_paths which you posted on 19th January fixed the volume increase issue for auto track changes and notifications on CAF18. With all DSP off.
[Nexus 5 Android Development] myfluxi:
Perfect.

And don't get me wrong, I appreciate your efforts as well.
[Nexus 5 Android Development] ssauger:
Till now, i can't reproduce the crash on #19

Thank you!
[Nexus 5 Android Development] aldyu:
The reboot when notification arrives during video playback isn't happening anymore in caf19. Thanks myfluxi &cm devs. :good:
[Nexus 5 Android Development] Shano56:
Thanks for r19 myfluxi, seems to be working great and I'm loving the new quick settings options from cm. Is expanded desktop mode merged yet? I'm wondering if I just cant find the setting or if its not there yet
[Nexus 5 Android Development] myfluxi:
#20 has the compander fix amongst everything else.

Regarding the A2DP vs. notification bug, we are now aware of this and other devices have this as well. I was able to trigger it once and then never again in (literally) 100 attempts, sending an email.
[Nexus 5 Android Development] djsubtronic:
Congratulations on finally triggering it! :D

It's so weird how random this glitch is... now imagine that happening 20-30 times a day when you aren't (fully) expecting it, lol.

Thanks for the new build, and thanks again for all your time trying to help with this annoying bug.
[Nexus 5 Android Development] itsita:
Crackle

Build 19 and 20 somehow don't 'agree' with my speaker.

there's a terrible crackle for every kind of sound. No DSP's, Even turned of AudioFX - nothing helps. the speaker is practically unusable...

Build 18 was flawless in that regard. no sound issues.

Any ideas?
[Nexus 5 Android Development] giodeluigi:
Same problem here on i9505 (S4)
[Nexus 5 Android Development] xVermicide:
I solved it already. go back and look for my other post where I said I solved it. it took me like 4 days of constant factory resetting ~4 times a day to finally solve the issue.

I'm a debugger by nature. when a bug bothers me that much I can't stop until I solve it. I used to have a desktop pc that I had to lean to the left at a 30° angle and bang on the side to turn it on.

I should be a professional debugger, I have the mind but not the education haha.

Sent from my Nexus 5