yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] memin1857:
Would you try adjusting bt gain (lower or higher) from hd2 mic control app from market?

It normally works in realtime but with bt you have to try and give feedback if it requires a reboot.
[HD2 Android NAND Development] codiak:
I probably expressed myself incorrectly. I mean music playback via BT.

I dont think it has to do with mic-gain as it was ok with 12.1

That makes me belive it has todo with acdb file.
[HD2 Android NAND Development] Olioaglio:
I would rather see "libaudio.so" as

possible culprit for those sort of problems. Though I cannot confirm this issue for myself with r12.4v3

Cheers, Olioaglio

Sent via HTC HD2 with XDA Premium
[HD2 Android NAND Development] Zupp34:
The link in the first post that says 'for CLK try this...' is from early September and tytung r12 beta 1. Is there any file for tytung r12 beta 4?
[HD2 Android NAND Development] memin1857:
See here: http://xdaforums.com/showthread.php?t=1258110

(Be careful about the initrd.gz)
[HD2 Android NAND Development] memin1857:
I think that is because of a2dp bitrate setting. It is a common issue with many phones/computers. I am not really sure of the source of the problem but you may search the internet for android a2dp bitrate and similar queries.

Also trying different versions of acdb/libaudio files or kernels and giving feedback would be useful.

I think it is most likely the bitrate is set too low (like 32 while it could be 54 something like that)
[HD2 Android NAND Development] odoss:
Please i have an issue :

Using call recorder, the result is a very low volume with tytung 12.4 kernel ( CyanogenMod 7 Nightly build ), but i had a perfect volume ( for 2 sides ) in sense build ( HierOS kernel ),

so is it a kernel issue or what ? if there's a fix tell me please.

Thank you !

Edit :

The Good thing :

Call recording volume Fixed with these values in 10mic_level :

echo '0 900' > /proc/mic_level

echo '1 1000' > /proc/mic_level

echo '2 900' > /proc/mic_level

echo '4 900' > /proc/mic_level

( suggested from a member developper in xda but with sense rom )

The Bad thing :

