I'm working on a research project in which we would like to use AllJoyn on mobile devices (primarily on Android for the time being). I would like to enable the Bluetooth transport on Android devices (Wi-Fi already works) but I haven't found any instructions on how to do this so far. I know that I need root access, need to patch some files in the Bluetooth stack of Android and build a custom Android image from the source, but I need to know exactly which files to replace, where I can find the patched files etc. Are there any instructions available on this topic?
We have Nexus S devices with root access (and with Android 2.3.6, although the 4.0 update will come soon), and (currently) unmodified Galaxy Nexus devices (with Android 4.0). I think the Nexus S has a BlueZ stack - turning Bluetooth on/off doesn't show anything in logcat - although I'm not 100% sure.