yashsingh1/xdaforums huggingface dataset:
[One (M8) Original Android Development] bill.allrobots.org:
Just wanted to chime in that, if you're going from my not finding anything, it's possible there's something I missed. I just couldn't find anything unusual that helped me figure out what was happening, and I can't reproduce the problem on my end. I'm sure it's not a lost cause, it's just not my specialty and I couldn't figure it out.
[One (M8) Original Android Development] hceuterpe:
Rouz. Which milestone versions have you tried? I know CM11 M12 does it, I can confirm that myself. Does M11 do it? How about M10?

There was a big, big audio change made Sept 5.

https://github.com/CyanogenMod/android_device_htc_m8/commit/ff356d9ae1c09594b642388c6012875d576f8552

If the buzzing started with M11, I wonder if that's causing it.

In logcat, there are errors about tfa files being missing.
[One (M8) Original Android Development] Rouz.:
Nice find!

I am pretty sure the issue didn't happen on M10.

I never tried M11, but It was happening on M12 for sure.

I can double check or provide additional logcats if it helps.

Thanks for taking a look -)
[One (M8) Original Android Development] hceuterpe:
I'll dig, through code like crazy, but I don't like being the guinea pig :D (that, and I'm not @ home, and don't have a usable micro SD card atm either).

I S-OFF'ed in mid September, and from the get go went with CM11. I don't recall this bug lasting the entire time I was on CM or I would have mentioned it. I think I started with M10...
[One (M8) Original Android Development] padraigdoran:
I think the buzzing broke my bottom speaker, constant crackling from it now, even at low volumes. Any thoughts?
[One (M8) Original Android Development] hceuterpe:
Try to revert back to m10. For good measure wipe system and apply with gapps.

NM. My phone is stuck in a weird loop when I downgraded. Don 't simply revert back
[One (M8) Original Android Development] Rouz.:
Maybe it needs a firmware downgrade? I'm gonna try flashing it tomorrow morning to see how it goes. But again, I'm pretty sure M10 was fine. I was using it for a really long time!
[One (M8) Original Android Development] SFXfin:
I just received an SD card I ordered. Naturally this was for photo storage since my phone's memory was getting so full I couldn't even install larger apps.

The Camera app would tell me to insert an SD card after choosing to save there, and if I exited the app and came back it instantly crashed.

SDFix from the app store fixed this for me, now everything is working great.

Camera app is able to save to the SD card, gallery working fine etc.

Running the M12 snapshot.
[One (M8) Original Android Development] Rouz.:
I got the M10 build up and running. What do you want me to do now?

Update 1: No beeping / buzzing sound on M10 as expected. It's actually really stable! I wish the M12 was as good as this

I'm going to try M11 now.

Update 2: I got M11 up and running, so far no beeping/buzzing sound.

Nope, I did some more testing. There is no beeping / buzzing on M11

Going to try M12 now.

Update 3: I flashed the M12 and I immediately got the beeping / buzzing sound after hanging up the first phone call.

So here is the summary:

There is NO buzzing / Beeping sound on M10 and M11.

There IS buzzing / beeping sound on M12

So the issue must come from a commit that has been added AFTER the M11 build (and before the M12) That would be in the following duration:

2014-10-08 to 2014-11-12

I am not a dev guys. This was all I could do to help in order to fix this issue. I hope someone finds it useful. [MENTION=2915421]bill.allrobots.org[/MENTION]
[One (M8) Original Android Development] Rouz.:
Thank you guys [MENTION=1806655]bioan[/MENTION] and [MENTION=2999456]riaan0010[/MENTION] for helping by sharing the post in other CM threads.

If I know it helps, I can test every nightly in my spare time to see where the issue is coming from.

But this process would be a lot easier if a dev could help me by pointing out the nightlies that include changes in the audio commits.
[One (M8) Original Android Development] krazie1:
Maybe [MENTION=2385005]invisiblek[/MENTION] and [MENTION=2703964]h8rift[/MENTION] would be able to look into it, what commit was added that is be causing this in CM11 & CM12. It was added between 10-08-2014 to 11-12-2014 the time frame from M11 to M12.

Really great find too, that buzzing noise is so loud to blow out the speakers if not rebooted fast enough.

Commits from 10-08 http://review.cyanogenmod.org/#/q/status:merged,n,00304e7e00012416

to

Commits from 11-12 http://review.cyanogenmod.org/#/q/status:merged,n,0031182000012932
[One (M8) Original Android Development] hceuterpe:
I'm not sure those dates are quite right. They freeze new commits in preparation for a snapshot.

