[Galaxy Note II Q&A, Help & Troubleshooting] TalkingChicken:
Hi

So, I have a weird problem with Wi-Fi on every ROM based on Android later than 4.4.4. Turns on, finds networks but won't connect to any, only showing "Saved". I was fighting with it for the last several days, and at this point I'm really fed up with this device, but I want to figure this out.

Here's what I 've got:

-N7100

-Latest bootloader and CP (QE2/NG1 provided by LogosA in the AICP thread)

-Also tried every bootloader/CP I could find.

-Latest TWRP (3.1.1-1)

-EFS seems okay (IMEI is correct, mobile network works fine)

-Wifi doesn't connect on any ROM later than 4.4.4, with clean install. I tried every one available on XDA. Custom kernels also don't help matters.

-I also tried reverting to full stock NI1 (where the Wi-Fi works fine), installing TWRP and AICP, at which point is stops connecting.

I accidentally managed to get it to connect once, when I dirty flashed AICP on top of working Cyanogenmod 4.4.4. It was of course unusable (force closes all the time), but the Wi-Fi connected and worked.

It doesnt't seem to be a problem with the network, I have several other legacy devices working fine with it. I also have two networks (2.4GHz & 5GHz), both show the same symptoms.

Below is a logcat from a clean AICP install, when trying to connect to the network. It looks the same every time it tries to connect, no matter the ROM used.

Any help would be greatly appreciated.

03-09 10:05:34.891 V/PhoneStatusBar(2600): setLightsOn(true)

03-09 10:05:34.896 V/PhoneStatusBar(2600): setLightsOn(true)

03-09 10:05:34.915 V/PhoneStatusBar(2600): setLightsOn(true)

03-09 10:05:34.930 V/PhoneStatusBar(2600): setLightsOn(true)

03-09 10:05:35.104 V/PhoneStatusBar(2600): setLightsOn(true)

03-09 10:05:36.447 I/ActivityManager(2404): START u0 {flg=0x10804000 cmp=com.android.systemui/.recents.RecentsActivity} from uid 10036 on display 0

03-09 10:05:36.590 V/PhoneStatusBar(2600): setLightsOn(true)

03-09 10:05:36.675 I/art (2404): Background partial concurrent mark sweep GC freed 35979(2MB) AllocSpace objects, 2(40KB) LOS objects, 33% free, 9MB/14MB, paused 2.951ms total 102.908ms

03-09 10:05:37.856 E/ActivityManager(2404): applyOptionsLocked: Unknown animationType=0

03-09 10:05:37.935 D/Index (2619): Indexing locale 'en_US' took 32 millis

03-09 10:05:37.979 W/TileUtils(2619): Found com.android.settings.Settings$NavigationSettingsActivity for intent Intent { act=com.android.settings.action.SETTINGS pkg=com.android.settings } missing metadata com.android.settings.category

03-09 10:05:37.985 W/TileUtils(2619): Found com.android.systemui.tuner.TunerActivity for intent Intent { act=com.android.settings.action.EXTRA_SETTINGS } missing metadata

03-09 10:05:38.041 D/Index (2619): Deleting data for locale 'en_US' took 9 millis

03-09 10:05:38.053 D/Index (2619): Indexing locale 'en_US' took 12 millis

03-09 10:05:38.119 D/Index (2619): Deleting data for locale 'en_US' took 4 millis

03-09 10:05:38.127 D/Index (2619): Indexing locale 'en_US' took 8 millis

03-09 10:05:38.360 W/WindowManager(2404): Attempted to remove non-existing token: android.os.Binder@fa161d4

03-09 10:05:39.981 W/SettingsLib.AccessPoint(2619): NetworkInfo is null, cannot return detailed state

03-09 10:05:41.078 D/WiFiServiceImpl (2404): CONNECT nid=-1 uid=1000 name=android.uid.system:1000

03-09 10:05:41.079 D/WifiService(2404): Connect with configID: 0 SSID: "Atlantis_5G" PROVIDER-NAME: null BSSID: null FQDN: null PRIO: 8 HIDDEN: false

