[Miscellaneous Android Development] engmex:
I completely wiped the rom and reinstalled, so all of them. I'm currently on 1.9.37 unrooted with the TWRP recovery installed. This is what adb logcat reports when I try to connect to an open WiFi:

I/wpa_supplicant( 1529): wlan0: Trying to associate with 00:03:6d:f3:50:7c (SSID='WLAN' freq=2457 MHz)

D/wpa_supplicant( 1529): wpa_driver_nl80211_set_operstate: operstate 0->0 (DORMANT)

D/wpa_supplicant( 1529): netlink: Operstate: linkmode=-1, operstate=5

D/wpa_supplicant( 1529): nl80211: Connect (ifindex=5)

D/wpa_supplicant( 1529): * bssid=00:03:6d:f3:50:7c

D/wpa_supplicant( 1529): * freq=2457

D/wpa_supplicant( 1529): * Auth Type 0

D/wpa_supplicant( 1529): nl80211: Connect request send successfully

D/wpa_supplicant( 1529): EAPOL: External notification - EAP success=0

D/wpa_supplicant( 1529): EAPOL: Supplicant port status: Unauthorized

D/wpa_supplicant( 1529): EAPOL: External notification - EAP fail=0

D/wpa_supplicant( 1529): EAPOL: Supplicant port status: Unauthorized

D/wpa_supplicant( 1529): EAPOL: External notification - portControl=ForceAuthorized

D/wpa_supplicant( 1529): EAPOL: Supplicant port status: Unauthorized

D/wpa_supplicant( 1529): RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])

D/wpa_supplicant( 1529): RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added

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

D/wpa_supplicant( 1529): nl80211: Event message available

D/wpa_supplicant( 1529): nl80211: Associated on 2457 MHz

D/wpa_supplicant( 1529): nl80211: Operating frequency for the associated BSS from scan results: 2457 MHz

D/wpa_supplicant( 1529): wpa_driver_nl80211_set_operstate: operstate 0->0 (DORMANT)

D/wpa_supplicant( 1529): netlink: Operstate: linkmode=-1, operstate=5

D/wpa_supplicant( 1529): Add randomness: count=181 entropy=179

I/wpa_supplicant( 1529): wlan0: Associated with 00:03:6d:f3:50:7c

D/wpa_supplicant( 1529): EAPOL: External notification - portEnabled=0

D/wpa_supplicant( 1529): EAPOL: Supplicant port status: Unauthorized

D/wpa_supplicant( 1529): EAPOL: External notification - portValid=0

D/wpa_supplicant( 1529): EAPOL: Supplicant port status: Unauthorized

D/wpa_supplicant( 1529): EAPOL: External notification - portEnabled=1

D/wpa_supplicant( 1529): EAPOL: SUPP_PAE entering state S_FORCE_AUTH

D/wpa_supplicant( 1529): EAPOL: Supplicant port status: Authorized

D/wpa_supplicant( 1529): EAPOL: SUPP_BE entering state IDLE

I/wpa_supplicant( 1529): wlan0: CTRL-EVENT-CONNECTED - Connection to 00:03:6d:f3:50:7c completed (reauth) [id=1 id_str=]

D/wpa_supplicant( 1529): wpa_driver_nl80211_set_operstate: operstate 0->1 (UP)

D/wpa_supplicant( 1529): netlink: Operstate: linkmode=-1, operstate=6

D/wpa_supplicant( 1529): RTM_NEWLINK: operstate=1 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])

D/wpa_supplicant( 1529): RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added

D/wpa_supplicant( 1529): RTM_NEWLINK: operstate=1 ifi_flags=0x11003 ([UP][LOWER_UP])

D/wpa_supplicant( 1529): netlink: Operstate: linkmode=-1, operstate=6

D/wpa_supplicant( 1529): RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added

D/wpa_supplicant( 1529): RTM_NEWLINK: operstate=1 ifi_flags=0x11003 ([UP][LOWER_UP])

D/wpa_supplicant( 1529): netlink: Operstate: linkmode=-1, operstate=6

D/wpa_supplicant( 1529): RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added

D/wpa_supplicant( 1529): RTM_NEWLINK: operstate=1 ifi_flags=0x11003 ([UP][LOWER_UP])

D/wpa_supplicant( 1529): netlink: Operstate: linkmode=-1, operstate=6

D/wpa_supplicant( 1529): RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added

D/wpa_supplicant( 1529): CTRL_IFACE: ENABLE_NETWORK id=0

D/wpa_supplicant( 1529): Writing configuration file '/data/misc/wifi/wpa_supplicant.conf'

D/wpa_supplicant( 1529): Configuration file '/data/misc/wifi/wpa_supplicant.conf' written successfully

D/wpa_supplicant( 1529): CTRL_IFACE: SAVE_CONFIG - Configuration updated

D/wpa_supplicant( 1529): wpa_driver_nl80211_driver_cmd OK len = 0, 2

D/wpa_supplicant( 1529): nl80211: Get power mode = 1