Based on their github, at least if we talking M10, M11, M12, etc I think this is a clearer picture?

https://github.com/CyanogenMod/android_device_htc_m8/commits/stable/cm-11.0

Overal this is easier to read also against the prior link perhaps.

http://review.cyanogenmod.org/#/q/s...nMod/android_device_htc_m8+branch:cm-11.0,n,z

Nothing seems to stand out that would be an obvious candidate that's audio related.... I wonder if there was a common update, like against DSP, ringtone or something like that...

Rouz, can you post a logcat of M11 with a call like you did with M12?
[One (M8) Original Android Development] Rouz.:
If you guys flash the M11 build, you'll get an update notification to M12, and you can see a very detailed changelog for the M12 from the CM updater.

(Settings > About > CyanogenMod updates)

Its a long list, and I can see some changes related to "audio", but I don't have the slightest idea of what they mean, as I am not a dev nor a programmer for that matter.

If someone finds anything useful, please share.
[One (M8) Original Android Development] bubbahump:
For those having the buzzing issue...

Those having the buzzing issue on ringing, try editing build.prop and setting audio.offload.24bit.enable to 0. The existing line in the file should read as follows:

audio.offload.24bit.enable=0

I changed this on a hunch after reading some logcats from this ringing-buzz issue, and I have not had the issue since. I'm on the 12-23 nightly. Could be coincidence, but may be worth trying.
[One (M8) Original Android Development] Rouz.:
I'm gonna try it next year and report back xD

Edit: Testing now, give me 30 minutes

Edit 2: I got the buzzing sound again ;-( the issue is still there. But thanks for taking a look! Much appreciated!

Happy new year everyone!
[One (M8) Original Android Development] bill.allrobots.org:
The fix for phone crashes has been merged. Those with that crash should be able to upgrade as usual, now.
[One (M8) Original Android Development] adavit:
I'm assuming its in the 12/30 build? I just downloaded and am getting ready to flash. Such good news to hear :)
[One (M8) Original Android Development] bill.allrobots.org:
It's in 01/01
[One (M8) Original Android Development] adavit:
I see that now lol. I was super excited that it got pushed :) loaded 01/01 and so far so good :)
[One (M8) Original Android Development] krazie1:
Maybe someone can get a video of them reproducing the Loud Buzzing noise after a call so devs know exactly what we talking about? I don't have a video recorder but it sure could help so they can know how dangerous this can be to someone's ears or phones speakers.
[One (M8) Original Android Development] Rouz.:
I would, but If logcats didn't help, I highly doubt if a video can be of any use.
[One (M8) Original Android Development] MJPollard:
If nothing else, it would prove we're not hallucinating and talking out of our asses about this problem.
[One (M8) Original Android Development] Fenny:
From what I can tell, the buzzing happens when the device does not properly switch between the analog "Phone call" speaker back to the stereo speakers. I bet it is an audio routing thing.

I also noticed that it only seems to happen when my volume is set to about 60-80% It doesn't seem to happen at lower volumes.
[One (M8) Original Android Development] cquinn:
It seems that CM has changed my recovery from TWRP to CWM in one of the latest nightlys. I tried using fast boot to restore TWRP without success and it seems I can't flash any other ROMs. they all come back 'aborted'. Any suggestions would be appreciated.
[One (M8) Original Android Development] BlackAlien92:
Try flashify to flash a new recovery. Should be on the playstore.
[One (M8) Original Android Development] Rouz.:
That is a great finding.

The volume percentage could be the reason why some people never experience it.

I personally set the volume to around 80% all the time, and this might be the reason why i always get the buzzing sound.

Can you think of any possible fix?
[One (M8) Original Android Development] Rouz.:
Thanks to [MENTION=2999456]riaan0010[/MENTION] , now we know that the buzzing issue has been added before 29 OCT

The only problem is that earlier nightlies are not available for testing.

Does anyone has a copy of any nightlies between 8 OCT and 29 OCT?

UPDATE:
[One (M8) Original Android Development] henryrk:
if you go to Settings> About Phone >CyanogenMod Updates> Update Type > you can choose release channel there too.

---------- Post added at 05:14 PM ---------- Previous post was at 05:10 PM ----------

I have a major issue now. tested CM11 M12 , the loud cracking sound begin , back to recovery to restore backup set m10. still same loud buzz issue present.

anyway to solve this?

should have just to stick to my old good old m10. damn.

seem like cm not solvin this issue anytime