03-09 10:05:41.079 D/WifiService(2404): NetworkSelectionStatus NETWORK_SELECTION_ENABLED

03-09 10:05:41.079 D/WifiService(2404): hasEverConnected: false

03-09 10:05:41.079 D/WifiService(2404): KeyMgmt: WPA_PSK Protocols: WPA RSN

03-09 10:05:41.079 D/WifiService(2404): AuthAlgorithms:

03-09 10:05:41.079 D/WifiService(2404): PairwiseCiphers: TKIP CCMP

03-09 10:05:41.079 D/WifiService(2404): GroupCiphers: TKIP CCMP

03-09 10:05:41.079 D/WifiService(2404): PSK: *

03-09 10:05:41.079 D/WifiService(2404): sim_num *

03-09 10:05:41.079 D/WifiService(2404): Enterprise config:

03-09 10:05:41.079 D/WifiService(2404): altsubject_match NULL

03-09 10:05:41.079 D/WifiService(2404): password <removed>

03-09 10:05:41.079 D/WifiService(2404): ca_path NULL

03-09 10:05:41.079 D/WifiService(2404): subject_match NULL

03-09 10:05:41.079 D/WifiService(2404): engine 0

03-09 10:05:41.079 D/WifiService(2404): client_cert NULL

03-09 10:05:41.079 D/WifiService(2404): ca_cert NULL

03-09 10:05:41.079 D/WifiService(2404): anonymous_identity NULL

03-09 10:05:41.079 D/WifiService(2404): identity NULL

03-09 10:05:41.079 D/WifiService(2404): key_id NULL

03-09 10:05:41.079 D/WifiService(2404): domain_suffix_match NULL

03-09 10:05:41.079 D/WifiService(2404): engine_id NULL

03-09 10:05:41.079 D/WifiService(2404): IP config:

03-09 10:05:41.079 D/WifiService(2404): IP assignment: DHCP

03-09 10:05:41.079 D/WifiService(2404): Proxy settings: NONE

03-09 10:05:41.079 D/WifiService(2404): networkSelectionBSSID=any cuid=1000 cname=android.uid.system:1000 luid=1000 lname=android.uid.system:1000 lcuid=1000 userApproved=USER_APPROVED noInternetAccessExpected=false isCarrierNetwork=false roamingFailureBlackListTimeMilli: 1000

03-09 10:05:41.079 D/WifiService(2404): triggeredLow: 0 triggeredBad: 0 triggeredNotHigh: 0

03-09 10:05:41.079 D/WifiService(2404): ticksLow: 0 ticksBad: 10 ticksNotHigh: 0

03-09 10:05:41.079 D/WifiService(2404): triggeredJoin: 0

03-09 10:05:41.080 D/WifiStateMachine(2404): CONNECT_NETWORK updating existing config with id=0 configKey="Atlantis_5G"WPA_PSK

03-09 10:05:41.123 D/WifiNetworkHistory(2404): saving network history: "Atlantis_5G"WPA_PSK gw: null Network Selection-status: NETWORK_SELECTION_ENABLED ephemeral=false choice:null link:0 status:2 nid:0 hasEverConnected: false

03-09 10:05:41.123 V/WifiNetworkHistory(2404): writeKnownNetworkHistory write config "Atlantis_5G"WPA_PSK

03-09 10:05:41.131 I/WifiConnectivityManager(2404): connectToUserSelectNetwork: netId=0 persist=true

03-09 10:05:41.141 D/WifiNetworkHistory(2404): saving network history: "Atlantis_5G"WPA_PSK gw: null Network Selection-status: NETWORK_SELECTION_ENABLED ephemeral=false choice:null link:0 status:2 nid:0 hasEverConnected: false

03-09 10:05:41.141 V/WifiNetworkHistory(2404): writeKnownNetworkHistory write config "Atlantis_5G"WPA_PSK

03-09 10:05:41.143 I/WifiConnectivityManager(2404): scheduleWatchdogTimer

03-09 10:05:42.236 D/WifiStateMachine(2404): CMD_AUTO_CONNECT sup state ScanState my state DisconnectedState nid=0 roam=false

03-09 10:05:42.238 D/WifiStateMachine(2404): CMD_AUTO_CONNECT will save config -> "Atlantis_5G" nid=0

03-09 10:05:42.264 D/WifiNetworkHistory(2404): saving network history: "Atlantis_5G"WPA_PSK gw: null Network Selection-status: NETWORK_SELECTION_ENABLED ephemeral=false choice:null link:0 status:2 nid:0 hasEverConnected: false

03-09 10:05:42.264 V/WifiNetworkHistory(2404): writeKnownNetworkHistory write config "Atlantis_5G"WPA_PSK

03-09 10:05:42.271 D/WifiStateMachine(2404): CMD_AUTO_CONNECT did save config -> nid=0

03-09 10:05:42.274 D/WifiNetworkHistory(2404): saving network history: "Atlantis_5G"WPA_PSK gw: null Network Selection-status: NETWORK_SELECTION_ENABLED ephemeral=false choice:null link:0 status:2 nid:0 hasEverConnected: false

03-09 10:05:42.274 V/WifiNetworkHistory(2404): writeKnownNetworkHistory write config "Atlantis_5G"WPA_PSK

03-09 10:05:44.935 W/SettingsLib.AccessPoint(2619): NetworkInfo is null, cannot return detailed state

03-09 10:05:45.636 W/AlarmManager(2404): Unrecognized alarm listener com.android.server.wifi.scanner.SupplicantWifiScannerImpl$3@fac05c7

03-09 10:05:45.644 I/wpa_supplicant(4990): wlan0: Trying to associate with ac:22:0b:24:d4:a4 (SSID='Atlantis_5G' freq=5180 MHz)

03-09 10:05:45.766 I/wpa_supplicant(4990): wlan0: Associated with ac:22:0b:24:d4:a4

03-09 10:05:45.774 I/wpa_supplicant(4990): wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0

03-09 10:05:45.794 I/wpa_supplicant(4990): wlan0: WPA: Key negotiation completed with ac:22:0b:24:d4:a4 [PTK=CCMP GTK=CCMP]

03-09 10:05:45.795 I/wpa_supplicant(4990): wlan0: CTRL-EVENT-CONNECTED - Connection to ac:22:0b:24:d4:a4 completed [id=0 id_str=%7B%22creatorUid%22%3A%221000%22%2C%22configKey%22%3A%22%5C%22Atlantis_5G%5C%22WPA_PSK%22%7D]

03-09 10:05:45.805 W/wpa_supplicant(4990): wlan0: WPA: Failed to configure IGTK to the driver

03-09 10:05:45.806 D/ConnectivityService(2404): registerNetworkAgent NetworkAgentInfo{ ni{[type: WIFI[], state: CONNECTING/CONNECTING, reason: (unspecified), extra: "Atlantis_5G", failover: false, available: true, roaming: false, metered: false]} network{154} nethandle{661441399518} lp{{InterfaceName: wlan0 LinkAddresses: [] Routes: [fe80::/64 -> :: wlan0,] DnsAddresses: [] Domains: null MTU: 0 TcpBufferSizes: 524288,1048576,2097152,262144,524288,1048576}} nc{[ Transports: WIFI Capabilities: NOT_METERED&INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN LinkUpBandwidth>=1048576Kbps LinkDnBandwidth>=1048576Kbps]} Score{20} everValidated{false} lastValidated{false} created{false} lingering{false} explicitlySelected{false} acceptUnvalidated{false} everCaptivePortalDetected{false} lastCaptivePortalDetected{false} }

03-09 10:05:45.806 D/ConnectivityService(2404): NetworkAgentInfo [WIFI () - 154] EVENT_NETWORK_INFO_CHANGED, going from null to CONNECTING

03-09 10:05:45.808 I/wpa_supplicant(4990): wlan0: RSN: Failed to configure IGTK

03-09 10:05:45.817 I/wpa_supplicant(4990): wlan0: CTRL-EVENT-DISCONNECTED bssid=ac:22:0b:24:d4:a4 reason=1 locally_generated=1