E/DhcpStateMachine( 197): DHCP failed on wlan0: Timed out waiting for DHCP to finish

D/wpa_supplicant( 1529): wpa_driver_nl80211_driver_cmd OK len = 0, 2

E/WifiStateMachine( 197): IP configuration failed

D/wpa_supplicant( 1529): wpa_driver_nl80211_disconnect(addr=00:03:6d:f3:50:7c reason_code=3)

D/wpa_supplicant( 1529): wpa_driver_nl80211_set_operstate: operstate 1->0 (DORMANT)

D/wpa_supplicant( 1529): netlink: Operstate: linkmode=-1, operstate=5

D/wpa_supplicant( 1529): EAPOL: External notification - portEnabled=0

D/wpa_supplicant( 1529): EAPOL: SUPP_PAE entering state DISCONNECTED

D/wpa_supplicant( 1529): EAPOL: Supplicant port status: Unauthorized

D/wpa_supplicant( 1529): EAPOL: SUPP_BE entering state INITIALIZE

D/wpa_supplicant( 1529): EAPOL: Supplicant port status: Unauthorized

D/wpa_supplicant( 1529): EAPOL: External notification - portValid=0

D/wpa_supplicant( 1529): EAPOL: Supplicant port status: Unauthorized

D/wpa_supplicant( 1529): nl80211: Event message available

D/wpa_supplicant( 1529): Added BSSID 00:00:00:00:00:00 into blacklist

I/wpa_supplicant( 1529): wlan0: CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=0

D/wpa_supplicant( 1529): wpa_driver_nl80211_set_operstate: operstate 0->0 (DORMANT)

D/wpa_supplicant( 1529): netlink: Operstate: linkmode=-1, operstate=5

D/wpa_supplicant( 1529): EAPOL: External notification - portEnabled=0

D/wpa_supplicant( 1529): EAPOL: Supplicant port status: Unauthorized

D/wpa_supplicant( 1529): EAPOL: External notification - portValid=0

D/wpa_supplicant( 1529): EAPOL: Supplicant port status: Unauthorized

D/wpa_supplicant( 1529): RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])

D/wpa_supplicant( 1529): RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added

D/wpa_supplicant( 1529): RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])

D/wpa_supplicant( 1529): RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added

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

D/wpa_supplicant( 1529): WPS: Building WPS IE for Probe Request

D/wpa_supplicant( 1529): WPS: * Version (hardcoded 0x10)

D/wpa_supplicant( 1529): WPS: * Request Type

D/ConnectivityService( 197): ConnectivityChange for WIFI: DISCONNECTED/DISCONNECTED

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

D/wpa_supplicant( 1529): WPS: * Config Methods (2388)

D/wpa_supplicant( 1529): WPS: * UUID-E

D/wpa_supplicant( 1529): WPS: * Primary Device Type

D/wpa_supplicant( 1529): WPS: * RF Bands (3)

D/wpa_supplicant( 1529): WPS: * Association State

D/wpa_supplicant( 1529): WPS: * Configuration Error (0)

D/wpa_supplicant( 1529): WPS: * Device Password ID (0)

D/wpa_supplicant( 1529): WPS: * Manufacturer

D/wpa_supplicant( 1529): WPS: * Model Name

D/wpa_supplicant( 1529): WPS: * Model Number

D/wpa_supplicant( 1529): WPS: * Device Name

D/wpa_supplicant( 1529): WPS: * Version2 (0x20)

D/wpa_supplicant( 1529): P2P: * P2P IE header

D/wpa_supplicant( 1529): P2P: * Capability dev=27 group=00

D/wpa_supplicant( 1529): P2P: * Listen Channel: Regulatory Class 81 Channel 1

D/wpa_supplicant( 1529): Scan requested (ret=0) - scan timeout 30 seconds

D/wpa_supplicant( 1529): nl80211: Event message available

D/wpa_supplicant( 1529): nl80211: Scan trigger

D/wpa_supplicant( 1529): wpa_driver_nl80211_driver_cmd SCAN-ACTIVE len = 0, 11

D/wpa_supplicant( 1529): Ongoing scan action - reject new request

D/wpa_supplicant( 1529): wpa_driver_nl80211_driver_cmd SCAN-PASSIVE len = 0, 12

D/wpa_supplicant( 1529): nl80211: Event message available

D/wpa_supplicant( 1529): nl80211: New scan results available

D/wpa_supplicant( 1529): Received scan results (3 BSSes)

D/wpa_supplicant( 1529): Add randomness: count=182 entropy=180

D/wpa_supplicant( 1529): Add randomness: count=183 entropy=181

D/wpa_supplicant( 1529): Add randomness: count=184 entropy=182

D/wpa_supplicant( 1529): wlan0: Request association: reassociate: 1 selected: 00:03:6d:f3:50:7c bssid: 00:00:00:00:00:00 pending: 00:00:00:00:00:00 wpa_state: SCANN

ING