1
Gemini PDA - General Discussion / Firmware causes wifi mac address change on reboot
« on: June 18, 2019, 03:05:45 pm »
Ok, i have got it done for Sailfish without a full reflash. I do not want to lose any settings that may reside in userdata. Android is still swapping the mac address. But i could not care less about that.
What i did is:
1) hexedit /nvdata/APCFG/APRDEB/WIFI and set the mac address in bytes 04-09 (mind that the base is 0, so it starts at the 5th byte) of the first row (0).
2) set the i attr on the file
Originally bytes 04-09 contained zeros, so i suppose that causes the system to generate a fake mac address.
There is lots of talk about it on the internet by Android people. Search something like "hex edit nvram wifi mac address". Note that the Android people talk about nvram instead of nvdata. They have a similar file in /data/nvram/...
What i did is:
1) hexedit /nvdata/APCFG/APRDEB/WIFI and set the mac address in bytes 04-09 (mind that the base is 0, so it starts at the 5th byte) of the first row (0).
2) set the i attr on the file
Originally bytes 04-09 contained zeros, so i suppose that causes the system to generate a fake mac address.
There is lots of talk about it on the internet by Android people. Search something like "hex edit nvram wifi mac address". Note that the Android people talk about nvram instead of nvdata. They have a similar file in /data/nvram/...