Recently when developing a Bluetooth application for the Desire I became aware that the version of the Bluetooth stack (bluez) used for the Desire is not the same as the Nexus one.
This sucks because
a. they both claim to be android 2.1 which is not 100% true for the Desire since it is not using the same stack (this has been confirmed by a source)
b. the Bluetooth SPP profile in the Desire does not work :-(, I tested the same code on the N1 and it works.
So I was all happy to here Paul had rooted the Desire thinking I would simply go and grab the necessary modules from an N1 Rom and stick those in the Desire. I am assuming (maybe naivly) that the Kernel's + Hardware are close enough that this should simply work
So I built an update package based on the Bluetooth files found in the CM 5.0.6 N1 ROM
Sadly once I have installed it and reboot the phone I dont get past the "HTC" screen.
Logcat shows
I/vold ( 53): Android Volume Daemon version 2.0
D/AK8973 ( 61): AK8973 daemon 1.3.1 Start
D/AK8973 ( 61): (Library version : 1.2.1.620)
I/vold ( 53): New MMC card 'SU02G' (serial 22913023) added @ /devices/platf
orm/msm_sdcc.2/mmc_host/mmc1/mmc1:aaaa
I/vold ( 53): Disk (blkdev 179:0), 3862528 secs (1886 MB) 1 partitions
I/vold ( 53): New blkdev 179.0 on media SU02G, media path /devices/platform
/msm_sdcc.2/mmc_host/mmc1/mmc1:aaaa, Dpp 1
I/vold ( 53): Partition (blkdev 179:1), 3858489 secs (1884 MB) type 0x6
I/vold ( 53): New blkdev 179.1 on media SU02G, media path /devices/platform
/msm_sdcc.2/mmc_host/mmc1/mmc1:aaaa, Dpp 0
I/vold ( 53): Evaluating dev '/devices/platform/msm_sdcc.2/mmc_host/mmc1/mm
c1:aaaa/block/mmcblk0' for mountable filesystems for '/sdcard'
I/vold ( 53): Aborting start of /sdcard (bootstrap = 1)
I/vold ( 53): Volmgr not ready to handle device
D/vold ( 53): Bootstrapping complete
I must say I am a little surprised because worst case I thought the phone would at least boot but the Bluetooth stuff simply would not work.
Alternatively I am missing something else due to all this being a little new for me and even though my update script runs fine something is still missing.
For the moment I am overwriting etc/bluez bin/bluetoothd and 3 files from lib/ plus the bluez-plugin directory
Anyone have any ideas I am all ears.
Thanks,
Serge






Sign In
Create Account
Back to top