cheers
[One (M8) Original Android Development] cquinn:
Flashify just hangs at splash screen. same with flashing thru hboot then , still in hoot, selecting recovery. frustrating not being able to change roms.

I'm not a developer but found this in the 12/20 nightly -

cwm: Allow device-specific recovery modules

Provide a means to include device-specific recovery modules that need to

be built (i.e. not pre-built). A list of recovery modules can be

specified by a device with:

TARGET_RECOVERY_DEVICE_MODULES := rec_mod_one rec_mod_two

If this has anything to do with my problem it was just a lucky shot in the dark but as I said - it's pretty frustrating
[One (M8) Original Android Development] BlackAlien92:
Have u tried flashing stock recovery?
[One (M8) Original Android Development] Rouz.:
I am quoting this in here as well, just in case you missed the other cm thread.
[One (M8) Original Android Development] henryrk:
Guys. Any help for me pls. Can't live with this cracking buzz issue . I m on 11-20141008 SNAPSHOT M11 -m8 now.
[One (M8) Original Android Development] mw2fan:
dock observer

Hi guys,

I remember old CM7 builds having the option to disable to dock observer under imput settings.

However, this feature isn't there currently, and my usb port is shorted causing the phone to constantly wake from sleep.

Any way you could implement this back into this?

Cheers, Mark
[One (M8) Original Android Development] henryrk:
i just realize i'm using folder mount pro and link2sd plus

i think this causing some conflict when i restore from old updates.
[One (M8) Original Android Development] henryrk:
Guys, those who have this sound buzz issue i can say that the rom damaged the phone speaker.

Our phone was not designed to accept such high db thus the speakerphone is damaged. correct me if am wrong.

my reason saying this cause i just factory reset total and even try install other ROMS . NO solution still.
[One (M8) Original Android Development] bubbahump:
Make sure you power off your phone completely before restarting it when trying to correct the buzzing. From my testing, once the issue has been triggered, it remains until the phone is powered down.
[One (M8) Original Android Development] pagoweb:
try M10, you won't have the buzzing issue.

or try some recent cm12 unofficial build, as a temp fix (disabling amps) has been merged for that issue in cm12 yesterday
[One (M8) Original Android Development] Rouz.:
Speaker crackling and buzzing are two different issues. Since you are running M11, then I am pretty sure you are talking about the speaker distortion, as there is no buzzing sound on M11.

Unfortunately, there is no fix for the speaker distortion / crackling as of yet.
[One (M8) Original Android Development] henryrk:
Sorry i think im on M8 now. restored but the issue still there.

CM12 i think need Hboot higher version which im not sure where to get that.

How do i disable the amps pls ? is it under DSP manager ? if yes then no effect .

thanks
[One (M8) Original Android Development] pagoweb:
i misunderstood your issue. i thought you had the buzzing issue.

look at [MENTION=2620692]Rouz.[/MENTION] post it seems there's no fix yet.

sorry for this false hope...

EDIT : HBOOT upgrade => if you're s-on go back to stock (boot/recovery/system) and get OTA; if you're s-off just search newest firm fitting your model
[One (M8) Original Android Development] bill.allrobots.org:
Uncheck the following to disable flashing the included recovery:

Settings -> Developer -> Update CM Recovery

Not sure why you can't flash other roms with this recovery, it's the one I've used for a long time. There's also nothing in CM that should stop you from flashing another recovery, so failing to flash TWRP is unlikely to be related to CM.
[One (M8) Original Android Development] henryrk:
i am trying if some other kernel can solve this issue or at least adjust the settings from it.

which other kernels are compatible with cm ? anyone share?
[One (M8) Original Android Development] krazie1:
Can anyone make a build with these commits, I think they will start doing weekly builds of CM11 now?

http://review.cyanogenmod.org/#/c/83956/

http://review.cyanogenmod.org/#/c/84156/
[One (M8) Original Android Development] hceuterpe:
I think I know the problem here...

In your logcat, there are lots of timeouts for tfa9887, and it appears to behave weirdly. tfa9887 is micro speaker booster:

http://www.nxp.com/products/amplifi...mplifiers_for_portable_devices/TFA9887UK.html

Curiously, the boasts are that it is capable of cranking your speaker up to 95dB...

The related commit enables the amplifier. That bit of code about libaudioamp was actually pulled verbatim from M7 (check the initial commit log). With that in mind, and the the logcat errors, and enabling the amp with the commit in question mentioned, do we even know if it actually uses that particular chip, or if truly identical to the M7? I suspect it is not...

