A file with list of routers phone is associated with? - Android Q&A, Help & Troubleshooting

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!

Related

[Q] X10 Mac Address Change/Spoof How to?

First of all, i would like to say hello guys and thanks to every developer in here.
I'm trying to change my x10 (FreeX10 from here) mac address, but i've tried a lot of commands like:
ip link wlan0 set address xx:xx:...
most of them just returns me invalid operation or siocsifhwaddr error
i've tried the app Set Mac Address with no luck.
Tried to find the /etc/wl/nvram.txt there is no file in there.
Tried to look for a file with any WL inside, most of them seems code not configuration.
Have someone already been able to change this?
I need this because in my work everyone can have only on mac address signed to, so if i want to use wifi i need to set every thing to the same mac address.
Sorry my bad english.
Thanks in advance
Ruan
Maybe you will find something useful here!
G-FACE said:
Maybe you will find something useful (Couldn't post the link because of forum rules blocking me)
Click to expand...
Click to collapse
It may be because of my lack of knowledge on linux system, but i couldn't understand most of the commands in there, tried to reproduce but i got nothing.
Does anyone knows any step by step for x10 using terminal commands if possible to do this?

[Q] Can someone post a copy of their nvram.txt?

Looking for stock if you have it, or any other nvram.txt file. I want to compare it to the file I have. My MAC address has changed due to a recent ROM change and I'm curious about the whole thing. You don't have to keep your MAC address in the nvram.txt, just star it out so I know where it was at.
Thanks to anyone who can help.

[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?

[Q] Where are the Radio MAC addresses stored?

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?

"/sys/devices/soc.0/a000000.qcom,wcnss-wlan" wcnss_mac_addr

Hey guys,
I've found that my mac address in this file "wcnss_mac_addr" located at "/sys/devices/soc.0/a000000.qcom,wcnss-wlan" is 00:00:00:00:00,
and when i change it and confirm that was really changed i restart my device and check again this file and it's 0's again...
can someone explain to me why this is happening?
Obviously that's why my mac address is shown like 02:00:00:00:00:00 and cant turn on WIFI.
Any developer as a sugestion?
ps: my device is a Redmi Note 3 Pro SD.
Regards

Categories

Resources