[Desire HD Android Development] addy75:
No data-connection when leaving WLAN

.... and after testing R22, the annoying WLAN -> Phone-network Bug is still there :crying:

I'm trying to show a "short" logcat-log here. I'll send the "full"-version to RB, hoping he will fix it and / or talk to the CM-guys, maybe they have the same problem.

I hope i've not cut to much out from the log.

The moment the phone loses the WLAN-signal

D/Search.OnNetworkAccessHooks( 2526): notifySuccessfulNetworkAccess

D/Search.OnNetworkAccessHooks( 2526): notifyListeners

D/Search.OnNetworkAccessHooks( 2526): throttled (not notifying) com.google.android.searchcommon.google.UserInteractionLogger@41568068

W/ThrottleService( 1651): unable to find stats for iface rmnet0

D/ConnectivityService( 1651): Attempting to switch to mobile

D/ConnectivityService( 1651): Attempting to switch to BLUETOOTH_TETHER

D/NetUtils( 1651): android_net_utils_resetConnections in env=0x517dafc0 clazz=0x60300001 iface=wlan0 mask=0x3

D/ConnectivityService( 1651): resetConnections(wlan0, 3)

W/Smack/Packet( 1937): notify conn break (IOEx), close connection

I/qtaguid ( 1937): Failed write_ctrl(u 79) res=-1 errno=22

I/qtaguid ( 1937): Untagging socket 79 failed errno=-22

W/NetworkManagementSocketTagger( 1937): untagSocket(79) failed with errno -22

D/ConnectivityService( 1651): handleInetConditionChange: no active default network - ignore

W/ThrottleService( 1651): unable to find stats for iface rmnet0

W/SocketClient( 1423): write error (Broken pipe)

Here i've enabled the airplane-mode

W/BroadcastQueue( 1651): Permission Denial: broadcasting Intent { act=android.intent.action.AIRPLANE_MODE flg=0x10 (has extras) } from com.android.systemui (pid=1748, uid=10039) is not exported from uid 10067 due to receiver com.zdworks.android.toolbox/com.zdworks.android.toolbox.listener.SystemSettingReceiver

D/CommandListener( 1423): Clearing all IP addresses on wlan0

D/BackupManagerService( 1651): Now staging backup of com.android.providers.settings

I/ActivityManager( 1651): Start proc com.android.settings for broadcast com.android.settings/.widget.SettingsAppWidgetProvider: pid=10096 uid=1000 gids={1015, 3002, 3001, 3003, 1028, 3007}

E/Trace (10096): error opening trace file: No such file or directory (2)

D/LocalBluetoothProfileManager(10096): LocalBluetoothProfileManager construction complete

I/SystemSettingReceiver( 1865): action=android.net.wifi.WIFI_STATE_CHANGED

I/widget ( 1865): action: android.net.wifi.WIFI_STATE_CHANGED

I/widget ( 1865): refreshState():close

V/SystemSettingReceiver( 1865): android.net.wifi.WIFI_STATE_CHANGEDtrue

D/Tethering( 1651): InitialState.processMessage what=4

I/wpa_supplicant( 5224): wlan0: CTRL-EVENT-TERMINATING

D/Tethering( 1651): sendTetherStateChangedBroadcast 0, 0, 0

W/SocketClient( 1423): write error (Broken pipe)

W/Netd ( 1423): No subsystem found in netlink event

D/NetlinkEvent( 1423): Unexpected netlink message. type=0x11

W/BackupManagerService( 1651): dataChanged but no participant pkg='com.android.providers.settings' uid=10039

D/BluetoothAdapterStateMachine( 1651): PowerOff process message: 56

W/ActivityManager( 1651): Permission denied: checkComponentPermission() owningUid=10067

Here i've disabled the airplane-mode

