yashsingh1/xdaforums huggingface dataset:
[Nexus S General] mceuca:
Samsung Tab 3 SM-T210R mac address problem

Hello everybody, I have an unusual problem.

I have two identical Samsung Tab 3 SM-T210R tablets that I purchased for my 2 sons. Both are rooted and both have TWRP 2.8.7.0 custom recovery installed. At some point one of them started acting up, I'll call it T1. In spite of removing most of the applications and cleaning it up thoroughly the storage was reported almost full and even resetting to factory defaults didn't fix it. The other tablet (T2) was running smoothly so I made a backup of it and restored it onto the T1 that was acting up. Everything was good after except for one little detail. Both tablets now have the same MAC Address. I thought the MAC was a hardware address embeded into the wireless adapter and it didn't even cross my mind that applying a backup from another tablet would be able to change it. Now my kids can't use their tablets online at the same time, my router always kicks out T2 as soon as T1 is connected.

My question is how can I physically apply a different MAC Address to one of the tablets? I didn't make a backup of T1 before restoring from T2 and MAC spoofing is not permanent (they still show the same MAC when I go to Settings >About Device > Status).

Thanks in advance.
[Nexus S General] mw210461:
Anyone who can help in my unique situaton?

My device is an odd AN1 smartphone WATCH, basically a miniature Android phone with all the sensors and functions, QVGA screen, running with an MT6575 on Android 4.1.1. Kernel 3.0.15 (maybe 3.0.13, based on CPU-Z), build date in 2014.

Unfortunately it alters it MAC by itself, driving my router and me nuts.

I tried various MAC spoofing tools, they either do not work or do not even install! Eg. the "Wifi MAC changer" and the "MAC_Spoof.1.04" will not even install?! I even dropped the apk in /system/app and rebooted, it is ignored.

The device is rooted, Busybox works, terminal is running too. Typing on a 2in QVGA screen is challenging... (I use a remote desktop to enter my stuff).

I can see my MAC with the terminal command:

"busybox ifconfig wlan0"

Trying to alter the MAC with

"su busybox ifconfig wlan0 hw ether 00:08:22:AB:CD:EF" (or any other MAC address) simply returns:

"SIOCSIFADDR (Invalid argument)"

WTF??

So I am basically out of luck? Why is the device acting that strange, and changing its MAC in the first place?

When I was in the industry 20 years ago the MAC address was supposed to be fixed in hardware and frozen, for a reason! Somehow the architecture is messed up, the true MAC cannot be read by the kernel and hence is randomly chosen at runtime. Maybe this argument error IS THE ROOT cause of all evil?

I was hunting the file system for MAC related files, no luck either.

Anyone with an idea or solution? Or interest in common debugging of this bugger? Thanks a bunch!
[Nexus S General] mistergoat:
Any new on the authentication error?

Cause the ghost apk isnt working on my galaxy s5 nor the workaround by setting some .mac files to read only
[Nexus S General] sbyke:
I tried it without luck on my phone. It's a Note 4 T-mobile (SM-910T), stock 5.1.1 except for CF-Auto-Root and busybox 1.20. I tried the newest NetworkGhost release (dec 18th 2015) and it looks like it worked. But when I try to connect to my router (that allows all IPs/MAC addresses if you have the password). I get a "Authentication error occurred" when I try to connect to my router.

I've been poking around all the mentioned ways on this thread. Including editing /efs/wiki/.mac.info (there's no other file in that dir), playing with busybox, ifconfig, and svc wifi enable/disable. Unfortunately killall wpa_supplicant turns off wifi, turns on wifi, and sets the original mac address.

In all cases the mac address does change, but I can't connect to my password protected network. "forgetting" the network and reentering the password does not help.

I also use a mac address that's my original, with the last 2 digits, so I'm sure it's not an illegal address.

I did find /sys/devices/virtual/net/wlan0/address which does have my mac address in it, but is not writable, even as root (with su).

Is there anything I can send that would help? I can adblog, although ideally you'd send a filter for what you want.