To revert this, I think we can simply set

BOARD_AUDIO_AMPLIFIER := device/htc/m8/libaudioamp

in BoardConfig.mk

to BOARD_AUDIO_AMPLIFIER := false

given this:

+ifneq ($(BOARD_AUDIO_AMPLIFIER),)

in the parent code commit that tried to enable this.

Granted this is NOT a true fix. A true fix would be enabling the amplifier so it's working correctly. This should simply disable the amp I think.

Edit: :p Why did I not just read krazie's post. The commit is already there. Oh brother. Good quick work [MENTION=2915421]bill.allrobots.org[/MENTION] ! I didn't have time to look at this until now.Hopefully my analysis did provide some more detailed info...
[One (M8) Original Android Development] Hedi86:
INFO:

CM12 for m8 is Ready ;)
[One (M8) Original Android Development] Scarface1991:
Anybody tried out yet? There is still no official thread on xda

Gesendet von meinem One M8 mit Tapatalk
[One (M8) Original Android Development] seadersn:
http://xdaforums.com/showthread.php?t=2949682 this one will turn into official one soon. nightlies are availabe since today.

https://download.cyanogenmod.org/?device=m8
[One (M8) Original Android Development] Hedi86:
Yes i am on CM12 Now.

It works for me now but need to Test ;)
[One (M8) Original Android Development] MacFett:
Yes there is. It is linked from the unofficial thread a few times.

[Edit]apologies, wrong device. I thought I was reading the thread for my tablet. [/edit]
[One (M8) Original Android Development] Neonfire:
tried to, but my bootloader isn't updated. didn't realise how complicated going back to stock and getting the OTAs would be.
[One (M8) Original Android Development] polaric:
Anyone whos running CM12, I noticed something new (I could be dated here, ive been running GPE L for awhile). What's the Show weather option thats under Status bar? Seems to do nothing.
[One (M8) Original Android Development] krazie1:
It appears for me after unticking then reticking it followed with a reboot. It shows in the quick settings under User Profile.
[One (M8) Original Android Development] polaric:
Is it just me or is CM12 also missing a su prompt?
[One (M8) Original Android Development] Mince69Meat:
Try turning GPS on

This is a cm11 thread please use some common sense, there are multi cm12 threads u could have posted in with your cm12 question

Sent from my One M8
[One (M8) Original Android Development] polaric:
Please do not presume common sense. Unofficial threads do not reflect the status of official mainline cm and are not considered in bug reports. As no official cm12 thread exists yet, the existing cm11 thread is where it should go.
[One (M8) Original Android Development] Mince69Meat:
Not having turned on the GPS for the weather to know where the device is located is not a bug IMHO and as such "how do I use my cm12 build m8 phone" should be in a cm12 thread for users that are more likely using a cm12 build

But you fill up the forums with posts and when there are too many post keep answering the same question over and over again as the tread is too long for the lazy people to be bothered to search
[One (M8) Original Android Development] polaric:
Please do direct me to where this was asked before as cm12 came out very recently. Also, my gps is on, so again, do not presume. I've already filed a bug report and that's that.
[One (M8) Original Android Development] Neonfire:
Having weird issues with google sync stuff. Flashed 11/14 pa-gapps.

Cm12
[One (M8) Original Android Development] Mince69Meat:
Post a link to your bug report please
[One (M8) Original Android Development] FlawlesStyle:
Hopefully h8rift can update the thread name soon, since m8 nightlies have gone to cm12, but for now I'll ask in here. Has anyone that flashed cm12 tried bluetooth audio? I don't get any audio output on Ford SYNC, but it looks like the song is playing, and I get all the song information on my HUD. I tried re-pairing with the car, reflashing, doesn't seem to change. I just finished compiling cm12 from source, so I'll flash my unofficial, but I figured I'd ask in here in the meantime.

Edit: Never mind. After restarting the car and re-pairing the phone, I get audio over Bluetooth.
[One (M8) Original Android Development] bill.allrobots.org:
Ha, so the day has come when we have to reboot our cars to fix problems.
[One (M8) Original Android Development] MJPollard:
Just be glad our cars don't run Windows. Imagine barreling down the highway at 80 MPH and getting a BSOD...
[One (M8) Original Android Development] polaric:
And you can wait for windows update to get to 1% while the day turns to night.
[One (M8) Original Android Development] FlawlesStyle:
Maybe it's me (usually its me), but bluetooth definitely seems funky in cm12 so far. If I receive a notification while music is playing over bluetooth, the sound quality drops severely, to the point of sounding extremely distorted. Can anyone else verify? Just play a song over bluetooth, send yourself an email, and listen for the quality of audio to drop after the email notification sound.

