I was trying to flash Mokee ROM into my Gucci phone. All things run smoothly except one thing: it can’t connect into the wifi. I traced the cause and found out about the scrambled wifi MAC address.
With Mokee ROM installed, wifi MAC address is written in reverse. So if the correct wifi MAC address should be (not the real numbers) 1A:2B:3C:4D:5E:6G, it became 6G:5E:4D:3C:2B:1A.
The correct wifi MAC number is in sequential order with bluetooth MAC address; so the bluetooth is 1A:2B:3C:4D:5E:6F and wifi is 1A:2B:3C:4D:5E:6G.
It’s definitely not a hardware problem because when I flashed back to the stock ROM (MIUI V126.96.36.199.KHKCNEK_20171229.0000.00_4.4_cn_1ac4377126) the MAC address comes back to normal and it can connect to wifi.
I’ve tried to flash 4 versions of Mokee ROM:
All have caused the same wifi MAC address problem.
I also tried to flash GApps Pico and Nano, also without flashing the GApps at all.
I always did a factory reset, wipe system, data, cache and dalvik. I have tried to back up and recover EFS and Firmware, all without result. I even used Terminal ifconfig command to change the MAC number but it didn’t work.
How to solve this problem?