JBQ
--
Jean-Baptiste M. "JBQ" Queru
Android Engineer, Google.
Is there a list of those proprietary elements? If not, could at least
name some? I know about those .apk files described earlier in this
discussion, but what else?
Sounds like you need to flash a boot.img to match your system.img
boot.img contains the kernel. We changed the kernel interface to turn
bluetooth power on just after 1.0. You can confirm this is the issue
by looking for an error about
/sys/module/board_trout/parameters/bluetooth_power_on not existing in
logcat during boot. If this is the issue try flashing a boot.img to
match system.img
If this is not the issue, there is likely some other error in logcat
that will tell you why Bluetooth is not working.
adb logcat is your friend for debugging issues like this.
> When Google released SDK1, it stated that Bluetooth is not supported.
Read our announcement. We clearly said Bluetooth is supported by the
platform, but we don't have API's in the SDK.
SDK support != Feature support
Nick Pelly
Android Systems Engineer
This is a compile time option. You should set it to true in your
BoardConfig.mk. And yes you definitely need this set.
On Mon, Dec 22, 2008 at 11:25 PM, Jinjun <jinju...@gmail.com> wrote:
>
> Hi Nick,
>
> I have done the following in order to build the source code after I
> added BOARD_HAVE_BLUETOOTH := true in vendor/htc/dream/BoardConfig.mk,
> 1) Create a directory bluedroid in external/dbus and copy /system/
> bluetooth/bluedroid/include/bluedroid/bluetooth.h to that directory
> 2) Modified system/bluetooth/bluedroid/bluetooth.c, change #include
> <bluedroid/bluedroid.h> to #include <include/bluedroid/bluedroid.h>
> The compilation finished.
We fixed that problem a couple of weeks ago, looks like the cupcake
merge broke it again. You found a workaround. The correct solution is
to fix the include path in Android.mk's
> I then loaded system.img and userdata.img to
> ADP1, still have the same problem with Bluetooth. Settins.System.getInt
> () returns a value of 0 and the device is not enabled.
That is normal, this is just where we persist if BT should be on/off
across reboot.
> I then flashed boot.img to boot and now the phone stuck with Android
> Robot.
Logs please.
Nick