• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

How To Spoof MAC Address

This is a HOW TO about how to spoof your MAC address. A MAC address is a combination of numbers and letters that are unique to your own wifi card. I am not responsible for how you use this, I am just putting it out here. Don't flood this thread with how it is illegal because there are legal uses for this (such as pen testing).

First, you need to download a free app called Android Terminal Emulator. It is free and works on the Incredible. You do not need root for this to work. To change back to your normal MAC Address, just follow these steps to change it back or restart your phone.

It makes this easier if you already know your real MAC Address which can be found at:
All Programs > Settings > Wireless & Networks > WiFi Settings > Menu button > Advanced

Keep this in mind

Then, open the Terminal Emulator previously installed. You need to run a few linux commands to get the change. You need to find the name of your card. To do this type this without the quotes (''):
'ip link show'

This will provide a list of a bunch of different interfaces. Find the one that has the same MAC address as the one found above. On the Incredible, it is the last one called eth0. I will use eth0 in the examples, but if it is different, then change eth0 to your own one in the following commands.

To change the MAC Address, type this without the quotes (''):
'ip link set eth0 address XX:XX:XX:XX:XX:XX'
'ip link set eth0 broadcast XX:XX:XX:XX:XX:XX'

XX:XX:XX:XX:XX:XX is the new MAC Address you want where each X is a letter A-F or number.

Finally, to check if the MAC Address has changed, type this without the quotes (''):
'ip link show eth0'

It should now show the new MAC Address. I haven't checked if it sends this MAC address to the router, but I think it will. I will update once I check it.
 
I did have WiFi, then for whatever reason my HTC Incredible shows MAC & IP Unavailable, and I configured a Static IP 192.168.1.112, Gateway 192.168.1.1, Netmask 255.255.255.0, DNS1 75.75.76.76, DNS2 75.75.75.75 and I receive Wi-Fi Error, I cannot un-check Network Notifications either.

Under Options I select Scan and nothing, Advance allows me to select the above.

Any suggestions...I notice I have no App for Google Play Services, and as far as I know there is no way to manually download apps to my PC, then to my HTC by way of cable.

Any suggestions ?
 
Upvote 0
Hi,
I have tried but it is showing a error while set up address: RTNETLINK answers: Operation not permitted.

IMG_20150721_230633.JPG
 
Upvote 0
This is a HOW TO about how to spoof your MAC address. A MAC address is a combination of numbers and letters that are unique to your own wifi card. I am not responsible for how you use this, I am just putting it out here. Don't flood this thread with how it is illegal because there are legal uses for this (such as pen testing).

First, you need to download a free app called Android Terminal Emulator. It is free and works on the Incredible. You do not need root for this to work. To change back to your normal MAC Address, just follow these steps to change it back or restart your phone.

It makes this easier if you already know your real MAC Address which can be found at:
All Programs > Settings > Wireless & Networks > WiFi Settings > Menu button > Advanced

Keep this in mind

Then, open the Terminal Emulator previously installed. You need to run a few linux commands to get the change. You need to find the name of your card. To do this type this without the quotes (''):
'ip link show'

This will provide a list of a bunch of different interfaces. Find the one that has the same MAC address as the one found above. On the Incredible, it is the last one called eth0. I will use eth0 in the examples, but if it is different, then change eth0 to your own one in the following commands.

To change the MAC Address, type this without the quotes (''):
'ip link set eth0 address XX:XX:XX:XX:XX:XX'
'ip link set eth0 broadcast XX:XX:XX:XX:XX:XX'

XX:XX:XX:XX:XX:XX is the new MAC Address you want where each X is a letter A-F or number.

Finally, to check if the MAC Address has changed, type this without the quotes (''):
'ip link show eth0'

It should now show the new MAC Address. I haven't checked if it sends this MAC address to the router, but I think it will. I will update once I check it.

Doesn't work
 

Attachments

  • Screenshot_2015-09-02-19-26-57.png
    Screenshot_2015-09-02-19-26-57.png
    216.4 KB · Views: 2,125
  • Screenshot_2015-09-02-19-26-57.png
    Screenshot_2015-09-02-19-26-57.png
    216.4 KB · Views: 1,844
Upvote 0
First of all, you DO need root to spoof your MAC address, always. Idk why this tutorial says otherwise, but you need root privileges, and most likely also need your bootloader to be unlocked. It's the same reason you can't spoof your MAC on a computer unless you're under the root account (or Admin account for people who use Windows ). Once you've actually rooted your phone, you then need to install BusyBox to use certain Linux commands in the Terminal app. Like rather than typing >ip link show eth0, you would have to type >busybox ip link show eth0, instead. Just a word of warning though, to any user who successfully roots their device; Having root means you are now basically God to your phone. Make sure you know exactly what you're doing, because your phone won't try to stop you now if you try anything dangerous (for the most part). Fooling around inside the Terminal can be extremely dangerous when you're talking directly to your device.. MAKE SURE you know and understand each command you enter, because you can straight up brick the shit out of your phone by typing literally just 4 characters ('rm -fr' if you feel like nuking your system for example). So be careful and read up on Linux commands before doing anything like changing your MAC
 
  • Like
Reactions: xenus2079
Upvote 0
Hi, I rooted my wiko lenny 2 (dual sim) without problems. I can read my MAC address with :
busybox iplink show wlan0
but I cannot change the MAC address with:
busybox ifconfig wlan0 hw ether XX:XX:XX:XX:XX
I've ever 'SIOCSIFHWADDR operation not supported on transport endpoint', can you help me? thx
 
Last edited:
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones