[Galaxy S II General] targetal:
as for lack of headphones, got this in my logcat:

01-30 14:14:26.695 V/WiredAccessoryObserver(1793): Headset UEVENT: {SUBSYSTEM=switch, SWITCH_STATE=2, DEVPATH=/devices/virtual/switch/h2w, SEQNUM=2317, ACTION=change, SWITCH_NAME=h2w}
01-30 14:14:26.695 V/WiredAccessoryObserver(1793): newState = 2, headsetState = 2,mHeadsetState = 0
01-30 14:14:26.700 V/WiredAccessoryObserver(1793): Intent.ACTION_HEADSET_PLUG: state: 1 name: h2w mic: 0
01-30 14:14:26.715 I/AudioPolicyManager(1667): setDeviceConnectionState() device: 8, state 1, address
01-30 14:14:26.715 I/AudioPolicyManager(1667): getDeviceForStrategy() strategy 4, device 2
01-30 14:14:26.715 I/AudioPolicyManager(1667): getDeviceForStrategy() strategy 1, device 8
01-30 14:14:26.715 I/AudioPolicyManager(1667): getDeviceForStrategy() strategy 2, device a
01-30 14:14:26.715 I/AudioPolicyManager(1667): getDeviceForStrategy() strategy 0, device 8
01-30 14:14:26.715 I/AudioPolicyManager(1667): getDeviceForStrategy() strategy 0, device 8
01-30 14:14:26.715 I/AudioPolicyManager(1667): getDeviceForStrategy() strategy 3, device 8
01-30 14:14:26.715 I/AudioPolicyManager(1667): getDeviceForStrategy() strategy 0, device 8
01-30 14:14:26.715 I/AudioPolicyManager(1667): getDeviceForStrategy() strategy 1, device 8
01-30 14:14:26.715 I/AudioPolicyManager(1667): getDeviceForStrategy() strategy 2, device a
01-30 14:14:26.715 I/AudioPolicyManager(1667): getDeviceForStrategy() strategy 0, device 8
01-30 14:14:26.715 I/AudioPolicyManager(1667): getDeviceForStrategy() strategy 3, device 8
01-30 14:14:26.715 I/AudioPolicyManager(1667): getDeviceForStrategy() strategy 4, device 2
01-30 14:14:26.715 I/HeadsetService(3714): Headset=true; Bluetooth=false
01-30 14:14:26.735 I/HeadsetService(3714): Selected configuration: headset

moreover, have this before from the first attempt (a bit long):