I did find:

/sys/fs/selinux/class/capability2/perms/mac_admin

/sys/fs/selinux/class/capability2/perms/mac_override

I also found:

/sys/devices/virtual/net/wlan0 has phy80211 -> ../../ieee80211/phy0

In /sys/devices/virtual/net/wlan0/phy80211 there is a file called mac address but it has 00:00:00:00:00:00 in it. If I try to write a new mac address to it I get "can't create macaddress: Permission denied"

Anything else I could try? Any more information I could send that would be helpful?
[Nexus S General] sachinraina21@gmail.com:
Not Working. It shows not supported on terminal ends
[Nexus S General] primski:
does this only work for wifi interface? or also for data connection?

i need to spoof my data connection's mac .... in hope the provider will assign my device a different IP ... i suppose they do some caching on DHCP server?
[Nexus S General] lo2ay:
I get "Device or resource busy" on my Xperia pro.

I tried setting it to down first, disconnecting from wifi, nothing works.

any ideas?
[Nexus S General] Diesell33:
Hello all!

I try to change my phone mac address but i couldn't do. I blocked to the wifi, but i know the password. How can i connect the school's wifi address?! It use the WPA2 protect. Thanx the reply!
[Nexus S General] Cboye:
RAND

#!/bin/bash

echo

I="0"

while [ $I ]

do

busybox echo ifconfig wlan0 hw ether $((RANDOM%=99))":"$((RANDOM%=99))":"$((RANDOM%=99))":"$((RANDOM%=99))":"$((RANDOM%=99))":"$((RANDOM%=99))

I=$[$I] ;

done

:good:
[Nexus S General] hurlube:
Thx but this doesn't work on most MM devices. And if it does work on some, it's I believe limited to open networks but not on WPA networks. Due to interactions with the WPA supplicant thing that you need to bring down before changing the MAC. But you can only do that when disabling wifi (not working when bringing the interface down from shell). And if wifi is disabled you can't use your method.
[Nexus S General] superstarrazik:
[MENTION=1369040]Razik[/MENTION]
[Nexus S General] stefanoyoyo1995:
i can't use my mobile data connection anymore on my sony xperia z3

as you could see on the title, i'm having problems in making my web connection using data work using my sim card. i just installed MAC spoofing and busybox, and then i wrote in the terminal " :busybox iplink show eth0 " (just like this guide

http://xdaforums.com/nexus-s/general/update-18-05-13-spoof-wifi-mac-address-t1385577

said to do). If i inserted another sim card in my xperia z3 and i tried to set the data connection it'd work! (i tried with another sim and it works). Next, i tried to use the data connection on another smartphone using the same sim which doesn't allow me to use data on z3 and it works!
[Nexus S General] Alucard024:
Taking advantage of Xfinity's free hour wifi pass..

Ok, heres what I've figured out, I have used the Xfinity hot spot's free hour pass but once you use it it's gone on that device.. Well.. I got to thinking and there must be an identifier sent and .... you guessed it it's the devices Mac address. I've found out that using a specific (root dependent) app I was able to keep changing the mac address every time the free hour ran out and thus creating a perpetual free Xfinity Hot Spot hour.. LOL But the key is the app that changes the Mac address because others wouldn't do it in a fashion that changed it at just the right time BEFORE connection to Hot Spot.. I can give the app I use if anyone wants it.. Not quite sure why exactly others didn't do this effectively might have something to do with the device hardware. Hope this gets around and other people can reign in a little on Comcast's overly large infrastructure. :) The only hitch is that you have to reconnect every hour... But it works in a pinch..

Bastendorf
[Nexus S General] leechseed:
Post it please [MENTION=6398888]Alucard024[/MENTION] :)
[Nexus S General] Alucard024:
Ok not sure if im posting this right via reply but my device is a lg tribute 5 and the app I used was change my Mac version 1.4.1
[Nexus S General] kumar raja:
Did you changed the wifi MACC in one plus

