[Q] Mac address Moto X - Moto X Q&A

Hi, I have a Moto x, and would like to know: can I change the mac address of the device permanently? I want to change the address as fast as possible, it is urgent
Thanks!!

One post, just became a member seems kinda sketchy?

Behave, and you won't get banned from those sites. ?

Arilit said:
Hi, I have a Moto x, and would like to know: can I change the mac address of the device permanently? I want to change the address as fast as possible, it is urgent
Thanks!!
Click to expand...
Click to collapse
You can't. The MAC address is written permanently into NVRAM, unlike some other devices where it is stored in /persist.
Out-of-Luck....

no, you cannot legally change the mac address on this or any other device.

imnuts said:
no, you cannot legally change the mac address on this or any other device.
Click to expand...
Click to collapse
FUD. There is no legal restriction, at least in the United States, to changing your MAC address.
Edit: removed my comment about ifconfig. Apparently moto X hides the interfaces from normal system admin tools (at least those from busybox).
BTW, It would be unwise to try to change the MAC address of the interfaces associated with the CDMA/GSM/LTE radios.

Related

How to change the X1 mac address?

Hi,
yesterday i tried nearly the whole day to change my mac address on my x1. first i made a hardspl for x1. the new bootloader is working.
After that, i connected via mtty. I tried some commands like emapiTest, emapiWlanMac and some other what i found at xda-dev. I only go "command error" in mtty.
Then i flashed the latest rom (R2A) and tried it again with mtty. Same bad results.
There is a posting at xda-dev: NOTE: To use rbmc you need to
authenticate with proper password .... otherwise bootloader returns "Command error !!!" or "Command is Locked!". (if you're using Hard-SPL, this is unlocked, and any address can be read with 2.30.Olipro)
Do i make the same authenticate with the X1 HardSpl that i am able to work with any commands?
Best regards
strohrum
You can't change the MAC address of a network device. It's the unique hardware serial number of the network device.
My guess is that you're trying to get your Xperia to connect to a hotspot that only allows specific MAC addresses. In that case it makes more sense to find the wifi MAC address of your phone, go into the configuration page for your wifi router and enter the MAC address on the filter list.
You can get the phone's wifi MAC fairly easily. Turn on wifi, then:
Start > Settings > Connections > Wireless LAN > Advanced
... and the MAC is there for you.
ZenithUK said:
You can't change the MAC address of a network device. It's the unique hardware serial number of the network device.
My guess is that you're trying to get your Xperia to connect to a hotspot that only allows specific MAC addresses. In that case it makes more sense to find the wifi MAC address of your phone, go into the configuration page for your wifi router and enter the MAC address on the filter list.
You can get the phone's wifi MAC fairly easily. Turn on wifi, then:
Start > Settings > Connections > Wireless LAN > Advanced
... and the MAC is there for you.
Click to expand...
Click to collapse
Actually it is possible to "spoof" a network device.
I'm just not sure how to do this on a WM device.
i tried the registry method... didnt find any data for mac address
and i tried what jockyw wrote:
"You can run or flash the USPL (see sticky) and set a MAC address of your own choice.
Connect with MTTY and at the command prompt type:
emapiWlanMac 01 02 03 04 05 06 (the six two-digit numbers are the hexadecimal MAC byte values and should be replaced by anything you like)"
but i only get "command error" at any command.
strohrum said:
How to change the X1 mac address?
Click to expand...
Click to collapse
Is that legal ??
who cares ?
exxi said:
who cares ?
Click to expand...
Click to collapse
hmmm...
Maybe you are right and xda-devs wouldn't care about that...
.
That is not legal I am sure.
Legal WHERE? 50% of the content here is probably not koscher! What a stupid question!
ANY medling with software is illegal worldwide! Read the license agreements!
I would suggest NOT to discuss this...waste of time and effort! Just a thought ;-)
why should be illegal to change mac address? It's not IMEI
guap said:
why should be illegal to change mac address? It's not IMEI
Click to expand...
Click to collapse
BTW, I was just asking, not stating
Fulgore69 said:
That is not legal I am sure.
Click to expand...
Click to collapse
Well, its not illegal in the "go to jail" sense... but more of a torts way. SE won't care that a relatively small group is tinkering with their own phones since it doesn't affect their income at all. Rather, if we filed a warranty claim, they can deny it on breach of terms.
The only time a modified MAC could be considered "illegal" is if you are pirating as a result of modifying it.
Why would you even want to change the mac-adress?
Fulgore69 said:
That is not legal I am sure.
Click to expand...
Click to collapse
Please don't assume that something is illegal simply because it's "sometimes" associated with "hacking". Password recovery is not illegal, port scanning is not illegal, packet sniffing is not illegal. These are all used by most large companies on a regular basis. I'm a network engineer and I can assure you that it is legal to "spoof" your mac address. Even though there may be some unethical reasons for doing this, there are also unethical reasons for owning a kitchen knife. We change our mac addresses of many of the devices at work all the time for many, very legitimate reasons.
While there's no easy way to change the actual information stored in the CIS of a device, depending on the NIC driver, many drivers support dynamic mac addresses. Even Microsoft provides support for configurable mac addresses.
I dug around in the registry a bit and it doesn't seem like there is a default setting for this on Xperia (well, that I could find), but I'm sure there's a way to change the NDIS miniport drivers to simply call a new string value containing whatever you're trying to change your mac to.
Check out these MSDN articles that might help with a solution.
http://msdn.microsoft.com/en-us/library/bb648482.aspx
http://msdn.microsoft.com/en-us/library/ms893567.aspx
hi jhoffa,
thanks for the solution links. but i already need help:
At MSDN:
Finally, if the card information structure (CIS) of the PC Card contains a network address value, Ndis.dll creates a \HKEY_LOCAL_MACHINE\Comm\Miniport Instance\Parms\NetworkAddress key to store the network address.
My registry dosent show the path ...\NetworkAddress
\HKEY_LOCAL_MACHINE\Comm\TNETW12511
DisplayName
IEEE 802.11b/g Compatible Wi-Fi Adapter
At: HKEY_LOCAL_MACHINE\Comm\TNETW12511\Parms\TcpIp it shows me: Autocgf, autointerval, automask, autoseed, autosubnet, dhcpdns, dhcpipaddress, dhcpserver, dhcpsubnetmask, enabledhcp, lease, leaseobtainedhigh, leaseobtainedlow, prevreqoptions, t1 and t2. but nothing like a mac address.
is it possible that i am looking the wrong way?
thanks for helping
strohrum
strohrum said:
hi jhoffa,
thanks for the solution links. but i already need help:
At MSDN:
Finally, if the card information structure (CIS) of the PC Card contains a network address value, Ndis.dll creates a \HKEY_LOCAL_MACHINE\Comm\Miniport Instance\Parms\NetworkAddress key to store the network address.
My registry dosent show the path ...\NetworkAddress
\HKEY_LOCAL_MACHINE\Comm\TNETW12511
DisplayName
IEEE 802.11b/g Compatible Wi-Fi Adapter
At: HKEY_LOCAL_MACHINE\Comm\TNETW12511\Parms\TcpIp it shows me: Autocgf, autointerval, automask, autoseed, autosubnet, dhcpdns, dhcpipaddress, dhcpserver, dhcpsubnetmask, enabledhcp, lease, leaseobtainedhigh, leaseobtainedlow, prevreqoptions, t1 and t2. but nothing like a mac address.
is it possible that i am looking the wrong way?
thanks for helping
strohrum
Click to expand...
Click to collapse
Have you tried adding
Network Adress as a (i'm presuming) a Dword to \HKEY_LOCAL_MACHINE\Comm\TNETW12511\Parms\ ?
i added "NetworkAddress" as String and typed a 12 letter mac in it. didnt work. Dword same.
jhoffa said:
I dug around in the registry a bit and it doesn't seem like there is a default setting for this on Xperia (well, that I could find), but I'm sure there's a way to change the NDIS miniport drivers to simply call a new string value containing whatever you're trying to change your mac to.
Click to expand...
Click to collapse
i skiped this as i read your posting before. i know that i cant handle this, i am too noobish in registry files edit.
maybe someone could help me with that?
thanks
strohrum
i found that at eggheadcafe.com:
Step 1 --> changes to driver
Steps [2-5] from C# application
1) In NDIS Intermediate driver (QueryMiniport function), I made the
following changes
a) When OID is CURRENT_MAC_ADDRESS , open registry , read a
registry name ChangeMAC,
b) if value of ChangeMAC is 1 then read registry value of "NewMAC"
and then convert it appropriately to MAC format
(remove extra unicode characters etc)
c) then do a NDISMoveMemory to current adapters MACaddr field.
d) close registry
2) Set value of ChangeMAC (DWord) to 1
3) Set value of NewMAC (string) to the new mac address
4) Invoke a NDIS_REBIND_ADAPTER (this internally will call
QueryMiniport ) and inturn execute step (1)
5) Set value of ChangeMAC (DWord) to 0
anybody an idea how does it work?
michaelthemage said:
Legal WHERE? 50% of the content here is probably not koscher! What a stupid question!
ANY medling with software is illegal worldwide! Read the license agreements!
I would suggest NOT to discuss this...waste of time and effort! Just a thought ;-)
Click to expand...
Click to collapse
Using an unofficial program "stealed" from other phone or cook a personal ROM is not paragonable as change MAC Address.
MAC Address changes are the same of IMEI's ones: if you want to create-problems to a WiFi network (for example) with your modified MAC Address, you are not more identificable...so this is illegal.
To prevent the possibility of this type of "problems", all changes acts to alterate UNIQUE IDENTIFICATION of a device (IMEI or MAC Address numbers) are illegal, because it will cause a POSSIBLE multi-identity.

