Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,728,302 Members 51,334 Now Online
XDA Developers Android and Mobile Development Forum

A2DP Bluetooth music FIX CM10 Roms

Tip us?
 
racky29
Old
(Last edited by racky29; 6th April 2014 at 11:05 PM.) Reason: rudi flashable zip
#1  
racky29's Avatar
Member - OP
Thanks Meter 26
Posts: 61
Join Date: Nov 2012
Location: west midlands
Default A2DP Bluetooth music FIX CM10 Roms

I have found a fix for people having problems with A2DP Bluetooth music on CM10 Roms
I installed the Honamiz II beta recently and the A2DP Bluetooth music wasn't working

like with most of the CM10 roms for Desire C
the Bluetooth calls work but the music just plays on the phone speaker

so I had a look around and found this fix that worked for me straight away (on the Honamiz Rom Anyway).

link to page I found
http://forum.xda-developers.com/show....php?t=1887297

A2DP fix for media CM10

Looks like sample rate is missing in the at a2dp line in the "audio_policy.conf" file
File location:
/system/etc/audio_policy.conf

the line "sampling_rates 48000"
the number 44100 needs to be added before the 48000 with this "|" symbol
and it should look like this

"sampling_rates 44100|48000".

After changing the sampling rate save and reboot your device in order for it to take effect.

Edit file with ES-explorer or Root Explorer text editors.
and make sure you have system set to RW

the section your looking for is near the bottom section of the file
and looks like this

Code:
a2dp {
  outputs {
    primary {
     sampling_rates 48000


Just add the 44100 like below and save file

a2dp {
  outputs {
    primary {
     sampling_rates 44100|48000

this worked for me and may work on other Roms
NOTE: just set sampling_rates 44100 works the same on desire c cm10
and a flashable zip made by rudi_j7 here
http://d-h.st/6Zp
. good luck

thanks to the post by KRZ-2pa
The Following 5 Users Say Thank You to racky29 For This Useful Post: [ Click to Expand ]
 
rudi_j7
Old
(Last edited by rudi_j7; 16th March 2014 at 07:03 PM.)
#2  
rudi_j7's Avatar
Senior Member
Thanks Meter 143
Posts: 471
Join Date: Dec 2013
Location: Mumbai
I'll try it out. Hang on.


EDIT: It works!!! nice!
Sent from my HTC Desire C using XDA Premium 4 mobile app
The Following 2 Users Say Thank You to rudi_j7 For This Useful Post: [ Click to Expand ]
 
racky29
Old
#3  
racky29's Avatar
Member - OP
Thanks Meter 26
Posts: 61
Join Date: Nov 2012
Location: west midlands
Such s simple fix. This bluetooth problem was bugging me for ages I had to go back to stock ics for a while because I bought s new car stereo with bluetooth . So im happy now it seems to work fairly good

glad it works for you
The Following User Says Thank You to racky29 For This Useful Post: [ Click to Expand ]
 
rudi_j7
Old
#4  
rudi_j7's Avatar
Senior Member
Thanks Meter 143
Posts: 471
Join Date: Dec 2013
Location: Mumbai
Same here ... Just couldn't figure out what was wrong!

Sent from my HTC Desire C using XDA Premium 4 mobile app
 
rudi_j7
Old
#5  
rudi_j7's Avatar
Senior Member
Thanks Meter 143
Posts: 471
Join Date: Dec 2013
Location: Mumbai
hey guys! I've made a flashable zip file of the fix. here: http://d-h.st/6Zp
The Following 3 Users Say Thank You to rudi_j7 For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes