[Moto MAXX XT1225 / Droid Turbo XT1254][OFFICIAL][EOL] CyanogenMod 12.1

edaknik

Member
Jan 5, 2016
9
10
0
xt1250: Running ROM cm-12.1-20160104-NIGHTLY. Bluetooth with "media audio" works fine, but "phone audio" totally non-functional. I can connect device to BT speaker and play music stored in device's internal storage (with A2DP profile). Can pair device to Bluetooth headset (Plantronics M55) and listen to music in headset from device. However, cannot get any audio in Bluetooth headset when making a phone call. It would appear that Bluetooth is functional for me in both A2DP and HSP profiles, except for phone calls. Could I have not flashed the correct radio.img file?
 
Last edited:

Skrilax_CZ

Inactive Recognized Developer
Dec 20, 2009
1,240
2,397
0
xt1250: Running ROM cm-12.1-20160104-NIGHTLY. Bluetooth with "media audio" works fine, but "phone audio" totally non-functional. I can connect device to Bluetooth speaker and play music stored in device's internal storage (with A2DP profile). Can pair device to Bluetooth headset (Plantronics M55) and listen to music in headset from device. However, cannot get any audio in Bluetooth headset when making a phone call. It would appear that Bluetooth is functional for me in both A2DP and HSP profiles, except for phone calls. Could I have not flashed the correct radio.img file?
No, that will be something left out in the audio config (perhaps forgotten flag for phonr calls). Will review again. Anyway, it's some progress.
 

beanman97

Member
Jan 22, 2014
22
1
0
Well it successfully installed. Now it says I have no sim. And the band is locked to
WCDMA preferred
Would it be possible to get a factory radio IMG as a zip installable with twrp. Out of the box it came with 4.4.4 and I've fixed this problem with rsd reflash before. But have no computer to work from at the moment
 

fedecape

Senior Member
Jan 23, 2012
296
32
0
Miami, FL
No, that will be something left out in the audio config (perhaps forgotten flag for phonr calls). Will review again. Anyway, it's some progress.
Hey @Skrilax_CZ,

Hope you're doing great. First of all allow me to thank you for all the great work you have done for this community.

I am bothering you because, like probably most of us, I am curious about the progress of CM13. I understand that you are working on it using your second Maxx. Is this still the case? Have you had the time to make some progress?

This is by no means a request, a complaint, or anything like that. Just simple curiosity.

Thanks in advance
Fede

Sent from my Moto MAXX using Tapatalk
 

screege

Senior Member
Sep 28, 2008
65
5
0
xt1250: Running ROM cm-12.1-20160104-NIGHTLY. Bluetooth with "media audio" works fine, but "phone audio" totally non-functional. I can connect device to BT speaker and play music stored in device's internal storage (with A2DP profile). Can pair device to Bluetooth headset (Plantronics M55) and listen to music in headset from device. However, cannot get any audio in Bluetooth headset when making a phone call. It would appear that Bluetooth is functional for me in both A2DP and HSP profiles, except for phone calls. Could I have not flashed the correct radio.img file?
Same problem here
 

Skrilax_CZ

Inactive Recognized Developer
Dec 20, 2009
1,240
2,397
0
I have fixed BT voice calls, for the moment you can download the attachment, unzip and do:
Code:
adb root
adb remount
adb push audio.primary.apq8084.so /system/lib/hw/
adb reboot
Indeed, the reason why only some users were affected is, that if you used 8 kHz sample rate in your phone call, then it was configured properly, while 16 kHz sample rate is misconfigured.

EDIT: I've reuploaded the HAL, the original upload had a bug that once you used your BT headset (16 kHz sample rate), then it would not switch back to 8 kHz sample rate (for your car) until you reboot. Fix will be in nightlies when this is merged: http://review.cyanogenmod.org/#/c/127448/ (or resolved otherwise).
 

Attachments

Last edited:

ChazzMatt

Recognized Contributor
Nov 30, 2010
18,308
14,151
253
Atlanta, Georgia
Indeed, the reason why only some users were affected is, that if you used 8 kHz sample rate in your phone call, then it was configured properly, while 16 kHz sample rate is misconfigured.
I never had any issues with BlueTooth on a Jawbone Icon headset or on my Pioneer car stereo. Was it just configured for both to be 8 kHz by luck? Or is this something a user would change somewhere on their phone? I don't see any settings like that in Settings/Bluetooth in CM12.1...

But thanks for fixing it for others!
 
Last edited:

Skrilax_CZ

Inactive Recognized Developer
Dec 20, 2009
1,240
2,397
0
I never had any issues with BlueTooth on a Jawbone Icon headset or on my Pioneer car stereo. Was it just configured for both to be 8 kHz by luck? Or is this something a user would change somewhere on their phone? I don't see any settings like that in Settings/Bluetooth in CM12.1...
This part affects phone calls only. Typically cars do not use 16 kHz for calls.
 

ChazzMatt

Recognized Contributor
Nov 30, 2010
18,308
14,151
253
Atlanta, Georgia
This part affects phone calls only. Typically cars do not use 16 kHz for calls.
OK.

FYI, I stream Pandora music all the time from my phone through my Pioneer car stereo, via Bluetooth -- before, during and after phone calls. No issues.

And when I make/receive calls, while driving the music volume automatically turns down and the call volume goes up. It all goes through my speakers and I have a mic on the windshield. Then, when the call ends, the music goes back up automatically.

Has always worked fine for me. But others complained about Bluetooth, enough that I knew it was a real issue for some.
 
Last edited:

screege

Senior Member
Sep 28, 2008
65
5
0
I have fixed BT voice calls, for the moment you can download the attachment, unzip and do:
Code:
adb root
adb remount
adb push audio.primary.apq8084.so /system/lib/hw/
adb reboot
Indeed, the reason why only some users were affected is, that if you used 8 kHz sample rate in your phone call, then it was configured properly, while 16 kHz sample rate is misconfigured.

EDIT: I've reuploaded the HAL, the original upload had a bug that once you used your BT headset (16 kHz sample rate), then it would not switch back to 8 kHz sample rate (for your car) until you reboot. Fix will be in nightlies when this is merged: http://review.cyanogenmod.org/#/c/127448/ (or resolved otherwise).
Will try it and post thanks a lot!
 

localceleb

Senior Member
Jul 11, 2009
1,444
505
143
Birmingham
I have fixed BT voice calls, for the moment you can download the attachment, unzip and do:
Code:
adb root
adb remount
adb push audio.primary.apq8084.so /system/lib/hw/
adb reboot
Indeed, the reason why only some users were affected is, that if you used 8 kHz sample rate in your phone call, then it was configured properly, while 16 kHz sample rate is misconfigured.

EDIT: I've reuploaded the HAL, the original upload had a bug that once you used your BT headset (16 kHz sample rate), then it would not switch back to 8 kHz sample rate (for your car) until you reboot. Fix will be in nightlies when this is merged: http://review.cyanogenmod.org/#/c/127448/ (or resolved otherwise).
I was one of the users that was affected by this bug. Cannot wait to test!

Sent from my SM-T800 using Tapatalk
 

meskes

Senior Member
Feb 7, 2012
231
42
0
Tucson
OK. Right now, I don't have a working PC, so I'm having to Mcgyver everything together. I'm currently having an issue with my phone's radio not wanting to go into LTE even though I've go it on Global, like its supposed to. Does anybody have any suggestions about how to fix this without having to reflash the radio or stock rom?
 

edaknik

Member
Jan 5, 2016
9
10
0
Bluetooth voice calls are working now, but I just realized that like meskes the device only indicates a 3G connection. I've tried various things I've found from searching the issue, but none has worked.