Please tell me how to change Wifi Macc in one plus 3
[Nexus S General] xdamami:
Go to system/etc/firmware/wlan.open wlan. Mac. Bin change first value save change reboot done!
[Nexus S General] kumar raja:
Thank you for the answer but after rebooting the Macc was changed . I used ES FileExplorer. Please suggest me any ideas.
[Nexus S General] xdamami:
What rom?encrypted? and tell me permission of file. Set like mine.
[Nexus S General] kumar raja:
It is one plus 3 Mobile having Oxygen OS running 6.1 Marshmallow and the File Permission are rw- --- ---

and actually on every reboot the files is being writed by something so i have tried edit the file normally and i changed the permission to r-- --- --- this one next i did flight mode and the macc was changed but it's not connecting to any WIFI.

I hope you understand

Thanks for replying :)
[Nexus S General] xdamami:
Set your permission like a mine write there an correct mac Adress if you don't follow mac Adress policy u can't connect to any WiFi. In one week changing 2 times no any problems here.
[Nexus S General] kumar raja:
May I know you the Mobile that you have used for this . i have set permission like you but it is changing.

Actually What is happen here

Suppose on every reboot the script start.sh is executing and it changes the values in the wlan_mac.bin as default .

So on every reboot default File was created .

By the way thanks for mentioning the File name....
[Nexus S General] xdamami:
Yep encrypted device. Decrypt it and try again.
[Nexus S General] sangeethak:
I try to install busybox non rooted application in my andriod mobile. It gives the error message something went wrong with busy box. Install again .please help to solve this issue.
[Nexus S General] xdamami:
Non rooted Android = IOS.
[Nexus S General] rockersharp:
Please help me here: How did you edit the .bin file? I tried hex editor but too complex. Please guide me here.
[Nexus S General] xdamami:
Root explorer can do it.

My mistake. I sale my device. U can edit bin file via root explorer.
[Nexus S General] rockersharp:
My problem has been locating the MAC address in the .bin file. I'm trying to edit the MAC on my friend's phone, he is currently running Nougat 7.1.2.

How did you figure which fields to edit in the .bin file?
[Nexus S General] xdamami:
Send me Screenshot inside of bin file.

SM-A9100 cihazımdan Tapatalk kullanılarak gönderildi
[Nexus S General] graziano88:
Samsung S8

Can i change my mac on Samsung S8?
[Nexus S General] Pbottcher:
I get the following error when trying to spoof the MAC address:

I googled on it, but unfortunately couldn't find a solution...
[Nexus S General] kumar raja:
Which Mobile You are using and mac address changed or not ??

https://www.youtube.com/watch?v=-DT2qbWn24A

Check this video
[Nexus S General] Pbottcher:
Fixed it. It didn't work in any way with the terminal emulator. However, I installed an app called ChameleMAC, which does the job.

However, a new problem exists now. I want to have whatsapp on two phones with a spoofed mac. When I try to do this on one phone, the whatsapp on the other phone gets blocked/needs to be verified again. So it goes into a loop, and its only possible to read whatsapp messages on one phone.

I checked in Terminal Emulator, it says my MAC address changed. So how is it possible it does not work?
[Nexus S General] ThinYoungman:
I seem to get the same problem, I have HTC Desire 816G and I am running paranoid android 6.0.1... I also installed busybox and granted root access in terminal before the procedure...

Pls help?!
[Nexus S General] Migrou:
I guess this is still the case as it just happened to me.

I tried with putting down the data but somehow the spoofed account still recognizes there is a second phone "on the line" with a different cell number.

Any chance someone found a way to avoid this?
[Nexus S General] JackyGundam:
still can't. It says wifi pw incorrect.
[Nexus S General] John_83:
This doesn't work on my rooted Nextbook Ares 8" tablet, NXA8QC116.

Device specifics: Model NXA8QC116S, Android Version : 5.1.1, Build # : V3.0.?

Rooted with the binary "Nextbook Ares 8 Stock 5.1.1 Rom modified boot.img" from a forum thread here.

