[Q] Where are the Radio MAC addresses stored? - Sony Xperia Z Ultra

Thanks to pr001, I have found the reason that the current batch of custom ROMs do not reconnect to paired BT devices after the phone is rebooted.
It is because the folder root/data/etc/ is empty. In a good environment, their should be a file named bluetooth_btaddr (among others) there. That file is a plain text file which contains the MAC address.
After reading a post in the BlissROM thread there is also an issue where two phones both running the same ROM are causing issues with connecting to a wifi network as both devices have the same wifi MAC address. and with this experience with the BT MAC address I am left with the following questions.
Aren't the radios MAC addresses fixed to the radio hardware itself?
If not, how does stock firmware provide unique MAC addresses for the radios?
If the radio chipsets do have MAC addresses tied to them, how can the devs access them?

Related

Clone MAC address

Hi,
I have strange internet provide that lets only one MAC address on network. Long story short, I have to change a Wifi MAC address on my 8525. Any ideas?
I would prefer something simple, maybe a simple aplication to do so.
I have read post like
http://forum.xda-developers.com/showthread.php?t=322225
but, it is complicated, since I need to be able to change it back to original on daily bases with no access to external computer.
Thanks
sadik007 said:
I have read post like
http://forum.xda-developers.com/showthread.php?t=322225
but, it is complicated, since I need to be able to change it back to original on daily bases with no access to external computer.
Thanks
Click to expand...
Click to collapse
Sadly that's the only way it can be done; the WLAN MAC address is stored at a fixed offset within the ROM - the post you mention above is a guide to patching the ROM to update it with the required MAC address.
Mark.
Mark Crouch said:
Sadly that's the only way it can be done; the WLAN MAC address is stored at a fixed offset within the ROM - the post you mention above is a guide to patching the ROM to update it with the required MAC address.
Mark.
Click to expand...
Click to collapse
1 thought as my cable provider is like that to a certain regard,
Get a wireless router. then register the mac of the router with the provider, everything else is transparent to the provider as it would appear to come from the router ans is all ip based, aqs no Mac based services ( ie: netbios ipx/spx ) are used on the internet only on local network
hope this helps

Wifi ever changing Mac address (last 6 digits)

Hi,
Please help me to solve the issue on the android ICS Wifi Mac address , here are the problems
1) NVRAM warning Err 0x10
2) Wifi always disconnect after able to obtain IP and browse internet a few seconds
3) Noticed that the MAC address last 6 digits are always changing, like 00:08:22:XX:XX:XX after I enable/disable the wifi
4) IPLINK SHOW ETH0 -- error: Can't find device 'eth0' , but WLAN0 is present
5) NetCfg command shows only Lo, wlan0, tunl0,sit0,ip6tnl0,ccmni0,ccmni1,ccmni2. but the Eth0 is not present?
Those problems originally found at the original rom. I have downloaded another similar rom but still not okay.
I downloaded the MIUI rom but only updates the system.img, recovery.img, boot.img. other image files were the same. The WIFI errors are still there.
Any advice?
Many thanks!
Wifi ever changing Mac address
yeah, +1, same problem here.
would be glad with a software solution...

A file with list of routers phone is associated with?

Hi to all!
I wondered if there's a file which contains information of the networks the phone is associated with. I'd need to recover the mac address of a router. I guees such a file should exist, but maybe cannot be opened as text.
Anybody knows?
Thanks in advance!

[4.1.2 XT912] Need help with changing MAC Address

I'd like to change MAC addresses for this purpose and this purpose only: gaming.
[Android] StreetPass Riilay: The HomePass method on your phone[/url] (The forums are down for maintenance and I still have the 10 post limit)
According to that thread, Android phones have their Wi-Fi configurations in these directories.
Code:
/system/etc/wifi/nvram.txt
/data/misc/wifi/config
/data/.nvmac.info
/factory/wifi/.mac.info
/data/etc/wlan_macaddr
/pds/wifi/wlan_mac.bin
However, none of these paths contain those MAC configuration files.
These three paths exist on my phone: /system/etc/wifi/ and /data/misc/wifi/ and /pds/wifi/ but do not have any MAC address configurations.
Is there another directory where the MAC configurations are located? Is it even possible to change the MAC address on the Razr?
I've tried apps from the play store, and those don't work. I'm not using any ROMs, but I installed BusyBox files.
So basically my questions are:
1) Where are the MAC configurations stored?
2) Do certain ROMs have different Wi-Fi configurations in different paths in the system's files?
3) I am not doing this so I can connect to networks, I am doing this so that other devices can connect to my phone's Wi-Fi network. Most MAC address apps don't do that
Well thanks for the help anyway. I just copied the system files onto my desktop then looked into every nook and cranny. The answer was in my face all this time.
For anyone else who needs this in the future:
data/misc/wifi/firmware/wl12xx-nvs.bin
pds/wifi/nvs_map.bin
That's where the MAC configurations are stored. The values are stored little-endian, so just read along the first line and you'll know what I'm talking about. Change the values to your desired MAC address, then presto, your MAC address is changed. Do this for both .bin files.
This is only temporary, so you should make a copy of your desired MAC available in your file manager so you can just paste them into the directories with ease.
lazy9090 said:
Well thanks for the help anyway. I just copied the system files onto my desktop then looked into every nook and cranny. The answer was in my face all this time.
For anyone else who needs this in the future:
data/misc/wifi/firmware/wl12xx-nvs.bin
pds/wifi/nvs_map.bin
That's where the MAC configurations are stored. The values are stored little-endian, so just read along the first line and you'll know what I'm talking about. Change the values to your desired MAC address, then presto, your MAC address is changed. Do this for both .bin files.
This is only temporary, so you should make a copy of your desired MAC available in your file manager so you can just paste them into the directories with ease.
Click to expand...
Click to collapse
I can't make any sense of what's in those files...
Wat do?

(2) XT912's with same MAC address. What does Google use to identify a device?

Hello,
I have two VZW XT912's that I decided to re-purpose as IP security cams. Since they had not been used in a long time and have had various ROM's on them throughout the years, I decided to flash them with what I believed to be the lasted VZW factory image via RSD Lite. The flash went well on both of them but during the process of troubleshooting why they were both having wifi connectivity issues, I determined that both devices had the exact same MAC address.
I've been reading a bunch and I did find a way to change the MAC address by editing the nvs_map.bin file. Neither of my devices had this file after I flashed the factory images and what I believe I've learned that if Android doesn't see this file, it creates it's on MAC address. I located a nvs_map.bin file and was able to edit it.
Wifi is functioning well now on both devices, however, the IP security camera program I am using utilizes Google login credentials and when I try to login my second XT912, it disconnects it in a few seconds. I highly suspect that their is some other identifier that Google uses to recognize a device and in their eyes, both of these devices are the same.
What identifier does Google use for devices if it's not the MAC address? Any suggestions on how I can correct this using the VZW image/rom? I have loaded a custom ROM using Safestrap on one of the devices to test and can confirm that both devices can login into my IP security program.

Categories

Resources