Nexus 7 2012 (ASUS, Grouper/Tilapia) might not be able to connect to wifi due to IGTK / Protected Management Frames. Thanks to the author of https://xdaforums.com/t/guide-rooting-nexus-7-2012-lollipop-5-simple-steps.3968405/
Using adb logcat
you'll find the following error each time you attempt to connect.
...: WPA: Failed to configure IGTK to the driver
...: RSN: Failed to configure IGTK
The connection will not be established, but there will be no error or warning.
According to several blogs online, the problem seems to be related to PMF or “Protected Management Frames”. Sources:
- https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/104
- https://ettore.dreucci.it/blog/failed-to-configure-igtk/
Checking the WPA Supplicant settings on the device, pmf
is enabled (1)
The procedure will require unlocking the bootloader.
- Download Android SDK platform tools, we'll need
adb
andfastboot
.- On Windows, you might require ADB Drivers
- Download TWRP
img
, depending on the device you own:Wi-Fi grouper
/3G tilapia
- Boot into the bootloader by holding
Power + Vol Down
for about 10 secs - Connect your device using a usb cable to your computer
- Execute this step only if it shows
LOCK STATE - LOCKED
. WARNING: the device will be factory reset! Runfastboot oem unlock
- Run
fastboot boot path/to/twrp-recover.img
to run TWRP without installing it - Go in
Mount
and enableSystem
- Go in
Advanced
thenTerminal
. Then usebusybox vi <FILE>
to patch:/data/misc/wifi/wpa_supplicant.conf
settingpmf=0
/system/etc/wifi/wpa_supplicant.conf
settingpmf=0
/system/build.prop
settingro.setupwizard.wifi_required=false
(avoids mandatory wifi connection on initial setup)
- Magisk for root access (latest version compatible with Android < 6):
25.2
. Useadb push /path/to/Magisk-v25.2.apk /sdcard/magisk.zip
thenadb shell twrp install /sdcard/magisk.zip
to install when using TWRP - F-Droid (latest version compatible with Android < 6):
org.fdroid.fdroid_1015056.apk