[Q] Implementing Bluetooth AVRCP profile to stock ROM - Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A

First, you probably want to know, what is AVRCP.
AVRCP stands for Audio-Video Remote Control Profile. It transfer data over Bluetooth to the paired device.
Via that profile, for example, music metadata(title, artist) is sent to the Bluetooth device.
On CyanogenMod 7.2 ROM, on my LWW, I was able to see the music title on my Bluetooth headset(SE MW600). However, stock ROM has no support for it.
Is anyone familiar with these profiles and how can these be implemented to stock GB 2.3.4 ROM?

Someguyfromhell said:
First, you probably want to know, what is AVRCP.
AVRCP stands for Audio-Video Remote Control Profile. It transfer data over Bluetooth to the paired device.
Via that profile, for example, music metadata(title, artist) is sent to the Bluetooth device.
On CyanogenMod 7.2 ROM, on my LWW, I was able to see the music title on my Bluetooth headset(SE MW600). However, stock ROM has no support for it.
Is anyone familiar with these profiles and how can these be implemented to stock GB 2.3.4 ROM?
Click to expand...
Click to collapse
Looks like you're up to something new, good luck bro. Let us hear for any improvements in here.
I was able to see the music title on my Bluetooth headset(SE MW600) >> Cool!

Related

Android as a2dp bluebooth receiver?

I know its possible to send audio from an Android phone via bluetooth to a PC using the a2dp profile. But I want to do it the other way. Connect the phone to my amplifier and send audio via bluetooth a2dp from my laptop.
I've searched but not found. Anyone know it it's possible?
I think the standard BlueZ stack can't do this. I think the Broadcom BTLA stack might be able to do this ... IF you have the Broadcom Bluetooth chip inside.
Hi Pananza,
did you have success to use an android device as a2dp receiver? I'm looking for a solution but I didn't find anything useful.
The only solution that I have found is to use the NDK to access the BlueZ stack, but I'm not sure if this is the right way.
Thanks
Paulo
Using phone as A2DP receiver
Hello
I would like to do this too, have a Sony MW600, and it works perfect with laptop or my HTC Desire, but it can not be charged and used at the same time..
Will it be possible to do this on an Android that is not rooted?
Did anything ever come of this? I'm looking for an app that would allow android to receive bluetooth a2dp or whatever the basic format is (mono ok), and output audio on the headphone jack of the phone. Bass ackwards to what all other apps i've found are doing. I've always been a "special needs" user
chulew said:
Did anything ever come of this? I'm looking for an app that would allow android to receive bluetooth a2dp or whatever the basic format is (mono ok), and output audio on the headphone jack of the phone. Bass ackwards to what all other apps i've found are doing. I've always been a "special needs" user
Click to expand...
Click to collapse
any update on this?
Wanting to use Android OS in the dash of my vehicle hooked to the audio system and use bluetooth a2dp to connect to mobile phones to play media through the system.
I'm looking for a similar setup. Has anyone found a way to turn android into an a2dp receiver?
wy1d said:
I'm looking for a similar setup. Has anyone found a way to turn android into an a2dp receiver?
Click to expand...
Click to collapse
+1
You can transform your device into a wifi music receiver with the app called soundwire, you must install a server on your pc to stream audio from your pc to your android device. I didn't find anything with bluetooth.
Sent from my GT-N8010 using XDA Premium HD app
wy1d said:
I'm looking for a similar setup. Has anyone found a way to turn android into an a2dp receiver?
Click to expand...
Click to collapse
Same here. More and more people are going to have "last years" android phone lying around doing nothing and this would be an awesome way to re-purpose it.
Whether it uses BT, Wifi, I don't care as long as I can stream audio from one android phone to another. What I don't want is to deal with DLNA or manufacturer built in BS. Just need google to turn on the A2DP sink profile and be done with it. The hardware is all there, just need the software to take advantage.
The next best thing is one of those BT reciever dongles/boxes. They run about $20 I think. So PSA to android developers - if you can enable this in a paid app I'm ready to buy it and I'll bet a lot of others are as well.
http://stackoverflow.com/questions/15557933/receive-audio-via-bluetooth-in-android
snuk182 said:
http://stackoverflow.com/questions/15557933/receive-audio-via-bluetooth-in-android
Click to expand...
Click to collapse
Did that tutorial works for you?
I've tried, but it doesn't work. My Panasonic TV doesn't see my phone, so I cannot play the TV audio thru my phone.
Any ideas?
Thanks!
I was also looking for an app like this.
For my old phones, my android sticks, ... no progress I assume ?
Waiting the same here! My idea is to buy a bluetooth transmitter, connect it to my TV and receive the audio on my phone.
I can't think that is not possible! :crying::crying:
Truck Tablet Install
Hey Everyone,
Been very curious about this as well as I'm going to do a nexus 7 install in my truck and want to be able to bluetooth additional music aside from what is on the tablet through the tablet to my speakers. Kind of a necessity due to the lack of a 3.5mm aux into the stereo. Hopefully we can figure this out!
n00b
?
I'm also looking to do this.
I'd like to be able to connect a Bluetooth transmitter to the output of a mixing desk, and then just use my phone to receive the audio (which I'd then want to save with something like tapeatalk).
This could provide a very quick method of recording gigs or DJ sets in stereo, and would be better quality than simply using the built in mic of your phone.
a2dp sink.
Bluetooth File transfer app can stream music from another phone. And this is where tha first phone works as a a2dp sink am I right? Can't we use that to built an app to follow it but using pc/laptop as the source?
Seems, that no one is interested. What a pitty, it could be really HOT stuff. For example, cheap android phone pluged instantly to a charger and to Car Audio via AUX, and You have got Bluetooth automatic pairing system for calling and music, navi etc.
Unfortunately I couldn't find solution for this, neither the app. It is strange. Some people says, that Android can not be a sink (reciever) in a2dp profile. So how does microphones from earphones are streaming audio to a phone, hmm?
Maybe someone will do it
I have a LG G3 and it does it flawlessly. It have a function called "Turn Audio Channel mode" on bluetooth settings.
I'm wondering how to do the same thing on any other andoird phones.

Spirit FM radio App and Cyanogenmod 7.2

I had a couple of questions about using Spirit FM Radio app on CM 7.2. And I would like to know in detail about it.
Firstly, When I ran the Spirit app on CM 7.2 i noticed that it doesn't switch on the Bluetooth. Does that mean that it uses the internal Broad com FM chip instead of Bluetooth to receive FM transmissions just like in the LG stock FM radio app?
Will the Spirit FM app still run properly if I UN-install the CM 7.2 Stock FM app? Or does it need the CM 7.2 Stock FM app to run properly?
In the setting of the app, within audio, I saw various options like cyanogen Mod, LG, lge-msm7x27,etc. Even tough i didn't see any difference in quality while going through different options. Which would be the ideal option for us and What do these options do?
CM9 hasn't got a radio am I right? (Btw I'm new to the forum I couldn't find a topic to write this I'm sorry
What phone are you using?
When Bluetooth is enabled FM is enabled too because they locate at the same chip. It's the easiest way to enable FM and so is CM radio doing. Spirit FM (and stock LG) does it little bit harder by only enabling FM thus saving some starting time and battery (battery part is not a 100% fact though, only my own speculation).
You can remove CM radio, it is not needed.
Recommended method by author in Spirit is CyanogenMod. I don't know exactly what are the differences between different methods but stick with CyanogenMod.
Spirit FM does use Bluetooth, only the icons aren't changed that's all.
Sent from my LG-P500 using xda premium
4silvertooth said:
Spirit FM does use Bluetooth, only the icons aren't changed that's all.
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
I might be wrong but if Bluetooth is turned on i see no indication, not only in status bar, settings, no device discovers it (visible), i think i need an app to check the components...
Will check back whit the answer
Edit: It dose use bluetooth
moby_test said:
I might be wrong but if Bluetooth is turned on i see no indication, not only in status bar, settings, no device discovers it (visible), i think i need an app to check the components...
Will check back whit the answer
Edit: It dose use bluetooth
Click to expand...
Click to collapse
How did u finally come to that conclusion that it does use Bluetooth? And if it does... Does that mean that there is no big difference in the way Spirit, Cyanogen mod and LG FM radio app works?
I have my own thread for questions, 1st link in my sig: http://forum.xda-developers.com/showthread.php?p=13379669
And I respond to emails and PMs, but sometimes respond on my thread for all to benefit. Or just let me know a thread's been opened...
See below for answers:
sweettaniyaa said:
Firstly, When I ran the Spirit app on CM 7.2 i noticed that it doesn't switch on the Bluetooth. Does that mean that it uses the internal Broad com FM chip instead of Bluetooth to receive FM transmissions just like in the LG stock FM radio app?
Will the Spirit FM app still run properly if I UN-install the CM 7.2 Stock FM app? Or does it need the CM 7.2 Stock FM app to run properly?
In the setting of the app, within audio, I saw various options like cyanogen Mod, LG, lge-msm7x27,etc. Even tough i didn't see any difference in quality while going through different options. Which would be the ideal option for us and What do these options do?
Click to expand...
Click to collapse
Copied on my thread, because I did a lot of thinking and typing...
Yes you can remove the CM FM app.
On CM7, the default CyanogenMod audio method is generally best. It's the same method the CM7 FM app uses, so it's the most likely to work well, especially when dealing with things like phone calls coming in when FM is on.
If a CM ROM for any phone has a CM FM app, this method should work, but unfortunately that's not yet the case with CM9 ROMs. so low level methods are needed for now on CM9, and there are often issues, and many CM9 ROMs just don't support FM audio routing yet, or I haven't figured them out.
Re: Bluetooth: my app has many ways to access FM chips.
- The first method I supported was via Bluetooth (the HCI API), like the CM FM app. Like it, my app can run commands using the command line hcitool utility, and this is nice because my app can run without root/SU. But it's not too efficient, especially when using RDS where lots of data gets transferred.
- For better efficiency, with root, my app supports direct access to the HCI sockets, through a daemon, because apps don't have the privilege otherwise.
- But because many people were running stock or stock derived ROMs using the Broadcom proprietary BT stack, and I could find no way to send HCI commands with it, I created a "UART mode" that communicates directly with the Bluetooth/FM UART. The wireless part of Bluetooth is not switched on, which saves power. But this mode requires root (unless /dev/ttyHS0 or whatever is accessible from an app), and only works if BT is off.
- A new access method is available now on stock and stock derived ROMs that run the proprietary Broadcom BT stack and that supports the stock LG FM app. This can work on stock, unrooted devices. In this mode the characteristics of the stock FM stack are unavoidable, both positive and negative.
The Broadcom proprietary BT stack has a special mode where Bluetooth is considered off, but FM is on. This enables the Bluetooth HCI "UART" to provide a path to control the FM part of the chip.
- There are different device driver access methods used for dedicated FM chips not contained in a BT/FM combo chip, but those don't apply to the P500.
OK for SGA?
Can I use this FM radio app for my Samsung Galaxy Ace? I have Ice Cream Sunday ROM installed.
donzzy said:
Can I use this FM radio app for my Samsung Galaxy Ace? I have Ice Cream Sunday ROM installed.
Click to expand...
Click to collapse
Off-topic, and you should ask on my thread anyway, or check post 2 of my thread. Please don't respond here.
Canned response now:
The Simpsons taught me that among Hemingway's words of wisdom was:
“The shortest answer is doing the thing.”
IE, why don't you just try it ? It's free and only takes a minute or two I think.
There's even an intro that can be read and will give some useful information on configuration.
Then if you have trouble, you can come back, report it, and hope for an answer.
mikereidis said:
Copied on my thread, because I did a lot of thinking and typing...
Yes you can remove the CM FM app.
On CM7, the default CyanogenMod audio method is generally best. It's the same method the CM7 FM app uses, so it's the most likely to work well, especially when dealing with things like phone calls coming in when FM is on.
If a CM ROM for any phone has a CM FM app, this method should work, but unfortunately that's not yet the case with CM9 ROMs. so low level methods are needed for now on CM9, and there are often issues, and many CM9 ROMs just don't support FM audio routing yet, or I haven't figured them out.
Re: Bluetooth: my app has many ways to access FM chips.
- The first method I supported was via Bluetooth (the HCI API), like the CM FM app. Like it, my app can run commands using the command line hcitool utility, and this is nice because my app can run without root/SU. But it's not too efficient, especially when using RDS where lots of data gets transferred.
- For better efficiency, with root, my app supports direct access to the HCI sockets, through a daemon, because apps don't have the privilege otherwise.
- But because many people were running stock or stock derived ROMs using the Broadcom proprietary BT stack, and I could find no way to send HCI commands with it, I created a "UART mode" that communicates directly with the Bluetooth/FM UART. The wireless part of Bluetooth is not switched on, which saves power. But this mode requires root (unless /dev/ttyHS0 or whatever is accessible from an app), and only works if BT is off.
- A new access method is available now on stock and stock derived ROMs that run the proprietary Broadcom BT stack and that supports the stock LG FM app. This can work on stock, unrooted devices. In this mode the characteristics of the stock FM stack are unavoidable, both positive and negative.
The Broadcom proprietary BT stack has a special mode where Bluetooth is considered off, but FM is on. This enables the Bluetooth HCI "UART" to provide a path to control the FM part of the chip.
- There are different device driver access methods used for dedicated FM chips not contained in a BT/FM combo chip, but those don't apply to the P500.
Click to expand...
Click to collapse
Thank you for clearing it to me. But I don't know... something weird happened to me. I was using Spirit FM radio app whole day yesterday but the Blue-tooth icon never showed up. But today when tried the app again It has been showing the Blue-tooth icon. I don't get it. What changed? I tried re-booting and everything. Still the same.