Now i have A LOT of background noise :(

what's the good values for that PLEASE ?
[HD2 Android NAND Development] Olioaglio:
@odoss: Call Recording feature is disabled in Tytung 12.4 kernel. A downside of this kernel version unfortunately due to bugfixing of BT commands. Use 12.1 or earlier version if you need proper Call Recording feature. You can find some post about this in the kernel thread. Hope this helps.

Olioaglio
[HD2 Android NAND Development] gasanpride:
Are they (Kernel's dev) planning to create a fix for SD builds as well? The way I understand the 1st post the fix was designed for NAND roms only.

Also, the HD2 Mic control from market I believe was designed for TY's 12.4 only and won't work for any other Kernels. There could be some frustrated users downloading it only to find out the incompatibility. I think this is a good candidate for standardization.
[HD2 Android NAND Development] jan-willem3:
It is not on every rom aosp roms dont have this thanks to iamgpc. Try tytungs or iamgpc's rom and you will see it is not there.
[HD2 Android NAND Development] robrob777:
Hi in my ROM

After applying:

http://xdaforums.com/showthread.php?t=860850

Mic gain is perfect. I beleive is letama's file.

Speakerphone is "OK" (however as you said, mic gain doesn't not change).

No background noise here either.

edit:Also Tyween CM7 doesn't have this problem, I never experienced in the 4+ months I used it.

I have the Tmo version
[HD2 Android NAND Development] Pierrot Lunaire:
I'm not sure if you ever noticed my old thread on the Q&A forum but this is possibly related:

http://xdaforums.com/showthread.php?t=1042051

Not sure if that code I posted there can help you, but maybe...

There's also this thread I found a while ago on the Galaxy S forum relating to sound issues that could be of help:

http://xdaforums.com/showthread.php?t=806195
[HD2 Android NAND Development] ozkaya:
I don't agree with you that this is the LAST major issue remaining nor the most important for HD2. These things are all subjective, you can say it is really important for you, but for me never using speakerphone, 720p recording is more important. Anyway hope this gets solved as well, along with some other bugs we're still facing.
[HD2 Android NAND Development] codiak:
At least, its a phone. If the phone is not functioning properly, I would also call it a major issue.

Just my 2 cents.
[HD2 Android NAND Development] raven_raven:
There is a difference. If the phone functionality in a, very advanced, but still phone is bugged, so it is an issue. 720p recording is just a feature, it is optional. HD2s were designed to record in 480x800 and higher resolutions are something nice to see, but... we can live without it.

PS. I missed "Quote" button and clicked "Thanks". I really didn't mean to.

Oh, and one more thing. This is a development thread. Not "Post most bugging you issue on your HD2", not "Off-topic discussion about bugs in Android on HD2" or so. I think only devs should post here. If you have nothing relevant and useful to say, please don't say it. If you want to say "HEL YEAH IT'S A AWFUL ISSUE PLS FIX IT" then just clicking "Thanks" button under first post will do. Everyone want to have this bug fixed, so... nobody really cares, if you post it.
[HD2 Android NAND Development] memin1857:
Are you saying aosp roms change their mic gain when speakerphone is enabled/disabled????

I'll just try that now.

EDIT: I tested the mentioned roms and they have the same problem, it makes sense since they are using the same kernel with same acdb files. I think you misunderstood what the actual problem is. iamgpc told me that the problem is not related to libaudio.so which he modified. And this is written in the first post, please read it throughly again, it has been edited lately.
[HD2 Android NAND Development] clyder:
I haven't had that impression while using any AOSP rom (NexusHD, every CM7 rom I tried, UltimateDroid...). People are always complaining to me that they barely hear me when I use the speakerphone while driving.
[HD2 Android NAND Development] memin1857:
Yes, I tested the mentioned roms and they have the same problem since they are using the same kernel with same acdb files. I think jan-willem3 misunderstood what the actual problem is.
[HD2 Android NAND Development] jan-willem3:
Well Iamgpc made a different default.acdb file.

I had the idea that with that file the problem was fixed.
[HD2 Android NAND Development] memin1857:
I found the acdb file made by iamgpc (it is 125868 bytes)

I tested it and it has the same levels as default.acdb. The mic gain is always high in both normal and speakerphone mode. I was unable to find information about what he wrote when he released it.

I pm'ed him to ask about what was different from default.acdb or LeTama's htcleo.acdb

So sorry for us, iamgpc's file doesn't work either.
[HD2 Android NAND Development] odoss:
Any one tried this fix with this build ( gingerbread sense 3 )? :

http://xdaforums.com/showthread.php?t=1100707

Please i want to be sur it works :(
[HD2 Android NAND Development] memin1857:
I checked the rom zip and it contains iamgpc's htcleo.acdb file. Which would probably have too much background noise, I didn't make a call test. The roms thread has posts about background noise/mic gain too. So, no it doesn't work.

This is a DEVELOPMENT THREAD that is MISSING A DEVELOPER. We need to attract someone's interest to work on the kernel, I don't think it would be very difficult for a skilled person. Testing current roms won't get us anywhere. We need to identify the cause, find the code responsible for getting the gain values.
[HD2 Android NAND Development] odoss:
there's a lot of background noise yes, i miss the crystal quality sound and mic gain in sd builds :(

i don"'t think a developper can help because :

1- it's a major issue so i don't think it takes a lot of attention for them with the huge number of new phones to cook.

2- they expect donations, personnaly i want to donate for that fix and the smooth 720p recording like in the windows phone 7, i hope...
[HD2 Android NAND Development] memin1857:
I thought it was clear that BACKGROUND NOISE IS NOT THE REAL PROBLEM. You can get rid of background noise easily by using LeTama's htcleo.acdb file on first page, post 8.

The purpose of this thread is to solve normal and speakerphone mic levels being equal, while they are not supposed to be.

It's like this: if you use letamas htcleo.acdb file you will get crystal clear sound with no background noise, but talking over speakerphone won't be easy.

If you use any other acdb file your mic will stay at speakerphone mode all the time causing bad sound quality for the remote party.

for now it's best to use letamas file on page 8 and not use speakerphone since it is not required most of the time. This is of course until someone comes and fixes the kernel.
[HD2 Android NAND Development] hd2k10:
In addition to the mic gain fix, it lowers all your volumes, calls won't be as loud and music isn't as loud...speakerphone is rendered useless by volume and mic gain --- Play music with it and you'll see what I mean... but I do use it, not having to repeat my self 15 times because of a fan on the other side of the room > any other down fall
[HD2 Android NAND Development] clyder:
I tried yesterday to put default.acdb from certain NexusOne rom since its size was different then default.acdb I found in Desire rom (the same file exists in Typhoon CM7 and some other). In JW MIUI rom I got a terrible audio feedback with speaker turned on or off. This morning I tried to do the same with NDT MIUI DEVELOPMENT V19.0 but there it seemed to work just like letama's acdb. No audio feedback but no mic gain also when speaker is turned on.
[HD2 Android NAND Development] hutc:
mic gain/speaker

hi memin thank you for the zip file i changed it in my boy ppc desire hd build 18 using the droid explorer, then i checked the sound quality during a call is much better ,then i noticed some changes the loudness of a mp3 song while it is playing decreased by 30% ,then i tried to record a 480p video and played it the background sound while playing it had decreased considerably around 80% compared to the build files in boy ppc build

memin i dont care for mp3 sound loudness for me more important is the voice quality during a call and also the quality of sound in a recorded video

i thank you very much for your effort and i hope it gets much better from here
[HD2 Android NAND Development] memin1857:
I share your thoughts. Phone conversation quality has number 1 priority.

Mp3 loudness can be made higher with dsp manager app btw.
[HD2 Android NAND Development] pathaniya:
Thanks for bringing up this issue, am not a developer, though. In my experience, am HD2 NAND since Jan 2011, the Earpiece volume is way too loud even at the lowest. Speakerfone is fine.
[HD2 Android NAND Development] odoss:
Thank you for you answer, this is sad but i know it's not important i can live without it, hope someday it will be fixed.
[HD2 Android NAND Development] le_da:
im sory for my english

all my friends who I'm talking to hear a high background

"Low gain microphone & speaker high background"

but I do not understand what the update is good? for my rom Android:

NexusHD2-Gingerbread V3.2a (GWK74)(Android 2.3.7)[tytung_r13]

thank for your help
[HD2 Android NAND Development] gasanpride:
You may want to download the HD2 Mic Control app from market. You can adjust your Mic gain settings and see if it will help.
[HD2 Android NAND Development] le_da:
I have already download the app from HD2 Mic Control market.

my settings are at least (minimum), but my conversation is always a slight background noise to tell me my contacts.
[HD2 Android NAND Development] anand12:
Please help.

I am using Rafdroid 4.2.0 Froyo rom. How can I use the fix in this thread for that Rom? Since its a Froyo Rom I cannot use the one posted by HierOS since its meant for Gingerbread roms. Please help me iv searched and read about this everywhere but I do not understand it.
[HD2 Android NAND Development] odoss:
Trust me : go and install a gingerbread rom ( not sense gingerbread ) you'll be more than satisfied !!!
[HD2 Android NAND Development] odoss:
Guys how can i fix the low speaker gain ? i'm using Typhoon CM7 V3.8.0 using tytung kernel v14
[HD2 Android NAND Development] codiak:
This thread is about mic gain, not speaker gain!

Ask in your ROMs thread about such things...
[HD2 Android NAND Development] BL4zD:
Is anyone planning on porting this to cm9/ics roms? I tried to lower my mic gain with the market app but the minimum settings of 200 still sound robotic to my callers. I lowered it to 50 and that's optimum but I'm worried my voice will be too low for some callers and there's still some slight issues in the background even at that level.
[HD2 Android NAND Development] projekt06:
How did you set it lower than 200?
[HD2 Android NAND Development] projekt06:
I use it on Paranoid Android V2.13, but the speaker is very loud during calls.

Howerver, activating and deactivating hands-free-mode reduces volume. Is there a fix for this?
[HD2 Android NAND Development] projekt06:
Okey workaround is to press volume up and emediatly volume down. Couldn't find any fix
[HD2 Android NAND Development] memin1857:
This thread is not about earpiece or speakerphone volume, it is about mic sensitivity level. (volume the remote party hears, not the hd2 side) fyi
[HD2 Android NAND Development] Neo84:
I know that it's a different issue but I think the people in this thread might know the answer ;).

Is there a fix for the issue that the volume in outgoing calls (the volume you hear yourself!) is much to loud until you press vol up and vol down? After pressing the button you can adjust the volume normally. The setting is not saved and it's the same problem at the next call :(

PS: I'm using BOYPPCs DHD v18.
[HD2 Android NAND Development] memin1857:
I think this is your solution?

http://xdaforums.com/showthread.php?t=976145
[HD2 Android NAND Development] fuorionda:
Any chance to apply this on MIUI rom?

p.s. sorry about OT
[HD2 Android NAND Development] codiak:
@fuorionda:

Any chance to ask that in the intended thread?

@memin1857:

I have noticed to thinks while using the LeTamas htcleo.acdb file for some days now:

High mic gain issue is way better, but the phones speaker gain is quite low now (ringtones, music etc)

The bluetooth audio quality and volume is lower than with the default.acdb

So these files seem to have an effect on the sound volume too.

Can anyone confirm this?

I am using pongsters HyperDroid CM7 build with tytungs r10 kernel.
[HD2 Android NAND Development] rr5678:
Try Volume+ to increase the speaker volume.
[HD2 Android NAND Development] codiak:
It is at max
[HD2 Android NAND Development] akapaul26:
Wow, reading this thread was the biggest waste of time for me, just wanted to let you all know my thoughts...
[HD2 Android NAND Development] sbryan12144:
Not to sound mean, but I agree.. I don't understand how this is a development thread when no one is developing on the problem? I understand it's a known problem but everyone's posting about the same issues that was already explained in the 1st post. Until it's fixed, I feel this thread should be closed. This is about as useful as a bounty thread. Everyone knows the problem and wants the same outcome, but it's a waste of posts unless it's actually being fixed (which at the moment, it's not).

But that's my two cents. I'd investigate the problem, but I don't have enough experience.
[HD2 Android NAND Development] Zupp34:
This thread is to bring this issue to the foreground so that devs can know about it and how it affects many. Before it starts getting attention from devs, it's not fair to ridicule the OP for doing what will eventually benefit all of us.
[HD2 Android NAND Development] rkarab:
I don't agree. High background noise and speaker level has been an annoying problem since the first day and someone needed to raise this. OP certainly deserves appreciation for bringing all past works together and asking for a solution. Many posters share their experiences and make proposals to help solving the issue, although some of them may just repeat the same thing. Still, their contribution to the solution is certainly more than the above post.
[HD2 Android NAND Development] memin1857:
The intention of this thread is to ATTRACT ATTENTION OF A DEVELOPER.

Yeah everybody knows this for more than a year but it has not been fixed in the last 14 months, has it? That means no dev cares (yet) If it will be fixed, it will be because this thread exists. If a developer would have cared without this thread, than it would have happened in the last 14 months.

It is not my fault that many people wrote non dev related posts. And those include ANY comment about the thread too.

If any DEVELOPMENT work starts, I would ask a moderator to clean up all the clutter. The best thing anyone could do (other than posting thread comments) go to irc chat room #htc-linux on freenode irc server and post the thread URL there and ask for attention. You could then keep track of the development log at http://irclog.netripper.com/htc-linux/ You will find the people who made android on hd2 possible, there.
[HD2 Android NAND Development] sbryan12144:
Yeah, I wasn't trying to step on anyone's toes here. I'm sure it'll get fixed eventually.
[HD2 Android NAND Development] exinesi:
Second that. I tried Louder Hack Volume and it didn't work but with Volume+, the phone speaker has improved greatly.
[HD2 Android NAND Development] WarlockW:
Hope a dev will look into this !

I get complaints ...

That the remote party hears too much background noise all the time ..

Just got a complaint lastnight .. they could hear: Cars .. Birds .. people talking ..

Could be because the mic gain is set to speaker phone levels even when in normal mode.

Would be great if we could take a look at this ..
[HD2 Android NAND Development] memin1857:
Your answer is already in the thread. Check first page attached htcleo.acdb file which will fix your problem.

But this is not the point of this thread.
[HD2 Android NAND Development] neato4u:
hey thread starter, just ignore those bunch of folks who just know how to rant and nothing else. I've used the file in first post on Hyperdroid ROM, and it works very well. Now when I call my son can hear be clearly (I thought it was a phone issue until I stumbled across this thread). Thank you very much. This thread should remain open.
[HD2 Android NAND Development] kikisp:
guys i just looked at my etc/firmware dir..it seams that i have 2 acdb files..one named default and one named htcleo..sooo which my sys use?
[HD2 Android NAND Development] :
Your system is using htcleo.acbd. It uses the device specific file if it is present.
[HD2 Android NAND Development] memin1857:
Size is important. There are different versions. The one on the 1st page 8th post is the one that lowers mic gain to normal levels.

And again, this is not the point of this thread.
[HD2 Android NAND Development] ayyu3m:
have a look here: http://xdaforums.com/showthread.php?t=1135539

and read the rom description, as copied here.

-High Background Noise Bug fix

wondering if he's already found the fix for this ailing problem or jus a claim.
[HD2 Android NAND Development] memin1857:
THIS THREAD IS "NOT" ABOUT HIGH BACKGROUND NOISE PROBLEM. It's already been fixed with LeTama's htcleo.acdb file. This thread is about MIC GAIN LEVELS BEING THE SAME between normal and speakerphone mode. (So you either have high background noise OR not usable speakerphone mode)
[HD2 Android NAND Development] codiak:
Wth LeTama's htcleo.acdb file speaker output is also lower. Sound is good with the default acdb but then again, mic gain is too high.
[HD2 Android NAND Development] akapaul26:
I am sure that every developer is already aware of the problem...don't you? If there was a fix I am sure they would share, and I am sure the developers are not ignoring the problem as I have read about the problem in almost every build I have tried.
[HD2 Android NAND Development] memin1857:
well, this is exactly what we are trying to get fixed.
[HD2 Android NAND Development] ayyu3m:
whew! atlast.
[HD2 Android NAND Development] odoss:
you think it's possible with all those developpers who tried to fix it before ?
[HD2 Android NAND Development] memin1857:
Actually, they didn't try. Nobody did. This issue just requires one developer to work on it. Nobody has ever worked on this matter (speakerphone gain) because it wasn't known. (DON'T confuse with high background noise, please) Most development work was for high background noise and LeTama fixed it. But it has side affects such as not usable speakerphone and low audio output (and that is what I am hoping to get fixed)

It can't be that hard if someone is working on it. All the info is here, all one needs is motivation. I believe it should be fixed in kernel while keeping the original default.acdb with no htcleo.acdb.
[HD2 Android NAND Development] chovav:
I totally agree with you memin1857, also my hat off for staying patient through all those comments.

As I am not a developer myself, the best I can do is offer a 20 euro donation to whoever fixes this problem! hopefully this way we can get a developer interested ;)

Anybody want to join me in gathering a reward for a developer for putting his time into it?
[HD2 Android NAND Development] guinhill:
Right now I use a bluetooth set as a workarround.

Considering you call this the last big problem with the HD2, we have come a long way since the first time someone "I don't even know Whom it was" started fiddeling arround with harret, back in 09.

Ty for raising awareness for this issue, I also thought it was a hardware problem.
[HD2 Android NAND Development] panayiotisit:
Works for me thank you
[HD2 Android NAND Development] robrob777:
Can we add the issue of the libaudio.so in Gingerbread? I believe it affects every gingerbread ROM out there.

Shhhh bug, muted Mic, crash while using BT voice command, dialer freezes, No sound bug, probably it is related to the htcleo.acdb and other libraries.

Thanks,
[HD2 Android NAND Development] DannyBiker:
+1 although it's not topic related. :o
[HD2 Android NAND Development] memin1857:
Since we failed to get attention from a developer I guess these are the only options we have and we can't get them all at once with the currently available kernels/acdb files:

-Get high audio playback volume, usable speakerphone BUT high background noise. (standart default.acdb)

OR

-Talk over the phone properly BUT get low playback volume and not usable speakerphone mode. (LeTama's htcleo.acdb)

Since playback volume is fixable with DSP Manager app and phone conversation quality is #1 priority, I think it is best to use LeTama's htcleo.acdb and just forget about using speakerphone :(
[HD2 Android NAND Development] rr5678:
Yes, I know this is a super-late reply, but I wasn't talking about the Volume + button, I was talking about Volume+, the Android application.
[HD2 Android NAND Development] memin1857:
Development started!

I have some great news, two respected developers started working on this matter and they even have some real progress by now.

Stay tuned!
[HD2 Android NAND Development] DannyBiker:
How about this one : http://xdaforums.com/showthread.php?t=1227784

Sorry, I couldn't resist...:o

Great news anyway !
[HD2 Android NAND Development] memin1857:
As stated in the first post, libaudio.so is not related to mic gain. (according to iamgpc)

A test kernel that sets two different gains would be out soon btw.
[HD2 Android NAND Development] memin1857:
FIXED!!!

THE PROBLEM IS FIXED! Thanks to respected developers mdebeljuh and jdivic we are now able to set mic gain level for normal mode and speakerphone mode seperately.

THAT MEANS you will have crystal clear voice with no high background noise while doing normal talking AND you will have working speakerphone mode AND you will have properly high audio playback volume ALL AT THE SAME TIME.

I have tested the test kernel mdebeljuh sent me and I confirm it is working. There will be more testing with values, different roms and file versions. We should be releasing code publicly soon. Check back later.