/system/etc/wifi/nvram.txt /data/misc/wifi/config /data/.nvmac.info /factory/wifi/.mac.info /data/etc/wlan_macaddr
Need help with changing MAC address for Tethering
#1
Posted 11 January 2014 - 11:50 AM
#2
Posted 11 January 2014 - 03:05 PM
Have you tried any of the MAC changing apps in the play store?
#3
Posted 11 January 2014 - 07:14 PM
I've tried MAC Address Ghost and a few Wi-Fi Tethering apps, but they fail. I assume they look into those paths and try to find a file for where the MAC address is stored, but couldn't find one.
#4
Posted 12 January 2014 - 09:44 AM
Do ROMs with a different kernel have different Wi-Fi configurations?
#5
Posted 12 January 2014 - 10:36 AM
su busybox ifconfig wlan0 down hw ether 4E:53:50:4F:4F ifconfig wlan up
#6
Posted 12 January 2014 - 11:18 AM
Tethering and Hotspot to me are two different things. Tethering is using a wire via the usb port and Hotspot is all wifi and then connecting to the service via cellular. So which is it that you are trying? If its the second, it sounds like the issue would be setting the MAC on the cellular side of the house.
#7
Posted 12 January 2014 - 11:23 AM
I replied to your other thread......in answer here, I wouldnt think they should be too different.
#8
Posted 12 January 2014 - 11:31 AM
lazy I am going to move/merge this into your other thread, since that seems a more appropriate place, since its not specifically device related.
EDIT: MERGED. and sort of merged your Topics. Change as you see fit, or I can if you think something different is better.
- livinginkaos likes this
#9
Posted 12 January 2014 - 11:42 AM
I suppose what I meant was turning on 4G LTE and turning wireless tethering on (the phone acts as a wireless router).
Would you happen to know how to set the MAC Address according to "the cellular side of the house"?
#10
Posted 12 January 2014 - 11:47 AM
I do not lazy, but does that sound correct what I was asking? Your device is a wireless router so the "internet" sees the cellulars MAC for all the connections running through it, which is what I think the problem is with the gaming stuff. Its seeing all your connections with whatever MAC and you want to change it, if I understood correctly.
I can poke around for an answer, but others may have ideas or answers. Some searches I was doing earlier had people on stackflow doing some coding, but I didnt dig to deep.
#11
Posted 12 January 2014 - 11:58 AM
I see a file /data/misc/wifi/softap.conf that looks like it has a MAC address in it, but I think that would be for the wifi side. I guess it couldnt hurt to try it...
#12
Posted 12 January 2014 - 12:04 PM
I saw what you tried on xda, but heres another one I found:
I don't think this is permanent however. I did find another guide on Android Forums that seems to be permanent:
After your rooted head into terminal emulation type su and go into /data/misc/wifi
Look for a file called nvram.txt
Copy it to your sdcard and then to your cpu desktop open it with notepad and at the bottom of nvram.txt is the mac address
This i was able to verify and test on android Citrus Ciena
Edit that mac address and save it as nvram1.txt onto sdcard
Now go back to data wifi misc and copy nvram.txt to nvram.bak
Head into gui and then settings then wifi then turn on the wifi but don't connect to any wifi
turn off the wifi,switch back to terminal
Copy the nvram1.txt to data misc wifi
remove the original (make sure you got it backed up)
Rename nvram1.txt to nvram.txt
head back into gui and then settings then wifi
Now for me it immediately stated unable to turn on wifi
Ignore it and try to turn it on anyways
When it turns on your newly edited mac address will take effect
Connect to your AP
NOW B4 REBOOTING YOU MUST CHANGE NVRAM BACK TO THE ORIGINAL!
#13
Posted 12 January 2014 - 12:07 PM
I dont have the above nvram files on my 912, so dont think thats the answer...
#14
Posted 12 January 2014 - 12:22 PM
I appreciate your help, cmh. If I could find where the MAC address is stored in the 912, this would be so simple.
I don't even know where the sneaky phone developers hid it.
#15
Posted 12 January 2014 - 12:26 PM
try and change the softap.conf file and try that see if it might work
#16
Posted 12 January 2014 - 12:31 PM
I opened the softap.conf file with Notepad, and this is what I get.
attwifi 192.168.43.1 192.168.43.2 192.168.43.254
These are just IP addresses. No MAC address. That "attwifi" is the SSID that I'm using, however.
There are three folders named "wifi" in XT912, and opening the files with Notepad, I none of them have MAC address values.
#17
Posted 12 January 2014 - 12:32 PM
hmm, on the verizon 912, its a mac not IP's......keep looking around
#18
Posted 12 January 2014 - 12:36 PM
Maybe try and grep for the MAC address.....with and without colons
#19
Posted 12 January 2014 - 12:37 PM
That's strange. What does your softap.conf file look like? Does it have SSID and the MAC address? Does it look similar to what I posted?
#20
Posted 12 January 2014 - 12:44 PM
No, on both my 912 and 926 with Verizon have the SSID I want and then the MAC address and thats it. Example:
AndroidAP 1277fe63ed21
EDIT: I guess I meant yes, ssid and mac
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users