[Sony Xperia ZR] kulisgames:
After a week of being a happy Sony Xperia ZR (4.1.2, C5502) owner, my wifi stopped connecting to networks. I can't connect to any network I have tried, but the list of networks is ok. It stopped working suddenly. My previously used networks are all marked as "Saved", but when I try to connect the following happens:

1) Saved (doesn't even change when tapped)

2) Connecting -> Saved

3) Connecting -> Authentication problem -> Saved

After half day without wifi, this is what I have tried to fix it:

1) Restart phone

2) Restart phone, take out battery, SD card and SIM card

3) Restart wi-fi router

4) Connect to another network

5) Forget network -> Type password again

6) Connect another Android device to the same network

7) Connect another non-android device to the same network

8) Sony Companion -> Repair

Nothing fixed the issue, still the same problem.

Build number:

10.1.1.A.1.310

Kernel:

3.4.0-g6df7905-02327-g1aa3092

BuildUser@BuildHost) )

#1 SMP PREEMPT Thu Apr 11 11:17:13 2013

logcat from the time of wifi on to first failure (then it repeats the last few lines)

09-18 09:10:08.116: I/WifiManager(2391): Process ndroid.settings enabled Wifi
09-18 09:10:08.186: E/WifiHW(571): File "/data/misc/wifi/WCNSS_qcom_cfg.ini" exists, not copying
09-18 09:10:08.497: I/wpa_supplicant(3838): nl80211: Don't connect to APs with RSSI < 0
09-18 09:10:08.497: I/wpa_supplicant(3838): rfkill: Cannot open RFKILL control device
09-18 09:10:08.497: I/ActivityManager(571): No longer want com.google.android.onetimeinitializer (pid 1747): hidden #51
09-18 09:10:08.637: I/wpa_supplicant(3838): wapi_supplicant_init: Init WAI packet p2p0
09-18 09:10:08.637: I/wpa_supplicant(3838): Own MAC address: (Here's phone MAC address)
09-18 09:10:08.637: E/wpa_supplicant(3838): Initialization: WAPI:set Staues=1
09-18 09:10:08.657: E/Diag_Lib(3838): Diag_LSM_Init: Failed to open handle to diag driver, error = 13
09-18 09:10:08.757: E/wpa_supplicant(3838): QMI_UIM_EVENT_REG_REQ_V01, qmi_err_code: 0x0
09-18 09:10:08.777: E/wpa_supplicant(3838): QMI_UIM_GET_CARD_STATUS_REQ_V01, qmi_err_code: 0x0
09-18 09:10:08.777: E/wpa_supplicant(3838): card_info[i].card_state: 0x1
09-18 09:10:08.777: E/wpa_supplicant(3838): card_info[i].error_code: 0x0
09-18 09:10:08.777: E/wpa_supplicant(3838): card READY
09-18 09:10:08.777: E/wpa_supplicant(3838): card_info[i].app_type : 0x2
09-18 09:10:08.777: E/wpa_supplicant(3838): card_info[i].app_state : 0x7
09-18 09:10:08.777: E/wpa_supplicant(3838): card found
09-18 09:10:08.797: I/wpa_supplicant(3838): Reading GSM home network domain configuration file '/system/etc/wifi/gsm_domains.conf'
09-18 09:10:08.877: I/wpa_supplicant(3838): nl80211: Don't connect to APs with RSSI < -83
09-18 09:10:08.877: I/wpa_supplicant(3838): rfkill: Cannot open RFKILL control device
09-18 09:10:08.917: I/wpa_supplicant(3838): wapi_supplicant_init: Init WAI packet wlan0
09-18 09:10:08.917: I/wpa_supplicant(3838): Own MAC address: (Here's phone MAC address)
09-18 09:10:08.917: E/wpa_supplicant(3838): Initialization: WAPI:set Staues=1
09-18 09:10:08.957: E/wpa_supplicant(3838): QMI_UIM_EVENT_REG_REQ_V01, qmi_err_code: 0x0
09-18 09:10:08.977: E/wpa_supplicant(3838): QMI_UIM_GET_CARD_STATUS_REQ_V01, qmi_err_code: 0x0
09-18 09:10:08.977: E/wpa_supplicant(3838): card_info[i].card_state: 0x1
09-18 09:10:08.977: E/wpa_supplicant(3838): card_info[i].error_code: 0x0
09-18 09:10:08.977: E/wpa_supplicant(3838): card READY
09-18 09:10:08.977: E/wpa_supplicant(3838): card_info[i].app_type : 0x2
09-18 09:10:08.977: E/wpa_supplicant(3838): card_info[i].app_state : 0x7
09-18 09:10:08.977: E/wpa_supplicant(3838): card found
09-18 09:10:09.037: E/WifiConfigStore(571): Failed to look-up a string: W
09-18 09:10:09.037: E/WifiConfigStore(571): Failed to look-up a string: SMS4
09-18 09:10:09.037: E/WifiConfigStore(571): Failed to look-up a string: SMS4
09-18 09:10:09.077: I/WifiManager(2391): Process ndroid.settings requested an active scan
09-18 09:10:09.087: E/Parcel(334): Reading a NULL string not supported here.
09-18 09:10:09.087: E/Parcel(334): Reading a NULL string not supported here.
09-18 09:10:09.097: E/Parcel(334): Reading a NULL string not supported here.
09-18 09:10:09.097: I/SuperStamina-WifiAnalyzer(571): WiFi is ON.
09-18 09:10:09.117: E/wifidirect(3726): onStartCommand 1
09-18 09:10:09.117: E/wifidirect(3726): Exitting file transfer service.
09-18 09:10:09.117: W/wpa_supplicant(3838): wlan0: Failed to initiate AP scan
09-18 09:10:09.117: W/wpa_supplicant(3838): p2p0: Failed to initiate AP scan
09-18 09:10:09.127: E/wifidirect(3726): onStartCommand 1
09-18 09:10:09.127: E/wifidirect(3726): Exitting file transfer service.
09-18 09:10:10.128: W/wpa_supplicant(3838): wlan0: Failed to initiate AP scan
09-18 09:10:11.119: W/wpa_supplicant(3838): wlan0: Failed to initiate AP scan
09-18 09:10:12.130: W/wpa_supplicant(3838): wlan0: Failed to initiate AP scan
09-18 09:10:12.811: I/wpa_supplicant(3838): wlan0: Trying to associate with (here is my router MAC) (SSID='smartus@unifi' freq=2427 MHz)
09-18 09:10:14.023: I/wpa_supplicant(3838): wlan0: CTRL-EVENT-ASSOC-REJECT bssid=(here is my router MAC) status_code=1
09-18 09:10:19.088: I/WifiManager(2391): Process ndroid.settings requested an active scan
09-18 09:10:22.812: I/wpa_supplicant(3838): wlan0: Authentication with (here is router MAC) timed out.

Repeat:
09-18 09:10:12.811: I/wpa_supplicant(3838): wlan0: Trying to associate with (here is my router MAC) (SSID='smartus@unifi' freq=2427 MHz)
09-18 09:10:14.023: I/wpa_supplicant(3838): wlan0: CTRL-EVENT-ASSOC-REJECT bssid=(here is my router MAC) status_code=1
09-18 09:10:22.812: I/wpa_supplicant(3838): wlan0: Authentication with (here is router MAC) timed out.

Any ideas? How to diagnose more, is it HW or SW? I am going to call to support but I know they are just going to guide me through: "Have you tried turning it on and off again?" questions and then recommend sending the phone back to them...