yashsingh1/xdaforums huggingface dataset:
[Nexus S General] jonnyh1994:
Can someone help? I'm using a samsung Galaxy S2 GT I9100 running ICS 4.0.4 siyah.

I've jsut downloaded busy box and terminal emulator and followed each instruction. First tried with eth0 found out it didnt work then tried wlan0 however, now it says operation not permitted. Then I tried busybox ifconfig wlan0 down and gave me 'permission denied'.
[Nexus S General] karamelos:
Are you root?

In terminal tape:

$su
[Nexus S General] jonnyh1994:
Yep I've been rooted although I have 'SuperSU' not superuser :S
[Nexus S General] karamelos:
Tap su in terminal & busybox ifconfig ........
[Nexus S General] jonnyh1994:
ok i've done 'su' then ' 'busybox ifconfig wlan0 hw ether 00:11:22:33:44:55' and this is the next line 'app_148@android:/'

Edit: When I type in busybox iplink show wlan0 it shows new MAC :D but when I go to settings/wifi/advanced it shows old and my phones not even coming up on my network watcher anymore :S (wnetwatcher)
[Nexus S General] Jeffreycat:
So to clarify, once your Mac is spoofed you can't connect to the internet?
[Nexus S General] karamelos:
No because it's not the fake Mac allowed for this connection

Spoof Mac on the first connection
[Nexus S General] jonnyh1994:
No, I can connect but I'm not sure if I'm doing it right. When I type into busybox to show my MAC it shows new but on my network watcher it doesn't even show my phone up. So I'm not sure if it's definetly changed
[Nexus S General] Jeffreycat:
Is Network Watcher a program? What kind of router do you use? Try logging into your router and viewing attached devices (In my case, I have a Netgear WNR2000, so under the maintenance heading, I click "Attached Devices").

You can also try using another computer to 'sniff' the packets and see what the Mac is that way.
[Nexus S General] jonnyh1994:
Yes, an o2 wireless one. it says thomson

Okay thanks, I think it's changed now :)
[Nexus S General] slysurfer:
This is awsome, love spoofing my MAC.

You are a legend, I will defiantly be doing this on my NS. Now I can do wifi stuff and know I am safe. Thanks for your great work.
[Nexus S General] devgee:
The router should accept the mac address, otherwise it doesn't work!

Gesendet von meinem HTC One S mit Tapatalk 2
[Nexus S General] Jeffreycat:
Devgee, is there anything else I can try?

"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] devgee:
Try to write a valid mac address!

Gesendet von meinem HTC One S mit Tapatalk 2
[Nexus S General] karamelos:
For spoof Mac:

1 key of access point (if you are connected before spoof delete your access in router)

2 spoof your Mac adress(& environment)

3 connect
[Nexus S General] vovkav:
Is there anyone successful in doing this on Xperia Neo V ?
[Nexus S General] Demented-Idiot:
This works a treat - does anyone know of an app that wraps this? Someone the ones i have used from the market dont work. I ideally want to generate random MACs too
[Nexus S General] nonnotopo:
in my device it doesn't work. I get "device or resource busy".

how i can fix this problem?
[Nexus S General] karamelos:
Because is up ! Or wrong device

show device ex: wlan0, eth0 ......

#busybox ifconfig

Put device down

#busybox ifconfig wlan0 down

Change your mac :

#busybox ifconfig wlan0 hw ether 00:11:22:33:44:55

UP your device

#busybox ifconfig wlan0 up
[Nexus S General] androidsetting.com:
I am getting no such device....
[Nexus S General] jophil2412:
If you get no such device try to replace eth0 with wlan0. This might help.
[Nexus S General] Styrke:
Worked for my Ace s5830i Thank you

For those who get no such device turn on Wifi and type busybox ifconfig you'll get your device name and current mac address.
[Nexus S General] hanphucs:
Thank you.

I try and success.
[Nexus S General] Tom Barrister:
I realize that this is an old thread.

You have to have WiFi on at the time; otherwise, it will say that no such device exists.
[Nexus S General] olegat0r:
Can't change wifi-mac.

my wifi is wlan0 (not eth0), when I write "busybox iplink show wlan0" it shows my mac

but when I write " :busybox ifconfig wlan0 hw ether 00:11:22:33:44:55" it says "SIOCSIFHWADDR: No such device"

Pls, help me.
[Nexus S General] karamelos:
Try with ipconfig
[Nexus S General] olegat0r:
I got this:

ipconfig: applet not found
[Nexus S General] karamelos:
do you put down interface before change mac
[Nexus S General] fuqkspam:
Script?

First of all, I would like to thank everyone who has contributed to this thread.

I was able to use one of the commands listed in this thread to change the MAC in my Galaxy player 5.0.

Now for my question:

How does one create a script for these commands? I tried using the scripters in "android tuner" and "rom toolbox pro", and neither of them work. The scrip just hangs, and no change to MAC. Any ideas?

Sorry if this is off topic, but I though it was relevant to the discussion.
[Nexus S General] polobunny:
You can use script manager.

Don't forget to su yourself in the script or run the script with SU or obviously it won't work.
[Nexus S General] fuqkspam:
"You can use script manager.

Don't forget to su yourself in the script or run the script with SU or obviously it won't work. "

Nope. That didn't work either.

It must be something I'm doing wrong, but I can't figure out what. I'm entering the commands the same as I do in the terminal emulator. Works fine in the emulator, but no dice inthe script.
[Nexus S General] karamelos:
Aleatory macchanger android simple script

A minimalist example of automated and aleatory macchanger for android

#!/bin/bash
#Aleatoire mac_changer Android.
#Auth karamelos http://xdaforums.com/member.php?u=4582073 or http://karamelos.sytes.net/
liste=`busybox ifconfig | sed -n 's/[ \t] *HWaddr \([0-9A-Fa-f:]\+\).*/=\1/p'`
rndmac=`echo 00$(hexdump -n5 -e '/1 ":%02X"' /dev/random)`
interfacechoice="$?"
echo 'Liste of interface:'
echo $liste
echo 'Interfaces Choice : '
read interfacechoice
busybox ifconfig $interfacechoice down
busybox ifconfig $interfacechoice hw ether $rndmac
busybox ifconfig $interfacechoice up
echo 'Tempory Mac:' $rndmac

For go back:

interface=wlan0

busybox ifconfig wlan0 down && busybox ifconfig wlan0 up
[Nexus S General] olegat0r:
yes, still no result, still the same error. I suspect WiFix for this. Will delete it and try again.

HTC Sensation, ViperS 1.4.1.
[Nexus S General] karamelos:
Past ifconfig result
[Nexus S General] zeeshanonlyme:
Will this work on 4.1.2? Im on Omega 7. Note2
[Nexus S General] karamelos:
On note 1 it's work test my script :D
[Nexus S General] yellons:
:C

i've tried all the suggested solutions but i can't get it on my nexus 4.2.1...

terminal replies invalid hw-addr

:crying:
[Nexus S General] Rude_Dollah:
Ok, here is the problem.

Еnter in terminal next commands:

busybox ifconfig eth0 down

busybox ifconfig eth0 hw ether 00:11:22:33:44:55

busybox ifconfig eth0 up

busybox ip link eth0 (iplink with no space does not work)

After that mac changed sucsesfully. BUT! When I try connect to a router with static ip, the connection fails and the mac address resets.

Phone HTC Incredible S

Please help.
[Nexus S General] karamelos:
Tape busybox ifconfig show current Mac

Your router allowed for example 192.168.1.20 (your phone with IP fix) with the real Mac address of your device. But you want access with same IP but different Mac router say "access denied" because access is "reserved" for your real device. Try with new IP 192.168.1.21 & fake Mac
[Nexus S General] Rude_Dollah:
No, i tried other IP adress with fake Mac and no result, i got fail.
[Nexus S General] karamelos:
Delete your access & associate with fake Mac

Example 01:7E:4C:03:4E:E9
[Nexus S General] sheck626:
Galaxy S3, SGH-T999

I have the Galaxy S3 SGH-T999 with AOKP Milestone 1. I can spoof the MAC address, but then the network slows down to a crawl and a ping from my router (Netgear wndr3700 using openwrt) reports about 80% packet loss. Disabling and then re-enabling the wifi on the phone fixes the connectivity issues, but then the MAC reverts back to its factory setting. The commands I'm using on the phone:

su

busybox ifconfig wlan0 down

