I am trying to enable A2dp sink profile for Android phone and stream audio from another device. I know the process of how to do the same for bluedroid stack of Android . But I want to use Bluez stack .I got a link explaining to do it for Android 4.1 as from Android 4.2 bluez was replaced by bluedroid.Here
But I wanted to know how to port bluez to Android versions > 4.1 without having to build the whole AOSP tree by replacing bluedroid ? As from Bluez 5.21 there is support for Android 4.4 and 5.0,5.1 but for it we have to build the Android source code again due to various dependencies.
Is there anyway without replacing bluedroid and building whole thing ,we can disable bluedroid and place a bluez executable compatible with Android and use it ? Here is the link for porting bluez to Android by building whole thing