Help where is the Mac address for the HTC HD7

HIYA
where do you find the mac address for the HTC HD7?
I am having problems
EMILY2010 said:
HIYA
where do you find the mac address for the HTC HD7?
I am having problems
Click to expand...
Click to collapse
I am also having a hard time looking for the Mac Address? Any help from anyone?
This was a feature left out of Phone7 by Windows. The only way I can think of to obtain it is, if you're running Windows 7 and can make a virtual access point using Connectify to grab the Mac address once it connects to your computer
Sent from my Captivate
miztaken1312 said:
This was a feature left out of Phone7 by Windows. The only way I can think of to obtain it is, if you're running Windows 7 and can make a virtual access point using Connectify to grab the Mac address once it connects to your computer
Sent from my Captivate
Click to expand...
Click to collapse
Yes it was confirmed also to me by HTC support that there is no way to look the mac address on the phone itself. The only way is to check the router's attached devices and check the mac address from there. I have to turn off the access control first of my Netgear router so that the HD7 will be able to connect to it.
gasanpride said:
Yes it was confirmed also to me by HTC support that there is no way to look the mac address on the phone itself. The only way is to check the router's attached devices and check the mac address from there. I have to turn off the access control first of my Netgear router so that the HD7 will be able to connect to it.
Click to expand...
Click to collapse
Can't you then grab the Mac from the attached devices list and then apply it to your filter?
Sent from my Captivate
miztaken1312 said:
Can't you then grab the Mac from the attached devices list and then apply it to your filter?
Sent from my Captivate
Click to expand...
Click to collapse
Yes that's actually what I did.
miztaken1312 said:
This was a feature left out of Phone7 by Windows. The only way I can think of to obtain it is, if you're running Windows 7 and can make a virtual access point using Connectify to grab the Mac address once it connects to your computer
Sent from my Captivate
Click to expand...
Click to collapse
Good idea. Worked like a charm.
Here is an example of how to find it in a corporate environment. The following assumes you have access to the windows server that hands out DHCP addresses, assuming your wireless router does not. If your wireless router does, you should just be able to look it up in the DHCP client table of your device.
Anyhow...
I connect my HD7 to the wireless network, and the IP is supplied by the windows server. In the windows server, I go to DHCP and then Address Leases. I sort by expired date, and my device will be listed with the latest date, as it is the most recently connected device. I take note of the IP.
Then open a command prompt and type ARP -A
This will list the IP and MAC of all connected devices. Find your IP and there is your MAC.
The problem with my phone is that when I reboot it the mac address changes. My router works with a mac address filter. So I have to add a new mac address after each WP7 reboot.
Is there anyone with a solution?
If you unlock your device and install the Advance Configuration Tool the app shows you Mac address and other device details.
Sent from my SGH-T849 using XDA App
pittphan said:
If you unlock your device and install the Advance Configuration Tool the app shows you Mac address and other device details.
Sent from my SGH-T849 using XDA App
Click to expand...
Click to collapse
Yep, this is what I've done. Check out http://forum.touchxperience.com/ for the info.
cheap66 said:
The problem with my phone is that when I reboot it the mac address changes. My router works with a mac address filter. So I have to add a new mac address after each WP7 reboot.
Is there anyone with a solution?
Click to expand...
Click to collapse
Solution: buy an HD7.
cheap66 said:
The problem with my phone is that when I reboot it the mac address changes. My router works with a mac address filter. So I have to add a new mac address after each WP7 reboot.
Is there anyone with a solution?
Click to expand...
Click to collapse
Are you sure? MAC address is strictly individual for each network adapter (ether or wlan).
yavorz said:
Are you sure? MAC address is strictly individual for each network adapter (ether or wlan).
Click to expand...
Click to collapse
I know that, but I think the wifi mac address used is a virtual one.
Yes I'm sure, the six last digits of my wifi mac address change, so I have to disable the mac address filter in my box, connect the phone, look in the box config which mac address is connected, add the new address to the authorized ones and turn on the address filter.
If you have a HD2 verify what I'm saying and you'll see I tell the truth.
cheap66, i have HD7 phone. My MAC Address is static. I use phone in my Uni. Administrators here use mac address filter too. I have no problems with that :|
He doesn't have an HD7.
In fact my phone is an HD2 and I think it's the reason why.