busybox ifconfig wlan0 hw ether 00:11:22:33:44:55 (I've tried many different ones too)

busybox ifconfig wlan0 up

The interface then comes up with the new MAC address, but the connection is extremely slow. I have no MAC address filtering or throttling enabled on my router. I decided to investigate by setting up a spare openwrt based router set to monitor mode to capture the wifi traffic between my device and my main router. What I discovered was that the old MAC address is still being used to spam the network with "request to send" packets. The spoofed mac is being used, but not all the time. Has anyone out there ever had success spoofing the MAC on this phone and actually having it work right?
[Nexus S General] sheck626:
Okay, since info on this problem is extremely hard to come by, I've investigated the driver source myself so hopefully my findings will help someone else. I'm by no means an expert kernel hacker, just someone who is relatively good at figuring out how stuff works. There appears to be a bug in the bcmdhd kernel driver where some part of the driver is sending out an RTS packet using the original MAC address (why? who knows, I don't know the 802.11 protocol). It is my belief that since the corresponding CTS packet from the router is addressed to the original (wrong) MAC address, the driver never processes it and thinks it was not received and so it tries to send another RTS packet. This continues several times until the driver gives up for about 10 seconds or so and then the process repeats. Rather than dig too deep into the code, I realized there is already code in place to allow a custom MAC setting by default (without having to use ifconfig). If you define GET_CUSTOM_MAC_ENABLE in the driver's Makefile, and enable the "example code (very simple/hardcoded MAC address)" in dhd_custom_gpio.c, then after a reboot your device will come up with the new MAC (yay!) And it works perfectly. That's the only way I've actually been able to spoof the MAC address on this device.
[Nexus S General] gilang1kb:
Tried it on my Xperia tipo dual. WLAN MAC was changed successfully but every connection was just on loading state.

UPDATE: Now it really works, I don't know why. I just follow the same procedure.
[Nexus S General] paperC:
Used this method on my Galaxy Note 2:

1. su

2. busybox iplink show

3. busybox ifconfig wlan0 hw ether "your MAC address here"

4. done, works perfectly!

By the way, the backup option in busybox is quite useful :)

Have fun
[Nexus S General] Joskezz:
Re: [GUIDE] Spoof WIFI Mac address in Android

How do you do it like you did my friend?
[Nexus S General] esellerauction:
Note II change mac address doesnt stick

I used this method but it only stayed with the new mac address for 5 minutes or so then it switched back also on reboot reverted to original Mac address. Has anyone had success to permanently change there's on Note 2 ?

I also tried the up down method with no success either.
[Nexus S General] karamelos:
Re: [GUIDE] Spoof WIFI Mac address in Android

Hi

With script & cron
[Nexus S General] tardekantaf:
please help

could you explain in details how you did? I did try searching the web on your way of doing it... However it seem the only way to make it work! Im on a sgs3 gt-9300 if you could provide us with info it will be extremely usefull
[Nexus S General] aspoi:
mac spoof

how you did it? can you make a mini tutorial? please, where can i define the GET_CUSTOM_MAC_ENABLE, Makefile? enable the dhd_custom_gpio.c? i'm still trying to learn the kernel code, but i'm not a expert, even a good user...

thanks in advance.
[Nexus S General] SamsungPisser:
Yes please share some more details how you did it. I also have the Galaxy S3. I use this App https://play.google.com/store/apps/details?id=com.wireless.macchanger&hl=de to change MAC-Adress. I can change the MAC and see that it is changed, but when I want to connect it stays at "Authentication" and then it is deactivated. I was only once successfull in changing from :0F at the end to :0E

It worked once, I saw my device in my AP with this new MAC. However no I'm now not able anymore to get a successfull connection with 0E at the end (tried 4 times). Strange thing is, that if I manually enter my correct MAC and click "Change Mac" it changes it, but I can't go back online (even going to wifi and reconnect to deactivated SSID does not help), I have to click "Set Real Mac Back" and I'm again online. Please help to change the MAC on SGS3. I have rooted and would also edit some files to make this setting permanent.
[Nexus S General] vaidhy2007:
hey guys,, i have a micromax a110.. unable to change the mac using ifconfig and ip link.. please help me
[Nexus S General] hotsync100:
[MENTION=4371079]devgee[/MENTION]: I created a very simple app using the command "devgee busybox ifconfig eth0 hw ether" using Tasker factory .. Could I post it here ?

best regards,
[Nexus S General] chipik:
Yes, that would be super. :thumbup:
[Nexus S General] devgee:
Sure bro!

May i post it then in the front page?

All credits will be given to you ;)

Gesendet von meinem HTC One S mit Tapatalk 2
[Nexus S General] hotsync100:
Here you are the app. Only Android >= 4.0

http://www.mediafire.com/?qapodo05oc1im06

It uses the command:

busybox ifconfig *eth0/wlan0* hw ether to spoof the MAC

Only tested on Galaxy S3 I9300 and Nexus7

