[Nexus 7 Android Development] X_TonyK_d:
Well, I think that file is just config of wpa_supplicant.

and I found another wpa_supplicant file at /system/bin/wpa_supplicant,

maybe we need to change this...

+ Attached hammerhead's wpa_supplicant for Android M ;)

++ Yeah, something changed after apply...

(Attached Image)

Still not works... Why? :confused:

This is part of logcat:

06-20 06:47:11.964 126 469 D CommandListener: Setting iface cfg
06-20 06:47:11.964 126 469 D CommandListener: Trying to bring down wlan0
06-20 06:47:11.950 469 469 W netd : type=1400 audit(0.0:156): avc: denied { ioctl } for path="socket:[11219]" dev=sockfs ino=11219 scontext=u:r:kernel:s0 tcontext=u:r:kernel:s0 tclass=udp_socket
06-20 06:47:12.286 126 469 D CommandListener: Clearing all IP addresses on wlan0
06-20 06:47:12.288 474 537 E WifiStateMachine: Unable to change interface settings: java.lang.IllegalStateException: command '23 interface ipv6privacyextensions wlan0 enable' failed with '400 23 Failed to set ipv6 privacy extensions (Cannot assign requested address)'
06-20 06:47:12.288 474 537 E WifiMonitor: killSupplicant p2ptrue init.svc.wpa_supplicant=unknown init.svc.p2p_supplicant=unknown
06-20 06:47:12.280 1605 1605 W main_init: type=1400 audit(0.0:157): avc: denied { execute_no_trans } for path="/system/bin/wpa_supplicant" dev=mmcblk0p9 ino=844149 scontext=u:r:kernel:s0 tcontext=u:object_r:system_file:s0 tclass=file
06-20 06:47:12.352 1605 1605 I wpa_supplicant: Successfully initialized wpa_supplicant
06-20 06:47:12.353 1605 1605 I wpa_supplicant: rfkill: Cannot open RFKILL control device
06-20 06:47:12.389 474 537 D WifiStateMachine: setWifiState: enabling
06-20 06:47:12.390 474 537 D WifiStateMachine: Supplicant start successful
06-20 06:47:12.390 474 537 E WifiMonitor: startMonitor called with unknown iface=wlan0
06-20 06:47:12.390 474 537 D WifiStateMachine: Link configuration changed for netId: -1 old: {InterfaceName: wlan0 LinkAddresses: [fe80::12bf:48ff:feeb:87a9/64,] Routes: [fe80::/64 -> :: wlan0,] DnsAddresses: [] Domains: null MTU: 0 TcpBufferSizes: 524288,1048576,2097152,262144,524288,1048576} new: {InterfaceName: wlan0 LinkAddresses: [] Routes: [] DnsAddresses: [] Domains: null MTU: 0 TcpBufferSizes: 524288,1048576,2097152,262144,524288,1048576}
06-20 06:47:12.390 474 537 E WifiStateMachine: updateLinkProperties nid: -1 state: IDLE reason: CMD_UPDATE_LINKPROPERTIES
06-20 06:47:12.391 474 537 E WifiStateMachine: updateLinkProperties nid: -1 state: IDLE reason: CMD_UPDATE_LINKPROPERTIES
06-20 06:47:12.957 474 537 D WifiStateMachine: Link configuration changed for netId: -1 old: {InterfaceName: wlan0 LinkAddresses: [] Routes: [] DnsAddresses: [] Domains: null MTU: 0 TcpBufferSizes: 524288,1048576,2097152,262144,524288,1048576} new: {InterfaceName: wlan0 LinkAddresses: [] Routes: [fe80::/64 -> :: wlan0,] DnsAddresses: [] Domains: null MTU: 0 TcpBufferSizes: 524288,1048576,2097152,262144,524288,1048576}
06-20 06:47:12.958 474 537 E WifiStateMachine: updateLinkProperties nid: -1 state: IDLE reason: CMD_UPDATE_LINKPROPERTIES
06-20 06:47:12.959 474 537 D WifiStateMachine: Link configuration changed for netId: -1 old: {InterfaceName: wlan0 LinkAddresses: [] Routes: [fe80::/64 -> :: wlan0,] DnsAddresses: [] Domains: null MTU: 0 TcpBufferSizes: 524288,1048576,2097152,262144,524288,1048576} new: {InterfaceName: wlan0 LinkAddresses: [fe80::12bf:48ff:feeb:87a9/64,] Routes: [fe80::/64 -> :: wlan0,] DnsAddresses: [] Domains: null MTU: 0 TcpBufferSizes: 524288,1048576,2097152,262144,524288,1048576}
06-20 06:47:12.959 474 537 E WifiStateMachine: updateLinkProperties nid: -1 state: IDLE reason: CMD_UPDATE_LINKPROPERTIES
06-20 06:47:12.960 1605 1605 I wpa_supplicant: nl80211: Could not re-add multicast membership for vendor events: -2 (No such file or directory)
06-20 06:47:12.960 1605 1605 F libc : Fatal signal 4 (SIGILL), code 1, fault addr 0x40131c9a in tid 1605 (wpa_supplicant)
06-20 06:47:13.061 127 127 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
06-20 06:47:13.061 127 127 F DEBUG : Build fingerprint: 'google/nakasi/grouper:M/MPZ44O/1955487:eng/test-keys'
06-20 06:47:13.061 127 127 F DEBUG : Revision: '0'
06-20 06:47:13.061 127 127 F DEBUG : ABI: 'arm'
06-20 06:47:13.061 474 666 W NativeCrashListener: Couldn't find ProcessRecord for pid 1605
06-20 06:47:13.062 127 127 F DEBUG : pid: 1605, tid: 1605, name: wpa_supplicant >>> /system/bin/wpa_supplicant <<<
06-20 06:47:13.062 127 127 F DEBUG : signal 4 (SIGILL), code 1 (ILL_ILLOPC), fault addr 0x40131c9a
06-20 06:47:13.062 127 127 E DEBUG : AM write failed: Broken pipe
06-20 06:47:13.063 127 127 F DEBUG : r0 00000005 r1 be9e73fb r2 be9e73fb r3 00000000
06-20 06:47:13.063 127 127 F DEBUG : r4 406b70a8 r5 be9e78b8 r6 be9e7404 r7 406b18cc
06-20 06:47:13.063 127 127 F DEBUG : r8 406cf000 r9 be9e7428 sl 406b1900 fp 00000000
06-20 06:47:13.063 127 127 F DEBUG : ip 00000005 sp be9e73c8 lr 40149cf5 pc 40131c9a cpsr 00000030
06-20 06:47:13.071 127 127 F DEBUG :
06-20 06:47:13.071 127 127 F DEBUG : backtrace:
06-20 06:47:13.071 127 127 F DEBUG : #00 pc 0008cc9a /system/bin/wpa_supplicant
06-20 06:47:13.071 127 127 F DEBUG : #01 pc 000a4cf1 /system/bin/wpa_supplicant
06-20 06:47:13.071 127 127 F DEBUG : #02 pc 00007da3 /system/lib/libnl.so (nl_recvmsgs+650)
06-20 06:47:13.071 127 127 F DEBUG : #03 pc 0009c331 /system/bin/wpa_supplicant
06-20 06:47:13.071 127 127 F DEBUG : #04 pc 0009d08d /system/bin/wpa_supplicant
06-20 06:47:13.071 127 127 F DEBUG : #05 pc 000a524f /system/bin/wpa_supplicant
06-20 06:47:13.071 127 127 F DEBUG : #06 pc 000939a9 /system/bin/wpa_supplicant
06-20 06:47:13.071 127 127 F DEBUG : #07 pc 0000dc2b /system/bin/wpa_supplicant
06-20 06:47:13.071 127 127 F DEBUG : #08 pc 000172cd /system/lib/libc.so (__libc_init+44)
06-20 06:47:13.071 127 127 F DEBUG : #09 pc 0000dd2c /system/bin/wpa_supplicant
06-20 06:47:13.125 127 127 F DEBUG :
06-20 06:47:13.125 127 127 F DEBUG : Tombstone written to: /data/tombstones/tombstone_05

Full logcat attached as file.

+ Remove file since it was compiled against BoringSSL