Closed GoogleCodeExporter closed 9 years ago
Fixed source accordinly previous posts.. building it now. May be it would be
ready to commit
Original comment by Fedo...@gmail.com
on 16 Oct 2010 at 11:20
Can you host somewhere the builded boot.img? i'll try it ;)
Original comment by andreabe...@gmail.com
on 16 Oct 2010 at 11:23
it is building now. Be patient)
Original comment by Fedo...@gmail.com
on 16 Oct 2010 at 11:42
audio bluetooth no work well... choppy sound :S
Original comment by croxz3...@gmail.com
on 16 Oct 2010 at 12:02
i have no BT headset or other BT audio device... Take advantage in development.
Your help will be usefull. I need BT for file transfer
Original comment by Fedo...@gmail.com
on 16 Oct 2010 at 12:07
I tried pairing with my Parrot audio device. Connection is established,
contacts synched ok, and call control works fine, however audio is still going
trough the phone and not being redirected to bluetooth device.
Original comment by smald...@gmail.com
on 16 Oct 2010 at 4:31
I found this information on the google code of CyanogenMod for the choppy sound
on bluetooth headset
"Fixed. Had to modify Some of the args to hciattach And Also change the perms on
chown bluetooth bluetooth / sys / module / board_mahimahi / parameters / bdaddress"
but our GW620 not have the file ... there will be something similar?
Sorry... Google Translate xP
Original comment by croxz3...@gmail.com
on 17 Oct 2010 at 1:44
Below is the log file I get when connecting the device... it's routing the
sound to Speakerphone...
BTW this log was using the philips driver instead of the xircom...
Any ideas how to open .db files? SQLite maybe?
I/bluetoothd( 1827): link_key_request (sba=B6:05:E2:BE:75:F9,
dba=00:12:1C:58:4A:4E)
E/BluetoothEventLoop.cpp( 1312): event_filter: Received signal
org.bluez.Device:PropertyChanged from /org/bluez/1827/hci0/dev_00_12_1C_58_4A_4E
D/BluetoothService( 1312): setRemoteDeviceProperty addr = 00:12:1C:58:4A:4E
name = Connected value = true
I/HeadsetService( 1614): android.bluetooth.device.action.ACL_CONNECTED:
bluetooth class is 300408
I/HeadsetService( 1614): Bluetooth plugged: true
I/bluetoothd( 1827): link_key_request (sba=B6:05:E2:BE:75:F9,
dba=00:12:1C:58:4A:4E)
I/BluetoothAudioGateway.cpp( 1427): Accepting HF connection.
I/BluetoothAudioGateway.cpp( 1427): Successful accept() on AG socket 37: new
socket 50, address 00:12:1C:58:4A:4E, RFCOMM channel 10
I/BT Audio Gateway( 1427): connect notification!
I/BT Audio Gateway( 1427): Incoming connection from handsfree
00:12:1C:58:4A:4Eon channel 10
I/BT HSHFP( 1427): Incoming rfcomm (handsfree) connection from
00:12:1C:58:4A:4Eon channel 10
D/BT HSHFP( 1427): Headset state 0 -> 1, result = 1
I/BT HSHFP( 1427): initializeNativeDataNative: ALREADY CONNECTED!
D/BT HSHFP( 1427): Rfcomm connected
D/BT HSHFP( 1427): Headset state 1 -> 2, result = 1
V/BluetoothEventRedirector( 1481): Received
android.bluetooth.headset.action.STATE_CHANGED
D/CachedBluetoothDevice( 1481): onProfileStateChanged:[]
V/BluetoothEventRedirector( 1481): Received
android.bluetooth.headset.action.STATE_CHANGED
D/CachedBluetoothDevice( 1481): onProfileStateChanged:[]
W/BackupManagerService( 1312): dataChanged but no participant
pkg='com.android.providers.settings' uid=1001
D/BT HSHFP( 1427): Saved priority 00:12:1C:58:4A:4E = 1001
I/AudioHardwareMSM72XX( 1219): Using default acoustic parameters (Parrot CK3300
not in acoustic database)
I/AudioHardwareMSM72XX( 1219): Routing audio to Speakerphone
I/AudioHardwareMSM72XX( 1219): Turning noise reduction and echo cancellation
off for BT headset
I/BtAtPhonebook( 1427): Refreshed phonebook ME with 439 results
I/Bluetooth HeadsetBase( 1427): Error pocessing <AT+CBC>
I/BtAtPhonebook( 1427): Refreshed phonebook ME with 439 results
D/dalvikvm( 1481): GC_EXPLICIT freed 219 objects / 12632 bytes in 146ms
D/dalvikvm( 1427): GC_FOR_MALLOC freed 10332 objects / 570184 bytes in 156ms
I/BtAtPhonebook( 1427): Refreshed phonebook RC with 0 results
I/BtAtPhonebook( 1427): Refreshed phonebook RC with 0 results
D/dalvikvm( 1312): GC_EXPLICIT freed 13356 objects / 650064 bytes in 238ms
I/BtAtPhonebook( 1427): Refreshed phonebook DC with 22 results
I/BtAtPhonebook( 1427): Refreshed phonebook DC with 22 results
I/BtAtPhonebook( 1427): Refreshed phonebook MC with 0 results
I/BtAtPhonebook( 1427): Refreshed phonebook MC with 0 results
Original comment by smald...@gmail.com
on 17 Oct 2010 at 3:40
Pairing with my headset I also get
Connection is established, contacts synched ok, and call control works fine,
however audio is still going trough the phone and not being redirected to
bluetooth device.
Even ringing sound on phone is garbled and choppy.
However over the last few days I think it is really good progress.
@croxz3669: Interesting, gw620 should have startup script, We may need to look
at settings and startup scripts from stock rom.
@smaldona; yes its sqlite, however install droid explorer and it will do it all
for you as well as logs, screen dumps etc...
Original comment by philgillam@gmail.com
on 17 Oct 2010 at 4:13
just realized the speed on bluetooth transfer is terrible. Anyone now what
chipset for bluetooth is in the phone? Is it a BCM4325?
Original comment by figgelu...@gmail.com
on 17 Oct 2010 at 5:00
@figgelus84: yes it's that chipset.
Original comment by saxand...@gmail.com
on 17 Oct 2010 at 7:55
Loading hciattach & bluetoothd start draining my battery, even the bluetooth is
switched off.
Original comment by ogiljube...@gmail.com
on 17 Oct 2010 at 10:10
i'm not so good at file types and some coding.. But as I have understand an hcd
file is an driverfile for something? rigt wrong?
I i have found the bcm4325 hcd files in the korean v10, also found patched
hciattach with support for bcm4325. Also there is an init script(?) for
qualcomm(?)
Hope it's something usefull.
Bluetooth on our phone should run at speed 921600 accourding to bt_start.sh on
koreanv10-t
Is there anyone that can explain how to is this hcd files...
Original comment by figgelu...@gmail.com
on 17 Oct 2010 at 10:48
figgelus can you provide links to these files?
Original comment by saxand...@gmail.com
on 17 Oct 2010 at 12:36
korean-v10t/bin/
everyting is there
Original comment by figgelu...@gmail.com
on 17 Oct 2010 at 4:19
we need to get bcm4325 functionality. FM, Wi-Fi & BT is on the one chip.
see there
http://androidcommunity.com/broadcom-release-combo-wifibluetoothfm-chip-drivers-
for-android-20090206/
can't understand how to get hciattach with bcm firmware
Original comment by Fedo...@gmail.com
on 17 Oct 2010 at 8:41
/system/bin/hci_qcomm_init -d /dev/ttyHS0 -s 3000000
/system/bin/hciattach -n /dev/ttyHS0 any 3000000 &
The hci_qcomm_init binary is found in korean-v10t/bin/ it may need config and
library files to run.
Original comment by philgillam@gmail.com
on 17 Oct 2010 at 10:29
it's good, a lot of people took part in getting BT to work
Original comment by Fedo...@gmail.com
on 17 Oct 2010 at 10:37
this is not work at all..
we need BT on fullspeed to get headset function
logcat is here
# /system/bin/hci_qcomm_init -d /dev/ttyHS0 -s 3000000
bt_hci_qcomm_nread: read BT SoC timed out.
bt_hci_qcomm_get_event: VERY SHORT READ!
Failed to receive VS event
bt_hci_qcomm_nread: read BT SoC timed out.
bt_hci_qcomm_get_event: VERY SHORT READ!
Failed to receive VS event
bt_hci_qcomm_init - Failed
BTS402x Initialization Failed in bt_qsoc_init_state 1
# strace /system/bin/hci_qcomm_init -d /dev/ttyHS0 -s 3000000
execve("/system/bin/hci_qcomm_init", ["/system/bin/hci_qcomm_init", "-d",
"/dev/ttyHS0", "-s", "3000000"], [/* 13 vars */]) = 0
Original comment by Fedo...@gmail.com
on 17 Oct 2010 at 10:53
[deleted comment]
Hi !
Steps in comment 46 and 48 don't change anything for me (S6.0RC6, b2.2), even
after the third reboot : bluetooth don't activate.
Full logcat attached (file created by redirecting std out directly on the
phone, not with adb, if it's relevant) if it can help ;-)
Gorgonzoland
Original comment by gorgonzo...@gmail.com
on 18 Oct 2010 at 4:12
Attachments:
Don't now if this is any good. Seems like it's for bcm4325
If you don't find search for hci_qcomm_init
http://github.com/koush/android_vendor_huawei_pulse/blob/master/init.qcom.rc
Maybe can give som hints...
Original comment by figgelu...@gmail.com
on 18 Oct 2010 at 7:30
Another with qcomm-init
http://pastebin.com/bbkZe60S
Original comment by figgelu...@gmail.com
on 18 Oct 2010 at 7:33
http://android.modaco.com/content-page/309175/android-2-2-development/page/1340/
#entry1402246
Original comment by figgelu...@gmail.com
on 18 Oct 2010 at 7:33
my confusion is over the fact that the gw620 does have the broadcom chip on
board but the stock rom uses qualcom drivers? I am not clear which chip or
drivers we should use.
Original comment by philgillam@gmail.com
on 18 Oct 2010 at 7:54
in the gw620 the MSM7200A (qualcomm) is connected to the BCM4325 module
(wlan+bt+fm). the latter one contains the LBEH 19UNBC.
I have the GW620 service manual with the diagram of bt.
Original comment by mics...@gmail.com
on 18 Oct 2010 at 9:02
any chance you can share the service manual? ;)
Original comment by smald...@gmail.com
on 18 Oct 2010 at 11:41
<joke>only for money</joke>
http://www.4shared.com/document/7VO0ty4-/2_GW620_SVC_ENG_091203.html
Original comment by mics...@gmail.com
on 19 Oct 2010 at 1:35
Thank you very much! I'll review the manual.. :)
Original comment by smald...@gmail.com
on 20 Oct 2010 at 1:57
Hi !
I´m searching about how to exanbe A2DP correctly and I found this blog that a
guy uses the same BCM4325 module.
http://i-miss-erin.blogspot.com/2009/12/android-bluetooth-in-eclair.html
I also found this news about the module:
http://androidcommunity.com/broadcom-release-combo-wifibluetoothfm-chip-drivers-
for-android-20090206/
If I understood correctly, the android source code already has drivers for
BCM4325. It would be easier to get it from there?
May be we can get some ideias from there....
Original comment by trysta...@gmail.com
on 20 Oct 2010 at 3:41
Hi again,
Also found this info:
https://android.git.kernel.org/?p=platform/system/wlan/broadcom.git;a=commit;h=e
10efcc0c020caa486fa9d8cd05c986fd86f7c44
Original comment by trysta...@gmail.com
on 20 Oct 2010 at 4:19
downloade this & replace original broadcom in source. Trying to build now
Original comment by Fedo...@gmail.com
on 20 Oct 2010 at 4:41
trying to compile source with drivers from broadcom - got error. we need to get
dhd.ko for owr kernel. let's search the internet
Original comment by Fedo...@gmail.com
on 20 Oct 2010 at 5:28
I found this thread, but I don´t know if it could help anything...
http://forum.samdroid.net/f9/building-new-kernel-2009/
Original comment by trysta...@gmail.com
on 20 Oct 2010 at 5:42
Found that Cyabigenmod 6.0 has the same issue with BT Audio and they fixed it,
but in the issue page they developer did not said what he changed to fix it.
Could anyone take a look at the change log or patch file to understood what was
the change?
http://code.google.com/p/cyanogenmod/issues/detail?id=2062#c33
I´m trying to find it but I do not know much about GIT repositories and
android source code, so if some expert can help...
Original comment by trysta...@gmail.com
on 20 Oct 2010 at 6:35
A clue could be this post:
http://ip208-100-42-21.static.xda-developers.com/showthread.php?t=641190&page=15
Originally Posted by dzo View Post
If sound is choppy, that means you don't have 4000000 in the hciatach params.
But when I include this value as last parameter in hciattach list, I get error
when starting service :
I/bluetoothd( 1825): Bluetooth daemon
I/bluetoothd( 1825): Starting SDP server
E/bluetoothd( 1825): opening L2CAP socket: Operation not permitted
E/bluetoothd( 1825): Server initialization failed
E/bluetoothd( 1825): Can't open HCI socket: Operation not permitted (1)
If I remove everything went ok.
Could be something releated to permission? Can anyone try this command lines as
root ? (anyway, how can I get root on adb shell ??)
/system/bin/hciattach -n -s 115200 /dev/ttyHS0 xircom 4000000
/system/bin/bluetoothd
Original comment by trysta...@gmail.com
on 20 Oct 2010 at 7:47
i think that choppy sound assigned to awful speed of BT its only 115200 except
of 912600. we need proprietary kernel module for full speed. no suitable info
in inet..
Original comment by Fedo...@gmail.com
on 20 Oct 2010 at 7:58
maybe this is something ?
http://depositfiles.com/files/zibqndg0g
source gw620
Original comment by figgelu...@gmail.com
on 20 Oct 2010 at 8:50
[deleted comment]
we need dhd.ko for our kernel(i.e. 2.6.29). is firmware for gw620 on 2.6.29?
Original comment by Fedo...@gmail.com
on 20 Oct 2010 at 9:14
it seems that Samsung Spice (I5700) uses the same kernel version and has this
dhd.ko file. I tried to get the source code from Samsung but it to big and I'm
at a slow network. Could someone take a look?
http://opensource.samsung.com/ Searcho for 5700...
Maybe if we can help polytheus to port to kernel 2.6.35, we can get bluetooth
working from cyanogenmod 6.1 ? perhaps...
Original comment by trysta...@gmail.com
on 20 Oct 2010 at 11:37
@figgelus84, have to download this, but no dhd.ko there/ I'm to drunk now.
continue my search tomorrow
Original comment by Fedo...@gmail.com
on 21 Oct 2010 at 2:51
Most of things you found are tied to bt proprietary stack. I've got something
on this, I've just checked how they do this at gaosp. Basically there are some
changes to config, and init.rc
Original comment by saxand...@gmail.com
on 21 Oct 2010 at 4:04
I think I got this to work, I'll push everything by this weekend... I just have
to figure out ho to get BCM4325D0.hcd copied over from korean-v10t :P
Original comment by saxand...@gmail.com
on 21 Oct 2010 at 4:57
Very good news saxando4u !!
If you have some time, and you want to, please descrive what did you do to get
it working since could be other looking our issues to solve their problens (as
we are looking in others :) ).
This is one of the issues that will help a lot of people for sure !!
Thx !
Original comment by trysta...@gmail.com
on 21 Oct 2010 at 5:08
@saxando4u, describe your steps to get proprietary BT working, please
Original comment by Fedo...@gmail.com
on 21 Oct 2010 at 5:16
I'll commit my changes, it worked once so I know it's the right track; I can't
make it to work again though. If you want to test run a repo sync, run
extract-files.sh again and build.
Original comment by saxand...@gmail.com
on 21 Oct 2010 at 7:09
[deleted comment]
Committed, and it should even work :) let me know if this is fixed or not...
btw trystan2k help with porting cm's kernel would be much appreciated ;)
Original comment by saxand...@gmail.com
on 21 Oct 2010 at 7:56
build error after repo sync
Log:
Symlink: out/target/product/eve/recovery/root/sbin/which -> busybox
Symlink: out/target/product/eve/recovery/root/sbin/whoami -> busybox
Symlink: out/target/product/eve/recovery/root/sbin/xargs -> busybox
Symlink: out/target/product/eve/recovery/root/sbin/yes -> busybox
Symlink: out/target/product/eve/recovery/root/sbin/zcat -> busybox
Copying: out/target/common/obj/APPS/ADWLauncher_intermediates/classes.jar
target Java: CMParts (out/target/common/obj/APPS/CMParts_intermediates/classes)
target Java: Calculator
(out/target/common/obj/APPS/Calculator_intermediates/classes)
*
* Restart config...
*
*
* Multiple devices driver support (RAID and LVM)
*
Multiple devices driver support (RAID and LVM) (MD) [Y/n/?] y
RAID support (BLK_DEV_MD) [N/m/y/?] (NEW) Ytarget Java: Camera (out/target/common/obj/APPS/Camera_intermediates/classes)
Autodetect RAID arrays during kernel boot (MD_AUTODETECT) [Y/n/?] (NEW) packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/WidgetActivity.java:286: cannot find symbol
symbol : variable EXPANDED_FLASH_MODE
location: class android.provider.Settings.System
Settings.System.putInt(getContentResolver(), Settings.System.EXPANDED_FLASH_MODE, value);
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note:
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/TrackballNotificati
onActivity.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
make: ***
[out/target/common/obj/APPS/CMParts_intermediates/classes-full-debug.jar] Fel 41
make: *** Inväntar oavslutade jobb...
Original comment by figgelu...@gmail.com
on 21 Oct 2010 at 8:49
Original issue reported on code.google.com by
cioeri@gmail.com
on 27 Jul 2010 at 8:32