Can anyone add aptX audio enhancement CODEC to their ROM? - HTC Sensation

Team
Just wondering if it is possible to add this code to any of your roms? It comes pre installed in the new One series of phones. From what I have read Apt-x allows uncompressed data transmission of lossless audio files. SO out Blue Tooth audio will be much better.
I have the HTC Car SterereoClip which has this CODEC built in. I just wish my Sensation had it so I can gain the benefits.
Thanks all
Jerry

Ugh dev forum... ask questions in the q&a (question and answer). Or at least general. Follow forum rules. I'm surprised in 2 hrs I'm the first response.
Also bt is wacky right now for us (at least aosp roms). Several routing issues, so I doubt your problem will be solved until the regular bt issues get corrected.
Sent from my HTC Sensation using xda premium

wadill said:
Also bt is wacky right now for us (at least aosp roms). Several routing issues, so I doubt your problem will be solved until the regular bt issues get corrected.
Click to expand...
Click to collapse
Ok thank you

Related

Changing the bluetooth stack in Android?

How easy/difficult is it to achieve this feat, and is it a kernel dependency? Main reason I ask is that Sense UI is almost perfect, but it's BT stack is the only flaw, and for some a glaring one. How would one going about replacing HTC's deficient version with, say, Koush's Cyanogen Mod version which seems to work flawlessly? Thanks in advance for any answers or insight!
Azuran said:
How easy/difficult is it to achieve this feat, and is it a kernel dependency? Main reason I ask is that Sense UI is almost perfect, but it's BT stack is the only flaw, and for some a glaring one. How would one going about replacing HTC's deficient version with, say, Koush's Cyanogen Mod version which seems to work flawlessly? Thanks in advance for any answers or insight!
Click to expand...
Click to collapse
no one knows? i would have thought for sure somebody here would have done it or know if its possible. I'm looking for this as well
Bump... I've been asking the same question myself recently. I have an HTC Evo 4G and love my Sense-based ROM, but I hate the fact that I can't use certain Bluetooth accessories with it (ahem... Wiimote). Does someone have an answer?
Perfecteagle said:
Bump... I've been asking the same question myself recently. I have an HTC Evo 4G and love my Sense-based ROM, but I hate the fact that I can't use certain Bluetooth accessories with it (ahem... Wiimote). Does someone have an answer?
Click to expand...
Click to collapse
I'll love to do that too !!
did you find a solution yet?
thanks
giloser said:
I'll love to do that too !!
did you find a solution yet?
thanks
Click to expand...
Click to collapse
Simple answer is no. You can try a CM based rom that gives you those options but the stacks cant be swapped due to driver problems. It is a give an take. The Default has better strength and range but is missing a few unneeded option (PO), while CM uses Bluz stack which gives you the option but you lose some BT signal strength and range.

[test rom] Inspire 4g cyanogenmod dsp test rom

I am looking for someone to test this rom for me. With the help of kali- from the cyanogenmod project we have been working on improving audio for htc devices based on the dsp that is similar to the one in the Inspire 4g aka Desire HD. I have made a build that has dualmic enabled in the kernel and has the corresponding audio config files from the actual Inspire 4g. I need some users to extensively test the audio in this rom. All aspects, phone calls (regular / speakerphone / plugin headset with and without builtin mic), media playback, camera, voice input, etc.
Post your feedback please.
http://dl.dropbox.com/u/10166016/dsptest1-DesireHD-cm7-KANG-signed.zip
Install the same way you install cyanogenmod.
Thanks for testing.
Updated version:
http://db.tt/t9rtu7i
Test all audio scenarios and video.
Clean install or flash over current cm7?
Sent from my phone.
I will test this ROM over the weekend and report back. Thanks for your efforts. The Inspire's main weakness (other than the measly 1230 mAh battery) is it's weak and relatively poor audio quality, so your efforts to improve upon this are definitely appreciated!
Should be no harm doing just and update. It is based on all cm code up to last night. All I modified was ace audio stuff so you can just flash a newer nightly over it to revert or do a nandroid.
Cool! Downloading now and will test over the weekend and provide feedback throughout
Sent from my phone.
OK so how can I tell if dual mic is working?
Sent from my phone.
Been testing since yesterday afternoon and don't notice any difference in anything. Speaker, earpiece, headset, Bluetooth and any and all media including video and music all the same as stock
Sent from my phone.
Using this ROM (installed after a full wipe) I'm noticing very short and random drops in audio when listening to MP3's in PowerAmp. The MP3's are local (on the sdcard) and range in quality from 256k to 320k. The drops are relatively sporadic; sometimes they will be a minute or two apart, and other times I can go up to 10 minutes without a drop.
This is a wip. I don't think that dualmic is operational yet. It's enabled in the kernel but the libaudio that kali- is working on it is not operational as of yet.
jznomoney said:
This is a wip. I don't think that dualmic is operational yet. It's enabled in the kernel but the libaudio that kali- is working on it is not operational as of yet.
Click to expand...
Click to collapse
OK cool. Everything seems pretty much the same as of right now
Sent from my phone.
Is there any one or two things in particular you would like me to test specifically?
Sent from my phone.
jznomoney said:
I am looking for someone to test this rom for me. With the help of kali- from the cyanogenmod project we have been working on improving audio for htc devices based on the dsp that is similar to the one in the Inspire 4g aka Desire HD. I have made a build that has dualmic enabled in the kernel and has the corresponding audio config files from the actual Inspire 4g. I need some users to extensively test the audio in this rom. All aspects, phone calls (regular / speakerphone / plugin headset with and without builtin mic), media playback, camera, voice input, etc.
Post your feedback please.
http://dl.dropbox.com/u/10166016/dsptest1-DesireHD-cm7-KANG-signed.zip
Install the same way you install cyanogenmod.
Thanks for testing.
Updated version:
http://db.tt/t9rtu7i
Test all audio scenarios and video.
Click to expand...
Click to collapse
Please test update
What's new in this version if you don't mind me asking?
Sent from my Desire HD using XDA Premium App
The libaudio on the phone has been improved. Example would be less cpu usage and better FM support. Also the driver for the graphics has been updated.
just got my inspire the otherday. happy to test it out. i will download tonight and run it tomorrow after work. ill test alot of music and video. and let you know how call volume is when givin the chance to make a few calls. does anything else need to be tested or is it mainly just sound quality?
Downloaded and flashed last night. Audio seems to be working perfectly. I have tested all ring tones and notifications, FM Radio, Phone calls on speaker and wired headset, Music on wired headset and over the speaker. It all worked and sounded great. I will continue testing over the weekend.
One thing I am not clear on is how do I test the dual mic? Is there something I can do to prove that it is active?
Thanks
cj

Phonecall microphone boost?

Hi friends, I read a few threads about people complaining about poor microphone quality in phone calls. Well, even I am having the same issue, don't know if this is because of custom roms or what.
Also I noticed that, sensation has a two extra mics around camera, one near speaker and other two at bottom. But these extra mics seems to only work while recording videos. I have done some comparisons and Well sense/stock HTC camera records videos with excellent audio quality but when I'm on cm7 or miui the audio quality in video seems pretty average. Similarly when I was in cm7 Rom i never had people complaining about low microphone output. But on sense roms I have every caller asking me to speak more louder. So the point is, is there any mod or any dev can mod the sensation microphone to boost microphone gain? Maybe a fix for this in sense rom.
People, I would like to know your experiences too if you noticed the differences in other roms.
Sent from my HTC Sensation Z710e using XDA App
I have a similar problem. I tried a lot of ROMs on Android 4.0.3 and all-in microphone is very quiet! So far as I am suffering and I hope there will soon fix it.
HTC Sensation 4G microphone sucks
Kolesikkk said:
I have a similar problem. I tried a lot of ROMs on Android 4.0.3 and all-in microphone is very quiet! So far as I am suffering and I hope there will soon fix it.
Click to expand...
Click to collapse
Same problem with my device. The phone is good for everything else except phone calls. I have complains to speak louder, also network coverage sucks. I've changed a lot of roms and kernels, but it's all the same. Maybe the phone is meant to as it should on 4G networks, I'm currently using on 2G GSM network.
If someone comes up with a solution, please PM. Thanks

[Q] Nexus 5 Car Bluetooth Audio Streaming Quality