03-09 10:05:45.829 D/WifiHAL (2404): Getting APF capabilities, halHandle = 0x86be3080

03-09 10:05:45.829 I/WifiHAL (2404):

03-09 10:05:45.829 I/WifiHAL (2404): createRequest: APF get capabilities request

03-09 10:05:45.829 I/WifiHAL (2404): Request Response failed for APF, result = -95

03-09 10:05:45.831 D/WifiStateMachine(2404): Start Dhcp Watchdog 55

03-09 10:05:45.832 D/WifiStateMachine(2404): updateCapabilities for config:Atlantis_5Gfalse,false

03-09 10:05:45.838 D/WifiHAL (2404): Start get packet fate command

03-09 10:05:45.838 D/WifiHAL (2404): createRequest Get Tx packet fate request

03-09 10:05:45.838 E/WifiHAL (2404): Failed to register get pkt fate response; result = -95

03-09 10:05:45.838 E/WifiNative-HAL(2404): getTxPktFatesNative returned -95

03-09 10:05:45.840 D/WifiHAL (2404): Start get packet fate command

03-09 10:05:45.840 D/WifiHAL (2404): createRequest Get Rx packet fate request

03-09 10:05:45.840 E/WifiHAL (2404): Failed to register get pkt fate response; result = -95

03-09 10:05:45.840 E/WifiNative-HAL(2404): getRxPktFatesNative returned -95

03-09 10:05:45.840 D/WifiNative-HAL(2404): stopRssiMonitoring, cmdId 0

03-09 10:05:45.843 D/ConnectivityService(2404): NetworkAgentInfo [WIFI () - 154] EVENT_NETWORK_INFO_CHANGED, going from CONNECTING to DISCONNECTED

03-09 10:05:45.843 D/ConnectivityService(2404): NetworkAgentInfo [WIFI () - 154] got DISCONNECTED, was satisfying 0

03-09 10:05:45.844 D/DhcpClient(2404): doQuit

03-09 10:05:45.852 W/ConnectivityExtension(2404): ConnectivityExt jar file not present

03-09 10:05:45.860 I/wpa_supplicant(4990): wlan0: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=PL

03-09 10:05:45.861 D/WifiCountryCode(2404): Succeeded to set country code to: PL

03-09 10:05:45.861 I/WifiConnectivityManager(2404): scheduleWatchdogTimer

03-09 10:05:45.863 D/WifiNative-wlan0(2404): configureNeighborDiscoveryOffload(true)

03-09 10:05:45.864 D/WifiNative-wlan0(2404): configureNeighborDiscoveryOffload(true) returned: -95

03-09 10:05:45.869 D/WifiNetworkAgent(2404): NetworkAgent: NetworkAgent channel lost

03-09 10:05:45.875 D/DhcpClient(2404): Receive thread started

03-09 10:05:45.875 D/DhcpClient(2404): Receive thread stopped

03-09 10:05:45.900 D/DhcpClient(2404): onQuitting

03-09 10:05:45.903 E/Netd (2064): Failed to destroy IPv6 sockets on fe80::9218:7cff:fe10:b015: Invalid argument

03-09 10:05:45.903 E/Netd (2064): Error destroying sockets: Unknown error -22

03-09 10:05:45.916 D/CommandListener(2064): Clearing all IP addresses on wlan0

03-09 10:05:47.749 I/ActivityManager(2404): START u0 {flg=0x10804000 cmp=com.android.systemui/.recents.RecentsActivity} from uid 10036 on display 0

03-09 10:05:47.970 I/art (2404): Background partial concurrent mark sweep GC freed 4726(708KB) AllocSpace objects, 0(0B) LOS objects, 33% free, 9MB/14MB, paused 2.627ms total 100.322ms

03-09 10:05:50.030 E/ActivityManager(2404): applyOptionsLocked: Unknown animationType=0

03-09 10:05:50.095 V/PhoneStatusBar(2600): setLightsOn(true)

03-09 10:05:50.282 V/PhoneStatusBar(2600): setLightsOn(true)

03-09 10:05:50.321 V/PhoneStatusBar(2600): setLightsOn(true)