I used the latest release of BusyBox (installer version 60).

u0_xxx@NXA8QC116:/ $: su

root@NXA8QC116:/ #: busybox iplink show wlan0

[reports the MAC address]

root@NXA8QC116:/ #: busybox ifconfig wlan0 hw ether fa:8e:f0:f2:14:27

root@NXA8QC116:/ #: busybox iplink show wlan0

[reports the original, unchanged MAC address]

No errors are reported, however the command isn't actually doing anything - or some process is immediately resetting it.

I tried this with the Wifi on and off.
[Nexus S General] John_83:
Method for Nextbook Ares 8 (solved) - maybe others

I finally figured out how to change the MAC on my rooted Nextbook Ares 8, NXA8QC116.

There's a text file, max.txt, in /config/wifi, which contains the MAC address.

Changing this value, and then enabling the wifi adapter results in a new MAC address. This survives a reboot.

The standard methods DON'T work on this device:

busybox ifconfig wlan0 hw ether fa:8e:f0:f2:14:27

busybox ip link set wlan0 fa:8e:f0:f2:14:27
[Nexus S General] sakkibbb:
Did u got the solution?

Did u got the solution?
[Nexus S General] Lion lohar:
Can anyone help me to hack the whatsapp account..
[Nexus S General] joelstitch:
Im trying this on a Samsung Galaxy Tab 7.0 and is not working. Once I change the mac address it doesnt let me connect to any wireless network so I have to turn wifi off and on and once I do that the Mac address goes back to the original.
[Nexus S General] devgee:
Well it doesn't work with every device, but why don't you try to remove the wlan connection including the password and set it up again?
[Nexus S General] devgee:
Try to install the latest busy box!
[Nexus S General] NiGHTsC:
Any other solution to work with WPA password protected router?
[Nexus S General] SHOCKER805:
Deleted because i dont pay attention to what section im in. Sorry.
[Nexus S General] Gourcuff:
I tried it but I failed.

After I type in the first code,it says:"iplink:applet not found",and after I type in the second code,it is"ifconfig:applet not found".

I'm sure I've already installed the latest busybox,what causes the problem??

Please help me and sorry for my bad english...
[Nexus S General] reevus77:
That is not the best way to do it. You are missing the ifconfig <device> up and down commands.

busybox ifconfig //determine device usually eth0

busybox ifconfig eth0 down //shuts down eth0

busybox ifconfig eth0 hw ether 00:00:00:00:00:00 //sets eth0's mac to 00...

busybox ifconfig eth0 up //turn eth0 back on

busybox ifconfig //check to see if eth0 is set to new mac
[Nexus S General] strifej:
*Update*

This worked for me:

busybox iplink set eth0 address XX:XX:XX:XX:XX:XX

Mac changes, but can't connect to a WPA2 password protected router as others. Oh wells..

*End update*

Neither the OP's nor your instructions worked for me on my Galaxy Vibrant. Any info I can provide to get some further help?

I disconnected from my router and disabled/enabled wifi before running your commands. ifconfig still shows eth0 as my hardware mac address.

Thanks
[Nexus S General] devgee:
Well every phone has different wlan adapters!!!
[Nexus S General] chrisgtl:
This gives me an idea - I wonder if 'Sky Go' works by registering and limiting two different MAC's?

Might try change my phone MAC to my Sky go MAC and see if both will connect.

Remember guys - always write down the phones original MAC before changing ;)
[Nexus S General] timofteandrei:
Thanks!

Works like a charm on LG Optimus One P500! In my faculty, there are 3 wireless routers without any password or encryption but i think there is someone that is banning everybody's MAC (or the MACs of those who's using the wireless connection alot, like me :p) and i've found this thread about MAC spoofing and i've runned the codes in my O1 terminal and it's working :D Today i had to change my MAC few times :) first was 00:11:22:33:44:55 then 00:22:11:33:55:44 then 00:22:33:11:44:55 and so one :D oh and use "wlan0" instead of "eth0" for Optimus One. Thanks alot guys! XDA Rullz!
[Nexus S General] devgee:
Try to delete the router data including password and try it again and

