![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Group: Members Posts: 5 Joined: 12-June 19 Member No.: 849,826 ![]() |
Beginning 2019 i flashed the Gemini to dual boot for Sailfish and Android 7.1. There were no issues then. Recently Android 8.1 came available, and because i have the dual boot the OTA did not work and i had to reflash the dual boot together with Android 8.1. Everything seemed fine, until i found out that ever since (10-06-2019) the wifi mac address changed its number 4 and 5 hex digit at every reboot.
I tested rebooting in Sailfish and Android, and both show the wifi mac address change. Therefore i think it happens in the Gemini firmware that enables dual boot. This is rather a problem, because some servers i connect to rely on my mac address. Does anyone else notice this wifi mac address changing at reboot with a dual boot flashed Gemini since the Android 8.1 came available? If so, does anyone know how to stop this wifi mac address changing at reboot? |
|
|
![]()
Post
#2
|
|
Group: Members Posts: 18 Joined: 30-May 18 Member No.: 823,505 ![]() |
If so, does anyone know how to stop this wifi mac address changing at reboot? See this thread. It has a kludge that helps somewhat. The results that I have (using the fix) are that sailfish keeps the correct mac address, but android changes it. Someone else reported it working with android also. |
|
|
![]()
Post
#3
|
|
Group: Members Posts: 5 Joined: 12-June 19 Member No.: 849,826 ![]() |
Did the chattr thing in Sailfish and rebooted in Sailfish. Still a different wifi mac address.
|
|
|
![]()
Post
#4
|
|
Group: Members Posts: 18 Joined: 30-May 18 Member No.: 823,505 ![]() |
Did the chattr thing in Sailfish and rebooted in Sailfish. Still a different wifi mac address. Did you do the "chattr" first thing after a full flash (i.e. "firmware upgrade"), and before booting Android? I don't know of a way to restore the contents of that file other than a full flash, once it has been trashed, which is what Android seems to do to it. Maybe someone more knowledgable than myself can tell us how to generate the NVDATA and NVCFG partitions from the data in the NVRAM partition. |
|
|
![]()
Post
#5
|
|
Group: Members Posts: 5 Joined: 12-June 19 Member No.: 849,826 ![]() |
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/... |
|
|
![]() ![]()
Post
#6
|
|
Group: Members Posts: 3 Joined: 20-July 19 From: Austria Member No.: 852,409 ![]() |
Thanks a lot for the instructions and explanations. They worked great for my Gemini Wifi.
I've updated DebianTP3 Wiki and other wiki entries. |
|
|
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 6th December 2019 - 07:59 PM |