The quick fix for now is to turn off bluetooth, turn it back on, and resume playing at normal quality...until the next notification comes in (for now I'm just disabling all notification sounds so that only music plays).
[One (M8) Original Android Development] Spencer_Moore:
I have the same problem. I have to reboot my phone after every phone call to get BT audio to work in my car. It's a VW if that matters. I'm going to have to go back to sense for the safety of my life even though I love Lollipop :(
[One (M8) Original Android Development] hack14u:
LOL. Haven't seen one of those since the days of Win 7. So far Win 10 preview has been super smooth! No probs with 8.1 either. I WISH my car stereo ran Win 8, or 10 when it's finished!
[One (M8) Original Android Development] pwnyourace:
My music sounds really bad playing through my Bluetooth speaker also.
[One (M8) Original Android Development] polaric:
While I can't speak for Bluetooth audio, Bluetooth seems very stable, I use my android wear watch for over ten hours a day and it hasn't had a single issue, whenever your audio distorts, try changing a setting in audiofx. Maybe its related to it, and something gets borked when it tries to lower the sound over Bluetooth temporarily to play the notification.
[One (M8) Original Android Development] henryrk:
IT seems like CM removed the original HTC Function test tool from their ROMS.

anyone of you able to do this testing ?

http://forums.androidcentral.com/htc-one/290394-htc-function-test.html
[One (M8) Original Android Development] amirfida:
Confirmed not working in CM12
[One (M8) Original Android Development] bill.allrobots.org:
They didn't remove it any more than they removed the Sense Launcher; they just didn't add it. A function test would be an interesting addition to CM, but I'm fairly confident it wouldn't be merged unless it were cross-device (i.e., an m8-specific function test wouldn't fly).
[One (M8) Original Android Development] Miqueas111:
I can not download from CM page. CM 11.
[One (M8) Original Android Development] MacFett:
Do you get an error message? Are you using your mobile or a computer?
[One (M8) Original Android Development] Gearhead Geek:
Did these commits make it into the 1/06 nightly, and if not has a build been done with these committed yet?

Not quite ready to switch to CM12 yet but it would be great to have an up to date nightly without the buzzing.
[One (M8) Original Android Development] MJPollard:
FYI, I can confirm that the buzzing fix works on CM11. I compiled and installed CM11-based Carbon with the fix -- like you, I'm not ready to switch to CM12 yet (mostly because the theme engine isn't in place, but also because I'm waiting until I'm sure it's settled and stable) -- and I haven't had the beep-then-buzzing problem since. Nice to have my ringtones back without worrying about the speakers blowing up after answering or ignoring a call. :D
[One (M8) Original Android Development] krazie1:
No they aren't included, can anyone do a unofficial build with these commits added?
[One (M8) Original Android Development] bill.allrobots.org:
Yes, anyone can do an unofficial build with these commits added ;)

I can be that anyone, if none of those who actually want it can manage, for some reason. But, it won't be until the weekend, and the instructions are quite explicit: http://wiki.cyanogenmod.org/w/Build_for_m8
[One (M8) Original Android Development] Gearhead Geek:
Thanks for providing that link.

I'm attempting to finally stop being lazy and setup a build environment while things are slow at work. If I get a build cranked out today I'll post it up.
[One (M8) Original Android Development] Gearhead Geek:
Quick update: No luck on the first few attempts, getting a bunch of errors. This isn't exactly a clean system, so going to spin up a VM with a clean install and try it in there.

Update: Having some weird errors still. Have to give up for the day. Will give it another go tomorrow if no one beats me to getting a build out
[One (M8) Original Android Development] krazie1:
Does anyone want to test a Unofficial Build of CM11 built 20150113 synced at 12:50pm PST, it'll be done soon? I will need the person to see if the Rom boots since this would be my first Build Ever & if the Buzzing noise after a Call is fixed.
[One (M8) Original Android Development] krazie1:
Ok here is the Unofficial 20150113 build of CM11, my PC is really slow it took 7 hours to build. Can you guys test and report back if it boots & buzzing after calls is fixed?

EDIT: I did another build 20150114 & it only took 15 minutes to build this time. =D I will link to my folder when it finishes so you guys can find them there.

EDIT 2: Builds Folder https://www.androidfilehost.com/?w=files&flid=19887