Of course you can post it on front
[Nexus S General] jayjay3333:
Well I tried it on my N4 and seems to work according to Terminal Emulator.

busybox ifconfig wlan0

Shows the new MAC

Beats typing it all into the TE

Cheers! :D
[Nexus S General] chipik:
I use SGS i9000 with CM10.1 and I was unfortunately not working... :(
[Nexus S General] hotsync100:
It seems the app is working. 400 downloads and only two feedback
[Nexus S General] leechseed:
App says it spoofed, terminal says its not :(

Still got the "old" mac..

But thanks anyway :thumbup:

You re going to implement an update button?

Greetz

SlimBean-b5|i9100¬Tapa2
[Nexus S General] hotsync100:
does it work when you type the command on terminal ?

busybox ifconfig eth0 hw ether 00:11:22:33:44:55
[Nexus S General] chipik:
I was in a terminal emulator works.

busybox ifconfig wlan0 hw ether xx:xx:....

For me the problem is that the application changes eth0, no wlan0

I have SGS i9000 with JB 4.2.2., CM10.1
[Nexus S General] leechseed:
Yep wlan0 works fine here too;)

eth0 has no power here.. :p

Thought your app tries both?!

Greetz

SlimBean-b5|i9100¬Tapa2
[Nexus S General] hotsync100:
I'm using a simple netcfg comand to detect the interface .

I do not have a device with eth0 interface, could you post the the output of netcfg command to see if I have to change the script?
[Nexus S General] leechseed:
Yea eth0 isnt used here either.. Its also wlan0..

Well "netcfg" isnt able detect it, as you can see below its not showing which one is used :(

Maybe use "busybox ifconfig" it also shows p2p0 & wlan0..

but actually im not very into terminal so there could be a better command - which you may know;):thumbup:

Greetz

SlimBean-b5|i9100¬Tapa2
[Nexus S General] devgee:
Here you go hotsync!

Well mine has also the wlan0 interface!

Gesendet von meinem HTC One S mit Tapatalk 2
[Nexus S General] hotsync100:
New version using "busybox ifconfig -a" to detect interface.

View attachment 1962815
[Nexus S General] leechseed:
/edit

It works :thumbup::thumbup::thumbup:

Second try did it, THANKS man:)

Greetz

SlimBean-b5|i9100¬Tapa2
[Nexus S General] devgee:
[MENTION=1862273]hotsync100[/MENTION]

Should i update the post?

Gesendet von meinem HTC One S mit Tapatalk 2
[Nexus S General] hotsync100:
Yes please! :D
[Nexus S General] rajat_rohit:
i got it

hi....

im new here and i was searching how to use my college wifi and i came through your post....i tried bt it didn't work for me and i found a new app to do so which i would like to share.

first of all you should root your phone...(sure im joking,coz everybody here has root as minimum req.)

search for "changeMACAdress" in playstore and install it.

open terminal and check ur current MAC address now open the app nd enter the MAC addresss you want,press change...

ur done....
[Nexus S General] leechseed:
You tried the app?

What phone?

What android version?

Checked last posts?

This app works fine - no playstore app can compare..

+no "changeMACadress" app is there:D

Greetz

SlimBean-b5|Dorimanx9.24|i9100¬Tapa2
[Nexus S General] timelord0:
mac

hi all,

have any other problems with the "authentication error occurred" while trying to connect to a network?

My steps:

Wifi OFF

open macspoof

get curent mac

generate random

spoof

"x" symbol

and when i try to connect to my router "authentication error occurred",

Phone: Galaxy Note i717 stock ICS, root, busybox pro 1.21.0 (smart install).
[Nexus S General] hotsync100:
I'll check the random generator task.. Could you post a screenshot ?

Did you try manually writing the new mac?
[Nexus S General] timelord0:
screenshots the first you can see the error, second the router security, 3rd the mac on wla0 is changed with the fake mac(random generated), and last i'm trying to get the current mac and it displays the spoofed mac.

i just try to enter manualy 11:22:33:44:55:66 (i had tryed one from clipboard once but same results) again error. I think is the router remember the phone or the opposed?
[Nexus S General] timelord0:
I tested also my ZTE Blade GEN2,

rom: ECO-CM9-20130324-stable-blade,

kernel: 2.6.35.7-pref+jventura@laptop #1

busybox: 1.21.0 + root

the only difference here is that the mac doesn't seems to change at all, same steps as above post.

Am i doing something wrong here, can anyone post the steps that worked for him?
[Nexus S General] jcarcaso:
I'm having the same issue with authenticating. My phone seems to think that the password for my network is incorrect if I forget and attempt to reconnect to my network.