Good luck
[Nexus S General] guitaristjoel:
I get an error whenever I try to do it. It says "ifconfig: SIOCSIFHWADDR: operation not supported". What does this mean?
[Nexus S General] devgee:
Try to update your busy box!
[Nexus S General] guitaristjoel:
I did update it but then it just gave me the same error. Could it be a hardware issue?
[Nexus S General] darkmystel:
is this just for nexus s? :O :( i'm not even finding an eth0 in my list and they ain't even making any sense :( the closest i see is usb0

n i'm using a lg o2x with miui 2.3.9
[Nexus S General] devgee:
Try to update your busybox!
[Nexus S General] Zoli1972:
Hi,

There is also no eth0 on my Motorola Milestone 2 (European Droid 2). But i figured out, that there is a tiwlan0 instead. BUT. when I try to change my mac address using the method mentioned here I have the same issue as guitaristjoel mentioned:

Besides, the synthax

is not working for me, only

without ":" does. Additionally I can't type

instead of that I have to type

My Busybox sould be up-to-date, because I've just downloaded it from Google Play.

Any suggestions?

Zoli
[Nexus S General] Harbb:
You aren't meant to type in the colons ( : ) before any of the commands, just the commands themselves. It may be giving you an error because it is not connected since wifi doesn't actually stay on for any known time unless it has a reason to (it just scans every so often). You may also have typed in an invalid MAC address.
[Nexus S General] detto:
Hello,

For me that guide doesn t work, can anyone help me,

I ve htc desire hd rooted with Android revolution rom.

Thanks
[Nexus S General] NicholasQ:
Yea this guide doesn't work for me neither. I can't ipconfig.
[Nexus S General] MrNago:
Are you sure you have BusyBox installed?
[Nexus S General] NicholasQ:
Yes I have it installed from the newest version from stericson. I noticed that there isn't an ipconfig option in busy box.
[Nexus S General] karamelos:
ifconfig

Hi,

ipconfig not running in all device but try

ifconfig

exemple:

busybox ifconfig | grep " $"

the return done hwadress & interfaces.

For list of command

busybox --list
[Nexus S General] DeathW1SH:
I have to use wlan0 as my interface which found my adapter and the mac address.

HTC AMAZE 4G T-Mo

replaced the eth0 with wlan0 and the codes worked.
[Nexus S General] gsxr2001:
Thanks for You! This is the only way to work!!!! (wlan0 for me)
[Nexus S General] jpservices01:
Hi:

Thanks to reevus77. Yet it still does not work on the Galaxy Tab GT-P1000.

With Gingerbread stock, rooted and with latest stericson busybox I did the following:

Go to wifi settings and forget the wifi I want to connect to

The in terminal did:

su

busybox ifconfig eth0 down

busybox ifconfig eth0 hw ether 00:00:00:00:00:00 //with a mac address taken from an other device than has been off for ages

busybox ifconfig eth0 up

busybox ifconfig //id did return the set address

Then go to wifi settings and try to reconnect to the forgotten wifi with the proper WPA key.

It does connect but fail in the Authentication.

So far I could not find any way of getting this to work on the Galaxy Tab. Any idea?

Thanks for any hints
[Nexus S General] jpservices01:
For a GT-P1000 I edited file /efs/imei/.nvmac.info (open in text editor)

then reboot. Then wait for a full reboot and turn off and back on wifi. It worked for me and it is permanent unlike the aproaches discussed earlier. For other devices there is a similar file but that is probably located and named differently. You migth want to look for *nvram*.

Thanks to dseo80.
[Nexus S General] blackstallion1234:
No ifconfig entry in busybox?

Hello, I have a SE LWW WT19i with CM7 installed and an unlocked bootloader(if that's relevant).

Entering

busybox

in the terminal tells me that I have v1.19.4-cm7 static installed. However,in the list of commands that follows, I cannot see

ifconfig

at all! So, entering

busybox ifconfig

gives me an error: ifconfig: applet not found.

Am I missing something here? Any pointers?

.
[Nexus S General] ignito-nexus:
Thanks!
[Nexus S General] karamelos:
Try $busybox ipconfig
[Nexus S General] blackstallion1234:
Great!

:good:Works now. Was an issue with the version of busybox. Thanks!
[Nexus S General] TheBiles:
Worked perfectly on my Galaxy S3 last week. I'd just have to re-assign the spoof address every time I turned off my wifi.
[Nexus S General] Jeffreycat:
I have had partial success with this. I am using the Epic 4G Touch (Sprints Galaxy S2) with the latest CM9 Nightly. I have the latest busy box. I use "busybox ifconfig wlan0 hw ether 00:11:22:33:44:55" and then it successfully spoofs my Mac.

However, it disconnects me from my WPA2 Wi-Fi. I have tried turning Wi-Fi off and back on, and that resets the Mac to normal. I have tried reconnecting, and I get "authentication problem". I tried deleting the Wi-Fi login data and readding it, same problem. Is there anything else I can try?

I tried looking for a file to manually edit in my root directory, but nothing seems to work there either.... under the /efs/wifi directory I found a mac.info; I edited it and saved it and rebooted and toggled Wi-Fi to no avail. What else could I try? I already have backtrack 5 working on my phone btw.
[Nexus S General] tonyjoseph456:
Not working

I have tried the above steps.

When I reach this step ":busybox ifconfig eth0 hw ether 00:11:22:33:44:55" and enter this into terminal, a warning message displays as "ifconfig: SI0CSIFHWADDR: Operation not supported" What is the possible reason for this error?? Can u please fix this out..Help...
[Nexus S General] karamelos:
Try with "busybox ipconfig" :)
[Nexus S General] Jeffreycat:
Does anyone have any advice?
[Nexus S General] karamelos:
Have you a mac filter or association mod on 'your' router or box?
[Nexus S General] Jeffreycat:
My friends router has stock linksys firmware on it. Mac address filtering is turned off, and what do you mean by association mod?
[Nexus S General] karamelos:
Same result of filtration Mac
[Nexus S General] Jeffreycat:
I have had partial success with this. I am using the Epic 4G Touch (Sprints Galaxy S2) with the latest CM9 Nightly. I have the latest busy box. I use "busybox ifconfig wlan0 hw ether 00:11:22:33:44:55" and then it successfully spoofs my Mac.

However, it disconnects me from my WPA2 Wi-Fi. I have tried turning Wi-Fi off and back on, and that resets the Mac to normal. I have tried reconnecting, and I get "authentication problem". I tried deleting the Wi-Fi login data and readding it, same problem. Is there anything else I can try?

I tried looking for a file to manually edit in my root directory, but nothing seems to work there either.... under the /efs/wifi directory I found a mac.info; I edited it and saved it and rebooted and toggled Wi-Fi to no avail. What else could I try? I already have backtrack 5 working on my phone btw.

No, there isn't any kind of mac filtering in place. Any other ideas?
[Nexus S General] charlie95113:
What are the benefits of this
[Nexus S General] karamelos:
Example: public hotspot you spoof Mac but just that (environment not spoofed with that ), it's one parts of privacy!!!

---------- Post added at 11:01 PM ---------- Previous post was at 10:57 PM ----------

What's is your Mac address when you connect first time ? Retrieve it !

Access is allowed with Mac address & key
[Nexus S General] Jeffreycat:
I think you misunderstood me.... I'm trying to spoof my Mac Address and connect to the internet. If I toggle my Wi-Fi, then it resets my Mac Address to its default.
[Nexus S General] lauvassirds:
for me it says

HTC Desire S

Fallout 4.4.
[Nexus S General] karamelos:
Try $busybox ifconfig or $busybox ipconfig

wlan0 appeared no
[Nexus S General] Jeffreycat:
Use: "busybox ifconfig wlan0" no quotes