service wpa_supplicant /vendor/bin/hw/wpa_supplicant \ -O/data/vendor/wifi/wpa/sockets -dd \ -g@android:wpa_wlan0 # we will start as root and wpa_supplicant will switch to user wifi # after setting up the capabilities required for WEXT # user wifi # group wifi inet keystore interface android.hardware.wifi.supplicant@1.0::ISupplicant default interface android.hardware.wifi.supplicant@1.1::ISupplicant default interface android.hardware.wifi.supplicant@1.2::ISupplicant default interface android.hardware.wifi.supplicant@1.3::ISupplicant default interface android.hardware.wifi.supplicant@1.4::ISupplicant default class main socket wpa_wlan0 dgram 660 wifi wifi disabled oneshot