[Desire HD Android Development] jelbez:
hotspot wifi not working

Did the "format all partition except SD" and i still have a crash and UI reboot couples minutes after activating hotspot and trying to use it.

From the 3 logs i have (including 8.1-test1 logcat) it seems that i always have this event shortly before the crash (FATAL EXCEPTION)

D/ConnectivityService( 1407): ConnectivityChange for mobile_dun: DISCONNECTED/DISCONNECTED

extract:

I/ActivityManager( 1407): Displayed com.android.settings/.SubSettings: +243ms
I/Adreno200-EGLSUB( 1298): <CreateImage:896>: Android Image
I/Adreno200-EGLSUB( 1298): <GetImageAttributes:1105>: RGBA_8888
I/Adreno200-EGLSUB( 1298): <CreateImage:896>: Android Image
I/Adreno200-EGLSUB( 1298): <GetImageAttributes:1105>: RGBA_8888
D/OpenGLRenderer( 2425): Flushing caches (mode 0)
I/Adreno200-EGLSUB( 1298): <CreateImage:896>: Android Image
I/Adreno200-EGLSUB( 1298): <GetImageAttributes:1105>: RGBA_8888
I/ActivityManager( 1407): START {act=android.intent.action.MAIN cmp=com.android.settings/.SubSettings (has extras)} from pid 2425
D/dalvikvm( 1407): GC_CONCURRENT freed 1691K, 40% free 6654K/11011K, paused 5ms+6ms
D/WebSettings( 2425): mDataPath: /data/data/com.android.settings
I/Adreno200-EGLSUB( 2425): <ConfigWindowMatch:2081>: Format RGBA_8888.
I/ActivityManager( 1407): Displayed com.android.settings/.SubSettings: +377ms
I/Adreno200-EGLSUB( 1298): <CreateImage:896>: Android Image
I/Adreno200-EGLSUB( 1298): <GetImageAttributes:1105>: RGBA_8888
D/OpenGLRenderer( 2425): Flushing caches (mode 0)
I/Adreno200-EGLSUB( 1298): <CreateImage:896>: Android Image
I/Adreno200-EGLSUB( 1298): <GetImageAttributes:1105>: RGBA_8888
I/Adreno200-EGLSUB( 1298): <CreateImage:896>: Android Image
I/Adreno200-EGLSUB( 1298): <GetImageAttributes:1105>: RGBA_8888
E/ThrottleService( 1407): Error reading data file
D/SoftapController( 1295): Softap fwReload - Ok
D/SoftapController( 1295): Softap driver start: 0
E/SoftapController( 1295): Softap set - failed: -1
E/WifiStateMachine( 1407): Exception in softap start java.lang.IllegalStateException: Error communicating to native daemon to start softap
E/SoftapController( 1295): Softap already stopped
D/SoftapController( 1295): Softap driver stop: 0
D/SoftapController( 1295): Softap fwReload - Ok
D/SoftapController( 1295): Softap fwReload - Ok
D/SoftapController( 1295): Softap driver start: 0
D/SoftapController( 1295): Softap set - Ok
D/Tethering( 1407): sendTetherStateChangedBroadcast 1, 0, 0
D/Tethering( 1407): InitialState.processMessage what=4
D/Tethering( 1407): sendTetherStateChangedBroadcast 0, 0, 0
W/NetworkStats( 1407): dropping UID delta from unknown iface: iface=wlan0 uid=0 set=DEFAULT tag=0x0 rxBytes=0 rxPackets=0 txBytes=196 txPackets=3 operations=0
D/Tethering( 1407): sendTetherStateChangedBroadcast 1, 0, 0
D/SoftapController( 1295): Softap startap - Ok
D/NetworkManagementService( 1407): rsp <213 02:1a:11:fe:f3:9d 0.0.0.0 0 [up broadcast running multicast]>
D/NetworkManagementService( 1407): flags <[up broadcast running multicast]>
D/CommandListener( 1295): Setting iface cfg
D/CommandListener( 1295): Trying to bring up wl0.1
D/Tethering( 1407): Tethering wl0.1
D/Tethering( 1407): InitialState.processMessage what=2
D/Tethering( 1407): sendTetherStateChangedBroadcast 0, 0, 0
D/Tethering( 1407): Tethered wl0.1
D/Tethering( 1407): sendTetherStateChangedBroadcast 0, 1, 0
W/NetworkStats( 1407): dropping UID delta from unknown iface: iface=wl0.1 uid=0 set=DEFAULT tag=0x0 rxBytes=0 rxPackets=0 txBytes=76 txPackets=1 operations=0
D/Tethering( 1407): MasterInitialState.processMessage what=1
D/TetherController( 1295): Setting IP forward enable = 1
D/TetherController( 1295): Starting tethering services, lease_time=3600
D/TetherController( 1295): Tethering services running
D/TetherController( 1295): setDnsForwarders(0 = '8.8.8.8')
D/TetherController( 1295): setDnsForwarders(1 = '8.8.4.4')
D/TetherController( 1295): Sending update msg to dnsmasq [update_dns:8.8.8.8:8.8.4.4]
D/Tethering( 1407): chooseUpstreamType(true), preferredApn =4, got type=-1
D/ConnectivityService( 1407): startUsingNetworkFeature reconnecting to 0: enableDUNAlways
I/dnsmasq ( 2468): started, version 2.51 cachesize 150
D/Tethering( 1407): notifying tethered with iface =null
D/Tethering( 1407): TetheredState.processMessage what=12
I/dnsmasq ( 2468): compile time options: no-IPv6 GNU-getopt no-DBus no-I18N DHCP no-scripts no-TFTP
W/dnsmasq ( 2468): warning: no upstream servers configured
I/dnsmasq ( 2468): DHCP, IP range 192.168.48.2 -- 192.168.48.254, lease time 1h
I/dnsmasq ( 2468): DHCP, IP range 192.168.47.2 -- 192.168.47.254, lease time 1h
I/dnsmasq ( 2468): DHCP, IP range 192.168.46.2 -- 192.168.46.254, lease time 1h
I/dnsmasq ( 2468): DHCP, IP range 192.168.45.2 -- 192.168.45.254, lease time 1h
I/dnsmasq ( 2468): DHCP, IP range 192.168.44.2 -- 192.168.44.254, lease time 1h
I/dnsmasq ( 2468): DHCP, IP range 192.168.43.2 -- 192.168.43.254, lease time 1h
I/dnsmasq ( 2468): DHCP, IP range 192.168.42.2 -- 192.168.42.254, lease time 1h
E/dnsmasq ( 2468): bad address at /etc/hosts line 2
E/dnsmasq ( 2468): bad address at /etc/hosts line 3
E/dnsmasq ( 2468): bad address at /etc/hosts line 4
E/dnsmasq ( 2468): bad address at /etc/hosts line 5
E/dnsmasq ( 2468): bad address at /etc/hosts line 6
I/dnsmasq ( 2468): read /etc/hosts - 31933 addresses
I/dnsmasq ( 2468): using nameserver 8.8.4.4#53
I/dnsmasq ( 2468): using nameserver 8.8.8.8#53
I/ActivityManager( 1407): START {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.cyanogenmod.trebuchet/.Launcher} from pid 1407
I/Adreno200-EGLSUB( 1586): <ConfigWindowMatch:2081>: Format RGBA_8888.
I/Adreno200-EGLSUB( 1298): <CreateImage:896>: Android Image
I/Adreno200-EGLSUB( 1298): <GetImageAttributes:1105>: RGBA_8888
D/OpenGLRenderer( 2425): Flushing caches (mode 0)
D/OpenGLRenderer( 2425): Flushing caches (mode 1)
W/InputManagerService( 1407): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@40e6c730 (uid=1000 pid=2425)
I/Adreno200-EGLSUB( 1298): <CreateImage:896>: Android Image
I/Adreno200-EGLSUB( 1298): <GetImageAttributes:1105>: RGBA_8888
I/Adreno200-EGLSUB( 1298): <CreateImage:896>: Android Image
I/Adreno200-EGLSUB( 1298): <GetImageAttributes:1105>: RGBA_8888
D/SettingsProvider( 1407): external modification to /data/data/com.android.providers.settings/databases/settings.db; event=2
D/SettingsProvider( 1407): updating our caches for /data/data/com.android.providers.settings/databases/settings.db
W/BackupManagerService( 1407): dataChanged but no participant pkg='com.android.providers.settings' uid=1001
D/SettingsProvider( 1407): cache for settings table 'secure' rows=49; fullycached=true
D/SettingsProvider( 1407): cache for settings table 'system' rows=58; fullycached=true
I/dnsmasq ( 2468): DHCPDISCOVER(wl0.1) 68:a8:6d:44:be:50
I/dnsmasq ( 2468): DHCPOFFER(wl0.1) 192.168.43.241 68:a8:6d:44:be:50
I/dnsmasq ( 2468): DHCPDISCOVER(wl0.1) 68:a8:6d:44:be:50
I/dnsmasq ( 2468): DHCPOFFER(wl0.1) 192.168.43.241 68:a8:6d:44:be:50
I/dnsmasq ( 2468): DHCPREQUEST(wl0.1) 192.168.43.241 68:a8:6d:44:be:50
I/dnsmasq ( 2468): DHCPACK(wl0.1) 192.168.43.241 68:a8:6d:44:be:50 JonMacpro
W/NetworkStats( 1407): dropping UID delta from unknown iface: iface=wl0.1 uid=0 set=DEFAULT tag=0x0 rxBytes=4388 rxPackets=42 txBytes=5422 txPackets=38 operations=0
W/NetworkStats( 1407): dropping UID delta from unknown iface: iface=wlan0 uid=0 set=DEFAULT tag=0x0 rxBytes=0 rxPackets=0 txBytes=188 txPackets=3 operations=0
D/Tethering( 1407): TetherModeAliveState.processMessage what=4
W/NetworkStats( 1407): dropping UID delta from unknown iface: iface=wl0.1 uid=0 set=DEFAULT tag=0x0 rxBytes=1827 rxPackets=22 txBytes=1208 txPackets=7 operations=0
W/NetworkStats( 1407): dropping UID delta from unknown iface: iface=wl0.1 uid=0 set=DEFAULT tag=0x0 rxBytes=750 rxPackets=9 txBytes=795 txPackets=6 operations=0
W/NetworkStats( 1407): dropping UID delta from unknown iface: iface=wl0.1 uid=0 set=DEFAULT tag=0x0 rxBytes=557 rxPackets=6 txBytes=469 txPackets=4 operations=0
D/dalvikvm( 1407): GC_CONCURRENT freed 2085K, 43% free 6347K/11011K, paused 5ms+6ms
D/Tethering( 1407): TetherModeAliveState.processMessage what=4
I/power ( 1407): *** set_screen_state 0
I/CpuGovernorService( 1407): intent action: android.intent.action.SCREEN_OFF
D/OpenGLRenderer( 1475): Flushing caches (mode 0)
D/AccelerometerListener( 1571): enable(false)
D/SurfaceFlinger( 1298): About to give-up screen, flinger = 0xfed0
D/AK8975 ( 1306): Compass CLOSE
V/TransportControlView( 1407): Create TCV com.android.internal.widget.TransportControlView@40d89788
E/HELP ( 1407): ERROR UNLOCKWIDGET2 IS NULL
D/PhoneStatusBar( 1475): disable: < expand icons alerts ticker system_info back home RECENT* clock >
I/Adreno200-EGLSUB( 1407): <ConfigWindowMatch:2081>: Format RGBA_8888.
W/IInputConnectionWrapper( 1407): showStatusIcon on inactive InputConnection
D/PhoneStatusBar( 1475): disable: < expand icons alerts ticker system_info BACK* HOME* RECENT CLOCK* >
I/Adreno200-EGLSUB( 1298): <CreateImage:896>: Android Image
I/Adreno200-EGLSUB( 1298): <GetImageAttributes:1105>: RGBA_8888
D/Tethering( 1407): TetherModeAliveState.processMessage what=4
I/Adreno200-EGLSUB( 1298): <CreateImage:896>: Android Image
I/Adreno200-EGLSUB( 1298): <GetImageAttributes:1105>: RGBA_8888
I/Adreno200-EGLSUB( 1298): <CreateImage:896>: Android Image
I/Adreno200-EGLSUB( 1298): <GetImageAttributes:1105>: RGBA_8888
D/Tethering( 1407): TetherModeAliveState.processMessage what=4
D/ConnectivityService( 1407): ConnectivityChange for mobile_dun: DISCONNECTED/DISCONNECTED
W/NetworkStats( 1407): dropping UID delta from unknown iface: iface=wl0.1 uid=0 set=DEFAULT tag=0x0 rxBytes=8832 rxPackets=110 txBytes=10352 txPackets=101 operations=0
D/NetworkPolicy( 1407): applying policy NetworkPolicy[NetworkTemplate: matchRule=MOBILE_ALL, subscriberId=valid]: cycleDay=5, warningBytes=2147483648, limitBytes=-1, lastSnooze=-1 to ifaces [rmnet0]
D/NetworkPolicy( 1407): applying policy NetworkPolicy[NetworkTemplate: matchRule=MOBILE_ALL, subscriberId=valid]: cycleDay=5, warningBytes=2147483648, limitBytes=-1, lastSnooze=-1 to ifaces [rmnet0]
D/Tethering( 1407): TetherModeAliveState.processMessage what=3
D/Tethering( 1407): chooseUpstreamType(true), preferredApn =4, got type=-1
D/ConnectivityService( 1407): special network not available
D/ConnectivityService( 1407): startUsingNetworkFeature reconnecting to 0: enableDUNAlways
D/Tethering( 1407): notifying tethered with iface =null
D/Tethering( 1407): removing v6 interface null
W/dalvikvm( 1407): threadid=44: thread exiting with uncaught exception (group=0x409f31f8)
D/NetworkManagementService( 1407): removeUpstreamInterface(null)
E/AndroidRuntime( 1407): *** FATAL EXCEPTION IN SYSTEM PROCESS: Tethering
E/AndroidRuntime( 1407): java.lang.IllegalStateException: Cannot remove upstream interface
E/AndroidRuntime( 1407):	at com.android.server.NetworkManagementService.removeUpstreamV6Interface(NetworkManagementService.java:396)
E/AndroidRuntime( 1407):	at com.android.server.connectivity.Tethering$TetherMasterSM$TetherMasterUtilState.removeUpstreamV6Interface(Tethering.java:1320)
E/AndroidRuntime( 1407):	at com.android.server.connectivity.Tethering$TetherMasterSM$TetherModeAliveState.processMessage(Tethering.java:1532)
E/AndroidRuntime( 1407):	at com.android.internal.util.StateMachine$SmHandler.processMsg(StateMachine.java:881)
E/AndroidRuntime( 1407):	at com.android.internal.util.StateMachine$SmHandler.handleMessage(StateMachine.java:741)
E/AndroidRuntime( 1407):	at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1407):	at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 1407):	at android.os.HandlerThread.run(HandlerThread.java:60)
I/Process ( 1407): Sending signal. PID: 1407 SIG: 9