01-30 14:03:17.589 D/SGAudioModeWrapper(5876): enableSpeakerphone(false)
01-30 14:03:17.589 D/SGAudioModeWrapper(5876): enableSpeakerphone: sHasHeadset = false, sHasEarpiece = true
01-30 14:03:17.589 D/AudioSystem(1667): android::AudioSystem::isSeparatedStream(audio_stream_type_t) called!
01-30 14:03:17.589 D/AudioSystem(1667): audio_stream_type_t: 2
01-30 14:03:17.589 D/AudioSystem(1667): isSeparatedStream: false
01-30 14:03:17.589 D/SGAudioModeWrapper(5876): Route to earpiece or headphone
01-30 14:03:17.589 V/yamaha::media::CManager(1667): setMicMute(mute=0)
01-30 14:03:17.594 D/AudioSystem(1667): android::AudioSystem::isSeparatedStream(audio_stream_type_t) called!
01-30 14:03:17.594 D/AudioSystem(1667): audio_stream_type_t: 5
01-30 14:03:17.594 D/AudioSystem(1667): isSeparatedStream: false
01-30 14:03:17.594 I/AudioPolicyManager(1667): setForceUse() usage 0, config 0, mPhoneState 0
01-30 14:03:17.594 I/AudioPolicyManager(1667): getDeviceForStrategy() strategy 4, device 2
01-30 14:03:17.594 I/AudioPolicyManager(1667): getDeviceForStrategy() strategy 1, device 1
01-30 14:03:17.594 I/AudioPolicyManager(1667): getDeviceForStrategy() strategy 2, device 2
01-30 14:03:17.594 I/AudioPolicyManager(1667): getDeviceForStrategy() strategy 0, device 2
01-30 14:03:17.594 I/AudioPolicyManager(1667): getDeviceForStrategy() strategy 0, device 2
01-30 14:03:17.594 I/AudioPolicyManager(1667): getDeviceForStrategy() strategy 3, device 2
01-30 14:03:17.594 I/AudioPolicyManager(1667): getDeviceForStrategy() strategy 0, device 2
01-30 14:03:17.594 I/AudioPolicyManager(1667): getDeviceForStrategy() strategy 1, device 1
01-30 14:03:17.594 I/AudioPolicyManager(1667): getDeviceForStrategy() strategy 2, device 2
01-30 14:03:17.594 I/AudioPolicyManager(1667): getDeviceForStrategy() strategy 0, device 2
01-30 14:03:17.594 I/AudioPolicyManager(1667): getDeviceForStrategy() strategy 3, device 2
01-30 14:03:17.594 I/AudioPolicyManager(1667): getDeviceForStrategy() strategy 4, device 2
01-30 14:03:17.594 D/AudioSystem(1667): android::AudioSystem::isSeparatedStream(audio_stream_type_t) called!
01-30 14:03:17.594 D/AudioSystem(1667): audio_stream_type_t: 0
01-30 14:03:17.594 D/AudioSystem(1667): isSeparatedStream: false
01-30 14:03:17.594 D/AudioSystem(1667): android::AudioSystem::isSeparatedStream(audio_stream_type_t) called!
01-30 14:03:17.594 D/AudioSystem(1667): audio_stream_type_t: 1
01-30 14:03:17.594 D/AudioSystem(1667): isSeparatedStream: false
01-30 14:03:17.594 D/AudioSystem(1667): android::AudioSystem::isSeparatedStream(audio_stream_type_t) called!
01-30 14:03:17.594 D/AudioSystem(1667): audio_stream_type_t: 2
01-30 14:03:17.594 D/AudioSystem(1667): isSeparatedStream: false
01-30 14:03:17.594 D/AudioSystem(1667): android::AudioSystem::isSeparatedStream(audio_stream_type_t) called!
01-30 14:03:17.594 D/AudioSystem(1667): audio_stream_type_t: 3
01-30 14:03:17.594 D/AudioSystem(1667): isSeparatedStream: false
01-30 14:03:17.599 D/AudioSystem(1667): android::AudioSystem::isSeparatedStream(audio_stream_type_t) called!
01-30 14:03:17.599 D/AudioSystem(1667): audio_stream_type_t: 4
01-30 14:03:17.599 D/AudioSystem(1667): isSeparatedStream: false
01-30 14:03:17.599 D/AudioSystem(1667): android::AudioSystem::isSeparatedStream(audio_stream_type_t) called!
01-30 14:03:17.599 D/AudioSystem(1667): audio_stream_type_t: 5
01-30 14:03:17.599 D/AudioSystem(1667): isSeparatedStream: false
01-30 14:03:17.599 D/AudioSystem(1667): android::AudioSystem::isSeparatedStream(audio_stream_type_t) called!
01-30 14:03:17.599 D/AudioSystem(1667): audio_stream_type_t: 6
01-30 14:03:17.599 D/AudioSystem(1667): isSeparatedStream: false
01-30 14:03:17.599 D/AudioSystem(1667): android::AudioSystem::isSeparatedStream(audio_stream_type_t) called!
01-30 14:03:17.599 D/AudioSystem(1667): audio_stream_type_t: 7
01-30 14:03:17.599 D/AudioSystem(1667): isSeparatedStream: false
01-30 14:03:17.599 D/AudioSystem(1667): android::AudioSystem::isSeparatedStream(audio_stream_type_t) called!
01-30 14:03:17.599 D/AudioSystem(1667): audio_stream_type_t: 8
01-30 14:03:17.599 D/AudioSystem(1667): isSeparatedStream: false
01-30 14:03:17.599 D/AudioSystem(1667): android::AudioSystem::isSeparatedStream(audio_stream_type_t) called!
01-30 14:03:17.599 D/AudioSystem(1667): audio_stream_type_t: 9
01-30 14:03:17.599 D/AudioSystem(1667): isSeparatedStream: false
01-30 14:03:17.599 D/AudioSystem(1667): android::AudioSystem::isSeparatedStream(audio_stream_type_t) called!
01-30 14:03:17.599 D/AudioSystem(1667): audio_stream_type_t: 10
01-30 14:03:17.599 D/AudioSystem(1667): isSeparatedStream: false
01-30 14:03:17.599 D/AudioSystem(1667): android::AudioSystem::isSeparatedStream(audio_stream_type_t) called!
01-30 14:03:17.599 D/AudioSystem(1667): audio_stream_type_t: 11
01-30 14:03:17.599 D/AudioSystem(1667): isSeparatedStream: false
01-30 14:03:17.599 D/AudioSystem(1667): android::AudioSystem::isSeparatedStream(audio_stream_type_t) called!
01-30 14:03:17.599 D/AudioSystem(1667): audio_stream_type_t: 12
01-30 14:03:17.599 D/AudioSystem(1667): isSeparatedStream: false
01-30 14:03:17.599 D/AudioSystem(1667): android::AudioSystem::isSeparatedStream(audio_stream_type_t) called!
01-30 14:03:17.599 D/AudioSystem(1667): audio_stream_type_t: 13
01-30 14:03:17.599 D/AudioSystem(1667): isSeparatedStream: false
01-30 14:03:17.599 D/AudioSystem(1667): android::AudioSystem::isSeparatedStream(audio_stream_type_t) called!
01-30 14:03:17.599 D/AudioSystem(1667): audio_stream_type_t: 14
01-30 14:03:17.599 D/AudioSystem(1667): isSeparatedStream: false
01-30 14:03:17.599 D/AudioSystem(1667): android::AudioSystem::isSeparatedStream(audio_stream_type_t) called!
01-30 14:03:17.599 D/AudioSystem(1667): audio_stream_type_t: 2
01-30 14:03:17.599 D/AudioSystem(1667): isSeparatedStream: false
01-30 14:03:17.604 D/AudioSystem(1667): android::AudioSystem::isSeparatedStream(audio_stream_type_t) called!
01-30 14:03:17.604 D/AudioSystem(1667): audio_stream_type_t: 5
01-30 14:03:17.604 D/AudioSystem(1667): isSeparatedStream: false
01-30 14:03:17.604 D/SGAudioModeWrapper(5876): enableSpeakerphone(false)
01-30 14:03:17.604 D/SGAudioModeWrapper(5876): enableSpeakerphone: sHasHeadset = false, sHasEarpiece = true
01-30 14:03:17.604 D/SGAudioModeWrapper(5876): Route to earpiece or headphone
01-30 14:03:17.604 V/yamaha::media::CManager(1667): setMicMute(mute=0)
01-30 14:03:17.609 I/AudioPolicyManager(1667): setForceUse() usage 0, config 0, mPhoneState 0
01-30 14:03:17.609 I/AudioPolicyManager(1667): getDeviceForStrategy() strategy 4, device 2
01-30 14:03:17.609 I/AudioPolicyManager(1667): getDeviceForStrategy() strategy 1, device 1
01-30 14:03:17.609 I/AudioPolicyManager(1667): getDeviceForStrategy() strategy 2, device 2
01-30 14:03:17.609 I/AudioPolicyManager(1667): getDeviceForStrategy() strategy 0, device 2
01-30 14:03:17.609 I/AudioPolicyManager(1667): getDeviceForStrategy() strategy 0, device 2
01-30 14:03:17.609 I/AudioPolicyManager(1667): getDeviceForStrategy() strategy 3, device 2
01-30 14:03:17.609 I/AudioPolicyManager(1667): getDeviceForStrategy() strategy 0, device 2
01-30 14:03:17.609 I/AudioPolicyManager(1667): getDeviceForStrategy() strategy 1, device 1
01-30 14:03:17.609 I/AudioPolicyManager(1667): getDeviceForStrategy() strategy 2, device 2
01-30 14:03:17.609 I/AudioPolicyManager(1667): getDeviceForStrategy() strategy 0, device 2
01-30 14:03:17.609 I/AudioPolicyManager(1667): getDeviceForStrategy() strategy 3, device 2
01-30 14:03:17.609 I/AudioPolicyManager(1667): getDeviceForStrategy() strategy 4, device 2
01-30 14:03:17.609 D/AudioSystem(1667): android::AudioSystem::isSeparatedStream(audio_stream_type_t) called!
01-30 14:03:17.609 D/AudioSystem(1667): audio_stream_type_t: 0
01-30 14:03:17.609 D/AudioSystem(1667): isSeparatedStream: false
01-30 14:03:17.614 D/AudioSystem(1667): android::AudioSystem::isSeparatedStream(audio_stream_type_t) called!
01-30 14:03:17.614 D/AudioSystem(1667): audio_stream_type_t: 1
01-30 14:03:17.614 D/AudioSystem(1667): isSeparatedStream: false
01-30 14:03:17.614 D/AudioSystem(1667): android::AudioSystem::isSeparatedStream(audio_stream_type_t) called!
01-30 14:03:17.614 D/AudioSystem(1667): audio_stream_type_t: 2
01-30 14:03:17.614 D/AudioSystem(1667): isSeparatedStream: false
01-30 14:03:17.614 D/AudioSystem(1667): android::AudioSystem::isSeparatedStream(audio_stream_type_t) called!
01-30 14:03:17.614 D/AudioSystem(1667): audio_stream_type_t: 3
01-30 14:03:17.614 D/AudioSystem(1667): isSeparatedStream: false
01-30 14:03:17.614 D/AudioSystem(1667): android::AudioSystem::isSeparatedStream(audio_stream_type_t) called!
01-30 14:03:17.614 D/AudioSystem(1667): audio_stream_type_t: 4
01-30 14:03:17.614 D/AudioSystem(1667): isSeparatedStream: false
01-30 14:03:17.614 D/AudioSystem(1667): android::AudioSystem::isSeparatedStream(audio_stream_type_t) called!
01-30 14:03:17.614 D/AudioSystem(1667): audio_stream_type_t: 5
01-30 14:03:17.614 D/AudioSystem(1667): isSeparatedStream: false
01-30 14:03:17.614 D/AudioSystem(1667): android::AudioSystem::isSeparatedStream(audio_stream_type_t) called!
01-30 14:03:17.614 D/AudioSystem(1667): audio_stream_type_t: 6
01-30 14:03:17.614 D/AudioSystem(1667): isSeparatedStream: false
01-30 14:03:17.614 D/AudioSystem(1667): android::AudioSystem::isSeparatedStream(audio_stream_type_t) called!
01-30 14:03:17.614 D/AudioSystem(1667): audio_stream_type_t: 7
01-30 14:03:17.614 D/AudioSystem(1667): isSeparatedStream: false
01-30 14:03:17.614 D/AudioSystem(1667): android::AudioSystem::isSeparatedStream(audio_stream_type_t) called!
01-30 14:03:17.614 D/AudioSystem(1667): audio_stream_type_t: 8
01-30 14:03:17.614 D/AudioSystem(1667): isSeparatedStream: false
01-30 14:03:17.614 D/AudioSystem(1667): android::AudioSystem::isSeparatedStream(audio_stream_type_t) called!
01-30 14:03:17.614 D/AudioSystem(1667): audio_stream_type_t: 9
01-30 14:03:17.614 D/AudioSystem(1667): isSeparatedStream: false
01-30 14:03:17.614 D/AudioSystem(1667): android::AudioSystem::isSeparatedStream(audio_stream_type_t) called!
01-30 14:03:17.614 D/AudioSystem(1667): audio_stream_type_t: 10
01-30 14:03:17.614 D/AudioSystem(1667): isSeparatedStream: false
01-30 14:03:17.614 D/AudioSystem(1667): android::AudioSystem::isSeparatedStream(audio_stream_type_t) called!
01-30 14:03:17.614 D/AudioSystem(1667): audio_stream_type_t: 11
01-30 14:03:17.614 D/AudioSystem(1667): isSeparatedStream: false
01-30 14:03:17.614 D/AudioSystem(1667): android::AudioSystem::isSeparatedStream(audio_stream_type_t) called!
01-30 14:03:17.614 D/AudioSystem(1667): audio_stream_type_t: 12
01-30 14:03:17.614 D/AudioSystem(1667): isSeparatedStream: false
01-30 14:03:17.614 D/AudioSystem(1667): android::AudioSystem::isSeparatedStream(audio_stream_type_t) called!
01-30 14:03:17.614 D/AudioSystem(1667): audio_stream_type_t: 13
01-30 14:03:17.614 D/AudioSystem(1667): isSeparatedStream: false
01-30 14:03:17.614 D/AudioSystem(1667): android::AudioSystem::isSeparatedStream(audio_stream_type_t) called!
01-30 14:03:17.614 D/AudioSystem(1667): audio_stream_type_t: 14
01-30 14:03:17.614 D/AudioSystem(1667): isSeparatedStream: false
01-30 14:03:17.614 V/yamaha::media::CManager(1667): setMicMute(mute=0)

hope this can help somewhat. would appreciate some help ! :)