[Huawei MediaPad, T-Mobile SpringBoard] genesiscoupe:
Hi,

recently I tried to make my MP T2 a bit smoother so I've decide to go with a root, clear some apps and maybe oc the cpu. So I've unlocked the bootlader, ported TWRP and finally rooted the device but I've stayed with stock rom (of course couple of times I had that feeling that now i have a nice plant pad).

Everything was looking great but at some point my WIFI got broken and I don't really know when, if it was after unlocking bootloader, after modifying it or after flashing the TWRP recovery. Currently when I click on wifi it doesn't turn on, it's just grayed and the MAC Address has changed to 02:00:00:00:00:00. I am out of ideas so maybe someone will be able to give me a hint, things that I've tried were:

taking out the sim card and rebooting

wiping caches

checking for the WCNSS_qcom_wlan_nv.bin file in the /persist (I've went through it with a hex editor and tried to find my MAC address but I don't see anything looking like a MAC)

installing stock boot.img and recovery.img extracted from the official firmware.

I've found 3 different MAC addresses trails that could be mine

EMUI Recovery, in EMUI 4 I am able to boot into recovery (even though I have TWRP) and there's an option to download and restore the firmware, here my WIFI starts and connects to my home network and I was able to check the MAC with fing.

/system/etc/firmware/wlan/prima/WCNSS_qcom_cfg.ini Intf0MacAddress

logcat mac_param

From the logcat (bellow) it seems that the driver wasn't loaded but I don't have a clue why. Especially that it's being loaded fine in the recovery.

I would appreciate for any hints.

Additional info:

Content of /persist is as follows:

-rw------- bluetooth bluetooth 9 1970-01-01 01:00 .bt_nv.bin
-rw-rw-r-- system system 128 1970-01-01 15:29 .sn.bin
-rw------- system system 3 1970-01-01 12:23 RUNIN.FLG
-rw-r--r-- root root 31723 2016-10-11 14:10 WCNSS_qcom_wlan_nv.bin
-rw-r--r-- root root 10419 2016-10-11 14:10 WCNSS_wlan_dictionary.dat
-rw------- system system 12 1970-01-01 01:03 acc_avg
drwxr-xr-x root root 2016-10-11 14:10 aost
drwx------ system system 1970-01-01 01:00 data
drwxrwx--- system graphics 1970-01-01 01:00 display
-rwx------ root root 1 1970-01-01 21:32 log_flag
drwx------ root root 1970-01-01 01:00 lost+found
-rw------- system system 2 1970-01-01 01:04 prox_avg

LogCat:

I/ToolBoxView( 1535): onItemClick name=com.android.systemui.statusbar.toolbox.control.WifiTracker

I/ConnectPermission( 1221): allowOpenWifi blocked:false

D/WifiService( 1221): setWifiEnabled: true pid=1535, uid=10024, name=com.android.systemui

D/WifiHW ( 1221): Check driver status: not loaded

I/ ( 1221): hw_wifi_get_mac enter;

E/ ( 1221): get_decryption_wifi_mac:decrypt_wifi_mac in.

D/OEMINFO_NVM_SERVER( 262): Accept connection from pid 1221 (******), uid: 1000, gid: 1000

D/OEMINFO_NVM_SERVER( 262): Receive: opr = 2, idx = 52, len = 128, name()

I/OEMINFO_NVM_CORE( 262): compat_oeminfo_read: version v6

E/BD.Reporter( 1535): Can't getService HwBDService

I/OEMINFO_NVM_CORE( 262): find oeminfo device /dev/block/mmcblk0p9

I/OEMINFO_NVM_CORE( 262): read oeminfo 52, offset 0x33000, total byte: 128

E/OEMINFO_NVM_SERVER( 262): pid 1221, opration oeminfo_read OK

E/ ( 1221): hw_wifi_get_mac:read nv and decrypt mac successfully.

E/ ( 1221): mac_check enter mac is:208;

E/WifiHW ( 1221): qcom_wifi_load_customcode domain_param ok, value is 1;

E/WifiHW ( 1221): hw_wifi_load_driver mudule_arg is mac_param=D0:XX:XX:XX:XX:XX country_code=DE domain_param=1 ;

E/WifiHW ( 1221): get_driver_debug_level open the config file:data/misc/wifi/wifi_log_level.conf failed

W/WifiHW ( 1221): load modle :/system/lib/modules/wlan.ko mac_param=D0:XX:XX:XX:XX:XX country_code=DE domain_param=1 module_debug_param=

E/WifiStateMachine( 1221): Failed to load driver

W/ContextImpl( 1221): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:869 com.android.server.wifi.WifiStateMachine.startWifiFailed:3877 com.android.server.wifi.WifiStateMachine.access$4600:171 com.android.server.wifi.WifiStateMachine$InitialState.processMessage:6052 com.android.internal.util.StateMachine$SmHandler.processMsg:968

I/SendBroadcastPermission( 1221): action:com.android.server.wifi.action.START_WIFI_FAILED, mPermissionType:0