Hi
I am trying to add HID support to Galaxy S (android 2.1) but no success for now...
I am able to compile a 2.6.29 kernel using leshak ramfs and I have included hid.ko and hidp.ko modules.
I am also trying to build a 2.1 android using 2.1 + samsung eclair code.
It builds but I do not find some Bluetooth files I find in the Galaxy S like /system/bin/btld
I have also tryed to copy in the Galaxy S some tools like
hciattach
hcitool
hciconfig
but I do not get anything to work:
I do not know the parameters to run hciattach...
Following there is a bit of my init.rc regarding BT:
---------------------------------------------------------------------------
service dbus /system/bin/dbus-daemon --system --nofork
socket dbus stream 660 bluetooth bluetooth
user bluetooth
group bluetooth net_bt_admin
# +++++++++++++++++++++++++++++++++++++++++++
# for Broadcom Bluetooth
# Start BTLD -----------------------------------------
service btld /system/bin/logwrapper /system/bin/btld -hb 3000000 -hp /dev/s3c2410_serial0 -lpm 1
user root
group bluetooth net_bt_admin
disabled
oneshot
# Start DTUN OBEXD -----------------------------------------
service obexd /system/bin/logwrapper /system/bin/obexd
#socket bluetooth stream 660 bluetooth bluetooth
#socket dbus_bluetooth stream 660 bluetooth bluetooth
# init.rc does not yet support applying capabilities, so run as root and
# let obexd drop uid to bluetooth with the right linux capabilities
user root
group bluetooth net_bt_admin
disabled
oneshot
# Start BLUETOOTHD -----------------------------------------
service bluetoothd /system/bin/logwrapper /system/bin/bluetoothd -n /etc/bluez/main.conf
socket bluetooth stream 660 bluetooth bluetooth
socket dbus_bluetooth stream 660 bluetooth bluetooth
# init.rc does not yet support applying capabilities, so run as root and
# let hcid drop uid to bluetooth with the right linux capabilities
group bluetooth net_bt_admin misc
disabled
# +++++++++++++++++++++++++++++++++++++++++++
service hfag /system/bin/sdptool add --channel=10 HFAG
user bluetooth
group bluetooth net_bt_admin
disabled
oneshot
service hsag /system/bin/sdptool add --channel=11 HSAG
user bluetooth
group bluetooth net_bt_admin
disabled
oneshot
service opush /system/bin/sdptool add --channel=12 OPUSH
user bluetooth
group bluetooth net_bt_admin
disabled
oneshot
service pbap /system/bin/sdptool add --channel=19 PBAP
user bluetooth
group bluetooth net_bt_admin
disabled
oneshot
----------------------------------------------------------------------------------
is it the BT stack in the Galaxy S not a proper bluez stack?
Any help would be really appreciated!
Have you tried to attach it to /dev/s3c2410_serial0 ?
yes I have tried,
but when I try to do some hciconfig commands like
hciconfig hci0 reset
or
hciconfig hci0 up
I get a timeout...
I have now tried to compile /system/lib/libbluetoothd.so
but when I use the one I compile BT does not start anymore on the phone, it means the sources samsung have released are not OK..
I'm interested in such an answer myself (for bluetooth tethering through a laptop).
Found this page: http://code.google.com/p/android/issues/detail?id=8783
Specifically this quote: "The HTC Desire uses a proprietary Broadcom Bluetooth stack (which is why you won't find the code from it)".
Could be that SGS relies on this proprietary stack too?
It appears that when bluetooth is turned on on the device, "btld" daemon is running in response. It opens the above device node + some sockets and some more /dev nodes.
Is you make file like this?
obj-$(CONFIG_BT_HCIVHCI) += hci_vhci.o
obj-$(CONFIG_BT_HCIUART) += hci_uart.o
obj-$(CONFIG_BT_HCIBCM203X) += bcm203x.o
obj-$(CONFIG_BT_HCIBPA10X) += bpa10x.o
obj-$(CONFIG_BT_HCIBFUSB) += bfusb.o
obj-$(CONFIG_BT_HCIDTL1) += dtl1_cs.o
obj-$(CONFIG_BT_HCIBT3C) += bt3c_cs.o
obj-$(CONFIG_BT_HCIBLUECARD) += bluecard_cs.o
obj-$(CONFIG_BT_HCIBTUART) += btuart_cs.o
obj-$(CONFIG_BT_HCIBTUSB) += btusb.o
obj-$(CONFIG_BT_HCIBTSDIO) += btsdio.o
hci_uart-y := hci_ldisc.o
hci_uart-$(CONFIG_BT_HCIUART_H4) += hci_h4.o
hci_uart-$(CONFIG_BT_HCIUART_BCSP) += hci_bcsp.o
hci_uart-$(CONFIG_BT_HCIUART_LL) += hci_ll.o
hci_uart-objs := $(hci_uart-y)
My guess it won't be easy because Samsung appears to use custom version of "bluez" (see the diff of Samsung's open source code vs vanilla). It appears to communicate with "btld" - which is not released as open source and appears to be broadcom's bluetooth stack implementation.
all program i tested on galaxy just crashed, the only one working is getblue at: http://www.tec-it.com/software/data-acquisition/getblue/android-smartphone/Default.aspx
you can find it on market also.
does anyone has testeda workng application on galaxy via rfcomm ?
An educated guess to get bluetooth HID on the desire working
i try to get bluetooth hid working on pays rom f. htc desire/bravo and i think i'm missing a tiny bit...
i copied bdaddr, bttest, dbus-monitor, dbus-send, hciconfig, hcidump, hcitool, hidd, input.conf, sdptest to the appropriate dirs via adb push in recovery mode. made them chmod a+x
a "dmesg | grep HID" gives
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Code:
dbus-send --system --type=method_call --print-reply --dest=org.bluez / org.bluez.Manager.DefaultAdapter
[i]method return sender=:1.1 -> dest=:1.7
object path "/org/bluez/380/hci0"[/i]
dbus-send --system --type=method_call --print-reply --dest=org.bluez /org/bluez/380/hci0 org.bluez.Adapter.ListDevices
[i]method return sender=:1.1 -> dest=:1.5
array [
object path "/org/bluez/380/hci0/dev_00_14_51_D0_96_F6"
]
[/i]
dbus-send --system --type=method_call --print-reply --dest=org.bluez /org/bluez/380/hci0/dev_00_14_51_D0_96_F6 org.bluez.Device.GetProperties
[i]method return sender=:1.1 -> dest=:1.6
array [
dict entry(
string "Address"
variant string "00:14:51:D0:96:F6"
)
dict entry(
string "Name"
variant string "siegfriedruckels Maus"
)
dict entry(
string "Alias"
variant string "siegfriedruckels Maus"
)
dict entry(
string "Class"
variant uint32 9600
)
dict entry(
string "Icon"
variant string "input-mouse"
)
dict entry(
string "Paired"
variant boolean true
)
dict entry(
string "Trusted"
variant boolean false
)
dict entry(
string "Connected"
variant boolean false
)
dict entry(
string "UUIDs"
variant array [
]
)
dict entry(
string "Adapter"
variant object path "/org/bluez/380/hci0"
)
]
[/i]
service list
[i]Found 55 services:
0 phone: [com.android.internal.telephony.ITelephony]
1 iphonesubinfo: [com.android.internal.telephony.IPhoneSubInfo]
2 simphonebook: [com.android.internal.telephony.IIccPhoneBook]
3 isms: [com.android.internal.telephony.ISms]
4 htc_checkin: [android.os.ICheckinService]
5 bluetooth_fm_receiver_service: [com.broadcom.bt.service.fm.IFmReceiverService]
6 bluetooth_dg_service: [com.broadcom.android.bluetooth.IBluetoothDataGateway]
7 diskstats: []
8 appwidget: [com.android.internal.appwidget.IAppWidgetService]
9 backup: [android.app.backup.IBackupManager]
10 uimode: [android.app.IUiModeManager]
11 audio: [android.media.IAudioService]
12 wallpaper: [android.app.IWallpaperManager]
13 dropbox: [com.android.internal.os.IDropBoxManagerService]
14 search: [android.app.ISearchManager]
15 location: [android.location.ILocationManager]
16 devicestoragemonitor: []
17 notification: [android.app.INotificationManager]
18 mount: [android.os.storage.IMountService]
19 accessibility: [android.view.accessibility.IAccessibilityManager]
20 throttle: [android.net.IThrottleManager]
21 connectivity: [android.net.IConnectivityManager]
22 wifi: [android.net.wifi.IWifiManager]
23 network_management: [android.os.INetworkManagementService]
24 netstat: [android.os.INetStatService]
25 input_method: [com.android.internal.view.IInputMethodManager]
26 clipboard: [android.text.IClipboard]
27 statusbar: [android.app.IStatusBar]
28 device_policy: [android.app.admin.IDevicePolicyManager]
29 bluetooth_a2dp: [android.bluetooth.IBluetoothA2dp]
30 bluetooth: [android.bluetooth.IBluetooth]
31 window: [android.view.IWindowManager]
32 sensor: [android.hardware.ISensorService]
33 alarm: [android.app.IAlarmManager]
34 htchardware: [android.os.IHtcHardwareService]
35 vibrator: [android.os.IVibratorService]
36 hardware: [android.os.IHardwareService]
37 battery: []
38 content: [android.content.IContentService]
39 account: [android.accounts.IAccountManager]
40 permission: [android.os.IPermissionController]
41 cpuinfo: []
42 meminfo: []
43 activity: [android.app.IActivityManager]
44 package: [android.content.pm.IPackageManager]
45 telephony.registry: [com.android.internal.telephony.ITelephonyRegistry]
46 usagestats: [com.android.internal.app.IUsageStats]
47 batteryinfo: [com.android.internal.app.IBatteryStats]
48 power: [android.os.IPowerManager]
49 entropy: []
50 SurfaceFlinger: [android.ui.ISurfaceComposer]
51 media.audio_policy: [android.media.IAudioPolicyService]
52 media.camera: [android.hardware.ICameraService]
53 media.player: [android.media.IMediaPlayerService]
54 media.audio_flinger: [android.media.IAudioFlinger]
[/i]
An educated guess to get bluetooth HID on the desire working
logcat (relevant part)
Code:
V/BluetoothEventRedirector( 455): Received android.bluetooth.adapter.action.STATE_CHANGED
I/BluetoothEventRedirector( 455): EXTRA_STATE = 11
E/BTL-SERVER( 947): BTLD starting...
E/BTL-SERVER( 947): main: main :: BTLD starting
V/BTL_CFG ( 947): btl_cfg_set_btld_status: service.brcm.bt.btld=1, ret=0
V/BTL_CFG ( 947): btl_cfg_set_btld_status success : service.brcm.bt.btld = 1, ret = 0
V/BTL_CFG ( 947): btld_cfg_btld_pid : service.brcm.bt.btld_pid = 947
I/BTL_CFG ( 947): btl_cfg_set_btld_pid success : service.brcm.bt.btld_pid = 947, ret = 0
I/BTL-SERVER( 947): BTE version BCM1200_MI_10.3.14.36
I/BTL-SERVER( 947): btld version BTL-ANDROID_MI_2.0.50_htc_032+sniff_fix starting...
I/BTL-SERVER( 947): Build time: Jun 21 2010 12:34:01
I/BTL-SERVER( 947): BTLD Registering on_off handler for signal 12
I/BTL-SERVER( 947): get specific BD address...
I/BTL-SERVER( 947): Got BD address 00:23:76:f6:db:af
I/BTL-SERVER( 947): from /sys/module/board_bravo/parameters/bdaddress
I/BTL_CFG ( 947): SetProperties: save default BDA: 002376f6dbaf
I/BTL-SERVER( 947): Convert BD to binary 00:23:76:F6:DB:AF
I/BTL_CFG ( 947): btl_cfg_get_bdaddr: BDA=002376f6dbaf
E/BTL_CFG ( 947): WARNING : property_get failed (0)
E/BTL_CFG ( 947): WARNING : property_get failed (0)
E/BTL_CFG ( 947): WARNING : property_get failed (0)
I/BTL_CFG ( 947): btl_cfg_get_lpm_params: service.brcm.bt.bt_wake_polar=0
E/BTL_CFG ( 947): WARNING : property_get failed (0)
I/BTL_CFG ( 947): btl_cfg_get_lpm_params: service.brcm.bt.host_wake_polar=0
E/BTL_CFG ( 947): WARNING : property_get failed (0)
E/BTL_CFG ( 947): WARNING : property_get failed (0)
I/BTL_CFG ( 947): btl_cfg_get_contacts_db: service.brcm.bt.contacts_db=/data/data/com.android.providers.contacts/databases/contacts2.db
I/ ( 947): #### : lpm_through_rfkill = 0
D/dalvikvm( 455): GC_FOR_MALLOC freed 15968 objects / 869784 bytes in 39ms
I/USERIAL_LINUX( 947): USERIAL_Open
I/USERIAL_LINUX( 947): USERIAL_Open opening /dev/ttyHS0
I/USERIAL_LINUX( 947): USERIAL_Open open successfull (7)
I/USERIAL_LINUX( 947): Leaving USERIAL_Open
E/BTL_CFG ( 947): WARNING : property_get failed (0)
D/BTLD ( 947): [bttrc] using compile default trace settings
I/GKI_LINUX( 947): Leaving GKI_create_task 10500 0 1f8238 HCI 1cf0cc 0
I/GKI_LINUX( 947): GKI creating task 2
I/GKI_LINUX( 947): gki_task_entry task_id=2
I/GKI_LINUX( 947): Leaving GKI_create_task 12b34 2 1ffce8 APPL 1cf0cc 0
I/GKI_LINUX( 947): GKI creating task 3
I/GKI_LINUX( 947): gki_task_entry task_id=3
I/GKI_LINUX( 947): Leaving GKI_create_task 38cd0 3 1ffd28 SBC 1cf0cc 0
I/GKI_LINUX( 947): GKI creating task 4
I/GKI_LINUX( 947): gki_task_entry task_id=4
I/GKI_LINUX( 947): Leaving GKI_create_task 382b0 4 1ffd68 AVR 1cf0cc 0
I/GKI_LINUX( 947): GKI creating task 5
I/GKI_LINUX( 947): PBS SQL lowest priority task
I/GKI_LINUX( 947): Leaving GKI_create_task 1a754 5 1ffda8 PBS 1cf0cc 0
I/GKI_LINUX( 947): GKI_run
I/GKI_LINUX( 947): gki_task_entry task_id=5
I/PBS_CO ( 947): pbs_sql_task started.
I//system/bin/btld( 946): gki_alloc_free_queue in, id:3
I//system/bin/btld( 946): gki_alloc_free_queue calling gki_init_free_queue, id:3 size:1712, totol:50
I//system/bin/btld( 946): gki_alloc_free_queue ret OK, id:3 size:1712, totol:50
I//system/bin/btld( 946): gki_alloc_free_queue in, id:2
I//system/bin/btld( 946): gki_alloc_free_queue calling gki_init_free_queue, id:2 size:660, totol:45
I//system/bin/btld( 946): gki_alloc_free_queue ret OK, id:2 size:660, totol:45
D/USERIAL_LINUX( 947): USERIAL_Ioctl: Received USERIAL_OP_BAUD_WR ioctl
I/USERIAL_LINUX( 947): USERIAL_Ioctl: Received USERIAL_OP_BAUD_WR ioctl 14
I/USERIAL_LINUX( 947): userial_change_rate: Closing UART Port
D/USERIAL_LINUX( 947): socket signaled
D/USERIAL_LINUX( 947): socket signal reseted
W/USERIAL_LINUX( 947): my_read return size <=0:-1, exiting userial_read_thread
I/USERIAL_LINUX( 947): USERIAL_Close
I//system/bin/btld( 946): gki_alloc_free_queue in, id:0
I//system/bin/btld( 946): gki_alloc_free_queue calling gki_init_free_queue, id:0 size:64, totol:48
I//system/bin/btld( 946): gki_alloc_free_queue ret OK, id:0 size:64, totol:48
I//system/bin/btld( 946): userial_change_rate: Closing UART Port
D/USERIAL_LINUX( 947): userial_change_rate: Attempting to reopen the UART Port at 0x002dc6c0
I/USERIAL_LINUX( 947): userial_change_rate: Attempting to reopen the UART Port at 3000000
I/USERIAL_LINUX( 947): USERIAL_Open
I/USERIAL_LINUX( 947): USERIAL_Open opening /dev/ttyHS0
I/USERIAL_LINUX( 947): USERIAL_Open open successfull (7)
I/USERIAL_LINUX( 947): Leaving USERIAL_Open
I/BTL-SERVER( 947): Found patchfile: /system/etc/firmware//BCM4329B1_002.002.023.0436.0439.hcd
I/BTL-SERVER( 947): bte_main_rln_cplt: Downloading patchfile /system/etc/firmware/BCM4329B1_002.002.023.0436.0439.hcd
I/GKI_LINUX( 947): GKI_sched_lock
I/GKI_LINUX( 947): GKI_sched_unlock
I/BTLD ( 947): BCM2045_PRM_Init
I/BTLD ( 947): Minidrv download completed
I//system/bin/btld( 946): gki_alloc_free_queue in, id:1
I//system/bin/btld( 946): gki_alloc_free_queue calling gki_init_free_queue, id:1 size:288, totol:26
I//system/bin/btld( 946): gki_alloc_free_queue ret OK, id:1 size:288, totol:26
E/BTLD ( 947): [hcis] Unknown HCI message type drop this byte 0x34
E/BTLD ( 947): [hcis] Unknown HCI message type drop this byte 0x31
I/BTLD ( 947): Launch RAM successful
D/USERIAL_LINUX( 947): USERIAL_Ioctl: Received USERIAL_OP_BAUD_WR ioctl
I/USERIAL_LINUX( 947): USERIAL_Ioctl: Received USERIAL_OP_BAUD_WR ioctl 7
I/USERIAL_LINUX( 947): userial_change_rate: Closing UART Port
D/USERIAL_LINUX( 947): socket signaled
D/USERIAL_LINUX( 947): socket signal reseted
W/USERIAL_LINUX( 947): my_read return size <=0:-1, exiting userial_read_thread
I/USERIAL_LINUX( 947): USERIAL_Close
I//system/bin/btld( 946): userial_change_rate: Closing UART Port
D/USERIAL_LINUX( 947): userial_change_rate: Attempting to reopen the UART Port at 0x0001c200
I/USERIAL_LINUX( 947): userial_change_rate: Attempting to reopen the UART Port at 115200
I/USERIAL_LINUX( 947): USERIAL_Open
I/USERIAL_LINUX( 947): USERIAL_Open opening /dev/ttyHS0
I/USERIAL_LINUX( 947): USERIAL_Open open successfull (7)
I/USERIAL_LINUX( 947): Leaving USERIAL_Open
D/USERIAL_LINUX( 947): USERIAL_Ioctl: Received USERIAL_OP_BAUD_WR ioctl
I/USERIAL_LINUX( 947): USERIAL_Ioctl: Received USERIAL_OP_BAUD_WR ioctl 14
I/USERIAL_LINUX( 947): userial_change_rate: Closing UART Port
D/USERIAL_LINUX( 947): socket signaled
D/USERIAL_LINUX( 947): socket signal reseted
W/USERIAL_LINUX( 947): my_read return size <=0:-1, exiting userial_read_thread
I/USERIAL_LINUX( 947): USERIAL_Close
I//system/bin/btld( 946): userial_change_rate: Closing UART Port
D/USERIAL_LINUX( 947): userial_change_rate: Attempting to reopen the UART Port at 0x002dc6c0
I/USERIAL_LINUX( 947): userial_change_rate: Attempting to reopen the UART Port at 3000000
I/USERIAL_LINUX( 947): USERIAL_Open
I/USERIAL_LINUX( 947): USERIAL_Open opening /dev/ttyHS0
I/USERIAL_LINUX( 947): USERIAL_Open open successfull (7)
I/USERIAL_LINUX( 947): Leaving USERIAL_Open
I/BTL-SERVER( 947): Setting local bd addr to 00:23:76:F6:DB:AF
I/ ( 947): dtun_server_register_interface: Register DTUN interface [0]
D/ ( 947): dtun_server_start: dtun_server_start()
I/BTL-IFS ( 947): BTL_IF_RegisterSubSystem: Registered subsystem [DTUN]
I/GKI_LINUX( 947): GKI_sched_lock
I/GKI_LINUX( 947): GKI_sched_unlock
I/BTL-BTE_APPL( 947): BTE_appl_task is exiting.
I/BTAPP_FM( 947): BTAPP_FM: Initialized IFS (res = 6)
I/BTL-IFS ( 947): BTL_IF_RegisterSubSystem: Registered subsystem [FM]
I/BTAPP_FM( 947): BTAPP_FM: Registered IFS (res = 0)
I/BTL-IFS ( 947): BTL_IF_RegisterSubSystem: Registered subsystem [TEST]
I/BTL_CFG ( 947): btl_cfg_get_btport_redirection_enable: service.brcm.bt.btport_redir_on=
I/GKI_LINUX( 947): GKI_sched_lock
I/GKI_LINUX( 947): GKI_sched_unlock
I/BTL-IFS ( 947): BTL_IF_RegisterSubSystem: Registered subsystem [DUN]
I/BTL-IFS ( 947): BTL_IF_RegisterSubSystem: Registered subsystem [SPP]
I/BTL-IFS ( 947): BTL_IF_RegisterSubSystem: Registered subsystem [AG]
I/BTL-IFS ( 947): BTL_IF_RegisterSubSystem: Registered subsystem [SCO]
I/GKI_LINUX( 947): GKI_sched_lock
I/GKI_LINUX( 947): GKI_sched_unlock
I/BTA_AG_CO: ( 947): bta_ag_co_init: ag_voice_settings = 96
I/BTA_AG_CO: ( 947): bta_ag_co_init: ag_vsc_sco_pcm(0x172e1b) = {0, 4, 0, 0, 0}
I/BTA_AG_CO: ( 947): bta_ag_co_init: ag_vsc_pcm_config(0x172e16) = {0, 0, 3, 3, 0}
I/BTL-BTAPP_OPC:( 947): **** Starting DTUN [OPC] Interface ****
I/BTL-BTAPP_OPS:( 947): OPS Supported Formats = 0x45
I/GKI_LINUX( 947): GKI_sched_lock
I/GKI_LINUX( 947): GKI_sched_unlock
I/BTL-BTAPP_OPS:( 947): OPS event:0
I/BTL-IFS ( 947): BTL_IF_RegisterSubSystem: Registered subsystem [FTPS]
I/BTAPP_PR:( 947): Initialized IFS (res = 6)
I/BTL-IFS ( 947): BTL_IF_RegisterSubSystem: Registered subsystem [PR]
I/BTAPP_PR:( 947): Registered IFS (res = 0)
I/GKI_LINUX( 947): GKI_sched_lock
I/GKI_LINUX( 947): GKI_sched_unlock
I/BTL-BTAPP_AV( 947): AVRCP enabled
I/BTL-BTAPP_AV( 947): Advanced Audio enabled
D/BTAPP_PBS:( 947): btapp_pbs_init IFS init result = 6
I/BTL-IFS ( 947): BTL_IF_RegisterSubSystem: Registered subsystem [PBS]
D/BTAPP_PBS:( 947): BTL_IF_RegisterSubSystem result = 0 btl_if_pbs_handle = 8
I/ ( 947): btapp_bts_init: btapp_bts_init
I/BTL-IFS ( 947): BTL_IF_RegisterSubSystemMultiClnt: Registered subsystem [BTS]
I/GKI_LINUX( 947): GKI_sched_lock
I/GKI_LINUX( 947): GKI_sched_unlock
D/ ( 947): jvapi_if_dm_cback: #### jw_if_dm_cback ev BTA_JV_ENABLE_EVT ####
I/BTL-BTE_APPL( 947): BTE_appl_task is exiting.
I/BTL-IFS-WRAPPER( 947): wrp_sock_create: wrp_sock_create : created socket (fd 14)
D/BTL-IFS-WRAPPER( 947): DTUN_MAKE_LOCAL_SERVER_NAME return name: brcm.bt.dtun.9000
D/BTL-IFS-WRAPPER( 947): wrp_sock_bind: btl_ifs:wrp_sock_bind:socket_local_server_bind result:0 server_name:brcm.bt.dtun.9000
D/BTL-IFS-WRAPPER( 947): wrp_sock_bind: socket_local_server_bind on port 9000
I/BTL-IFS-WRAPPER( 947): wrp_sock_listen: wrp_sock_listen : (CTRL) listening on brcm.bt.dtun:9000 (14)
I/bluedroid( 162): $#$#$#$#$# Start bluetoothd...
I/DTUN_HCID_BZ4( 959): HCID DTUN client starting
I/DTUN_CLNT( 959): dtun_start_interface : iface [DTUN_INTERFACE] starting...
D/DTUN_CLNT( 959): DTUN_MAKE_LOCAL_SERVER_NAME return name: brcm.bt.dtun.9000
I/BTL-IFS ( 947): main_server_thread: [CTRL] Client connected (15)
I/BTL-IFS ( 947): attach_client: ######## Attached client subsystem DTUN (15) ########
D/BTL-IFS ( 947): send_registration_rsp: send_registration_rsp [0]
I/BTL-IFS ( 947): send_ctrl_msg: [BTL_IFS CTRL] send BTLIF_REGISTER_SUBSYS_RSP (CTRL) 2 pbytes (hdl 15)
D/DTUN_CLNT( 959): create_subprocess : [DTUN_INTERFACE]
I/DTUN_CLNT( 959): Client calling DTUN_METHOD_DM_GET_LOCAL_INFO (id 1)
I/ ( 947): DTUN_ReceiveCtrlMsg: [DTUN] Received message [BTLIF_DTUN_METHOD_CALL] 4354
I/ ( 947): handle_method_call: handle_method_call :: received DTUN_METHOD_DM_GET_LOCAL_INFO (id 1), len 0
I/BTL-IFS ( 947): send_ctrl_msg: [BTL_IFS CTRL] send BTLIF_DTUN_SIGNAL_EVT (CTRL) 10 pbytes (hdl 15)
I/DTUN_HCID_BZ4( 959): hcid main loop starting
D/DTUN_HCID_BZ4( 959): dtun_dm_sig_local_info()
I/DTUN_CLNT( 959): Client calling DTUN_METHOD_DM_SET_NAME (id 13)
I/ ( 947): DTUN_ReceiveCtrlMsg: [DTUN] Received message [BTLIF_DTUN_METHOD_CALL] 4354
I/ ( 947): handle_method_call: handle_method_call :: received DTUN_METHOD_DM_SET_NAME (id 13), len 248
D/ADAPTER ( 959): btd_adapter_ref(0xf180): ref=1
I/DTUN_HCID_BZ4( 959): manager start adapter
I//system/bin/btld( 946): btapp_dm_GetLocalInfo()
I//system/bin/btld( 946): btapp_dm_SetName()
I/DTUN_CLNT( 959): Client calling DTUN_METHOD_DM_SET_MODE (id 12)
I/ ( 947): DTUN_ReceiveCtrlMsg: [DTUN] Received message [BTLIF_DTUN_METHOD_CALL] 4354
I/ ( 947): handle_method_call: handle_method_call :: received DTUN_METHOD_DM_SET_MODE (id 12), len 1
E/DTUN_HCID_BZ4( 959): ...dtunops_set_limited_discoverable unimplemented!!!
D/DEVICE ( 959): Creating device /org/bluez/959/hci0/dev_00_14_51_D0_96_F6
D/DEVICE ( 959): Creating device [address = 00:14:51:D0:96:F6] /org/bluez/959/hci0/dev_00_14_51_D0_96_F6 [name = siegfriedruckels Maus]
D/DEVICE ( 959): btd_device_ref(0xf518): ref=1
D/DEVICE ( 959): Just add the profiles for /org/bluez/959/hci0/dev_00_14_51_D0_96_F6
D/DTUN_HCID_BZ4( 959): dtun_add_devices_do_append()
I/DTUN_HCID_BZ4( 959): key = 00:14:51:D0:96:F6 value = 9ED7D8FE36844E8FB8E1C1E9D6640028 0 4
I/DTUN_CLNT( 959): Client calling DTUN_METHOD_DM_ADD_DEV (id 14)
I/ ( 947): DTUN_ReceiveCtrlMsg: [DTUN] Received message [BTLIF_DTUN_METHOD_CALL] 4354
I/ ( 947): handle_method_call: handle_method_call :: received DTUN_METHOD_DM_ADD_DEV (id 14), len 23
I/GKI_LINUX( 947): GKI_sched_lock
I/GKI_LINUX( 947): GKI_sched_unlock
I//system/bin/btld( 946): btapp_dm_SetMode()
I//system/bin/btld( 946): btapp_dm_AddDev()
I/ADAPTER ( 959): Adapter /org/bluez/959/hci0 has been enabled
D/dtun_obexd( 959): Obex: g_dbus_register_interface in_conn = 0xca28 conn=0xca28
I/BatteryStatsImpl( 162): notePhoneSignalStrengthLocked: 4->3
I/bluedroid( 162): $#$#$#$# New state is BTON_FMOFF_handling
D/ADAPTER ( 959): Agent registered for hci0 at :1.0:/android/bluetooth/agent
I/BluetoothEventLoop.cpp( 162): agent_event_filter: Received method org.bluez.Agent:Release
I//system/bin/btld( 946): ##### USerial_Ioctl: BT_Sleep, 0x8004 ####
I/global ( 162): Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
I/BluetoothService( 162): loadBondState(): val = /org/bluez/959/hci0/dev_00_14_51_D0_96_F6,
D/BluetoothService( 162): found 1 bonded devices
D/BluetoothService( 162): Bluetooth state 11 -> 12
V/BluetoothEventRedirector( 455): Received android.bluetooth.adapter.action.STATE_CHANGED
I/BluetoothEventRedirector( 455): EXTRA_STATE = 12
V/BluetoothDataGatewayService( 162): #### DataGateway Service Received message ####
V/BluetoothDataGatewayService( 162): #### Enable Data Gateway Server ####
I/BluetoothDataGateway.cpp( 162): dataGatewayEnableNative
I/BTL_IFC ( 162): BTL_IFC_RegisterSubSystem: Register subsystem [SPP]
I/BTL_IFC ( 162): btl_ifc_ctrl_connect: Connect control channel for subsystem [SPP]
D/BTL_IFC_WRP( 162): wrp_sock_create: CTRL
D/BTL_IFC_WRP( 162): wrp_alloc_new_sock: wrp_alloc_new_sock sub 1
D/BTL_IFC_WRP( 162): wrp_sock_create: 142
D/BTL_IFC_WRP( 162): wrp_sock_connect: wrp_sock_connect brcm.bt.dtun:9000 (142)
D/BTL_IFC_WRP( 162): DTUN_MAKE_LOCAL_SERVER_NAME return name: brcm.bt.dtun.9000
I/BTL-IFS ( 947): main_server_thread: [CTRL] Client connected (16)
I/BTL_IFC_WRP( 162): wrp_sock_connect: Connected. (142)
I/BTL_IFC ( 162): send_ctrl_msg: [BTL_IFC CTRL] send BTLIF_REGISTER_SUBSYS_REQ (SPP) 0 pbytes (hdl 142)
I/BTL-IFS ( 947): attach_client: ######## Attached client subsystem SPP (16) ########
D/BTL-IFS ( 947): send_registration_rsp: send_registration_rsp [0]
I/BTL-IFS ( 947): send_ctrl_msg: [BTL_IFS CTRL] send BTLIF_REGISTER_SUBSYS_RSP (CTRL) 2 pbytes (hdl 16)
D/BTL_IFC ( 162): BTL_IFC_RegisterSubSystem: add new ctrl fd to active set
I/BrcmBtServiceLoader( 162): ***Received Bluetooth ON Event****
D/BluetoothServiceManager( 162): onBluetoothEnabled()
D/BluetoothServiceManager( 162): ***startService(): Bluetooth service bluetooth_ftp not enabled. Skipping...***
D/BluetoothServiceManager( 162): ***startService(): Starting service: bluetooth_pbs***
D/com_broadcom_bt_service_pbap_PBAPService.cpp( 162): enableDefaultPbapServerNative
I/BTL_IFC ( 162): BTL_IFC_RegisterSubSystem: Register subsystem [PBS]
I/BTL_IFC ( 162): btl_ifc_ctrl_connect: Connect control channel for subsystem [PBS]
D/BTL_IFC_WRP( 162): wrp_sock_create: CTRL
D/BTL_IFC_WRP( 162): wrp_alloc_new_sock: wrp_alloc_new_sock sub 1
D/BTL_IFC_WRP( 162): wrp_sock_create: 143
D/BTL_IFC_WRP( 162): wrp_sock_connect: wrp_sock_connect brcm.bt.dtun:9000 (143)
D/BTL_IFC_WRP( 162): DTUN_MAKE_LOCAL_SERVER_NAME return name: brcm.bt.dtun.9000
I/BTL-IFS ( 947): main_server_thread: [CTRL] Client connected (17)
D/BluetoothHeadsetService( 264): Loaded priority 00:14:51:D0:96:F6 = 0
I/BTL_IFC_WRP( 162): wrp_sock_connect: Connected. (143)
I/BTL_IFC ( 162): send_ctrl_msg: [BTL_IFC CTRL] send BTLIF_REGISTER_SUBSYS_REQ (PBS) 0 pbytes (hdl 143)
I/BTL-IFS ( 947): attach_client: ######## Attached client subsystem PBS (17) ########
D/BTL-IFS ( 947): send_registration_rsp: send_registration_rsp [0]
I/BTL-IFS ( 947): send_ctrl_msg: [BTL_IFS CTRL] send BTLIF_REGISTER_SUBSYS_RSP (CTRL) 2 pbytes (hdl 17)
D/BTL_IFC ( 162): BTL_IFC_RegisterSubSystem: add new ctrl fd to active set
D/BTL_IFC ( 162): BTL_IFC_CtrlSend: BTL_IFC_CtrlSend
I/BTL_IFC ( 162): send_ctrl_msg: [BTL_IFC CTRL] send BTLIF_PBS_ENABLE (PBS) 0 pbytes (hdl 143)
I/GKI_LINUX( 947): GKI_sched_lock
I/GKI_LINUX( 947): GKI_sched_unlock
I/BTL-IFS ( 947): send_ctrl_msg: [BTL_IFS CTRL] send BTLIF_PBS_ENABLE_EVT (PBS) 0 pbytes (hdl 17)
I/BTL_IFC ( 162): btl_ifc_ctrl_rx: [BTL_IFC CTRL] recv BTLIF_PBS_ENABLE_EVT (PBS) 2 pbytes (hdl 143)
D/com_broadcom_bt_service_pbap_PBAPService.cpp( 162): #### handlePbapEvent 0xad3f224a ####
D/com_broadcom_bt_service_pbap_PBAPService.cpp( 162): ### PBAP Opend ####
I/BluetoothPBAPService( 162): onPbapEnabled
D/BluetoothServiceManager( 162): ***startService(): Done starting service: bluetooth_pbs***
I/BluetoothAudioGateway.cpp( 264): Calling blz_wrapper_init
I/BTL_IFC ( 264): BTL_IFC_RegisterSubSystem: Register subsystem [AG]
I/BTL_IFC ( 264): btl_ifc_ctrl_connect: Connect control channel for subsystem [AG]
D/BTL_IFC_WRP( 264): wrp_sock_create: CTRL
D/BTL_IFC_WRP( 264): wrp_alloc_new_sock: wrp_alloc_new_sock sub 1
D/BTL_IFC_WRP( 264): wrp_sock_create: 52
D/BTL_IFC_WRP( 264): wrp_sock_connect: wrp_sock_connect brcm.bt.dtun:9000 (52)
D/BTL_IFC_WRP( 264): DTUN_MAKE_LOCAL_SERVER_NAME return name: brcm.bt.dtun.9000
I/BTL-IFS ( 947): main_server_thread: [CTRL] Client connected (18)
I/BTL_IFC_WRP( 264): wrp_sock_connect: Connected. (52)
I/BTL_IFC ( 264): send_ctrl_msg: [BTL_IFC CTRL] send BTLIF_REGISTER_SUBSYS_REQ (AG) 0 pbytes (hdl 52)
I/BTL-IFS ( 947): attach_client: ######## Attached client subsystem AG (18) ########
D/BTL-IFS ( 947): send_registration_rsp: send_registration_rsp [0]
I/BTL-IFS ( 947): send_ctrl_msg: [BTL_IFS CTRL] send BTLIF_REGISTER_SUBSYS_RSP (CTRL) 2 pbytes (hdl 18)
D/BTL_IFC ( 264): BTL_IFC_RegisterSubSystem: add new ctrl fd to active set
I/BLZ_WRAPPER( 264): btl_if_socket: btl_if_socket :: fam 31, type 1, proto 3
D/BTL_IFC_WRP( 264): wrp_sock_create: AG
D/BTL_IFC_WRP( 264): wrp_alloc_new_sock: wrp_alloc_new_sock sub 3
D/BTL_IFC_WRP( 264): wrp_sock_create: 58
D/BLZ_WRAPPER( 264): btl_if_setsockopt: btl_if_setsockopt level:18, optname:3
I/BLZ_WRAPPER( 264): btl_if_setsockopt: configure rfcomm lm mode
D/BLZ_WRAPPER( 264): btl_if_bind: [btl_if_bind] : (58:-1), disc_pending 0, asnc 0, selct 0, flags 0
I/BLZ_WRAPPER( 264): btl_if_bind: btl_if_bind : [rfc] rc chan 10, bd[0:0]
D/BTL_IFC_WRP( 264): DTUN_MAKE_LOCAL_SERVER_NAME return name: brcm.bt.dtun.9017
D/BTL_IFC_WRP( 264): wrp_sock_bind: wrp_sock_bind:socket_local_server_bind result:0 server_name:brcm.bt.dtun.9017
D/BTL_IFC_WRP( 264): wrp_sock_bind: socket_local_server_bind on port 9017
D/BTL_IFC ( 264): BTL_IFC_CtrlSend: BTL_IFC_CtrlSend
I/BTL_IFC ( 264): send_ctrl_msg: [BTL_IFC CTRL] send BTLIF_LISTEN_REQ (AG) 8 pbytes (hdl 52)
D/BLZ_WRAPPER( 264): btl_if_listen: [btl_if_listen] : (58:-1), disc_pending 0, asnc 0, selct 0, flags 0
D/BLZ_WRAPPER( 264): btl_if_listen: btl_if_listen : fd 58 [brcm.bt.dtun]
D/BTL_IFC_WRP( 264): wrp_sock_listen: wrp_sock_listen : fd 58 brcm.bt.dtun:9017
I/BLZ_WRAPPER( 264): btl_if_socket: btl_if_socket :: fam 31, type 1, proto 3
D/BTL_IFC_WRP( 264): wrp_sock_create: AG
D/BTL_IFC_WRP( 264): wrp_alloc_new_sock: wrp_alloc_new_sock sub 3
D/BTL_IFC_WRP( 264): wrp_sock_create: 59
D/BLZ_WRAPPER( 264): btl_if_setsockopt: btl_if_setsockopt level:18, optname:3
I/BLZ_WRAPPER( 264): btl_if_setsockopt: configure rfcomm lm mode
D/BLZ_WRAPPER( 264): btl_if_bind: [btl_if_bind] : (59:-1), disc_pending 0, asnc 0, selct 0, flags 0
I/BLZ_WRAPPER( 264): btl_if_bind: btl_if_bind : [rfc] rc chan 11, bd[0:0]
D/BTL_IFC_WRP( 264): DTUN_MAKE_LOCAL_SERVER_NAME return name: brcm.bt.dtun.9018
D/BTL_IFC_WRP( 264): wrp_sock_bind: wrp_sock_bind:socket_local_server_bind result:0 server_name:brcm.bt.dtun.9018
D/BTL_IFC_WRP( 264): wrp_sock_bind: socket_local_server_bind on port 9018
D/BTL_IFC ( 264): BTL_IFC_CtrlSend: BTL_IFC_CtrlSend
I/BTL_IFC ( 264): send_ctrl_msg: [BTL_IFC CTRL] send BTLIF_LISTEN_REQ (AG) 8 pbytes (hdl 52)
I//system/bin/btld( 946): ##### USerial_Ioctl: BT_Wake, 0x8003 ####
D/BLZ_WRAPPER( 264): btl_if_listen: [btl_if_listen] : (59:-1), disc_pending 0, asnc 0, selct 0, flags 0
D/BLZ_WRAPPER( 264): btl_if_listen: btl_if_listen : fd 59 [brcm.bt.dtun]
D/BTL_IFC_WRP( 264): wrp_sock_listen: wrp_sock_listen : fd 59 brcm.bt.dtun:9018
I/BTL_IFC ( 264): BTL_IFC_RegisterSubSystem: Register subsystem [SCO]
I/BTL_IFC ( 264): btl_ifc_ctrl_connect: Connect control channel for subsystem [SCO]
D/BTL_IFC_WRP( 264): wrp_sock_create: CTRL
D/BTL_IFC_WRP( 264): wrp_alloc_new_sock: wrp_alloc_new_sock sub 1
D/BTL_IFC_WRP( 264): wrp_sock_create: 60
D/BTL_IFC_WRP( 264): wrp_sock_connect: wrp_sock_connect brcm.bt.dtun:9000 (60)
D/BTL_IFC_WRP( 264): DTUN_MAKE_LOCAL_SERVER_NAME return name: brcm.bt.dtun.9000
I/BTL-IFS ( 947): main_server_thread: [CTRL] Client connected (19)
I/BTL_IFC_WRP( 264): wrp_sock_connect: Connected. (60)
I/BTL_IFC ( 264): send_ctrl_msg: [BTL_IFC CTRL] send BTLIF_REGISTER_SUBSYS_REQ (SCO) 0 pbytes (hdl 60)
I/BTL-IFS ( 947): attach_client: ######## Attached client subsystem SCO (19) ########
D/BTL-IFS ( 947): send_registration_rsp: send_registration_rsp [0]
I/BTL-IFS ( 947): send_ctrl_msg: [BTL_IFS CTRL] send BTLIF_REGISTER_SUBSYS_RSP (CTRL) 2 pbytes (hdl 19)
D/BTL_IFC ( 264): BTL_IFC_RegisterSubSystem: add new ctrl fd to active set
I/bluetooth_ScoSocket.cpp( 264): BTL_IFC_RegisterSubSystem SUB_SCO chdl:0x3c
I/bluetooth_ScoSocket.cpp( 264): New acceptor object 0x46cc1fa0
E/BluetoothOPP( 694): setOppsPath
D/BluetoothOPP.cpp( 694): setOppsPathNative
D/dtun_obexd( 959): setDefaultPath: default_path:/mnt/sdcard/downloads/bluetooth/
I/DTUN_CLNT( 959): Client calling DTUN_METHOD_END (id 34)
I/ ( 947): DTUN_ReceiveCtrlMsg: [DTUN] Received message [BTLIF_DTUN_METHOD_CALL] 4354
I/ ( 947): handle_method_call: handle_method_call :: received DTUN_METHOD_OP_SET_DEFAULT_PATH (id 34), len 256
I/BTL-BTAPP_OPS:( 947): btapp_op_set_default_path(/mnt/sdcard/downloads/bluetooth/)
I/BTL-IFS ( 947): send_ctrl_msg: [BTL_IFS CTRL] send BTLIF_DTUN_SIGNAL_EVT (CTRL) 6 pbytes (hdl 15)
D/dtun_obexd( 959): dtun_sig_op_set_default_path
E/BluetoothEventLoop.cpp( 162): event_filter: Received signal org.bluez.Btla:OpSetDefaultPath from /org/bluez/btlaobex0
I/BluetoothEventLoop.cpp( 162): OpSetDefaultPath signal received
I/BluetoothEventLoop.cpp( 162): OpSetDefaultPath signal received with status:1
E/BluetoothEventLoop( 162): >>>>>onOpSetDefaultPath<<<<<<
V/BtEventReceiver( 701): #### Received Bluetooth State Change Action ####
D/BluetoothServiceManager( 162): ServiceStateChanged: bluetooth_pbs, 2
D/com_broadcom_bt_service_pbap_PBAPService.cpp( 162): ### PBAP Opend ####
I/BluetoothPBAPService( 162): onPbapConnected
I//system/bin/btld( 946): ##### USerial_Ioctl: BT_Sleep, 0x8004 ####
D/AutoSetting( 351): service - ***setupWizardIsCompleted: true
D/AutoSetting( 351): service - ***chkConnected, mbReqChecking:true,mbApplyAll:true
I/ActivityManager( 162): Starting activity: Intent { act=android.intent.action.MAIN cmp=com.android.settings/.bluetooth.BluetoothSettings }
I/ActivityManager( 162): Displayed activity com.android.settings/.bluetooth.BluetoothSettings: 219 ms (total 219 ms)
I//system/bin/btld( 946): ##### USerial_Ioctl: BT_Wake, 0x8003 ####
I//system/bin/btld( 946): ##### USerial_Ioctl: BT_Sleep, 0x8004 ####
I/CheckinService( 358): Preparing to send checkin request
I/EventLogService( 358): Accumulating logs since 1284461202732
I/CheckinTask( 358): Sending checkin request (542 bytes)
I/CheckinTask( 358): Checkin success: [url]https://android.clients.google.com/checkin[/url] (1 requests sent)
D/dalvikvm( 358): GC_FOR_MALLOC freed 3608 objects / 391344 bytes in 40ms
I/CheckinService( 358): From server: Intent { act=android.server.checkin.FOTA_CANCEL }
W/ActivityManager( 162): Permission Denial: broadcasting Intent { act=android.server.checkin.FOTA_CANCEL } from com.google.android.gsf (pid=358, uid=10016) re
uires android.permission.HTC_FOTA_UPDATE due to registered receiver BroadcastFilter{46f5c850 ReceiverList{46f5c7d8 162 system/1000 local:46f5c638}}
I/DTUN_CLNT( 959): Client calling DTUN_METHOD_DM_START_DISCOVERY (id 2)
I/ ( 947): DTUN_ReceiveCtrlMsg: [DTUN] Received message [BTLIF_DTUN_METHOD_CALL] 4354
I/ ( 947): handle_method_call: handle_method_call :: received DTUN_METHOD_DM_START_DISCOVERY (id 2), len 0
D/BTL_CFG ( 947): +btl_cfg_getBDAFilterCond getting property service.brcm.bt.INQ_FILTER_BDA
E/BTL_CFG ( 947): WARNING : property_get failed (0)
D/BTL_CFG ( 947): -btl_cfg_getBDAFilterCond bdaddr=, nRet=0
I/BTL-IFS ( 947): send_ctrl_msg: [BTL_IFS CTRL] send BTLIF_DTUN_SIGNAL_EVT (CTRL) 4 pbytes (hdl 15)
I//system/bin/btld( 946): btapp_dm_DiscoverDevices()
W/BTLD ( 947): bta_dm_check_av:0
I/ADAPTER ( 959): Discovery session 0xe1b0 with :1.0 activated
D/ADAPTER ( 959): session_ref(0xe1b0): ref=1
I//system/bin/btld( 946): ##### USerial_Ioctl: BT_Wake, 0x8003 ####
D/DTUN_HCID_BZ4( 959): dtun_dm_sig_discovery_started()
E/BluetoothEventLoop.cpp( 162): event_filter: Received signal org.bluez.Adapter:PropertyChanged from /org/bluez/959/hci0
V/BluetoothEventRedirector( 455): Received android.bluetooth.adapter.action.DISCOVERY_STARTED
I//system/bin/btld( 946): ##### USerial_Ioctl: BT_Sleep, 0x8004 ####
I/BTL-IFS ( 947): send_ctrl_msg: [BTL_IFS CTRL] send BTLIF_DTUN_SIGNAL_EVT (CTRL) 16 pbytes (hdl 15)
I/DTUN_HCID_BZ4( 959): *** Found device [00:14:51:D0:96:F6] class = [2580] ***
I/DTUN_HCID_BZ4( 959):
E/BluetoothEventLoop.cpp( 162): event_filter: Received signal org.bluez.Adapter:DeviceFound from /org/bluez/959/hci0
D/BluetoothService( 162): updateDeviceServiceChannelCache(00:14:51:D0:96:F6)
V/BluetoothEventRedirector( 455): Received android.bluetooth.device.action.FOUND
I/dalvikvm( 455): Jit: resizing JitTable from 4096 to 8192
I//system/bin/btld( 946): ##### USerial_Ioctl: BT_Wake, 0x8003 ####
W/BTLD ( 947): l2c_link_hci_conn_comp(222L):p_lcb->is_bonding:0
W/BTLD ( 947): info:x0
I/BTL-IFS ( 947): send_ctrl_msg: [BTL_IFS CTRL] send BTLIF_DTUN_SIGNAL_EVT (CTRL) 10 pbytes (hdl 15)
I/BTL-IFS ( 947): send_ctrl_msg: [BTL_IFS CTRL] send BTLIF_DTUN_SIGNAL_EVT (CTRL) 4 pbytes (hdl 15)
D/DTUN_HCID_BZ4( 959): dtun_dm_sig_link_up()
I/DTUN_HCID_BZ4( 959): dtun_dm_sig_link_up: dummy_handle = 256
D/ADAPTER ( 959): adapter_get_device(00:14:51:D0:96:F6)
E/BluetoothEventLoop.cpp( 162): event_filter: Received signal org.bluez.Device:PropertyChanged from /org/bluez/959/hci0/dev_00_14_51_D0_96_F6
D/DTUN_HCID_BZ4( 959): dtun_dm_sig_discovery_complete()
E/BluetoothEventLoop.cpp( 162): event_filter: Received signal org.bluez.Adapter:PropertyChanged from /org/bluez/959/hci0
D/ADAPTER ( 959): session_unref(0xe1b0): ref=0
any ideas what's missing/wrong here??? maybe there is a service missing? could someone post the "service list" from a working bluetooth hid please?
Code:
/ # hcitool dev
Devices:
/ #
/ # hciattach -l
any 0x0000,0x0000
ericsson 0x0000,0x0000
digi 0x0000,0x0000
bcsp 0x0000,0x0000
xircom 0x0105,0x080a
csr 0x0000,0x0000
bboxes 0x0160,0x0002
swave 0x0000,0x0000
texas 0x0000,0x0000
texasalt 0x0000,0x0000
st 0x0000,0x0000
stlc2500 0x0000,0x0000
philips 0x0000,0x0000
bgb2xx 0x0000,0x0000
picocard 0x025e,0x1000
inventel 0x0000,0x0000
comone 0xffff,0x0101
tdk 0x0105,0x4254
socket 0x0104,0x0096
3com 0x0101,0x0041
bt2000c 0x022d,0x2000
zoom 0x0279,0x950b
sitecom 0x0279,0x950b
billionton0x0279,0x950b
bcm2035 0x0a5c,0x2035
/ #
/ # bttest enable
enable
= 0
/ #
"bttest enable" turns off the bluetooth
I think the main problem is that hcitools dev returns nothing.... And, like said here http://forum.xda-developers.com/showthread.php?p=8146952#post8146952 Post#51 and #52... something is missing.
Noticed the Bluetooth HID Service is not included in /system/framework/services.jar ->classes.dex (is cyanogenmod there is a lot of BluetoothHID in it...)
Replacing services.jar leads to a non booting phone. Anybody knows how to add a service into the "service list"?
[Edit]
In /system/app there is a brcmbluetoothservices.apk package. I don't know for sure but I think it adds some bluetooth services. Maybe adding bluetooth HID is possible after all....
i'm subscribing to this please guys find a way! thanks in advance
any good news about rfcomm ?
Hello,
I'm taking the liberty to dig up this thread I found while looking for an answer to my problem. (perhaps should I start a new one with a correct title)
I'm trying to port an application from Win CE which use BT to emulate a serial port (so Rfcomm) in order to connect to another device this one proprietary.... but my Galaxy S can't seem able to discover this device...
Is that a well know problem...a stack problem ? ...is there a way to get around it ?
Or could it be a problem of version : my device is Bluetooth 1.2 (I know kind of old) ....
Thanks all for every anwser,
Paul
any further progress???
Related
There is a $100 bounty on this question. I will pay the xda member who assists me in getting to a solution through paypal. Even though I am a student I am offering this bounty because without resolving this issue my phone is nothing more than a paper weight (I use my SIM elsewhere). (A generous member may request to be paid less, but that is not what I expect). That must tell you how desperate I am to get this work.
Here's my issue:
I have a HTC G1 with Cyanogen Mod 4.2.1 which I am trying to connect with Villanova University's wi-fi network. It is a 802.1x, PEAP, MSCHAPv2 network.
Here are the university's official instructions for configuring a PC http://www.villanova.edu/unit/support/wireless/configuration/ and a MAC http://www.villanova.edu/unit/support/wireless/mac.htm. A quick glance there should tell you about the network we are trying to setup.
Here are the things I have tried
0. Searching on google, android forums, xda, everywhere
1. Asking my school's tech support, computer science professor's, other students
2. I have read up the man pages and supporting documentation for wpa_supplicant.conf
3.
I went to Settings > Wifi > Add Wi-fi Network. And entered:
SSID: Villanova
Security: IEEE 802.1X
EAP Method: PEAP
Phase 2 authentication: MSCHAP2
identity: <username>
wireless password: <password>
The wpa_supplicant.conf generated was:
ctrl_interface=tiwlan0
update_config=1
network={
ssid="Villanova"
scan_ssid=1
key_mgmt=IEEE8021X
group=CCMP TKIP
eap=PEAP
identity="<username>"
password="<password>"
phase2="auth=MSCHAP2"
priority=1
}
Click to expand...
Click to collapse
Here is logact *.W when I am toggling on and off the wi-fi. This section keeps repeating itself indefinitely and never connects.
Interesting first part of the log
Posted here to keep the post under maximum character limit: http://forum.xda-developers.com/showpost.php?p=4819214&postcount=6
Click to expand...
Click to collapse
Code:
D/SettingsWifiEnabler( 382): Received wifi state changed from Enabling to Enabl
ed
I/wpa_supplicant( 412): CTRL-EVENT-SCAN-RESULTS Ready
I/wpa_supplicant( 412): Trying to associate with 06:01:0e:e9:fc:ad (SSID='Villa
nova' freq=2412 MHz)
I/wpa_supplicant( 412): CTRL-EVENT-STATE-CHANGE id=-1 state=3
V/WifiMonitor( 98): Event [Trying to associate with 06:01:0e:e9:fc:ad (SSID='V
illanova' freq=2412 MHz)]
V/WifiMonitor( 98): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=3]
V/WifiStateTracker( 98): Changing supplicant state: SCANNING ==> ASSOCIATING
W/wpa_supplicant( 412): Failed to initiate AP scan.
I/wpa_supplicant( 412): CTRL-EVENT-SCAN-RESULTS Ready
I/wpa_supplicant( 412): CTRL-EVENT-SCAN-RESULTS Ready
I/wpa_supplicant( 412): Trying to associate with 06:0b:0e:e9:fc:ad (SSID='Villa
nova' freq=2462 MHz)
I/wpa_supplicant( 412): CTRL-EVENT-STATE-CHANGE id=0 state=3
V/WifiMonitor( 98): Event [Trying to associate with 06:0b:0e:e9:fc:ad (SSID='V
illanova' freq=2462 MHz)]
V/WifiMonitor( 98): Event [CTRL-EVENT-STATE-CHANGE id=0 state=3]
V/WifiStateTracker( 98): Changing supplicant state: ASSOCIATING ==> ASSOCIATIN
G
I/wpa_supplicant( 412): CTRL-EVENT-SCAN-RESULTS Ready
D/dalvikvm( 382): GC(0) freed 11647 objects / 588296 bytes in 98ms
I/wpa_supplicant( 412): Authentication with 06:0b:0e:e9:fc:ad timed out.
I/wpa_supplicant( 412): CTRL-EVENT-STATE-CHANGE id=0 state=0
I/wpa_supplicant( 412): CTRL-EVENT-STATE-CHANGE id=-1 state=2
V/WifiMonitor( 98): Event [Authentication with 06:0b:0e:e9:fc:ad timed out.]
V/WifiMonitor( 98): Event [CTRL-EVENT-STATE-CHANGE id=0 state=0]
V/WifiMonitor( 98): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=2]
V/WifiStateTracker( 98): Changing supplicant state: ASSOCIATING ==> DISCONNECT
ED
V/WifiStateTracker( 98): Changing supplicant state: DISCONNECTED ==> SCANNING
I/wpa_supplicant( 412): CTRL-EVENT-SCAN-RESULTS Ready
I/wpa_supplicant( 412): Trying to associate with 06:06:0e:e9:fc:ad (SSID='Villa
nova' freq=2437 MHz)
I/wpa_supplicant( 412): CTRL-EVENT-STATE-CHANGE id=-1 state=3
V/WifiMonitor( 98): Event [Trying to associate with 06:06:0e:e9:fc:ad (SSID='V
illanova' freq=2437 MHz)]
V/WifiMonitor( 98): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=3]
V/WifiStateTracker( 98): Changing supplicant state: SCANNING ==> ASSOCIATING
D/WifiStateTracker( 98): Deconfiguring interface and stopping DHCP
D/SettingsWifiEnabler( 382): Received network state changed to NetworkInfo: typ
e: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: (none
), roaming: false, failover: false, isAvailable: true
I/wpa_supplicant( 412): Authentication with 06:06:0e:e9:fc:ad timed out.
I/wpa_supplicant( 412): CTRL-EVENT-STATE-CHANGE id=0 state=0
I/wpa_supplicant( 412): CTRL-EVENT-STATE-CHANGE id=-1 state=2
V/WifiMonitor( 98): Event [Authentication with 06:06:0e:e9:fc:ad timed out.]
V/WifiMonitor( 98): Event [CTRL-EVENT-STATE-CHANGE id=0 state=0]
V/WifiMonitor( 98): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=2]
V/WifiStateTracker( 98): Changing supplicant state: ASSOCIATING ==> DISCONNECT
ED
V/WifiStateTracker( 98): Changing supplicant state: DISCONNECTED ==> SCANNING
I/wpa_supplicant( 412): CTRL-EVENT-SCAN-RESULTS Ready
I/wpa_supplicant( 412): Trying to associate with 06:06:0e:e9:fc:ad (SSID='Villa
nova' freq=2437 MHz)
I/wpa_supplicant( 412): CTRL-EVENT-STATE-CHANGE id=-1 state=3
V/WifiMonitor( 98): Event [Trying to associate with 06:06:0e:e9:fc:ad (SSID='V
illanova' freq=2437 MHz)]
V/WifiMonitor( 98): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=3]
V/WifiStateTracker( 98): Changing supplicant state: SCANNING ==> ASSOCIATING
D/WifiStateTracker( 98): Deconfiguring interface and stopping DHCP
D/SettingsWifiEnabler( 382): Received network state changed to NetworkInfo: typ
e: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: (none
), roaming: false, failover: false, isAvailable: true
I/wpa_supplicant( 412): Authentication with 06:06:0e:e9:fc:ad timed out.
I/wpa_supplicant( 412): CTRL-EVENT-STATE-CHANGE id=0 state=0
I/wpa_supplicant( 412): CTRL-EVENT-STATE-CHANGE id=-1 state=2
V/WifiMonitor( 98): Event [Authentication with 06:06:0e:e9:fc:ad timed out.]
V/WifiMonitor( 98): Event [CTRL-EVENT-STATE-CHANGE id=0 state=0]
V/WifiMonitor( 98): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=2]
V/WifiStateTracker( 98): Changing supplicant state: ASSOCIATING ==> DISCONNECT
ED
V/WifiStateTracker( 98): Changing supplicant state: DISCONNECTED ==> SCANNING
I/wpa_supplicant( 412): CTRL-EVENT-TERMINATING - signal 15 received
I/wpa_supplicant( 412): CTRL-EVENT-TERMINATING - signal 0 received
I/wpa_supplicant( 412): CTRL-EVENT-STATE-CHANGE id=-1 state=0
V/WifiMonitor( 98): Event [CTRL-EVENT-TERMINATING - signal 15 received]
V/WifiStateTracker( 98): Connection to supplicant lost
D/SettingsWifiEnabler( 382): Received wifi state changed from Enabled to Disabl
ing
E/vold ( 71): Unable to lookup media '/devices/platform/msm_sdcc.1/mmc_host
/mmc0/mmc0:0001'
E/vold ( 71): Error processing uevent msg (Unknown error: 0)
D/SettingsWifiEnabler( 382): Received wifi state changed from Disabling to Disa
bled
4. Here is the wpa_supplicant.conf that should work. Taken from:
http://hostap.epitest.fi/wpa_supplicant/ under Configuration file section. (Direct link to text file: http://hostap.epitest.fi/gitweb/git...lain;f=wpa_supplicant/examples/ieee8021x.conf)
ctrl_interface=tiwlan0
update_config=1
network={
ssid="Villanova"
key_mgmt=IEEE8021X
eap=PEAP
phase2="auth=MSCHAPV2"
identity="[actual_username]"
password="[actual_password]"
# ca_cert = /sdcard/Equifax.crt
}
Click to expand...
Click to collapse
4.1 I have manually changed the wpa_supplicant.conf to the above configuration and it didn't connect. Here is the logcat (it is basically the same as before):
I pasted it off-site so that my thread could be within xda's maximum length rules http://pastebin.ca/1643299
Click to expand...
Click to collapse
4.2 I have tried commenting out and inserting the ca_cert line but it generated the same log as above.
4.3. I have got hold of cert file from Ubuntu by looking under /usr/share/mozilla/ca-cert/. Ubuntu has a sym-link of Equifax*.pem to Equifax*.crt so I directly took the crt and am assuming that .crt = .pem. Is that so?
4.4 I have also exported the certificate from internet explorer and tried using it (all three formats, der, p7b and base-64)
5. I purchased and used the Wi-fi helper Pro program with no result
6. I have tried tinkering with wep104/40, ap_scan 1/2, auth_alg (open/shared) but to no avail.
Note:
1. When I simply click on the SSID displayed in the wifi settings section I am asked to enter a WEP key. Android doesn't identify Villanova network as PEAP-WEP-802.1X but simply sees it as WEP.
2. Wifi is working perfectly with 802.1x, PEAP, MSCHAP2 settings on my ipod touch, ubuntu 9.04 (through network manager it doesn't use wpa_supplicant.conf) and my win XP laptop.
3. Unsecured wifi networks are working on HTC g1
If you prefer to meet up via IM/VOIP I can give you dynamically generated logs as you suggest me edits and that could greatly decrease the time wasted going back and forth as we try to solve this horrendous issue.
I have completely exhausted myself trying to connect it to the Villanova wi-fi network. I have been breaking my head over this for 2months now. I am reaching out to get some assistance from you as my last resort.
Thank you for your time
SOLVED:
Issue resolved, I needed to add the following exact lines to my wpa_supplicant.conf
group=WEP104 WEP40
auth_alg=OPEN SHARED
WEP104 and OPEN, WEP 104 and SHARED, WEP40 and OPEN, WEP40 and SHARED none of those combinations will work. I needed the exact same lines!
Thank you members for your support. I hope this information will be useful to someone.
Id say just get a new phone man what youve just described is not really worth the headache. I realize its not the answer you want to hear, because I wouldnt either. Its a hell of a lot simpler though.
bubonik said:
Id say just get a new phone man what youve just described is not really worth the headache. I realize its not the answer you want to hear, because I wouldnt either. Its a hell of a lot simpler though.
Click to expand...
Click to collapse
I don't have any reason to suspect that this issue is hardware specific. WPA2, unsecured and other kinds of simpler wifi work perfectly. Unless this is worked out at a software level the issue will re-occur for me even in a new phone. Thanks for your input though.
I am still believing that this is not as simple for me as some of the other users because of the kind of wifi network that I am dealing with. However setting up Ubuntu and Iphone was a piece of cake.
This is just an initial stab, but you could try the following:
Code:
network={
ssid="Villanova"
key_mgmt=WPA-EAP
group=CCMP TKIP
eap=PEAP
identity="user_name"
password="password"
phase2="AUTH=MSCHAPV2"
priority=19
}
I noticed in yours above that you had MSCHAP2 instead of MSCHAPV2... Just an observation...
Vermithrax said:
This is just an initial stab, but you could try the following:
Code:
network={
ssid="Villanova"
key_mgmt=WPA-EAP
group=CCMP TKIP
eap=PEAP
identity="user_name"
password="password"
phase2="AUTH=MSCHAPV2"
priority=19
}
I noticed in yours above that you had MSCHAP2 instead of MSCHAPV2... Just an observation...
Click to expand...
Click to collapse
Thank you for your reply. I really hope we can figure this one out.
Here is what I did:
1. I tried the exact wpa_supplicant.conf that you provided (ofcourse with my own username and password) and it never connected.
adb -d logcat *.W
Code:
D/SettingsWifiEnabler( 301): Received wifi state changed from Disabled to Enabl
ing
D/WifiService( 91): ACTION_BATTERY_CHANGED pluggedType: 2
E/wpa_supplicant( 358): Set_key: Wrong Key
E/wpa_supplicant( 358): Set_key: Wrong Key
E/wpa_supplicant( 358): Set_key: Wrong Key
E/wpa_supplicant( 358): Set_key: Wrong Key
V/WifiStateTracker( 91): Connection to supplicant established, state=DISCONNEC
TED
E/wpa_supplicant( 358): prepare_filter_struct: type=0
I/wpa_supplicant( 358): CTRL-EVENT-STATE-CHANGE id=-1 state=2
I/wpa_supplicant( 358): CTRL-EVENT-SCAN-RESULTS Ready
V/WifiMonitor( 91): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=2]
V/WifiStateTracker( 91): Changing supplicant state: DISCONNECTED ==> SCANNING
W/wpa_supplicant( 358): Failed to initiate AP scan.
I/wpa_supplicant( 358): CTRL-EVENT-SCAN-RESULTS Ready
W/wpa_supplicant( 358): Failed to initiate AP scan.
D/SettingsWifiEnabler( 301): Received wifi state changed from Enabling to Enabl
ed
I/wpa_supplicant( 358): CTRL-EVENT-SCAN-RESULTS Ready
D/dalvikvm( 301): GC(0) freed 10619 objects / 484352 bytes in 90ms
I/wpa_supplicant( 358): CTRL-EVENT-SCAN-RESULTS Ready
I/wpa_supplicant( 358): CTRL-EVENT-SCAN-RESULTS Ready
I/wpa_supplicant( 358): CTRL-EVENT-SCAN-RESULTS Ready
I/wpa_supplicant( 358): CTRL-EVENT-SCAN-RESULTS Ready
I/wpa_supplicant( 358): CTRL-EVENT-SCAN-RESULTS Ready
I/wpa_supplicant( 358): CTRL-EVENT-SCAN-RESULTS Ready
I/wpa_supplicant( 358): CTRL-EVENT-SCAN-RESULTS Ready
I/wpa_supplicant( 358): CTRL-EVENT-SCAN-RESULTS Ready
I/wpa_supplicant( 358): CTRL-EVENT-TERMINATING - signal 15 received
I/wpa_supplicant( 358): CTRL-EVENT-TERMINATING - signal 0 received
I/wpa_supplicant( 358): CTRL-EVENT-STATE-CHANGE id=-1 state=0
V/WifiMonitor( 91): Event [CTRL-EVENT-TERMINATING - signal 15 received]
V/WifiStateTracker( 91): Connection to supplicant lost
D/SettingsWifiEnabler( 301): Received wifi state changed from Enabled to Disabl
ing
E/vold ( 71): Unable to lookup media '/devices/platform/msm_sdcc.1/mmc_host
/mmc0/mmc0:0001'
E/vold ( 71): Error processing uevent msg (Unknown error: 0)
D/SettingsWifiEnabler( 301): Received wifi state changed from Disabling to Disa
bled
I noticed that the Wrong_key messages also appear in all of my logs but I didn't paste the initial section of the log in my original post. I am posting it in the post below and adding that information to my original thread.
2. Both in the wpa_suppliacnt.conf that you provided, and this one:
network={
ssid="Villanova"
key_mgmt=IEEE8021X
eap=PEAP
phase2="auth=MSCHAPV2"
identity="user name"
password="password"
ca_cert="/etc/cert/ca.pem"
}
Click to expand...
Click to collapse
I tried connecting, one at a time, with both "auth=MSCHAP" and "MSCHAP2". But I got the same log as posted in the original thread. An interesting observation is that the Donut GUI puts in MSCHAP2 whereas the wpa_supplicant documentation says one should put MSCHAPv2. I am guessing these are aliases and don't make much of a difference as I tried both of them.
Initial part of logcat
Here is the inital part of the log
Code:
D/SettingsWifiEnabler( 301): Received wifi state changed from Disabled to Enabl
ing
D/WifiService( 91): ACTION_BATTERY_CHANGED pluggedType: 2
E/wpa_supplicant( 502): Set_key: Wrong Key
E/wpa_supplicant( 502): Set_key: Wrong Key
E/wpa_supplicant( 502): Set_key: Wrong Key
E/wpa_supplicant( 502): Set_key: Wrong Key
V/WifiStateTracker( 91): Connection to supplicant established, state=DISCONNEC
TED
E/wpa_supplicant( 502): prepare_filter_struct: type=0
E/wpa_supplicant( 502): prepare_filter_struct: type=1
E/wpa_supplicant( 502): prepare_filter_struct: type=3
I/wpa_supplicant( 502): CTRL-EVENT-STATE-CHANGE id=-1 state=2
I/wpa_supplicant( 502): CTRL-EVENT-SCAN-RESULTS Ready
V/WifiMonitor( 91): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=2]
V/WifiStateTracker( 91): Changing supplicant state: DISCONNECTED ==> SCANNING
W/wpa_supplicant( 502): Failed to initiate AP scan.
I/wpa_supplicant( 502): CTRL-EVENT-SCAN-RESULTS Ready
I/wpa_supplicant( 502): Trying to associate with 06:01:0e:e9:fc:ad (SSID='Villa
nova' freq=2412 MHz)
I/wpa_supplicant( 502): CTRL-EVENT-STATE-CHANGE id=-1 state=3
V/WifiMonitor( 91): Event [Trying to associate with 06:01:0e:e9:fc:ad (SSID='V
illanova' freq=2412 MHz)]
V/WifiMonitor( 91): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=3]
V/WifiStateTracker( 91): Changing supplicant state: SCANNING ==> ASSOCIATING
W/wpa_supplicant( 502): Failed to initiate AP scan.
clueless_user said:
However setting up Ubuntu and Iphone was a piece of cake.
Click to expand...
Click to collapse
This is why I said that, perhaps the Android OS doesnt know how to use this network. I havent taken a networking class in 10 years, but I wouldnt be surprised if it didnt work.
bubonik said:
This is why I said that, perhaps the Android OS doesnt know how to use this network. I havent taken a networking class in 10 years, but I wouldnt be surprised if it didnt work.
Click to expand...
Click to collapse
People have got it to work.
How about just spoofing the MAC address?
Use your computer, change it's MAC address to the G1. Register and swap it back.
Wii60 said:
How about just spoofing the MAC address?
Use your computer, change it's MAC address to the G1. Register and swap it back.
Click to expand...
Click to collapse
That is a pretty good idea but you see without any kind of spoofing Ubuntu and ipod touch were able to connect to the network and I am sure there is no MAC filtering going on.
In any case I followed both the methods outlined here (http://www.nthelp.com/NT6/change_mac_w2k.htm) to change the mac of my windows xp machine to my android phone's. I followed the instructions to the tee and still when I executed 'ipconfig /all' the mac address of my wireless card didn't change. I also tried using a couple of utilities but none of them were able to successfully change the mac of my wifi card (I can change the mac of my LAN just fine).
Still, following both the methods to change the mac, I changed the mac of my PC (not sure whether it was actually changed) connected to the wifi, disabled wifi on my PC and immediately tried connecting with the G1.
No success, got the same log posted in the original thread.
Alright, well, I'm by far no techie to this stuff, I've used linux a few times, my G1 is modded to the max, so I understand a little bit, but I think you guys are making this WAY more difficult than it really is.
Just try making the simplest changes first, then work your way up.
Maybe try setting the regulatory domain to 14? Or just trying each different type of authentication, etc. etc. ( Assuming you haven't done this in pure frustration already )
Idk, I usually seem to get random stuff to work just by fiddling around enough. Hell, I got my G1 rooted and my sd card to 3 partitions, that's a big accomplishment for me
I wish you luck buddy ( you could always just google a way to set up your pc/linux/mac computer to broadcast your own wifi net off the school's one you have on it ) <-- I think that's a pretty good idea, personally, I did that once with a Nintendo DS USB wifi adapter.
Of course, that would defeat the purpose of it being a mobile phone, if you were contained to just your dorm/room/whatever
Just throwin' idea around tryin to help ;D
((You know, people have gotten debian installed on their G1, so if it was easy on ubuntu, then.... Haha ;P ))
Exodeity said:
Just try making the simplest changes first, then work your way up.
Click to expand...
Click to collapse
That is where I started.
Maybe try setting the regulatory domain to 14?
Click to expand...
Click to collapse
Could you please expand on how that would work?
Of course, that would defeat the purpose of it being a mobile phone, if you were contained to just your dorm/room/whatever
Click to expand...
Click to collapse
Yes, that is the point.
Thanks for your input.
Exodeity said:
Maybe try setting the regulatory domain to 14?
Click to expand...
Click to collapse
I tried setting the Regulatory domain to 14, 13 and 12. No success. Same log as the one in the original thread.
i know very little myself but you are running a flashed ROM correct?
i use hero ROMs and have difficulty with them sometimes so maybe if you took your phone back to stock it may/may not work
i dont know if that would be an issue(it being a rooted or stock g1)
just trying to help out...
freaktractor said:
i know very little myself but you are running a flashed ROM correct?
i use hero ROMs and have difficulty with them sometimes so maybe if you took your phone back to stock it may/may not work
i dont know if that would be an issue(it being a rooted or stock g1)
just trying to help out...
Click to expand...
Click to collapse
I am on Cyanogen 4.2.2.1.
You need a flashed ROM to edit the wpa_supplicant.conf by hand.
I do understand that you are trying to help out.
The problem can be caused by storing the Key in any place other than the 1st slot. Also, you can try using "Wifi Helper" on the market. It edits the wpa_supplicant.conf and gives you more options
flybyme said:
The problem can be caused by storing the Key in any place other than the 1st slot. Also, you can try using "Wifi Helper" on the market. It edits the wpa_supplicant.conf and gives you more options
Click to expand...
Click to collapse
What do you mean by Key in the 1st slot? Please explain.
I have tried Wifi Helper Pro without any success.
clueless_user said:
What do you mean by Key in the 1st slot? Please explain.
I have tried Wifi Helper Pro without any success.
Click to expand...
Click to collapse
usually WEP has 4 key slots where a key is entered. by default, it is placed in the first one and the others are left blank. if they arent blank, its entirely possible that the key is being used in another slot. if the 1st one is left blank, the g1 can't connect (at least in my experience) because you cant manually set what slot you have the key to.
if you can connect your pc/laptop to the network without selecting the other slots, then the key is valid for the first slot. I just read that you have 801.11x so this should be a problem.
I do not know if the wpa_supplicant works for WEP
you could, however, try and flash a hero/rogers rom. ive found it has better internet connectivity for me. less hassle
flybyme said:
usually WEP has 4 key slots where a key is entered. by default, it is placed in the first one and the others are left blank. if they arent blank, its entirely possible that the key is being used in another slot. if the 1st one is left blank, the g1 can't connect (at least in my experience) because you cant manually set what slot you have the key to.
if you can connect your pc/laptop to the network without selecting the other slots, then the key is valid for the first slot. I just read that you have 801.11x so this should be a problem.
I do not know if the wpa_supplicant works for WEP
you could, however, try and flash a hero/rogers rom. ive found it has better internet connectivity for me. less hassle
Click to expand...
Click to collapse
Cyanogen 4.2.1 incorporates Donut so I am guessing the wireless features are comparable now.
I am sorry, I still don't understand what are the slots you are talking about. How do I make a key fit a particular slot (if that makes any sense)? You should remember that I am not manually entering any key as this is a 802.1x network.
Issue resolved, I needed to add the following exact lines to my wpa_supplicant.conf
group=WEP104 WEP40
auth_alg=OPEN SHARED
WEP104 and OPEN, WEP 104 and SHARED, WEP40 and OPEN, WEP40 and SHARED none of those combinations will work. I needed the exact same lines!
Thank you members for your support. I hope this information will be useful to someone.
Hi,
I have bought the galaxy tab. After unpacking and configurating, i found out that even i can add my exchange account and calendar and contacts all just fine when i open my email app i can see only the Inbox and not any other folder.
When "click" the Inbox to change the folder i see a notification message that it tries to get the latest messages but nothing. The notification closes and i am still in the inbox.
When i try to move a message to any other folder when i select the message and "click it" and "click choose folder". It force closes the appliation.
Has anyone had the same problem??
I can view any folder...remember the default to sync is only 3 days so if you are viewing a folder other than the inbox that only has msgs older than 3 days, it will appear empty. You can change this in account settings.
I also tested moving a message from the the inbox to another folder:
Clicked the menu button->selected Move to folder
selected a few emails to move so they had check marks next to them
cliced Move To and they moved fine.
This was done in landscape mode if that makes a difference, didnn't try portrait.
what is your version of the email apk just in case???
I have 4 other android devices and the exchange support worked just fine.
I have messages to all of the folders cause is my work email and i get plenty of messages every day.
My problem is that i can't change folder not that i change and it doesn’t load the messages. Normally when you click in the "Inbox" you get like a pop up and you choose what folder you want to see. But in my case it just do nothing.
I am using an Exchange server 2003.
I will try to see if i can get extra information from the logcat.
I'm also with Exchange 2003, and I can see all the folders.
Inbox is the default, but if you click on the title, you will have the list of all the other folders too. Of course there is the is the limit of days how many days backwards it shows.
Can you please tell me what version of the mail app you are using???
mine is 2.2
I got the device log and i put it here if anyone has a clue...
12-28 13:29:53.726 V/WindowManager(20532): Delivering toWindow{483e6768 com.android.email/com.android.email.activity.MessageList paused=false}
12-28 13:29:53.733 E/Email (11048): MessageList >> [toma] onMailboxlistPopup_Dropdown_Update ---sMailboxlistString:nullsMailboxlistString_originnullisInboxtrue
12-28 13:29:55.764 E/Email (11048): MessageList >> loadMessagesTask : REQUERY
12-28 13:29:56.092 D/Email (11048): MessageList >> if :
12-28 13:29:56.135 D/Email (11048): MessageList >> else :
12-28 13:29:56.135 D/Email (11048): MessageList >> while :
12-28 13:29:56.139 D/Email (11048): MessageList >> total subCout : 6
12-28 13:29:56.139 D/Email (11048): MessageList >> lon : Σήμερα (2) true 0 0
12-28 13:29:56.139 D/Email (11048): MessageList >> lon : Xθές (8) true 3 1
12-28 13:29:56.139 D/Email (11048): MessageList >> lon : Παρασκευή (2) true 12 2
12-28 13:29:56.139 D/Email (11048): MessageList >> lon : Πέμπτη (2) true 15 3
12-28 13:29:56.139 D/Email (11048): MessageList >> lon : Τετάρτη (5) true 18 4
12-28 13:29:56.139 D/Email (11048): MessageList >> lon : Πριν από 1 εβδομάδα (14) true 24 5
12-28 13:29:57.862 E/ShutdownThread(20532): IsShutDownStarted()
12-28 13:29:57.862 I/KeyInputQueue(20532): Input event
12-28 13:29:57.870 V/WindowManager(20532): Dsptch to Window{483e6768 com.android.email/com.android.email.activity.MessageList paused=false}
12-28 13:29:57.877 W/KeyCharacterMap(11048): No keyboard for id 0
12-28 13:29:57.877 W/KeyCharacterMap(11048): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
12-28 13:29:57.948 E/ShutdownThread(20532): IsShutDownStarted()
12-28 13:29:57.948 I/KeyInputQueue(20532): Input event
12-28 13:29:57.952 V/WindowManager(20532): Dsptch to Window{483e6768 com.android.email/com.android.email.activity.MessageList paused=false}
12-28 13:29:58.045 W/BackupManagerService(20532): dataChanged but no participant pkg='com.android.providers.settings' uid=10020
12-28 13:29:58.866 V/WindowManager(20532): Delivering toWindow{48258290 AtchDlg:com.android.email/com.android.email.activity.MessageList paused=false}
12-28 13:29:58.924 V/WindowManager(20532): Delivering toWindow{48258290 AtchDlg:com.android.email/com.android.email.activity.MessageList paused=false}
12-28 13:29:58.924 D/Email (11048): MessageList >> 387
12-28 13:29:59.054 W/BackupManagerService(20532): dataChanged but no participant pkg='com.android.providers.settings' uid=10020
12-28 13:29:59.221 W/InputManagerService(20532): Window already focused, ignoring focus gain of: [email protected]
12-28 13:30:00.022 V/AlarmManager(20532): set: Alarm{484f83c0 type 1 android}
12-28 13:30:02.248 I/dhcpcd (10523): renewing lease of 192.168.xxx.xxx
12-28 13:30:02.331 I/dhcpcd (10523): acknowledged 192.168.xxx.xxx from 192.xxx.xxx.xxx
12-28 13:30:02.331 I/dhcpcd (10523): leased 192.168.xxx.xxxx for 200 seconds
12-28 13:30:03.409 V/WindowManager(20532): Delivering toWindow{483e6768 com.android.email/com.android.email.activity.MessageList paused=false}
12-28 13:30:03.463 V/WindowManager(20532): Delivering toWindow{483e6768 com.android.email/com.android.email.activity.MessageList paused=false}
12-28 13:30:04.452 V/WindowManager(20532): Delivering toWindow{483e6768 com.android.email/com.android.email.activity.MessageList paused=false}
12-28 13:30:04.526 V/WindowManager(20532): Delivering toWindow{483e6768 com.android.email/com.android.email.activity.MessageList paused=false}
12-28 13:30:04.534 D/AndroidRuntime(11048): Shutting down VM
12-28 13:30:04.534 W/dalvikvm(11048): threadid=1: thread exiting with uncaught exception (group=0x4001d7d0)
12-28 13:30:04.534 E/AndroidRuntime(11048): FATAL EXCEPTION: main
12-28 13:30:04.534 E/AndroidRuntime(11048): java.lang.NullPointerException
12-28 13:30:04.534 E/AndroidRuntime(11048): at com.android.email.activity.MessageList.onCreateDialog(MessageList.java:10473)
12-28 13:30:04.534 E/AndroidRuntime(11048): at android.app.Activity.createDialog(Activity.java:881)
12-28 13:30:04.534 E/AndroidRuntime(11048): at android.app.Activity.showDialog(Activity.java:2547)
12-28 13:30:04.534 E/AndroidRuntime(11048): at android.app.Activity.showDialog(Activity.java:2514)
12-28 13:30:04.534 E/AndroidRuntime(11048): at com.android.email.activity.MessageList.onClick(MessageList.java:2361)
12-28 13:30:04.534 E/AndroidRuntime(11048): at android.view.View.performClick(View.java:2408)
12-28 13:30:04.534 E/AndroidRuntime(11048): at android.view.View$PerformClick.run(View.java:8818)
12-28 13:30:04.534 E/AndroidRuntime(11048): at android.os.Handler.handleCallback(Handler.java:587)
12-28 13:30:04.534 E/AndroidRuntime(11048): at android.os.Handler.dispatchMessage(Handler.java:92)
12-28 13:30:04.534 E/AndroidRuntime(11048): at android.os.Looper.loop(Looper.java:123)
12-28 13:30:04.534 E/AndroidRuntime(11048): at android.app.ActivityThread.main(ActivityThread.java:4627)
12-28 13:30:04.534 E/AndroidRuntime(11048): at java.lang.reflect.Method.invokeNative(Native Method)
12-28 13:30:04.534 E/AndroidRuntime(11048): at java.lang.reflect.Method.invoke(Method.java:521)
12-28 13:30:04.534 E/AndroidRuntime(11048): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:871)
12-28 13:30:04.534 E/AndroidRuntime(11048): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629)
12-28 13:30:04.534 E/AndroidRuntime(11048): at dalvik.system.NativeStart.main(Native Method)
12-28 13:30:04.541 W/ActivityManager(20532): Force finishing activity com.android.email/.activity.MessageList
12-28 13:30:04.545 I/ (20532): dumpmesg > /data/log/dumpstate_app_error.log
12-28 13:30:04.698 I/dumpstate(11481): begin
12-28 13:30:10.528 W/PowerManagerService(20532): Timer 0x7->0x3|0x0
12-28 13:30:10.530 I/PowerManagerService(20532): Ulight 7->3|0
12-28 13:30:21.666 D/VoldCmdListener( 2372): asec list
alexsapran said:
Hi,
I have bought the galaxy tab. After unpacking and configurating, i found out that even i can add my exchange account and calendar and contacts all just fine when i open my email app i can see only the Inbox and not any other folder.
When "click" the Inbox to change the folder i see a notification message that it tries to get the latest messages but nothing. The notification closes and i am still in the inbox.
When i try to move a message to any other folder when i select the message and "click it" and "click choose folder". It force closes the appliation.
Has anyone had the same problem??
Click to expand...
Click to collapse
hi, i have the same issue.
however, i configured the exchange settings for my friend on his tab on the same server and it displays all the sub folders unlike mine!
how it this possible? is this a setting within the app or on the server?
i've changed the download settings from 3 days to 1 month, reinstalled but still no luck!
I have contact Samsung support in Greece and i have send the full info and any other logs i could gathered about the issue and i am waiting news from them.
As soon i have something i will posted back here!.
ps:
Happy new year!
Hi all,
how do i change download settings from 3 days to say all emails on default email app. Am using my gmail account on galaxy tab.
Sent from my GT-P1000 using XDA App
alexsapran said:
I have contact Samsung support in Greece and i have send the full info and any other logs i could gathered about the issue and i am waiting news from them.
As soon i have something i will posted back here!.
ps:
Happy new year!
Click to expand...
Click to collapse
alexsapran, any response from the helpdesk on this issue? would be great if you could post the solution here, if any.......
robinrob said:
hi, i have the same issue.
however, i configured the exchange settings for my friend on his tab on the same server and it displays all the sub folders unlike mine!
how it this possible? is this a setting within the app or on the server?
i've changed the download settings from 3 days to 1 month, reinstalled but still no luck!
Click to expand...
Click to collapse
You know there are 2 versions of the Tab firmware. I bought my Tab in late December and assumed it had the latest firmware - it didn't! You need to connect to Kies desktop s/w to ensure your Tab has the latest software.
I have similar problems
Some folders are missing
And for the sent folder it doesn't update regularly (Sometimes off by a few days or more...). I use the JME firmware but had the same issue on the stock firmware and the JM6 firmware
Needless to say that it is a real shame... Completely unprofessional app... (I use Exchange 2010)
jah said:
You know there are 2 versions of the Tab firmware. I bought my Tab in late December and assumed it had the latest firmware - it didn't! You need to connect to Kies desktop s/w to ensure your Tab has the latest software.
Click to expand...
Click to collapse
we both have the same firmware- JJ2. Yet I have the issue and he doesn't...
Update from the support.
After the first contact with samsung and after trying to explain the difference between Exchange and gmail and sending the logs to them.
They told me that they will look to it and notify me about what to be done and that cause of the holidays it will take some time.
Today i contact samsung again for a status update and told me that still they have no clue and i have to contact another support....
ps From Kies when i try to update it says that the device cant be updated. (no reason... but this may be another issue)
robinrob said:
hi, i have the same issue.
however, i configured the exchange settings for my friend on his tab on the same server and it displays all the sub folders unlike mine!
how it this possible? is this a setting within the app or on the server?
i've changed the download settings from 3 days to 1 month, reinstalled but still no luck!
Click to expand...
Click to collapse
indeed. I've tried all that you did, and I can't get it to show me anything but the inbox. two other GT's that connect show it just fine...My Epic shows them all too.
I'd really like to find a fix for this.
Exchange2003. The email.apk says it's version 2.2.1, and my firmware is EB28/Sprint
Hi to all.
The problem solved for me after updating my server to Exchange 2010. This is not a solution i know but after the scheduled update i was amazed to see it working just fine. Another "solution" is to make the account imap but this disables the push notification but at least i had my emails. I don't know what they did but it seems to work only with the new server.
alexsapran said:
Hi to all.
The problem solved for me after updating my server to Exchange 2010. This is not a solution i know
Click to expand...
Click to collapse
Definitely not a solution, just throwing money at the problem. I got the email.apk/odex from a buddy's tab that works and put it on mine, cleared data, re-setup and same results...no folder list.
GAH! wtf?
Ok...so for S&G I added another existing account on the same exchange server to the email app...and guess what? it lists the folders just fine!
so I'm thinking is an account issue, not really a server issue...I'll have to dig into this deeper and pull out some exchange-foo.
Have you tried the Samsung Email app?
It lets you choose which folders to synchronise and it works like a charm for me
mkhattab said:
Have you tried the Samsung Email app?
It lets you choose which folders to synchronise and it works like a charm for me
Click to expand...
Click to collapse
Where do I find this unicorn?
Sent from a totally tabular galaxy
zentex said:
Where do I find this unicorn?
Sent from a totally tabular galaxy
Click to expand...
Click to collapse
Right here
http://forum.xda-developers.com/showthread.php?t=1045228
Running the 2nd release of the customized v4 honeycomb release, with reformatted EXT file system. The first release worked fine on my corporate network, but I'm having issues getting this one to connect.
Anyone else having issues with the wifi in this version? I'm attempting to connect to a WEP 802.11x network, using TTLS & PAP. Tried hand editing the wpa_supplicant.conf file in /data/misc/wifi, and it looks fine - yet under Wifi general setttings in Honeycomb it always shows "connecting..." and can't log on.
Try rebooting your router..
EDIT: router, sorry.
Sent from my HTC Desire using XDA App
Not sure what you mean when you say "rooter". I've rebooted the Nook a few times to no avail. If by rooter you mean the router here at work, I unfortunately don't have access to that. I work in a large 1500+ employee building.
Offhand, there shouldn't be a difference in wifi capability between v1 and v2
edit: some Logcat output
D/WifiStateMachine( 900): setDetailed state, old =CONNECTING and new state=DISCONNECTED
I/wpa_supplicant( 1767): CTRL-EVENT-STATE-CHANGE id=0 state=2
V/WifiMonitor( 900): Event [CTRL-EVENT-STATE-CHANGE id=0 state=2]
D/WifiStateMachine( 900): setDetailed state, old =DISCONNECTED and new state=SCANNING
I/wpa_supplicant( 1767): CTRL-EVENT-SCAN-RESULTS Ready
I/wpa_supplicant( 1767): Trying to associate with 00:19:07:c6:f3:e0 (SSID='cuda160' freq=2437 MHz)
V/WifiMonitor( 900): Event [Trying to associate with 00:19:07:c6:f3:e0 (SSID='cuda160' freq=2437 MHz)]
I/wpa_supplicant( 1767): CTRL-EVENT-STATE-CHANGE id=0 state=3
V/WifiMonitor( 900): Event [CTRL-EVENT-STATE-CHANGE id=0 state=3]
D/WifiStateMachine( 900): setDetailed state, old =SCANNING and new state=CONNECTING
I/wpa_supplicant( 1767): Authentication with 00:19:07:c6:f3:e0 timed out.
I/wpa_supplicant( 1767): CTRL-EVENT-STATE-CHANGE id=0 state=0
I/wpa_supplicant( 1767): CTRL-EVENT-STATE-CHANGE id=-1 state=2
V/WifiMonitor( 900): Event [Authentication with 00:19:07:c6:f3:e0 timed out.]
V/WifiMonitor( 900): Event [CTRL-EVENT-STATE-CHANGE id=0 state=0]
D/WifiStateMachine( 900): setDetailed state, old =CONNECTING and new state=DISCONNECTED
V/WifiMonitor( 900): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=2]
D/WifiStateMachine( 900): setDetailed state, old =DISCONNECTED and new state=SCANNING
I flashed it, but only used it for a couple minutes. Wifi was working, even in adhoc mode. But many apps I want to use don't work (they do in v1), so I switched back to v1.
HI, I rooted my Galaxy S phone (GT-I9000T running I9000TUBJP9) following [30.03.2012][CF-Root 4.4] J-P/S/Q-*,JV-1KBHIOPQRSTAUV,JVU,JW4 - su+bb+2e/CWM-rfs+ext4. I used both CF-Root-JP6-v1.2-Busybox-1.15.3.zip and CF-Root-JPM-v1.2-Busybox-1.15.3.zip images.
The end results are that everything works fine, except for secure wifi link. It CAN connect to NON-secure wifi links. But doesn't work for secure wifi. I tried to connect to 2 different secure wifi connections, one at work and one at home. Both failed.
From logcat, I saw the following error:
Code:
I/wpa_supplicant( 3036): Trying to associate with a0:cf:5b:fa:be:20 (SSID='XXXXXX' freq=2462 MHz)^M^M
I/WifiMonitor(19062): Event [ SCAN-RESULTS ]^M^M
E/wpa_supplicant( 3036): pmksa_cache_set_current enter ^M^M
I/wpa_supplicant( 3036): CTRL-EVENT-STATE-CHANGE id=-1 state=3 BSSID=a0:cf:5b:fa:be:20^M^M
D/BatteryService(19062): update start^M^M
D/BatteryService(19062): updateBattery level:94 scale:100 status:2 health:2 present:true voltage: 4180 temperature: 390 technology: Li-ion AC powered:false USB powered:true icon:17302171^M^M
I/StatusBarPolicy(19062): BAT. status:2 health:2^M^M
D/WifiService(19062): ACTION_BATTERY_CHANGED pluggedType: 2^M^M
I/WifiMonitor(19062): Event [Trying to associate with a0:cf:5b:fa:be:20 (SSID='XXXXX' freq=2462 MHz)]^M^M
I/WifiMonitor(19062): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=3 BSSID=a0:cf:5b:fa:be:20]^M^M
E/wpa_supplicant( 3036): Ongoing Scan action...^M^M
V/WifiStateTracker(19062): Changing supplicant state: SCANNING ==> ASSOCIATING^M^M
D/NetworkStateTracker(19062): setDetailed state, old =SCANNING and new state=CONNECTING^M^M
D/ConnectivityService(19062): ConnectivityChange for WIFI: CONNECTING/CONNECTING^M^M
I/UNA ( 2449): SUPPLICANT_CONNECTION_CHANGE : CONNECTING^M^M
D/WifiSettings( 2657): updateAccessPoints(), WifiConfigureation list updated^M^M
D/WifiSettings( 2657): updateAccessPoints(), ScanResult list updated^M^M
I/wpa_supplicant( 3036): CTRL-EVENT-STATE-CHANGE id=15 state=4 BSSID=a0:cf:5b:fa:be:20^M^M
I/WifiMonitor(19062): Event [CTRL-EVENT-STATE-CHANGE id=15 state=4 BSSID=a0:cf:5b:fa:be:20]^M^M
V/WifiStateTracker(19062): Changing supplicant state: ASSOCIATING ==> ASSOCIATED^M^M
D/NetworkStateTracker(19062): setDetailed state, old =CONNECTING and new state=CONNECTING^M^M
I/wpa_supplicant( 3036): Associated with a0:cf:5b:fa:be:20^M^M
I/WifiMonitor(19062): Event [Associated with a0:cf:5b:fa:be:20]^M^M
I/wpa_supplicant( 3036): CTRL-EVENT-EAP-STARTED EAP authentication started^M^M
I/wpa_supplicant( 3036): [eap_sm_buildIdentity] identity : MyDomain\mylogin ^M^M
I/WifiMonitor(19062): Event [CTRL-EVENT-EAP-STARTED EAP authentication started]^M^M
I/wpa_supplicant( 3036): CTRL-EVENT-EAP-STARTED EAP authentication started^M^M
I/wpa_supplicant( 3036): [eap_sm_buildIdentity] identity : MyDomain\mylogin ^M^M
I/WifiMonitor(19062): Event [CTRL-EVENT-EAP-STARTED EAP authentication started]^M^M
I/wpa_supplicant( 3036): CTRL-EVENT-EAP-METHOD EAP vendor 0 method 25 (PEAP) selected^M^M
I/WifiMonitor(19062): Event [CTRL-EVENT-EAP-METHOD EAP vendor 0 method 25 (PEAP) selected]^M^M
I/wpa_supplicant( 3036): [eap_sm_buildIdentity] identity : MyDomain\mylogin ^M^M
D/dalvikvm( 2289): GC_FOR_MALLOC freed 8593 objects / 526640 bytes in 396ms^M^M
D/WifiSettings( 2657): updateConnectionState state(CONNECTING) hasError (false)^M^M
D/WifiSettings( 2657): updateConnectionState state(CONNECTING) hasError (false)^M^M
D/WifiSettings( 2657): updateConnectionState state(null) hasError (false)^M^M
I/wpa_supplicant( 3036): CTRL-EVENT-EAP-SUCCESS EAP authentication completed successfully^M^M
I/WifiMonitor(19062): Event [CTRL-EVENT-EAP-SUCCESS EAP authentication completed successfully]^M^M
I/wpa_supplicant( 3036): CTRL-EVENT-STATE-CHANGE id=15 state=5 BSSID=00:00:00:00:00:00^M^M
I/WifiMonitor(19062): Event [CTRL-EVENT-STATE-CHANGE id=15 state=5 BSSID=00:00:00:00:00:00]^M^M
V/WifiStateTracker(19062): Changing supplicant state: ASSOCIATED ==> FOUR_WAY_HANDSHAKE^M^M
D/NetworkStateTracker(19062): setDetailed state, old =CONNECTING and new state=AUTHENTICATING^M^M
D/ConnectivityService(19062): Dropping ConnectivityChange for WIFI: CONNECTING/AUTHENTICATING^M^M
[COLOR="Red"]W/wpa_supplicant( 3036): WPA: No wpa_ie set - cannot generate msg 2/4[/COLOR]^M^M
I/wpa_supplicant( 3036): CTRL-EVENT-STATE-CHANGE id=15 state=0 BSSID=00:00:00:00:00:00^M^M
I/WifiMonitor(19062): Event [CTRL-EVENT-STATE-CHANGE id=15 state=0 BSSID=00:00:00:00:00:00]^M^M
V/WifiStateTracker(19062): Changing supplicant state: FOUR_WAY_HANDSHAKE ==> DISCONNECTED^M^M
I/wpa_supplicant( 3036): CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys^M^M
I/WifiMonitor(19062): Event [CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys]^M^M
V/WifiStateTracker(19062): New network state is DISCONNECTED^M^M
Could someone tell me what to do next?
Thanks a lot in advance!
i think i got same problem
matthias1203 said:
i think i got same problem
Click to expand...
Click to collapse
What did you do after you had the problem? Did you flash it back to the stock image?
Yes but it was warking for two days and than again the same problem. I will try to flash one more time to stock rom and i will report when results.
Sent from my GT-I9001 using xda premium
which ROM did you use?
I used the latest Gingerbread image following this link:
http://forum.xda-developers.com/showthread.php?t=1837086&highlight=i9000t
So far no problem.
Hm again.
After a flash via odin stock rom. 2.3.5 croatia
I again got same problem.
At my home wifi everything ok. But in bar where i work when i go out of range and then come back it won't connect.
My friend got same phone and same rom but his phone always can connect.
On my It shows 'connecting...' and after 'disconect'.
Sent from my GT-I9001 using xda premium
I can't get MMS to work. I'm on T-Mobile US.
Below is the relevant section from logcat, looks like lots of firewall/routing errors?
I've tried stock messageing, goSMS, 8sms, and Hangouts and all exhibit this same set of errors in the log.
Any thoughts?
Code:
D/MobileDataStateTracker( 439): mms: Broadcast received: android.intent.action.ANY_DATA_STATE apnType=mms
D/MobileDataStateTracker( 439): mms: Received state=CONNECTED, old=CONNECTING, reason=dataEnabled
D/MobileDataStateTracker( 439): mms: setDetailed state, old =CONNECTING and new state=CONNECTED
D/ConnectivityService( 439): ConnectivityChange for mobile_mms: CONNECTED/CONNECTED
E/ConnectivityService( 439): Exception trying to add a route: java.lang.IllegalStateException: command '2304 interface fwmark exempt add 30.1.12.137/32' failed with '400 2304 Failed to add exemption rule (No such device)'
E/ConnectivityService( 439): Exception trying to add a route: java.lang.IllegalStateException: command '2306 interface fwmark exempt add 10.177.0.34/32' failed with '400 2306 Failed to add exemption rule (No such device)'
E/ConnectivityService( 439): Exception trying to add a route: java.lang.IllegalStateException: command '2308 interface fwmark exempt add 30.1.12.137/32' failed with '400 2308 Failed to add exemption rule (File exists)'
E/ConnectivityService( 439): Exception trying to add a route: java.lang.IllegalStateException: command '2310 interface fwmark exempt add 10.168.189.116/32' failed with '400 2310 Failed to add exemption rule (File exists)'
E/SecondaryTablController( 118): ip route add failed: /system/bin/ip route add 30.1.12.137/32 via 0.0.0.0 dev rmnet0 table 60
W/FrameworkListener( 118): Handler 'interface' error (No such device)
E/ConnectivityService( 439): Exception trying to add a route: java.lang.IllegalStateException: command '2311 interface route add rmnet0 secondary 30.1.12.137 32 0.0.0.0' failed with '400 2311 ip route modification failed (No such device)'
E/SecondaryTablController( 118): ip route add failed: /system/bin/ip route add 0.0.0.0/0 via 30.1.12.137 dev rmnet0 table 60
W/FrameworkListener( 118): Handler 'interface' error (No such device)
E/ConnectivityService( 439): Exception trying to add a route: java.lang.IllegalStateException: command '2312 interface route add rmnet0 secondary 0.0.0.0 0 30.1.12.137' failed with '400 2312 ip route modification failed (No such device)'
D/Nat464Xlat( 439): requiresClat: netType=2, hasIPv4Address=true
D/MobileDataStateTracker( 439): default: setPolicyDataEnable(enabled=true)
W/NetworkPolicy( 439): shared quota unsupported; generating rule for each iface
E/NetdConnector( 439): NDC Command {2315 bandwidth setiquota rmnet0 9223372036854775807} took too long (780ms)
D/MobileDataStateTracker( 439): default: Broadcast received: android.intent.action.ANY_DATA_STATE apnType=default
D/MobileDataStateTracker( 439): default: Received state=CONNECTED, old=CONNECTED, reason=(unspecified)
D/MobileDataStateTracker( 439): mms: Broadcast received: android.intent.action.ANY_DATA_STATE apnType=mms
D/MobileDataStateTracker( 439): mms: Received state=CONNECTED, old=CONNECTED, reason=(unspecified)
E/NetdConnector( 439): NDC Command {2317 bandwidth setiquota rmnet0 9223372036854775807} took too long (628ms)
D/MobileDataStateTracker( 439): default: setPolicyDataEnable(enabled=true)
D/Tethering( 439): MasterInitialState.processMessage what=3
D/CaptivePortalTracker( 439): NoActiveNetworkState{ when=-3ms what=1 obj=NetworkInfo: type: mobile_mms[HSDPA], state: CONNECTED/CONNECTED, reason: dataEnabled, extra: fast.t-mobile.com, roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false target=com.android.internal.util.StateMachine$SmHandler }
D/CaptivePortalTracker( 439): NoActiveNetworkState not a wifi connectivity change, ignore
I/Babel ( 4675): TransactionSettings: loaded from system
E/ConnectivityService( 439): Exception trying to add a route: java.lang.IllegalStateException: command '2320 interface fwmark exempt add 30.1.12.137/32' failed with '400 2320 Failed to add exemption rule (File exists)'
E/ConnectivityService( 439): Exception trying to add a route: java.lang.IllegalStateException: command '2322 interface fwmark exempt add 10.176.75.129/32' failed with '400 2322 Failed to add exemption rule (File exists)'
D/ConnectivityService( 439): requestRouteToHostAddress ok=false
D/ConnectivityService( 439): stopUsingNetworkFeature: teardown net 0: enableMMS
D/MobileDataStateTracker( 439): mms: Broadcast received: android.intent.action.ANY_DATA_STATE apnType=mms
D/MobileDataStateTracker( 439): mms: Received state=DISCONNECTED, old=CONNECTED, reason=dataDisabled
D/MobileDataStateTracker( 439): mms: setDetailed state, old =CONNECTED and new state=DISCONNECTED
D/ConnectivityService( 439): ConnectivityChange for mobile_mms: DISCONNECTED/DISCONNECTED
E/Babel_RequestWriter( 4675): SendMmsRequest: failed to send message com.google.android.apps.babel.sms.MmsTemporaryFailureException: Cannot establish route to mms.msg.eng.t-mobile.com/10.176.75.129 for http://mms.msg.eng.t-mobile.com/mms/wapenc
E/Babel_RequestWriter( 4675): com.google.android.apps.babel.sms.MmsTemporaryFailureException: Cannot establish route to mms.msg.eng.t-mobile.com/10.176.75.129 for http://mms.msg.eng.t-mobile.com/mms/wapenc
Thanks!
I haven't done the logcat to see my specific error, but I have had the same issue with the MMS not working on the same ROM. Hope this gets fixed soon!
metheos said:
I can't get MMS to work. I'm on T-Mobile US.
Below is the relevant section from logcat, looks like lots of firewall/routing errors?
I've tried stock messageing, goSMS, 8sms, and Hangouts and all exhibit this same set of errors in the log.
Any thoughts?
Code:
D/MobileDataStateTracker( 439): mms: Broadcast received: android.intent.action.ANY_DATA_STATE apnType=mms
D/MobileDataStateTracker( 439): mms: Received state=CONNECTED, old=CONNECTING, reason=dataEnabled
D/MobileDataStateTracker( 439): mms: setDetailed state, old =CONNECTING and new state=CONNECTED
D/ConnectivityService( 439): ConnectivityChange for mobile_mms: CONNECTED/CONNECTED
E/ConnectivityService( 439): Exception trying to add a route: java.lang.IllegalStateException: command '2304 interface fwmark exempt add 30.1.12.137/32' failed with '400 2304 Failed to add exemption rule (No such device)'
E/ConnectivityService( 439): Exception trying to add a route: java.lang.IllegalStateException: command '2306 interface fwmark exempt add 10.177.0.34/32' failed with '400 2306 Failed to add exemption rule (No such device)'
E/ConnectivityService( 439): Exception trying to add a route: java.lang.IllegalStateException: command '2308 interface fwmark exempt add 30.1.12.137/32' failed with '400 2308 Failed to add exemption rule (File exists)'
E/ConnectivityService( 439): Exception trying to add a route: java.lang.IllegalStateException: command '2310 interface fwmark exempt add 10.168.189.116/32' failed with '400 2310 Failed to add exemption rule (File exists)'
E/SecondaryTablController( 118): ip route add failed: /system/bin/ip route add 30.1.12.137/32 via 0.0.0.0 dev rmnet0 table 60
W/FrameworkListener( 118): Handler 'interface' error (No such device)
E/ConnectivityService( 439): Exception trying to add a route: java.lang.IllegalStateException: command '2311 interface route add rmnet0 secondary 30.1.12.137 32 0.0.0.0' failed with '400 2311 ip route modification failed (No such device)'
E/SecondaryTablController( 118): ip route add failed: /system/bin/ip route add 0.0.0.0/0 via 30.1.12.137 dev rmnet0 table 60
W/FrameworkListener( 118): Handler 'interface' error (No such device)
E/ConnectivityService( 439): Exception trying to add a route: java.lang.IllegalStateException: command '2312 interface route add rmnet0 secondary 0.0.0.0 0 30.1.12.137' failed with '400 2312 ip route modification failed (No such device)'
D/Nat464Xlat( 439): requiresClat: netType=2, hasIPv4Address=true
D/MobileDataStateTracker( 439): default: setPolicyDataEnable(enabled=true)
W/NetworkPolicy( 439): shared quota unsupported; generating rule for each iface
E/NetdConnector( 439): NDC Command {2315 bandwidth setiquota rmnet0 9223372036854775807} took too long (780ms)
D/MobileDataStateTracker( 439): default: Broadcast received: android.intent.action.ANY_DATA_STATE apnType=default
D/MobileDataStateTracker( 439): default: Received state=CONNECTED, old=CONNECTED, reason=(unspecified)
D/MobileDataStateTracker( 439): mms: Broadcast received: android.intent.action.ANY_DATA_STATE apnType=mms
D/MobileDataStateTracker( 439): mms: Received state=CONNECTED, old=CONNECTED, reason=(unspecified)
E/NetdConnector( 439): NDC Command {2317 bandwidth setiquota rmnet0 9223372036854775807} took too long (628ms)
D/MobileDataStateTracker( 439): default: setPolicyDataEnable(enabled=true)
D/Tethering( 439): MasterInitialState.processMessage what=3
D/CaptivePortalTracker( 439): NoActiveNetworkState{ when=-3ms what=1 obj=NetworkInfo: type: mobile_mms[HSDPA], state: CONNECTED/CONNECTED, reason: dataEnabled, extra: fast.t-mobile.com, roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false target=com.android.internal.util.StateMachine$SmHandler }
D/CaptivePortalTracker( 439): NoActiveNetworkState not a wifi connectivity change, ignore
I/Babel ( 4675): TransactionSettings: loaded from system
E/ConnectivityService( 439): Exception trying to add a route: java.lang.IllegalStateException: command '2320 interface fwmark exempt add 30.1.12.137/32' failed with '400 2320 Failed to add exemption rule (File exists)'
E/ConnectivityService( 439): Exception trying to add a route: java.lang.IllegalStateException: command '2322 interface fwmark exempt add 10.176.75.129/32' failed with '400 2322 Failed to add exemption rule (File exists)'
D/ConnectivityService( 439): requestRouteToHostAddress ok=false
D/ConnectivityService( 439): stopUsingNetworkFeature: teardown net 0: enableMMS
D/MobileDataStateTracker( 439): mms: Broadcast received: android.intent.action.ANY_DATA_STATE apnType=mms
D/MobileDataStateTracker( 439): mms: Received state=DISCONNECTED, old=CONNECTED, reason=dataDisabled
D/MobileDataStateTracker( 439): mms: setDetailed state, old =CONNECTED and new state=DISCONNECTED
D/ConnectivityService( 439): ConnectivityChange for mobile_mms: DISCONNECTED/DISCONNECTED
E/Babel_RequestWriter( 4675): SendMmsRequest: failed to send message com.google.android.apps.babel.sms.MmsTemporaryFailureException: Cannot establish route to mms.msg.eng.t-mobile.com/10.176.75.129 for http://mms.msg.eng.t-mobile.com/mms/wapenc
E/Babel_RequestWriter( 4675): com.google.android.apps.babel.sms.MmsTemporaryFailureException: Cannot establish route to mms.msg.eng.t-mobile.com/10.176.75.129 for http://mms.msg.eng.t-mobile.com/mms/wapenc
Thanks!
Click to expand...
Click to collapse
Found this same bug on my device. It has probably already been fixed by upstream, but if it hasn't heres a quick fix:
load up adb
su
mount -o rw,remount /system
rm /system/bin/ip
ln -s /system/xbin/ip /system/bin/ip
wesgarner said:
Found this same bug on my device. It has probably already been fixed by upstream, but if it hasn't heres a quick fix:
load up adb
su
mount -o rw,remount /system
rm /system/bin/ip
ln -s /system/xbin/ip /system/bin/ip
Click to expand...
Click to collapse
Thanks for the suggestion, but it doesn't appear to have made any difference at all.
metheos said:
Thanks for the suggestion, but it doesn't appear to have made any difference at all.
Click to expand...
Click to collapse
It didn't work for me either
wesgarner said:
Found this same bug on my device. It has probably already been fixed by upstream, but if it hasn't heres a quick fix:
load up adb
su
mount -o rw,remount /system
rm /system/bin/ip
ln -s /system/xbin/ip /system/bin/ip
Click to expand...
Click to collapse
Worked on HTC doubleshoot / MT4GS with KitKatDS - Android 4.4 (CM 11.0) from: http://forum.xda-developers.com/showthread.php?t=2551715
I wasn't able to send/receive MMS so I started digging and found similar errors in adb logcat which led me here.
Thanks!