[Q] Bluetooth Streaming

Hi All,
I am purchasing a Lexus IS250 shortly and I have been using a demonstrator version. I have a Galaxy S2 and can link the bluetooth ok for voice calls, etc. However I cant seem to link it for bluetooth music streaming. Does the S2 not have this capability?
I have tried using Checkrom (GB), Cyanogenmod (ICS) and MIUI V4 (ICS) and none seem to have that ability.
Thanks guys for any help!
Well, I am in India and the bluetooth streaming works great in my car.
After I connect my phone to the car, I get an option of "Streaming" in the various sources that I can select from viz., CD, Aux, Tuner, etc..
So, the answer to the question is, it does support streaming. You may want to fiddle a bit with the system on your car to see which option actually detects music streaming.
Check the bluetooth pairing in the phone settings. If you go advanced options (or whatever the menu is) you should see an option for connect to phone and connect to media. My guess is media is unticked.
I've been using ICS MIUI roms .. (used a few now)
Bluetooth works fine with them.
Even check ROM works.
What does'nt work and works only with MIUI roms is AVRCP !!!

Possible to send all audio over Wi-Fi?

Hi all
I'm looking at getting an Android 4.0 device - not a phone as it happens - but I'm going to want to have all audio sent over Wi-Fi in order to work with something like this: http://www.lindy.co.uk/usb-portable-wireless-audio-system/20404.html
Now if I was running Lindy I'd be sure to release an app for that, but I've not seen mention of one. I don't know Android well either.
Can anyone help? I was considering Bluetooth but it turns out that lossless Bluetooth audio receivers are scarce.
Thanks