Hi, bought a Nexus 5 a few days ago, which is now running AOKP on stock kernel . Coming from a One M7 that was running Cyanogenmod 10.2.
I've noticed over the past couple days that the quality of the audio streaming via bluetooth to my car's stereo is comparatively much worse than my old One. In particular, I often get these very stringent, distorted high frequencies, especially when the music grows more complex. I don't recall any of this strange artifacting with my One. Could it have something to do with the better audio hardware of the One (superior DAC, amping, etc)? I don't know how much of an effect those would have on bluetooth streaming, though. Could it be the ROM I'm using has unoptimized bluetooth? Has anyone else noticed this?
I'm using the Google Music app if that helps anyone. Thanks in advance for the help.
The DAC and amplifier in the phone are not involved in the Bluetooth streaming process. Bluetooth is a digital signal so the digital-to-analog conversion is handled at the receiver end. The M7 does support Apt-X, which could have explained the quality difference assuming your car stereo also supports it (unlikely). You did say you were running Cyanogenmod though, and Apt-X is proprietary and thus I do not think it is supported in CM.
There could be an issue with the ROM. I know that CM11 is having some bluetooth audio issues, so AOKP may be as well. I would say a good first step would be to try stock and see if that resolves the problem.
Lastly, are you using the streaming functionality of Play Music? They did at one point change the streaming options so that it defaults to "Normal" quality instead of high. If you go to Play Music -> Settings -> Mobile Network Stream Quality, make sure High is selected.
Thanks for the tips. I tried adjusting the quality like you suggested, but I actually didn't notice any difference. I'm going to assume for now that this is a ROM issue and try stock when I get home.
I went through the arduous process of flashing a stock rom back onto the phone and tested the audio; there was no difference. I paired my old M7 to the car and played the same songs in comparison, and there was no question that it sounded much better. I think it bears repeating that the M7 is running 4.3.x, would that make a difference?
The issue comes up with upper treble frequencies, where it begins to sound very compressed and distorted, much like white noise. To eliminate all doubt, I played some CD's with the same songs, and they sounded crisp and fine.
Any additional help with this would be greatly appreciated. Streaming bluetooth audio in the car is very important to me and the inability to do so at a level of quality I would consider acceptable makes me rather inclined to return the phone. Is this a potential fix upcoming in 4.4.3? Thanks in advance.
I can confirm similar issues. My setup isn't going to win an high-fidelity awards, but I'm using a BT to FM converter. I do notice some clipping at high frequencies. For comparison, my N4 didn't have the clipping issue my N5 has, but the N5 sounds significantly brighter than the N4. The N4 was always a bit muddy on BT.
It could be an issue where the gain is too high by default. I'm not sure about AOKP but CM has the DSP manager built in, and you can adjust output for BT. Maybe play around with those settings?
I'll flash CM11 and see what results I get, thanks for the heads up.
I have the exact same issue. Will be following. I've found that the issue doesn't occur on anything CM based, probably because they use CAF drivers not AOSP. I'm currently running PA with Franco.
I have found a fix for 4.3 but I don't think it applies to kitkat.
http://forum.xda-developers.com/nexus-4/general/android-4-3-bluetooth-audio-quality-fix-t2386032
Sent from my Paranoid, ARTified and Francoed Nexus 5 via XDA Premium
hi everyone. i have a fiat bravo,and it only supports incoming and outgoing calls,what i ld like to do is , listen to pandora or youtube thru that connection. Because some of applications such as sygic etc transfers the sound to the car stereo,but youtube and etc doesnt. is there any solutions for that?
burakthepascal said:
hi everyone. i have a fiat bravo,and it only supports incoming and outgoing calls,what i ld like to do is , listen to pandora or youtube thru that connection. Because some of applications such as sygic etc transfers the sound to the car stereo,but youtube and etc doesnt. is there any solutions for that?
Click to expand...
Click to collapse
That's a bit OT for this topic, but in short, unless your car supports A2DP you can't listen to music over that connection.
Sent from my Paranoid, ARTified and Francoed Nexus 5 via XDA Premium
abra5umente said:
I have the exact same issue. Will be following. I've found that the issue doesn't occur on anything CM based, probably because they use CAF drivers not AOSP. I'm currently running PA with Franco.
I have found a fix for 4.3 but I don't think it applies to kitkat.
http://forum.xda-developers.com/nexus-4/general/android-4-3-bluetooth-audio-quality-fix-t2386032
Sent from my Paranoid, ARTified and Francoed Nexus 5 via XDA Premium
Click to expand...
Click to collapse
Interesting how you state that you don't perceive any issues with CM-based roms. I flashed 4.4.2 AOKP onto my M7 (which is coming from CM10.2) to test what the audio sounds like on it with KK, and I can confirm that the audio has the same issues the Nexus 5 has. With all the variables removed and with two different devices running the same ROM, I come to the conclusion that this is a software issue. I'm going to flash the latest CM onto the M7 later today to see if that resolves anything.
To say the least, this is frustrating, but good to see that there was a fix identified for 4.3. Hopefully that will trickle over to 4.4 soon enough.
Aftershok said:
Interesting how you state that you don't perceive any issues with CM-based roms. I flashed 4.4.2 AOKP onto my M7 (which is coming from CM10.2) to test what the audio sounds like on it with KK, and I can confirm that the audio has the same issues the Nexus 5 has. With all the variables removed and with two different devices running the same ROM, I come to the conclusion that this is a software issue. I'm going to flash the latest CM onto the M7 later today to see if that resolves anything.
To say the least, this is frustrating, but good to see that there was a fix identified for 4.3. Hopefully that will trickle over to 4.4 soon enough.
Click to expand...
Click to collapse
I had a look in that folder and it has stuff to do with A2DP in there, so that's helpful. Might have a look now. I'll report back here with my findings.
Sent from my Paranoid, ARTified and Francoed Nexus 5 via XDA Premium
---------- Post added at 11:06 PM ---------- Previous post was at 11:05 PM ----------
In fact, if you're flashing CM, can you have a look at that folder and screen shot it for me so I can see if the files are the same?
Sent from my Paranoid, ARTified and Francoed Nexus 5 via XDA Premium
abra5umente said:
I had a look in that folder and it has stuff to do with A2DP in there, so that's helpful. Might have a look now. I'll report back here with my findings.
Sent from my Paranoid, ARTified and Francoed Nexus 5 via XDA Premium
---------- Post added at 11:06 PM ---------- Previous post was at 11:05 PM ----------
In fact, if you're flashing CM, can you have a look at that folder and screen shot it for me so I can see if the files are the same?
Sent from my Paranoid, ARTified and Francoed Nexus 5 via XDA Premium
Click to expand...
Click to collapse
Thanks for your help. Can you be more specific as to which folder you're referring to? I'm fairly green when it comes to the nuts and bolts of this stuff, but I think I can handle a screenshot.
Aftershok said:
Thanks for your help. Can you be more specific as to which folder you're referring to? I'm fairly green when it comes to the nuts and bolts of this stuff, but I think I can handle a screenshot.
Click to expand...
Click to collapse
If you go to system/lib/hw there should be a lot of files in there which tell the hardware how to work with the software. There should be one in there which is called audio.a2dp.default.so
To do this, you'll need a root browser or something which allows you to view root files.
abra5umente said:
If you go to system/lib/hw there should be a lot of files in there which tell the hardware how to work with the software. There should be one in there which is called audio.a2dp.default.so
To do this, you'll need a root browser or something which allows you to view root files.
Click to expand...
Click to collapse
Does this help? I've attached two screenshots. I can't open the file itself.
Aftershok said:
Does this help? I've attached two screenshots. I can't open the file itself.
Click to expand...
Click to collapse
Yeah, you can't open them in Android.
I wonder if they're the same files, seeing as CM uses CAF not AOSP drivers...
abra5umente said:
Yeah, you can't open them in Android.
I wonder if they're the same files, seeing as CM uses CAF not AOSP drivers...
Click to expand...
Click to collapse
I wanted to confirm that I don't perceive a huge difference with the CM rom, if at all. The signal has a hard time keeping the highs clean and sounds very strident at times.
Did you have the DSP Manager (in CM) set up on the One?
I have both the One and N5... I immediately noticed a difference in A2DP quality with DSP Manager on/off.
Wanted to come in here and also state that the bluetooth audio for the Nexus 5 can be improved quite a bit. I actually miss the audio quality of my iphone 4 with both the audio out via headphone jack as well as the bluetooth audio out.
Running purity rom + elemental x kernel
Is bluetooth the only way to play music in the car through your phone.
USB won't work? I tried it in my car and it didn't work but when I googled it some people say different radios might work.

MultiROM support?

Not sure if this has been answered, but I searched this sub-forum with no results. Is MultiROM something we might see in the future for this phone?
Also, bonus question so I don't have to make another thread. Is it just me or is this phone's Bluetooth audio significantly lower than other phones? Seems my S7 edge (screw that phone) got way louder in that department. That phone was stock, this phone isn't. I've never used audio mods but now might be the time. What do you guys recommend?
Don't know about MultiROM. Guess we'll just see.
Regarding BT audio. Didn't stumble over this "issue" yet. But if you're looking for a sound mod, take on that's really universal and we'll done. I use Sauron from Ainur Audio Team. Thread by the team leader @UltraM8 can be found right here on XDA. it's a sound mod with some really good add-ons and a really good audio quality.
Sent from my HTC U11 using XDA Labs
Thanks for the reply!
I'm actually pretty surprised we don't have it (MultiROM) yet.
I'll go ahead and check that out once I'm off work, appreciate it!
Bump (is MultiROM still being pushed out anymore or was that just a phase?)
I found out about my Bluetooth issue. It was actually because I allowed poweramp to go louder than normal. If anyone is wondering.

Categories

Resources