[Galaxy S5 Mini Original Android Development] tinl:
Wifi scanning and scanning

Hello

Tried to update to the kernel (because of the weird "can not connect to the camera" in [G800F/M/Y][ROM][5.1.1][LMY48G] CyanogenMod 12.1 for G800F/M/Y [Alpha 15/08/2015]). Someone on xda said, i cannot find the link anymore, that <http://xdaforums.com/showthread.php?t=3386508>, new kernel, fixed his problem. Well.

I Installed the kernel. But now my G800F suffers of the trouble mentioned earlier in this thread: No WIFI, scanning forever. I have already checked the permissions on data/misc/wifi/wpa_supplicant.conf. Deleted it with reboot. No joy.

The pattern in logcat my be well-known (filtered on wifi):

08-21 18:12:31.434 2221 2221 W PackageManager: Permission com.google.android.googleapps.permission.GOOGLE_AUTH.wifi from package com.google.android.gsf in an unknown group android.permission-group.ACCOUNTS

...

08-21 18:12:52.721 2221 2221 I SystemServiceManager: Starting com.android.server.wifi.p2p.WifiP2pService

08-21 18:12:52.767 2221 2221 I SystemServiceManager: Starting com.android.server.wifi.WifiService

08-21 18:12:53.027 2221 2221 I SystemServiceManager: Starting com.android.server.wifi.WifiScanningService

08-21 18:12:53.030 2221 2221 I SystemServiceManager: Starting com.android.server.wifi.RttService

...

08-21 18:12:53.056 2221 2221 D ConnectivityService: wifiOnly=false

...

08-21 18:12:53.510 2221 2373 D WifiService: New client listening to asynchronous messages

...

08-21 18:12:53.648 2221 2221 I WifiService: WifiService starting up with Wi-Fi enabled

08-21 18:12:53.651 2221 2221 D WifiService: setWifiEnabled: true pid=2221, uid=1000

08-21 18:12:53.651 2221 2221 E WifiService: Invoking mWifiStateMachine.setWifiEnabled

...

08-21 18:12:55.943 2221 2373 D WifiService: New client listening to asynchronous messages

...

08-21 18:12:57.653 2221 2899 I ActivityManager: Start proc 2914:com.doubleTwist.androidPlayer/u0a95 for broadcast com.doubleTwist.androidPlayer/com.doubleTwist.podcast.PowerAndWifiStateChangeReceiver

...

08-21 18:12:57.767 2221 2392 I chatty : uid=1000(system) WifiRttService expire 1 line

... many more, my be different

08-21 18:13:16.653 2221 2372 E WifiStateMachine: Unable to change interface settings: java.lang.IllegalStateException: command '25 interface setcfg wlan0 0.0.0.0 0 down' failed with '400 25 Failed to set address (No such device)'

...

08-21 18:13:16.654 2221 2372 E wifi : Could not read interface wlan0 flags: 19

08-21 18:13:16.654 2221 2372 E WifiNative-HAL: Could not start hal

08-21 18:13:16.654 2221 2372 E WifiStateMachine: Failed to start HAL

...

08-21 18:13:16.660 2372 2372 I WifiStateMachin: type=1400 audit(0.0:515): avc: denied { sendto } for path="/dev/socket/wpa_wlan0" scontext=u:r:system_server:s0 tcontext=u:r:init:s0 tclass=unix_dgram_socket permissive=1

08-21 18:13:16.660 2372 2372 W WifiStateMachin: type=1300 audit(0.0:515): arch=40000028 syscall=283 per=800008 success=yes exit=0 a0=8d a1=84a7528c a2=18 a3=4029cd88 items=1 ppid=1956 auid=4294967295 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=4294967295 exe="/system/bin/app_process32" subj=u:r:system_server:s0 key=(null)

...

08-21 18:13:16.662 2221 2372 D WifiMonitor: startMonitoring(wlan0) with mConnected = false

...

08-21 18:13:16.662 2221 2372 D WifiMonitor: startMonitoring(wlan0) with mConnected = false

...

08-21 18:13:25.829 2221 2372 E WifiHW : Supplicant not running, cannot connect

08-21 18:13:25.929 2221 2372 E WifiHW : Supplicant not running, cannot connect

???

Please any suggestions.

Regards TinL