[Q] AVRCP 1.3 can be implemented on stock based rom?

Hi all,
I would like to use AVRCP 1.3 bluetooth profile to send track information to my car receiver. As for now, the stock ICS roms only implement the AVRCP 1.0 profile in the bluetooth stack which doesn't include track information.
I've read that CM9 has implemented this profile into the ROM. I'm now using a stock based rom (jellysandwich 6.2.5) and I would like to know if it's possible to implement the avrcp 1.3 protocol into that rom.
Does anyone know this?
Thnx!
avrcp 1.3 found in android 4.3
Also found it in Samsung roms
Sent from my GT-I8190 using xda app-developers app
mavado said:
Hi all,
I would like to use AVRCP 1.3 bluetooth profile to send track information to my car receiver. As for now, the stock ICS roms only implement the AVRCP 1.0 profile in the bluetooth stack which doesn't include track information.
I've read that CM9 has implemented this profile into the ROM. I'm now using a stock based rom (jellysandwich 6.2.5) and I would like to know if it's possible to implement the avrcp 1.3 protocol into that rom.
Does anyone know this?
Thnx!
Click to expand...
Click to collapse
I've made the same question time ago.. but got no response.
http://forum.xda-developers.com/showthread.php?t=2411088
I've been making tests and I managed to have AVRCP 1.3 protocol into a modified stock rom (Gin2Jellybean), you can check the version of AVRCP in the console. But it seems that there must be tweaked something more because I can see AVRCP 1.3 but the apps cannot send any track information (I'm using PowerAMP which supports it). It seems that nobody here is able to achieve this..
Greetings.

Categories

Resources