Problem with mac address

Anyone know how to edit or force android to read the mac address of the phone?
Because my brother has a optimus black like me with rom Macay and i have cyanogemmod and we both have the same mac address.
comands like: ip link set..... our ifconfig....
don´t work.
and the software don´t work:
Wireless Mac Changer
The mac addres is associated with your net adapter, meaning its (or should be) unique and exclusive.
In theory, two devices cant have the same mac address. Furthermore, in most countries, its illegal to change the mac of a device, and it must be done by modding the hardware.
Are you sure your router isnt giving the same IP to both phones? That could be a possible error.
It is easy to change it:
Search nvram.txt (should be in /etc/wifi/ or something) and set permissions that you can edit it. Edit "macaddr=XX:XX:XX:XX:XX:XX" as you want and save. After it set permissions to default (note down before edit) and reboot. Done!

[GUIDE] Wi-Fi MAC address changing

Hello everybody!
This is my first contribution for the O4X community. Hope you like it!
I have managed to change the Wi-Fi MAC address of my device and now I share this technique with you.
What is a MAC address?
A Media Access Control address (MAC address) is a unique identifier assigned to network interfaces for communications on the physical network segment. It may also be known as a burned-in address, an Ethernet hardware address (EHA), hardware address or physical address. (Source: Wikipedia)
Why would somebody change his/her MAC address?
- To access the internet where it is restricted to particular addresses.
- To hide his/her illegal activity. (Though this is not effective enough since the Android system sends product information and a lot of other things to the Google servers and I'm sure that previous IP addresses could be searched for if somebody does something really nasty.)
Is it legal to change the MAC address?
As far as I know, it is. However, I firmly discourage you on doing anything illegal with changed/unchanged MAC.
Let's do it!
What do you need?
- A rooted device.
- A file manager that can explore the root filesystem.
How does this exactly work?
Normally, the Wi-Fi driver gets the MAC address from the built-in chip then it writes the address to '/data/misc/wifi/config_mac'. This is done at a very early stage at bootup, I didn't check when, probably in native binaries or somewhere at the framework (though I doubt the latter). This is the original burned-in address. This cannot be changed with software modifications, but only by soldering off the chip from the motherboard and rewriting its contents. Our Wi-Fi device is a Broadcom BCM4330. It has very good built-in features and the open source driver can be found in our kernel sources. So what you have to do is editing the '/data/misc/wifi/config_mac' file with a modified address.
Before you change your MAC address in any way, turn off Wi-Fi! I recommend writing down your original address somewhere (just to be extra secured).
- If you delete the file or use an invalid one (e.g. 000000000000, ffffffffffff or 133713371337), Wi-Fi will stuck at turning on and you need to do a reboot to get it working again.
- Since the file is created everytime again at boot, it is not persistent. If you reboot, it is gone. If you would like to use it permanently, create a script (like 'echo "001122334455" > /data/misc/wifi/config_mac') with some script manager application and set it to run at each reboot.
I did not test this on CM. Since CM has the Wi-Fi module built into the kernel (Anybody knows why??), it may not work. Somebody pls try and report.
Every custom modification to devices have risks. Use this at your own risk!
Have fun and enjoy!
Hi, thanks for the support
I would like to say that I have managed to change the mac adress on the Cyanogenmod (cm10.1) by editing a file called "bcmdhd.cal", which is located in system/etc/wifi; the line is for example
macaddr=00:90:4c:c5:12:38
Click to expand...
Click to collapse
I only change the "38" with "39".
I have to edit it before installing the rom (every time I install the rom, I must say ), because my sister has another 4X, and with the same mac adress the router goes crazy
Thanks for pointing it out. :good:
Does the bcmdhd.cal editing change the MAC persistently? I assume it does.
Sent from my LG-P880
Adam77Root said:
Thanks for pointing it out. :good:
Does the bcmdhd.cal editing change the MAC persistently? I assume it does.
Sent from my LG-P880
Click to expand...
Click to collapse
yes, i change it in the zip, then after the install the wifi menu reports the new adress.
EDIT.... i found that my trick worked on the first nightlies of the cm10.1; your way does work on the stable cyanogen and last nightly
sorry for my english...
I just use MAC Address Ghost from the play store
arx-7-arbalest said:
Hi, thanks for the support
I would like to say that I have managed to change the mac adress on the Cyanogenmod (cm10.1) by editing a file called "bcmdhd.cal", which is located in system/etc/wifi; the line is for example
I only change the "38" with "39".
I have to edit it before installing the rom (every time I install the rom, I must say ), because my sister has another 4X, and with the same mac adress the router goes crazy
Click to expand...
Click to collapse
I know this is an old thread, but this post of yours just solved a problem I've been having for months.

How can I change my Mac Address? (REDMI 8)

Everytime I used any mac address changer it just revert back to normal/can't change. Does someone know to change it?
1) I don't know if there is a way, you can Google it
2) why would you even want that??
Zêlgréz said:
Everytime I used any mac address changer it just revert back to normal/can't change. Does someone know to change it?
Click to expand...
Click to collapse
MAC address = Media Access Control address
Kind of physical address of your device.
This unique address is given by the manufacturer who got a special address range/area from the IEEE (Institute of Electrical and Electronics Engineers).
So it is something a user should not be able to change.
Maybe you mixed it up with a different type of address

Categories

Resources