I'm using a droid razr m, and I'm using scripter to execute the following:

busybox ifconfig wlan0 down; busybox ifconfig wlan0 hw ether 03:A7:9E:AA:E2:78; busybox ifconfig wlan0 up; busybox ifconfig wlan0;

The device is rooted, and I have version 1.21.0 of busybox installed.
[Nexus S General] devgee:
The Router doesnt accept the mac address !

Try to put a genuine mac

Gesendet von meinem HTC One XL mit Tapatalk 2
[Nexus S General] jcarcaso:
It should be a valid Mac Address. I've also had this problem on my Droid using the Mac Address: 12:12:12:12:22:22

I bring this up because I did the exact same thing with my laptop with that same Mac Address (12:12:12:12:22:22) and it works fine. I think it's something with the device and how it is trying to connect to the network. It might be freaking out because the Mac Address associated with the device is different than what I'm trying to spoof it to.
[Nexus S General] devgee:
Did u update busybox ?

Gesendet von meinem HTC One XL mit Tapatalk 2
[Nexus S General] vicky05ssr:
Not working in rooted MMX A110

plzz some one help i tried a lot but its not working on my Micromax A110 its rooted running on JB ...busybox installed even updated too...:(

My problem is putup in the attached pic plz have a look at it ...say operation not supported
[Nexus S General] ShadowDrake:
Same issue here... Works fine and shows the changed mac address but once I change it I can't connect to any networks. Fails on obtaining IP address.

Evo 4g LTE. Running cm10.1
[Nexus S General] Franz Steinert:
Same. The changing process works fine, (altough manually via terminal emulator because the automatic tool doesn't seem to have any effect) and the changed mac is also shown in the system settings, but if i try to connect to a WPA2 secured accesspoint, it "authenticates" forever, while unsecured connections do work instanty.
[Nexus S General] maksymgendin:
A have tried MAC spoofing for a long time on my linux PC and came across connection problems to a WPA2 secured network with a spoofed MAC address...and then I found this bug/workaround and got it to work...you have to change the MAC address BEFORE the network manager is started in the upstart script...maybe there is a similar issue in andoid?

bugs.launchpad.net|ubuntu|+source|network-manager|+bug|787192 (I may not post outside links yet :(...use https and change the | to /)
[Nexus S General] The-Wiz:
hotsync100 Great Job!

If u can, i use my tablet and i can't scroll down so i see all text bad :good:

And if u can pls make it save last MAC i use to spoof.
[Nexus S General] Elrick:
"Fail Getting Root Acces" when i select "Get Current MAC"

Hi,

I just root my Galaxy Tab 10.1 with 4.1.2 official firmware (GT-P5110) and i try to use 1.04 version of MAC Spoof.

When i click on "Get Current MAC", it says to me "Fail Getting Root Acces"...

SuperUser is present but don't ask me nothing at this time... setup seems properly set i think, what can i do ?

Did i have a root issue ? or something to know for avoid this error message from MAC Spoof ?

Many thanks for your help.

Elrick.
[Nexus S General] Elrick:
uP

Up !
[Nexus S General] dearmyrichard:
error getting current MAC address

error getting current MAC address... after pressing Find my current Mac address..
[Nexus S General] The-Wiz:
I had same problem. Get in SuperUser app and give MAC Spoof manual root access.
[Nexus S General] hotsync100:
Sorry because I have no time to fix bugs and improve the app.

If any of you want, here you are the tasker project to fix any bug and improve it . Please give me some credit if you create a new app using this base.

http://www.mediafire.com/view/7iq6gwsu3whdim6/MAC_Spoof.prj.xml

best regards..
[Nexus S General] vickythrower:
Vicky

Hi,

I have BusyBox Non Root... am I still able to spoof the MAC address? Following the steps above, I'm getting message 'Cannot find BusyBox'.

Why would this be?

Thanks !
[Nexus S General] daleko:
not working for me, not via MAC_spoof.1.0.4 not via terminal

got rooted alwinner a31, busybox 1.21.1
[Nexus S General] remejuan:
I tried the mac apk file and I keep getting an error sayign busybox not found, same problem if I try it manually and its most certainly installed.

Tried uninstalling BB and the installer app, changed install paths from between bin and xbin, device is most certainly rooted with the latest 1.2.1 BB.

Nexus 7 droid 4.3.

Any help would be much appreciated, I read this would be a probably solution to using whatsapp on my tablet and phone simultaneously.