[HTC Sensation] Mquinteiro:
BT audio calls solved

Hi,

SelfKang5 = No bt autido in calls

SelfKang5 + faux 0.1.9 kernel = No bt autido in calls

SelfKang5 + faux 0.1.9 kernel + AudioPatch = bt audio is OK

At the first boot with the patch I got a reboot, but nest reboot every thing works ok. (I did wipe cache and dalvik but.... don't know)

I will post if I see something is wrong.

http://xdaforums.com/showthread.php?t=1254904 for audio patch

---------- Post added at 05:29 PM ---------- Previous post was at 05:12 PM ----------

Hi, I'll send log from BT where I see diference

if you need more logs ask to me.

Working BT

09-23 13:02:06.686 D/ScoSocket( 354): connect() android.bluetooth.ScoSocket@4069b088

09-23 13:02:06.686 I/bluetooth_ScoSocket.cpp( 354): getScoType Parrot CK3100 - 0x0

09-23 13:02:06.706 I/PROFILE ( 248): Group: Gmail containing : com.android.phone : false

09-23 13:02:06.706 I/PROFILE ( 248): Group: Phone containing : com.android.phone : true

09-23 13:02:06.726 I/bluetooth_ScoSocket.cpp( 354): Connecting to socket

09-23 13:02:06.816 I/bluetooth_ScoSocket.cpp( 354): SCO socket connected (outgoing)

09-23 13:02:06.816 D/AudioFlinger( 178): setParameters(): io 1, keyvalue routing=32, tid 233, calling tid 178

09-23 13:02:06.816 I/AudioHardwareMSM8660( 178): Routing audio to Bluetooth PCM

09-23 13:02:06.816 D/AudioHardwareMSM8660( 178): new_rx = 21

09-23 13:02:06.816 D/AudioHardwareMSM8660( 178): new_tx = 22

09-23 13:02:06.856 I/AudioHardwareMSM8660( 178): Device switch during voice call (RX, TX) = (0, 1) -> (21, 22)

09-23 13:02:06.866 D/AudioHardwareMSM8660( 178): ACDB -> send_voice_cal, acdb_rx = 1301, acdb_tx = 1201

09-23 13:02:06.866 D/AudioHardwareMSM8660( 178): ACDB -> ACDB_CMD_GET_VOCPROC_COMMON_TABLE

09-23 13:02:06.866 D/ACDB ( 178): ACDBDATA_GET_VOC_PROC_CMN_LOOKUP_KEY (0)

09-23 13:02:06.866 D/ACDB ( 178): ACDBDATA_GET_VOC_PROC_CMN_LOOKUP_KEY (0)

09-23 13:02:06.866 D/AudioHardwareMSM8660( 178): ACDB -> ACDB_CMD_GET_VOCPROC_COMMON_TABLE

09-23 13:02:06.866 D/ACDB ( 178): ACDBDATA_GET_VOC_PROC_CMN_LOOKUP_KEY (0)

09-23 13:02:06.866 D/ACDB ( 178): ACDBDATA_GET_VOC_PROC_CMN_LOOKUP_KEY (0)

09-23 13:02:06.866 D/AudioHardwareMSM8660( 178): ACDB -> ACDB_CMD_GET_VOCPROC_COMMON_TABLE

09-23 13:02:06.866 D/ACDB ( 178): ACDBDATA_GET_VOC_PROC_CMN_LOOKUP_KEY (0)

09-23 13:02:06.866 D/ACDB ( 178): ACDBDATA_GET_VOC_PROC_CMN_LOOKUP_KEY (0)

09-23 13:02:06.866 D/AudioHardwareMSM8660( 178): ACDB -> ACDB_CMD_GET_VOCPROC_COMMON_TABLE

09-23 13:02:06.866 D/ACDB ( 178): ACDBDATA_GET_VOC_PROC_CMN_LOOKUP_KEY (0)

09-23 13:02:06.866 D/ACDB ( 178): ACDBDATA_GET_VOC_PROC_CMN_LOOKUP_KEY (0)

09-23 13:02:06.866 D/AudioHardwareMSM8660( 178): ACDB -> ACDB_CMD_GET_VOCPROC_COMMON_TABLE

09-23 13:02:06.866 D/ACDB ( 178): ACDBDATA_GET_VOC_PROC_CMN_LOOKUP_KEY (0)

09-23 13:02:06.866 D/ACDB ( 178): ACDBDATA_GET_VOC_PROC_CMN_LOOKUP_KEY (0)

09-23 13:02:06.866 D/AudioHardwareMSM8660( 178): ACDB -> ACDB_CMD_GET_VOCPROC_COMMON_TABLE

09-23 13:02:06.866 D/ACDB ( 178): ACDBDATA_GET_VOC_PROC_CMN_LOOKUP_KEY (0)

09-23 13:02:06.866 D/ACDB ( 178): ACDBDATA_GET_VOC_PROC_CMN_LOOKUP_KEY (0)

09-23 13:02:06.866 D/AudioHardwareMSM8660( 178): ACDB -> AUDIO_SET_VOCPROC_CAL

09-23 13:02:06.866 D/AudioHardwareMSM8660( 178): ACDB -> ACDB_CMD_GET_VOCPROC_STREAM_TABLE

09-23 13:02:06.866 D/AudioHardwareMSM8660( 178): ACDB -> ACDB_CMD_GET_VOCPROC_STREAM_TABLE

09-23 13:02:06.866 D/AudioHardwareMSM8660( 178): ACDB -> ACDB_CMD_GET_VOCPROC_STREAM_TABLE

09-23 13:02:06.866 D/AudioHardwareMSM8660( 178): ACDB -> ACDB_CMD_GET_VOCPROC_STREAM_TABLE

09-23 13:02:06.866 D/AudioHardwareMSM8660( 178): ACDB -> ACDB_CMD_GET_VOCPROC_STREAM_TABLE

09-23 13:02:06.866 D/AudioHardwareMSM8660( 178): ACDB -> ACDB_CMD_GET_VOCPROC_STREAM_TABLE

09-23 13:02:06.866 D/AudioHardwareMSM8660( 178): ACDB -> AUDIO_SET_VOCPROC_STREAM_CAL

09-23 13:02:06.866 D/AudioHardwareMSM8660( 178): ACDB -> ACDB_CMD_GET_VOCPROC_GAIN_DEP_VOLTBL

09-23 13:02:06.866 D/AudioHardwareMSM8660( 178): ACDB -> ACDB_CMD_GET_VOCPROC_GAIN_DEP_VOLTBL

09-23 13:02:06.866 D/AudioHardwareMSM8660( 178): ACDB -> ACDB_CMD_GET_VOCPROC_GAIN_DEP_VOLTBL

09-23 13:02:06.866 D/AudioHardwareMSM8660( 178): ACDB -> ACDB_CMD_GET_VOCPROC_GAIN_DEP_VOLTBL

09-23 13:02:06.866 D/AudioHardwareMSM8660( 178): ACDB -> ACDB_CMD_GET_VOCPROC_GAIN_DEP_VOLTBL

09-23 13:02:06.866 D/AudioHardwareMSM8660( 178): ACDB -> ACDB_CMD_GET_VOCPROC_GAIN_DEP_VOLTBL

09-23 13:02:06.866 D/AudioHardwareMSM8660( 178): ACDB -> AUDIO_SET_VOCPROC_VOL_CAL

09-23 13:02:06.866 D/AudioHardwareMSM8660( 178): ACDB -> Sent VocProc Cal!

09-23 13:02:06.866 D/AudioHardwareMSM8660( 178): enableDevice(0 0)

09-23 13:02:06.876 D/AudioHardwareMSM8660( 178): enableDevice(1 0)

09-23 13:02:06.916 D/AudioHardwareMSM8660( 178): android::status_t android::updateDeviceInfo(int, int, bool, bool, int) Enable New Device (VOICE_CALL, PCM_PLAY, FM_RADIO, LPA_DECODE) = (1, 0, 0, 0)

09-23 13:02:06.916 I/HTC Acoustic( 178): set_audio_effect: Phone_Default

09-23 13:02:06.916 I/HTC Acoustic( 178): set_audio_effect: match with name Phone_Default (0)

09-23 13:02:06.926 I/HTC Acoustic( 178): found enabled DSP firmwares and return 0

09-23 13:02:06.926 I/AudioHardwareMSM8660( 178): aic3254_config: sound effect (Phone_Default) 45 0 2

09-23 13:02:06.926 D/AudioHardwareMSM8660( 178): enableDevice(17 1)

09-23 13:02:06.926 D/AudioHardwareMSM8660( 178): enableDevice(18 1)

09-23 13:02:06.986 D/dalvikvm( 3706): GC_CONCURRENT freed 405K, 52% free 2936K/6023K, external 711K/1042K, paused 2ms+8ms

Not working:

09-23 16:48:34.951 D/ScoSocket( 350): connect() android.bluetooth.ScoSocket@405f9698

09-23 16:48:34.951 I/bluetooth_ScoSocket.cpp( 350): getScoType Parrot CK3100 - 0x0

09-23 16:48:34.971 I/bluetooth_ScoSocket.cpp( 350): Connecting to socket

09-23 16:48:34.981 I/PROFILE ( 245): Group: Gmail containing : com.android.phone : false

09-23 16:48:34.981 I/PROFILE ( 245): Group: Phone containing : com.android.phone : true

09-23 16:48:35.391 I/bluetooth_ScoSocket.cpp( 350): SCO socket connected (outgoing)

09-23 16:48:35.391 D/AudioPolicyManager( 178): setForceUse() usage 0, config 3, mPhoneState 2

09-23 16:48:35.391 D/AudioFlinger( 178): setParameters(): io 1, keyvalue routing=32, tid 232, calling tid 178

09-23 16:48:35.391 I/AudioHardwareMSM8660( 178): Routing audio to Bluetooth PCM

09-23 16:48:35.391 D/AudioHardwareMSM8660( 178): do_aic3254_control device: -1 mode: 2 record: 0

09-23 16:48:35.391 D/AudioHardwareMSM8660( 178): aic3254_ioctl: new_aic_rxmode 29 cur_aic_rx 1

09-23 16:48:35.391 D/AudioHardwareMSM8660( 178): aic3254_ioctl() cmd 1074033427, argc 29

09-23 16:48:35.391 D/AudioHardwareMSM8660( 178): aic3254_ioctl: try ioctl 0x40047313 with arg 29

09-23 16:48:35.401 D/AudioHardwareMSM8660( 178): aic3254_ioctl: new_aic_txmode 29 cur_aic_tx 1

09-23 16:48:35.401 D/AudioHardwareMSM8660( 178): aic3254_ioctl() cmd 1074033426, argc 29

09-23 16:48:35.401 D/AudioHardwareMSM8660( 178): aic3254_ioctl: try ioctl 0x40047312 with arg 29

09-23 16:48:35.411 D/AudioHardwareMSM8660( 178): aic3254_powerdown

09-23 16:48:35.411 D/AudioHardwareMSM8660( 178): aic3254_ioctl() cmd 1074033445, argc 0

09-23 16:48:35.411 D/AudioHardwareMSM8660( 178): aic3254_ioctl: try ioctl 0x40047325 with arg 0

09-23 16:48:35.441 D/AudioHardwareMSM8660( 178): Update ACDB ID to default carkit setting

09-23 16:48:35.451 D/AudioHardwareMSM8660( 178): setVoiceVolume(1.000000)

09-23 16:48:35.451 I/AudioHardwareMSM8660( 178): Setting in-call volume to 0 (available range is 5(MIN VOLUME) to 0(MAX VOLUME)

09-23 16:48:35.451 D/AudioPolicyManager( 178): setForceUse() usage 2, config 3, mPhoneState 2

09-23 16:48:35.551 D/dalvikvm( 350): GC_EXTERNAL_ALLOC freed 117K, 47% free 3330K/6215K, external 6023K/6238K, paused 42ms

09-23 16:48:35.571 I/PROFILE ( 245): Group: Gmail containing : com.android.phone : false

09-23 16:48:35.571 I/PROFILE ( 245): Group: Phone containing : com.android.phone : true

09-23 16:48:35.872 D/dalvikvm( 1320): GC_FOR_MALLOC freed 268K, 49% free 3425K/6663K, external 0K/0K, paused 84ms

09-23 16:48:35.872 I/dalvikvm-heap( 1320): Grow heap (frag case) to 6.014MB for 83006-byte allocation

09-23 16:48:35.952 D/dalvikvm( 1320): GC_FOR_MALLOC freed <1K, 49% free 3506K/6791K, external 0K/0K, paused 57ms

09-23 16:48:36.042 D/dalvikvm( 1320): GC_FOR_MALLOC freed 43K, 48% free 3546K/6791K, external 0K/0K, paused 51ms

09-23 16:48:36.042 I/dalvikvm-heap( 1320): Grow heap (frag case) to 6.116MB for 66176-byte allocation

09-23 16:48:36.092 D/dalvikvm( 1320): GC_FOR_MALLOC freed 0K, 48% free 3611K/6919K, external 0K/0K, paused 18ms

09-23 16:48:36.112 D/dalvikvm( 1320): GC_FOR_MALLOC freed 64K, 49% free 3578K/6919K, external 0K/0K, paused 19ms

09-23 16:48:36.112 I/dalvikvm-heap( 1320): Grow heap (frag case) to 6.210MB for 132336-byte allocation

09-23 16:48:36.142 D/dalvikvm( 1320): GC_FOR_MALLOC freed 0K, 48% free 3708K/7111K, external 0K/0K, paused 19ms

09-23 16:48:36.362 D/dalvikvm( 1320): GC_CONCURRENT freed 356K, 48% free 3735K/7111K, external 0K/0K, paused 1ms+2ms

09-23 16:48:36.663 D/dalvikvm( 1320): GC_CONCURRENT freed 272K, 46% free 3857K/7111K, external 0K/0K, paused 2ms+4ms

09-23 16:48:36.943 D/dalvikvm( 1320): GC_CONCURRENT freed 351K, 46% free 3893K/7111K, external 0K/0K, paused 2ms+3ms

09-23 16:48:37.163 D/dalvikvm( 245): GC_EXPLICIT freed 666K, 42% free 6733K/11463K, external 3056K/3802K, paused 62ms

09-23 16:48:37.764 D/dalvikvm( 1320): GC_EXTERNAL_ALLOC freed 668K, 52% free 3444K/7111K, external 0K/0K, paused 59ms

09-23 16:48:42.028 D/dalvikvm( 367): GC_EXPLICIT freed 224K, 53% free 4411K/9287K, external 9264K/10670K, paused 37ms

09-23 16:48:42.318 I/PROFILE ( 245): Group: Gmail containing : com.android.phone : false

09-23 16:48:42.318 I/PROFILE ( 245): Group: Phone containing : com.android.phone : true

09-23 16:48:43.019 I/AudioService( 245): AudioFocus abandonAudioFocus() from AudioFocus_For_Phone_Ring_And_Calls

09-23 16:48:43.019 I/HeadsetService( 485): Phone status idle: enable DSP.

09-23 16:48:43.019 I/Effect-BassBoost( 178): New strength: 0

09-23 16:48:43.029 I/Effect-Equalizer( 178): Setting band 2 to 0

09-23 16:48:43.029 I/Effect-Equalizer( 178): Setting band 2 to 1

09-23 16:48:43.029 I/Effect-Equalizer( 178): Setting band 2 to 2

09-23 16:48:43.029 I/Effect-Equalizer( 178): Setting band 2 to 3

09-23 16:48:43.029 I/Effect-Equalizer( 178): Setting band 2 to 4

09-23 16:48:43.029 I/Effect-Equalizer( 178): Setting loudness correction reference to 100.000000 dB

09-23 16:48:43.079 I/System.out( 869): [INFO:64687]: c: Running flush

09-23 16:48:43.079 D/AudioHardwareMSM8660( 178): do_aic3254_control device: 6 mode: 2 record: 0

09-23 16:48:43.079 D/AudioHardwareMSM8660( 178): aic3254_ioctl: new_aic_rxmode 29 cur_aic_rx 29

09-23 16:48:43.079 D/AudioHardwareMSM8660( 178): aic3254_ioctl: new_aic_txmode 29 cur_aic_tx 29

09-23 16:48:43.089 D/AudioHardwareMSM8660( 178): write(): dec_id = 1 cur_rx = 0

09-23 16:48:43.089 D/AudioHardwareMSM8660( 178): value of device and enable is 0 1

09-23 16:48:43.089 D/AudioHardwareMSM8660( 178): updateACDB: (1, 0, 0, 0)

09-23 16:48:43.089 I/HTC Acoustic( 178): update ACDB id: (tx, rx, tx_acdb, rx_acdb) = (1, 0, 0, 0)

09-23 16:48:43.089 D/ACDB-LOADER( 178): ACDB -> send_audio_cal, acdb_id = 0, path = 0

09-23 16:48:43.089 D/ACDB-LOADER( 178): ACDB -> send_audtable

09-23 16:48:43.089 D/ACDB-LOADER( 178): ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE

09-23 16:48:43.089 E/ACDB-LOADER( 178): Error: ACDB audproc returned = -8

09-23 16:48:43.089 D/ACDB-LOADER( 178): ACDB -> AUDIO_SET_AUDPROC_CAL

09-23 16:48:43.089 D/ACDB-LOADER( 178): ACDB -> send_audvoltable

09-23 16:48:43.089 D/ACDB-LOADER( 178): ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_VOLTBL_STEP_COPP

09-23 16:48:43.089 E/ACDB-LOADER( 178): Error: ACDB AudProc vol returned = -8

09-23 16:48:43.089 D/ACDB-LOADER( 178): ACDB -> AUDIO_SET_AUDPROC_VOL_CAL

09-23 16:48:43.089 I/System.out( 869): [INFO:64693]: c: Sending payload [bytes=305]

09-23 16:48:43.089 D/AudioHardwareMSM8660( 178): addToTable (dec_id 1, dev_rx 0, dev_tx 65535, type 1, active 1)

09-23 16:48:43.349 D/ScoSocket( 350): android.bluetooth.ScoSocket@405f9698 SCO OBJECT close() mState = 4

Hope It can help you!