W/BroadcastQueue( 1651): Permission Denial: broadcasting Intent { act=android.intent.action.AIRPLANE_MODE flg=0x10 (has extras) } from com.android.systemui (pid=1748, uid=10039) is not exported from uid 10067 due to receiver com.zdworks.android.toolbox/com.zdworks.android.toolbox.listener.SystemSettingReceiver

I/LocationManagerService( 1651): remove network (pid 1651), disabled

I/LocationManagerService( 1651): request network (pid 1651) 86400000 86400000

I/dalvikvm( 1748): Jit: resizing JitTable from 4096 to 8192

I/SystemSettingReceiver( 1865): action=android.net.wifi.WIFI_STATE_CHANGED

I/widget ( 1865): action: android.net.wifi.WIFI_STATE_CHANGED

I/widget ( 1865): refreshState():close

I/widget ( 1865): equal

V/SystemSettingReceiver( 1865): android.net.wifi.WIFI_STATE_CHANGEDtrue

D/Tethering( 1651): sendTetherStateChangedBroadcast 0, 0, 0

D/Tethering( 1651): InitialState.processMessage what=4

D/Tethering( 1651): sendTetherStateChangedBroadcast 0, 0, 0

D/SoftapController( 1423): Softap fwReload - Ok

D/CommandListener( 1423): Setting iface cfg

D/CommandListener( 1423): Trying to bring down wlan0

E/WifiHW ( 1651): Unable to open connection to supplicant on "wlan0": No such file or directory

I/SystemSettingReceiver( 1865): action=android.net.wifi.WIFI_STATE_CHANGED

V/SystemSettingReceiver( 1865): android.net.wifi.WIFI_STATE_CHANGEDfalse

/CommandListener( 1423): Setting iface cfg

D/CommandListener( 1423): Trying to bring down wlan0

E/WifiHW ( 1651): Unable to open connection to supplicant on "wlan0": No such file or directory

I/SystemSettingReceiver( 1865): action=android.net.wifi.WIFI_STATE_CHANGED

V/SystemSettingReceiver( 1865): android.net.wifi.WIFI_STATE_CHANGEDfalse

D/NetTrafficLogic( 1865): logic 205: rmnet0 285248 : 122768

D/NetTrafficLogic( 1865): logic 205: rmnet1 285248 : 122768

D/NetTrafficLogic( 1865): daoImpl 221: device_index: 0

D/NetTrafficLogic( 1865): daoImpl 224: device_device: CELL[rmnet0, pdp0, ppp0, pdp_ip0, wimax0, vsnet0, ccinet0, ccmni0, qmi0, bond1, rmnet1, usb1, rmnet_sdio0]

D/NetTrafficLogic( 1865): daoImpl 226: device_r: 285248

D/NetTrafficLogic( 1865): daoImpl 227: device_t: 122768

D/NetTrafficLogic( 1865): daoImpl 174: LastTraffic: 285248 : 122768

D/NetTrafficLogic( 1865): logic 152: 285248 : 285248

D/NetTrafficLogic( 1865): logic 160: 122768 : 122768

D/NetTrafficLogic( 1865): logic 173:[CELL[rmnet0, pdp0, ppp0, pdp_ip0, wimax0, vsnet0, ccinet0, ccmni0, qmi0, bond1, rmnet1, usb1, rmnet_sdio0]: (0/0)]

W/SocketClient( 1423): write error (Broken pipe)

Finaly, here the phone gots its data-connection on the phone-network

I/SystemSettingReceiver( 1865): action=android.net.conn.CONNECTIVITY_CHANGE

I/widget ( 1865): action: android.net.conn.CONNECTIVITY_CHANGE

I/widget ( 1865): refreshState(): open

I/widget ( 1865): equal

V/SystemSettingReceiver( 1865): android.net.conn.CONNECTIVITY_CHANGEtrue

D/PicasaUploaderSyncManager( 2902): active network: NetworkInfo: type: mobile[HSDPA], state: CONNECTED/CONNECTED, reason: dataAttached, extra: internet, roaming: false, failover: true, isAvailable: true