I am starting this thread as I work through the sound issue. I will be doing trouble shooting and tracking of testing here as I do my root cause analysis. Do to my work schedule I will need help from the community on ruling out the cause and getting down to the bottom of the sound issue.
So step 1 is to try and narrow down the cause. I have some ideas but need some testing first.
So here is what we know.
1. Sound is fine at stock
2. DHD roms don't have any audio with out custom kernel
3. Sound quality is bad on DHD roms with custom kernels to enable audio.
What I need to know to start.
1. Is sound ok on stock rom with custom kernel (2 confirmed audio fine on custom kernel with stock rom)
2. If using stock kernel on DHD rom is all audio gone or just for phone calls(still need to know this)
Start of testing
Again due to my time limits as of right now I am gonna have to rely on the community for my testing.(I do apologize).
I'm downloading Android revolution to look at whats in the zip after that I will be posting some more things to test. I have some ideas as to what the problem is. Unfortunatly lunch is over for me so back to work. Check back I will be updating again in a couple of hours.
If any one is willing to help please look into testing those 2 things.
I am pouring through the kernel source in the little bit of free time I have.
I will be handling this like I would an issue at work so some my be monotonous but thats how I work. So bear with me and we'll get this issue sorted out.
Also if some one would like to create a public google docs to allow people to post rom, kernel, and state of sound with that setup that to would be great. Hopefully work will slow down soon so I can devote more time. Also anybody else currently looking into sound fix can post ideas, info and test here to help keep the forums from getting cluttered from the same type of post, but thats up to you.
I'll flash the kernel over my stock rom and let you know. Stand by
# 1 is true, I used Bumble-Bee's kernel on attn1's stock rooted rom and the sound was perfect. Zero distortion in calls or audio playback through headphones. I am using some high end equipment to listen, so I would hear distortion if it was there. No idea on # 2, however.
razor_blade said:
# 1 is true, I used Bumble-Bee's kernel on attn1's stock rooted rom and the sound was perfect. Zero distortion in calls or audio playback through headphones. I am using some high end equipment to listen, so I would hear distortion if it was there. No idea on # 2, however.
Click to expand...
Click to collapse
Ok if thats true then we should be able to rule out kernel. That means its something in the rom. Ok lets get a few more test in and rule that out before I move on to the next idea.
chrisryn said:
razor_blade said:
# 1 is true, I used Bumble-Bee's kernel on attn1's stock rooted rom and the sound was perfect. Zero distortion in calls or audio playback through headphones. I am using some high end equipment to listen, so I would hear distortion if it was there. No idea on # 2, however.
Click to expand...
Click to collapse
Ok if thats true then we should be able to rule out kernel. That means its something in the rom.
Click to expand...
Click to collapse
I've heard it may be the lib files being out of date on DHD ROM's. I can't vouch for it, but it does seam reasonable.
chrisryn said:
razor_blade said:
# 1 is true, I used Bumble-Bee's kernel on attn1's stock rooted rom and the sound was perfect. Zero distortion in calls or audio playback through headphones. I am using some high end equipment to listen, so I would hear distortion if it was there. No idea on # 2, however.[/QUOTE
Ok if thats true then we should be able to rule out kernel. That means its something in the rom. Ok lets get a few more test in and rule that out before I move on to the next idea.
Click to expand...
Click to collapse
Before making this statement, can we get someone else to verify please?
Verification from one person is good, two (or more) is better.
Click to expand...
Click to collapse
cursordroid said:
chrisryn said:
Before making this statement, can we get someone else to verify please?
Verification from one person is good, two (or more) is better.
Click to expand...
Click to collapse
exactly thats why I stated lets get a few more test before we rule that out in post # 4.
Click to expand...
Click to collapse
Interesting.
Stock Kernel Audio fine
Stock ROM with Apache14's Buzz Sense 1.30 Overclocked to 1.2 GHZ Audio sounds the same as Stock kernel and audio.
I rooted using attn1 hack but flashed the Revolution HD ROM .14 first. Sound seemed a little iffy, but not too bad. I then flashed Revolution HD ROM .15 Mike just released and the sound seems pretty good when I call my voicemail.
gunnyman said:
Interesting.
Stock Kernel Audio fine
Stock ROM with Apache14's Buzz Sense 1.30 Overclocked to 1.2 GHZ Audio sounds the same as Stock kernel and audio.
Click to expand...
Click to collapse
Confirming what I said. Same exact setup.
The sound issues are not in the kernel. They're in the csv files. We're looking at it. But they aren't compatible with DHD roms. They kill the mic.
jasonyump said:
The sound issues are not in the kernel. They're in the csv files. We're looking at it. But they aren't compatible with DHD roms. They kill the mic.
Click to expand...
Click to collapse
are we sure there in the cvs and which ones are you speaking of.
So when sound "breaks", do the Dolby Mobile and SRS effects become unselectable on the HTC music player? Does selecting them do nothing to the audio? Or do they work just fine? Are those functions built in as simply an audio enhancement or something deeper?
Sent from my Inspire 4G.
chrisryn said:
are we sure there in the cvs and which ones are you speaking of.
Click to expand...
Click to collapse
Yes I'm sure.
There is no difference in the AIC3254_reg.csv files, there is a differnce in AIC3254_REG_DualMic.csv plus stock has an additional files AIC3254_REG_Dualmic_MCLK.csv and AIV3254_REG_XD.csv
Ok for a test some one do this on a DHD rom with sound issues
Download this zip and push the three files there to system/etc
DL link http://www.mediafire.com/?p1oiiqo26c5z37j
Be sure to backup the AIC3254_REG_DualMic.csv before pushing so you can revert back by removing the three files and pushing your backup back.
See if that fixes.
Again sorry for not being able to test myself atm.
Using CM7 RC1 DHD with attn1's kernel installed, after installing your files I hear no noticeable differences in sound quality.
skroll82 said:
Using CM7 RC1 DHD with attn1's kernel installed, after installing your files I hear no noticeable differences in sound quality.
Click to expand...
Click to collapse
I think these fixes are for Sense based ROM's, right?
cursordroid said:
I think these fixes are for Sense based ROM's, right?
Click to expand...
Click to collapse
You are correct I haven't downloaded cm7 to check file differences there.
Edit: I have found some more difference related to sound. I will attach to this post. There is a directory called soundimage in system/etc that needs to be replaced and all other files moved to system/etc as before. This is for DHD sense roms. Might work on cm7 not sure at this time.
I would have to think that the audio quality issue has to do with AMR-HR and AMR-FR codecs, no?
ROM: HTC Inspire 4G 2.0.15
Replaced files on my phone with files from the sound.zip file. Definitely sure that the original was deleted before pushing the replacements.
No noticeable difference in audio quality through phone speaker, or Mic when I leave myself a voicemail.
Related
Other than the stock rom most of these other roms have very tinny audio when on calls. I have noticed that the sound through the headphone jack in my car sounds ok.
I am asking the devs on here to please take a close look at this for the community.
Running cm7 with oc kernel
Amen. Praisethe10chars
I am getting frustrated beyond belief with the Inspire. I am about ready to put everything back to stock and return it.
I am running CM7, it runs great, but I can not stand the tinny call quality. I have flashed different radios, and still nothing.
Very frustrated.
I'll guess I'll hold off for now. Using a phone for work with little to no sound doesn't sound like to much fun.
I am still running stock and the sound is fine... so basically the problems are all related to shoehorned kernels. Wait till source is released in a few weeks and I am sure the problems will be resolved.
Sent from my Inspire '4g'.
The source may not be released in just a few weeks...it could take quite longer, maybe up to 90 days. :/
Sent from my Inspire 4G.
Stock but rooted? I thought that left no sound
hololight said:
I am still running stock and the sound is fine... so basically the problems are all related to shoehorned kernels. Wait till source is released in a few weeks and I am sure the problems will be resolved.
Sent from my Inspire '4g'.
Click to expand...
Click to collapse
slapdaddy said:
The source may not be released in just a few weeks...it could take quite longer, maybe up to 90 days. :/
Sent from my Inspire 4G.
Click to expand...
Click to collapse
The kernel source was released yesterday by HTC, that is why you are seeing different kernels and ROMs in this forum now. I'm sure the devs are looking at this long and hard for a solution.
Ok I need more explaination on the "tiny" sound issue. Is it a volume level issue or something else. I'm familiar with fixing kernel sound issues on the captivate i can take a look at source to see what I can find but I need a better description of the issue. I'm currently still running stock do to the fact that i'm enjoying sense and haven't had the time to do the root process yet(so no sound issue for me), but I can still rummage through source and see what I can come up with.
It's almost a hollow sound for me. And I get echo of what I say through the earpiece from time to time.
chrisryn said:
Ok I need more explaination on the "tiny" sound issue. Is it a volume level issue or something else. I'm familiar with fixing kernel sound issues on the captivate i can take a look at source to see what I can find but I need a better description of the issue. I'm currently still running stock do to the fact that i'm enjoying sense and haven't had the time to do the root process yet(so no sound issue for me), but I can still rummage through source and see what I can come up with.
Click to expand...
Click to collapse
Think of a combination of a low-frequency 1980's cordless phone combined with the calling experience through skype\google voice over 3G. It's a highly digitized sounding call experience, both on speakerphone and earpiece.
ok so its quality not volume. So that would probably mean radio kernel interfacing I'll look into it.
chrisryn said:
ok so its quality not volume. So that would probably mean radio kernel interfacing I'll look into it.
Click to expand...
Click to collapse
Correct, in fact, volume is GREAT, it's just the garbled\digitized sound. It'll crank plenty loud till it really distorts, so volume is good.
UPDATE: contrary to what a couple others have said, it's still distorted when using an external headphone.... not as noticable as using the phone's speaker or earpiece, but distorted more so than stock, for sure.
Thank you for looking into it for us.
Chrisryn is on the case folks. He's good. The Andromeda ROM he was on for the Captivate is what kept me from tossing it out the window.
Now we just need to get the rest of the team on Inspires. Andromeda for Inspire please?
chrisryn said:
ok so its quality not volume. So that would probably mean radio kernel interfacing I'll look into it.
Click to expand...
Click to collapse
Very cool. Thanks for looking into this. Let me know if I can be of any assistance. I am more than happy to be a guinea pig.
from what i gathered, it isn't a a kernel issue, so much as issues with the dolby information.
if 100% sound is important, use attn1s stock rooted rom. i keep a nandroid of it for when i need to use my phone as my mp3 player. otherwise, i'm running CM7.
also, jasonyump has a few audio fix tests for people to try.
mattbollenbach said:
from what i gathered, it isn't a a kernel issue, so much as issues with the dolby information.
if 100% sound is important, use attn1s stock rooted rom. i keep a nandroid of it for when i need to use my phone as my mp3 player. otherwise, i'm running CM7.
Click to expand...
Click to collapse
I'm still looking for this answer: If I use this "stock ATT ROM" will I lose my HSUPA or has that been enabled on THIS stock rom?
This is my number one complaint with all the custome ROMS is the "tinny" sound. Thank you so much for looking into this
tpbklake said:
The kernel source was released yesterday by HTC, that is why you are seeing different kernels and ROMs in this forum now. I'm sure the devs are looking at this long and hard for a solution.
Click to expand...
Click to collapse
Wasn't that source the Desire HD kernel source, which is different from the Inspire kernel source as far as audio goes?
Sent from my Inspire 4G.
After the update to stock 2.2 I noticed the headphone audio out is quieter than it was on stock 2.1. (Yes you can suggest a custom ROM but for my purposes I need to remain on stock). Has anyone else noticed this?
I've found several posts referring to the audio quality in 2.1 being low quality. Is there an audio specific kernel that controls the audio quality and output gain? If so, is it possible to change out only the audio kernel without flashing a custom ROM? As a heads up I'm already rooted.
Thanks in advance.
sola fide said:
After the update to stock 2.2 I noticed the headphone audio out is quieter than it was on stock 2.1. (Yes you can suggest a custom ROM but for my purposes I need to remain on stock). Has anyone else noticed this?
I've found several posts referring to the audio quality in 2.1 being low quality. Is there an audio specific kernel that controls the audio quality and output gain? If so, is it possible to change out only the audio kernel without flashing a custom ROM? As a heads up I'm already rooted.
Thanks in advance.
Click to expand...
Click to collapse
YES you can change the kernel to a different one but what ever kernel you decide you need a matching modem & Kernel so Cappy to Cappy...i9000 to i9000. Just keep in mind you need to change out your recovery.
I9000 kernels
http://forum.xda-developers.com/showpost.php?p=10204224&postcount=1
http://forum.xda-developers.com/showpost.php?p=10924296&postcount=1
Captivate kernels
http://forum.xda-developers.com/showpost.php?p=12009337&postcount=1
http://forum.xda-developers.com/showpost.php?p=9772022&postcount=1
modems for both 1900 & Captivate
http://forum.xda-developers.com/showpost.php?p=9874879&postcount=1
recovery fix for captivate 2.2
http://forum.xda-developers.com/showthread.php?t=833423
http://forum.xda-developers.com/showpost.php?p=10517130&postcount=1
Thanks SFernandez. I'll try this out when I get some free time. Gotta make sure the phone operates during business hours.
You can also search for the app "AudioBoost" on the market but it requires root permissions
Is it possible to take a stock kernel and fix just the volume without any other mods? This phone is perfect for the way I use a phone, except the volume is low. I wear hearing aids in both ears and having a little more volume would be great. I know there are custom kernels that have the audio boost in them, but they also have a lot of other things added to and I don't need any thing except the increased volume
capman231
Its possible, but what's the point if all the extra things help, but not hurt anything. Just don't use the overclock, you'll never even know besides the fact your phone will be faster and get better battery.
So dilligaf which one are u talking about
Sent from my Desire HD using XDA App
just ask one of the devs to compile you a stock kernel with only the audio boost. one of them i'm sure would be nice enough to do it. maybe a tiny donation would push them along.
Thanks fellows for the replys. I just want the stock kernel with nothing but the audio boost and as Roger suggested, I will PM a couple of the developers and see if they can do one for a "Donation". It shouldn't be a major challenge because several of them have it already in their Kernels.
capman231
Getting ready to compile, no donation required(unless you really want to)
Dilligaf your the $hit
Sent from inspire4G
here it is. stock, sound boost(all outputs, including headphones). 4.4.4 toolchain
let me know if its too much sound boost. its what im using in my latest kernel.
should still be a little faster than stock too.
dilligaf thank you and I will donate something to the cause. My only problem with the inspire is my hearing impairment (Hearing aids in both ears). I miss almost all of my calls and all of my E-Mail and text notifications. How much louder does your mod make the phone's notifications and ring tones? I hope it's a big improvement because I like this phone and want to keep it.
capman231
25% boost. Any higher and it may start getting distorted, dsp manager can maybe help a little with that, but you need to replace some libs for it to work. I'll make a zip if you want, I'm gonna do some testing with it myself.
edit- do you use any of the TTY or HAC options? if so, theres some sound settings i could increase for those that i saw in the kernel source.
With that much boost, if I can't hear it I won't never be able to hear it. Do you think it would ba smart to have the DSP just in case? Let me know what you find in your testing and I will download it when you get it tested.
capman231
The HAC doesn't work, HTC told me they know about it and it will be fixed in the Gingerbread update coming this quarter. The HAC works on an incoming call but the party on the other end can't hear me. Haven't tried TTY yet.
I am new to this, I downloader the kernel, now what?
I am new to this, I downloaded the sound fix, now what?
Flash it. If your that new, I suggest reading up.
I installed dsp manager and all it did was turn off all sound on my phone. Noone could hear me in calls and had no notification sounds at all. I had to do a full wipe and flash a different rom to get sound back cause it wouldnt come back with just a full wipe and factory reset with that current rom.
Sent from my Despire 4g using XDA App
Read this thread, I posted that if you install dsp manager, some libs have to be changed out or it won't work. It's just a couple posts above yours
Nothing against di11igaf, cause his rom's are great, but Inspired Saga is the loudest rom I've used.
Not sure what the HAC status is on that rom, but it is a Gingerbread rom from a Desire S.
thanks somuch for the kernal
would your sound boost work with something other than a stock rom?
For those with problems getting audio with the latest MIUI and CM7 ROM, or even with them using BootManager (like me), you may try flashing this audiofix. Flashing this zip will fix audio to the INSPIRE 4G without downgrading to LC 8.1 kernel or without installing the Tiamat or TalonACE kernels (nothing wrong with them, I find them great). Tested with MIUI (last build tested 2.4.6).
For Boot Manager, I've tested it with BlackICE 1.50, CM7.2, MIUI 2.4.6).
DOWNLOAD LINK:
http://dl.dropbox.com/u/60526289/inspire-gb-audiofix.zip
This is "almost" the same inspiremod but with two additional files:
AIC3254_REG_DualMic_MCLK.csv and CodecDSPID_MCLK.txt.
NOTE: installing this in another ROMs may break sound (mic included) specially ICS. I'm not responsible for anything that may happen.
If you have any audio problems just delete the referenced files from /system/etc/.
MAKE A BACKUP FIRST
Thanks for this!
I have a canadian Telus Desire HD which is hardware identical with the Inspire 4G.
I'm running Lord Clockan's Ice Cold Sandwitch and in the main thread he had this posted for the Inspire 4G users.
I couldn't see too much of a difference with the patch or without it.
What happens on your phone if you don't install it?
Thanks again!
On LordC's rom this patch may break the mic, users may not here you, but I am not sure, I know twisted had issues in his builds when using the AIC file.
On the other hand you may not get any difference in LC's rom because the files are already in the ROM, I use his build and don't use inspiremod patch because of this.
Sent from my Inspire 4G using Tapatalk 2
So how does the ROM differentiate between phones?
Is it based on the cell phone provider?
Having the dual mic active is quite useful, isn't it?
The Moto Milestone I had before was quite good at noise cancellation with the 2 mics.
The 2 mics be used to record videos with stereo sound perhaps?
I'm trying your patch on my DHD, I'm curious what it will do.
Thanks
I tried your fix on RD-MIUI 2.4.13 and didn't notice any difference. The only problem I'm having is low speaker volumes (I'm comparing it to the sounds from a sense rom).
On a side note, how do I know if the dual mics are working?
Edit: I forgot what the edit was going to be. When I remember I'll come back.
2nd edit: just flash from recovery as you would any rom without wiping anything?
Sent from a dream.
RD-MIUI is based on LordClock ICS so you may not need it. But I think I have something you can flash for low volume... Let me check something here...
Edit: here is something I found weeks ago for low volume, but haven't tried it. There is a file called "Low_mic_volume_fix.zip" give it a try, but backup first.
http://forum.xda-developers.com/showpost.php?p=22203796&postcount=14623
Sent from my Inspire 4G using Tapatalk 2
If you don't mind, I'll link you where I might have explained it better.
http://forum.xda-developers.com/showthread.php?p=25560461
Edit: For example, hearing the ringtones, stuff on youtube, etc.
Sent from a dream.
Teichopsia said:
I tried your fix on RD-MIUI 2.4.13 and didn't notice any difference. The only problem I'm having is low speaker volumes (I'm comparing it to the sounds from a sense rom).
On a side note, how do I know if the dual mics are working?
Edit: I forgot what the edit was going to be. When I remember I'll come back.
2nd edit: just flash from recovery as you would any rom without wiping anything?
Sent from a dream.
Click to expand...
Click to collapse
How do we know if dual mics are working? Is it activating a Mic near the camera/speaker area, or a second in the normal area?
Sent from my Desire HD using Tapatalk 2
wrenhal said:
How do we know if dual mics are working? Is it activating a Mic near the camera/speaker area, or a second in the normal area?
Sent from my Desire HD using Tapatalk 2
Click to expand...
Click to collapse
I don't own the inspire anymore, but I think you could activate the dual mic with: snd3254 -dpsmode 0
Better way is to grab the file 30dualmic from inspiremod (original) and put in /system/etc/init.d/
Sent from my HTC One X using Tapatalk 2
Hello folks.
I am curious if anyone knows of any regularly updated decent kernels / ROMs that have 2-way call recording capability? (Not recorded through the mic.)
As far as ROMs...Jellybean only please.
zath said:
Hello folks.
I am curious if anyone knows of any regularly updated decent kernels / ROMs that have 2-way call recording capability? (Not recorded through the mic.)
As far as ROMs...Jellybean only please.
Click to expand...
Click to collapse
It will never be a kernel issue. This would be done through a ROM or an app.
None of the Jellybean ROM's for the Sensation currently have this as a standard option as far as I know.
Thanks for the response.
Are you sure though? I was under the impression that the kernel was the only thing that mattered.
Based on the information found in these threads:
http://forum.xda-developers.com/showthread.php?t=1441643
http://forum.xda-developers.com/showthread.php?t=1287544
http://forum.xda-developers.com/showthread.php?t=1287544
...and others I have come across in the past.
These are quite old though. I would rather not use a super old kernel. =P
I realize that I will need an app to record phone calls. However if you have ever tried out apps that are designed to record calls on a sensation they only work when you use speakerphone (basically the mic records what the speakerphone pumps out). Last I tried most kernels were incapable of grabbing the audio data internally for some reason.
I think the reason was something along the lines of the initial developers did not include that functionality and it would be a lot of work to include after the fact, tons of extra code etc.
Also! I like your sig!
zath said:
Thanks for the response.
Are you sure though? I was under the impression that the kernel was the only thing that mattered.
Based on the information found in these threads:
http://forum.xda-developers.com/showthread.php?t=1441643
http://forum.xda-developers.com/showthread.php?t=1287544
http://forum.xda-developers.com/showthread.php?t=1287544
...and others I have come across in the past.
These are quite old though. I would rather not use a super old kernel. =P
I realize that I will need an app to record phone calls. However if you have ever tried out apps that are designed to record calls on a sensation they only work when you use speakerphone (basically the mic records what the speakerphone pumps out). Last I tried most kernels were incapable of grabbing the audio data internally for some reason.
I think the reason was something along the lines of the initial developers did not include that functionality and it would be a lot of work to include after the fact, tons of extra code etc.
Also! I like your sig!
Click to expand...
Click to collapse
Well I'll be a son of a gun.....I guess I was wrong about the kernel not being involved. I knew the kernel controlled the audio at the very basic level, but I never realized it would have to be involved in sending that audio to another app.
DO NOT using one of those old kernels you linked though. They are for another phone. It will screw up your ROM and you'll have to restore a back up.
As far as I know all ICS/Sense based kernels can be used for 2WCR. For Gingerbread they needed a patch, but for ICS I think it comes enabled in the source code. Personally I use a Kernel from a banned dev, but I think you could use Faux or Bricked and have 2WCR. Don't worry about them not being updated, there is not much development you can do on a platform that had been out for so long (and I mean ICS 4.0.3).
For 4.1+ and AOSP I have no idea...
papete said:
As far as I know all ICS/Sense based kernels can be used for 2WCR. For Gingerbread they needed a patch, but for ICS I think it comes enabled in the source code. Personally I use a Kernel from a banned dev, but I think you could use Faux or Bricked and have 2WCR. Don't worry about them not being updated, there is not much development you can do on a platform that had been out for so long (and I mean ICS 4.0.3).
For 4.1+ and AOSP I have no idea...
Click to expand...
Click to collapse
I didn't know that. Thanks a bunch!
Recently I had a bit of time on my hands (lack of time is most often my biggest problem ><) so I started trying out some ROMs to see if any had 2WCR. What I was looking for in order of importance: Jelly Bean, ROM that was upgradable to Pdroid 2.0/OpenPdroid, and 2WCR. I ended up using [ROM][CM-10.1][JB 4.2.1][KANG] NameLess Bean [05.02.2013] so far it's a great ROM. Doesn't bench quite as high as my last ROM. I plan on installing some of the performance / battery mods out there once I have been rocking this ROM a week or two and know which bugs it already has =P (so that I can know if any of the mods create bugs heh).
I ended up using the app CallRecorder (skvalex) after trying several other apps which didn't work so well. CallRecorder only has one problem I've noticed, the files it saves do not show up within the app. If you go to the saved directory they are all there and work fine though. /storage/sdcard0/voix by default.
Hopefully this post will be helpful for sensation users looking for 2WCR in the future. Thanks again papete!
good
good innovative feature
I use CallRecorder app too but its very hard to hear what other people are saying, you need to use speakerphone.
I really don't understand why is this feature not fully implemented on all android phones, i often forget what i talked with someone few minutes before, so i need to recheck.
mladen8 said:
I use CallRecorder app too but its very hard to hear what other people are saying, you need to use speakerphone.
I really don't understand why is this feature not fully implemented on all android phones, i often forget what i talked with someone few minutes before, so i need to recheck.
Click to expand...
Click to collapse
One of the reasons it's not implemented on all phones is because it's illegal to record calls without consent in a lot of places.