yashsingh1/xdaforums huggingface dataset:
[Nexus S General] abgder:
hyep...

im facing applet not found after i enter

busybox iplink show wlan0/eth0

and cant even see my mac address..

via xsola cm11
[Nexus S General] kriszty:
Still no solution for changing the Mac Address ? , on android 4.3 i could change, but now on 4.4 it does not work for me anymore

i know it can works, cause a program like Pry_fi does change the Mac address, but it,s random , i want it manually
[Nexus S General] manishmanshu:
wifi mac address chinging by itself

hey my phone runs on android 4.2.2 and my problem is the wi-fi mac address. the wi-fi mac address keeps on changing by itself on every reboot/or switching on/off the wifi. do you have any solution?
[Nexus S General] syntaxx233:
I can't change the mac address of my s3 mini

Good day Sir,

Please help i can't change the mac address of my s3 mini>>> no such device detected by terminal emulator

Please help and advice what will gonna do

i'm a newbie here

thanks,
[Nexus S General] 911nimo:
Just found a solution to the authentication error problem by accident while i was messing around... ( at least it works for me on n7000 with a custom TW XXLT4 ROM and speedmod kernel)

for the TL; DR go the end of the post :)

I was trying different methods to spoof my mac successfully and hopefully permanently but all different methods either didnt work at all or worked but with the auth error... I was trying the method based on changing the mac address in the file where android stores the mac (either using adb or a root explorer) and restarting

that file in my case it's at /efs/wifi/.mac.info

but it always resets to the original ,

so i tried to make it read only ( r--r--r-- ) but also didn't work (even while the file shows the mac that i entered)

then while messing around with ES File Explorer search i found another at

/data/.mac.info

tried changing both files and making them read only but still it didn't work at all... then i started trying different apps again and suddenly while trying MAC Spoofer (Changer) changed the mac and successfully connected( it did work in the past but wont connect due to auth error)

at first i didn't know how it worked but then I reversed all the changed i made for the other methods but after that I got the auth error again...

so, i started to make the changes back one by one and I found out that it works when .mac.info files are set to read only...

with that taken care of... I started trying hotsync's app because I wanted the random mac generator but i found that v1.06 and v1.05 didnt work but v1.04 works perfectly for me.... so that's that !

Now it would be perfect to automatically get a random mac every time wifi is disabled/enabled.... any Ideas?

TL; DR

a possible solution to the authentication error problem is to make the files where android stores the mac (in my case /efs/wifi/.mac.info and /data/.mac.info) READ ONLY ( r--r--r-- ) ... I don't know why but it works for me

NB: other possible files for different devices include .macaddr and .nvmac.info (use a root explorer eg. ES File Explorer to search your phone for any filename containing "mac")

Let me know if it works for you!
[Nexus S General] snowsunil:
Bros the MAC Spoofer app is not working in My Micromax Canvas A110...Its a Mediatek 6577 device... App getting Root access, busy box access and getting Current MAC address.... After clicking Get Random Address and Apply Spoof, it's showing address changed successfully... But if I check in TE it showing my original MAC... Any help pls...
[Nexus S General] gaurzii:
busybox and terminal app?

i didnt get wer to download the busybox and terminal app?
[Nexus S General] dhayani_sanu@yahoo.com:
not working in my Samsung grand quatro

not working in my Samsung grand quatro:eek::eek::eek::crying::crying:

---------- Post added at 01:16 PM ---------- Previous post was at 01:08 PM ----------

i have a same problems
[Nexus S General] kaanklky:
Hey guys, I can change my mac address but I can't connect any AP after I change mac address.

But I can help you about some problems.

First of all, you must enable wi-fi of your device from settings, else terminal says "... device not found". After that, be su on terminal and "busybox ifconfig eth0". Terminal will show you mac address and other specs about eth0 interface, if it can't find device try "busybox ifconfig wlan0".

If you find your wireless device's interface name:

# busybox ifconfig <your_interface_name> down
# busybox ifconfig <your_interface_name> hw ether XX:XX:XX:XX:XX:XX
# busybox ifconfig <your_interface_name> up

These will shutdown your interface for usage, give mac and up interface for usage again.

After that, you can control your mac address via "busybox ifconfig <your_interface_name> | grep HWaddr".

I changed my mac with this method but I can't connect any AP after this.
[Nexus S General] ninostar:
I've used some other phone that I could root and I made everything by instructions... sadly this doesn't work! When I get verification code and verify spying phone, the first one needs to get re-verified again and after that I need to verify spying phone - this keeps repeating.

I think this info is outdated as I've rooted the phone, installed both apps and lastly also installed / verified WhatsApp... but verification requests keep coming up on first or second phone.
[Nexus S General] hu_ciao:
Non-critical update for ranMAC_v01.sh (mac address spoof/randomizer script)

If still unable to connect Samsung JB wifi may not be working. Try a wifi manager from the app store. I hear Kostya Vasilyev's works.

Here is a small update for the scripts. One cosmetic change and one small function improvement.

Modifies the message displayed when using "-r" spoof mode and improves the CLI menu.

Changes which path is commented out in ask.sh and should use /mnt/shell/emulated/0/ranmac.

Decompress and update from the ranmac directory:

bzip2 -d ../Download/patch.sh.bz2

busybox /bin/sh ../Download/patch.sh

Originals are backed up to ranMAC_v01.sh.old and ask.sh.old so you can easily undo patch.

For peace of mind the md5 sums are provided.

Enjoy!

3e345af4fbca8536389c5a612f681f45 patch.sh.bz2

56742a8f53c213afe7ed1e7d09bdc968 ranmac.tar.bz2
[Nexus S General] hu_ciao:
root before spoof, ready before root

Yes, things keep changing. What as easy is made difficult. More locked down, more sand-boxed. It's not a conspiracy, that's just how providers see their best interests.

Still, you can succeed, eventually. I am no expert here, but can maybe help today. Read up and think before you act.

http://books.google.ca/books/about/XDA_Developers_Android_Hacker_s_Toolkit.html

Many are more qualified to advise, but here's a quick outline. To root your device try ClockWorkMod recovery (CWM).

0. Backup your data and apps off phone and read better instructions.

http://xdaforums.com/wiki/ClockworkMod_Recovery

http://xdaforums.com/wiki/Samsung_Galaxy_S

1. Download the zip to phone.

Download rooted "ROM" of your choice (saves losing root and rerooting).

2. Set developer options.

http://xdaforums.com/showthread.php?t=1989777

3. Go to recovery mode button combination or CLI:

reboot recovery

http://www.xda-developers.com/tag/recovery/

http://xdaforums.com/wiki/Recovery

4. Install CWM from zip.

Wipe contents of sdcard.

Recover to new ROM. Install su, busybox, terminal, backup app, etc as you like.

Reinstall apps and data.

http://xda-university.com/as-a-developer/porting-clockworkmod-recovery-to-a-new-device

You should be golden.

Keep a cool head and keep at it ninostar! You'll get there :)
[Nexus S General] edward423:
help!

Hi guys, I can't change my mac address by typing busybox ifconfig eth0 hw ether (with my wanted mac address) or even check my mac address by typing busybox iplink show eth0. It only shows ifconfig: applet not found

Have busybox installed

What can I do? Please help!!
[Nexus S General] hu_ciao:
Tips

A couple of things spring to mind.

Did you bring the interface down and then back up, as kaanklky and other posters wrote?

busybox ifconfig eth0 down

busybox ifconfig eth0 hw ether (address)

busybox ifconfig eth0 up

These require rooted device and su (superuser) installed.

Run terminal emulator and type su command. Command prompt should turn to hashmark (#).

The next command is android, not busybox:

[ edit: Android version gives same results as busybox - no advantage or need for busybox. ]

ip link show eth0

Note the spaces differ from your example. This does not require root access (su).

All good!

ps.

Busybox is an app performing "light" versions of standard linux functions.

Some commands in android work differently in busybox.

Comapare out put or help for ifconfig, mv, etc.
[Nexus S General] ZUNZARA:
Mac change dont work

Hello everyone !

I have problem with my asus tf300t. Device is rooted and all works perfectly except terminal when i enter

su

busybox ifconfig it show me

lo and wlan0

when i enter

busybox ifconfig wlan0 down nothing happens

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

busybox ifconfig wlan0 up nothing happens

busybox ifconfig show me same MAC address. I tried software but didnt work. It shows green like it is done but MAC is same.

ROM: cyanogenmod 4.4 (kitkat)

Thank You!
[Nexus S General] hu_ciao:
MAC spoof version

Hello ZUNZARA, maybe I can help.

You have busybox, the terminal # command prompt (su) and a rooted device. Good so far.

There are several versions of code which might work for you. If ifconfig doesn't work try try the ip commands.

Do this from su 'terminal' session:

busybox ip link show eth0

busybox ip set eth0 down

busybox ip set eth0 address 00:12:34:56:78:9a

busybox ip set eth0 up

OR with 'dev':

busybox ip link show dev eth0

busybox ip link set dev eth0 down

busybox ip link set dev eth0 address 00:12:34:56:78:9a

busybox ip link set dev eth0 up

Try with and without busybox to try all versions of commands at your disposal.

==================

ih8legal has a tip about making the system forget connecting to network before spoofing:

http://xdaforums.com/showthread.php?t=2286440

More asus tf300t discussions here:

http://xdaforums.com/showthread.php?t=2701712

Best wishes!
[Nexus S General] hu_ciao:
Scripts spoof MAC address

Cool!

Did you think of posting it on the Gscript scripts list?

That would make it a lot easier to run; more android-style.

I posted mine there, have look: http://xdaforums.com/showpost.php?p=51744944

( I post link to avoid cross-posting.)

Uses a different approach, making use of valid OUIs and unicast format for addresses.

Have fun!
[Nexus S General] Rotweiler:
Hello I have tried all above(yes 23 pages) and none of them worked for me to prevent getting the error:

SIOCSIFHWADDR: Operation not supported.

Here is what I have tried:

- Tried different version of busybox.

- ALL su permission are up

- Tried all market applications

- Tried to locate my MAC address file from system but was unable to find it.

- I'm all good with other commands except the final step which we apply

- Forgotten the connected wireless but the adapter is still open.

ANy ideas? As far as I read it is due to driver not allowing this operation. Any idea how to enable it?

My phone is xperia x10i

Thank you!
[Nexus S General] :
Tried all provided solutions.

MAC is updated, I can view the updated value using netcfg, by example.

But after update the MAC, I can't connect with any AP, even if I execute down/up operations before and after the MAC update.

(after update the MAC the only way to connect with a Wifi AP is activate/deactivate the airplane mode or reboot the device).

Noticed that "ip link show dev wlan0" is showing a strange "no-carrier" string that is not shown when i use stock MAC

Before

26: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT qlen 100
link/ether 98:d6:f7:67:15:77 brd ff:ff:ff:ff:ff:ff

After

26: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DORMANT qlen 100
link/ether 00:12:34:56:78:9b brd ff:ff:ff:ff:ff:ff

I have confirmed the MAC update also via the netcfg command, but android settings -> about -> state shows old MAC address.

I have revised my router logs and surprise... after update the MAC address, the router is receiving requests with the stock MAC address.

Can this possible?

Are the MAC address changed for the kernel but not in the wifi connection layer? this as any sense?

EDIT

Tried also with a S2 with Android 4.0.3 and same result :(
[Nexus S General] chackloo9633:
:su : not Found

Sir, I have tried a lot but as soon as i Type :su and hit enter,,, it says Su not found...

and hence I cannot go ahead... Kindly help me how to go further... I want to change my MAC address.

Thanks
[Nexus S General] :
Sir, have you rooted your device?
[Nexus S General] chackloo9633:
Yes Sir I have rooted my Mobile having Android 4.1.2 and BusyBox is also installed in the Mobile. Kindly help.
[Nexus S General] :
A simple question...

Are you typing ":su" in the terminal or "su" ?

If you are typing ":su" (the "su" command prefixed with a colon), try to remove the colon...
[Nexus S General] chackloo9633:
Thank you so much for your very fast reply and kind help. I am sorry to say that nothing happen. I have tried both the way.

I have tried

busybox ip link show wlan0 that replys

BusyBox v1.22.1-stericson (2014-01-25 17:27:18 CET) multi-call binary.

usage ip [OPTION] {address I route I tunnel I rule} {COMMAND}

ip [OPTION] OBJECT {COMMAND}

where OBJECT := {address I route I tunnel I rule}

OPTION := { -f[amily] { inet I inet6 I link } I -o[neline] }

I do not understand what to do with this command.
[Nexus S General] Ibrahim Muneer:
Wi-Fi

Thanks for guide bro, But I have a question for you, Will this method works if I am using different Wi-Fi than the Victim's Wi-Fi ? because when I tried this method the target phone's whatsapp come up with an error from whatsapp that whatsapp cannot be used on two divices at the same time and it asked for reverify. another problem is that when I spoofed my mac address my Wi-Fi doesn't work correctly and it was unresponsive so I need to know two things

1: what if I am using different Wi-Fi than the target phone ? can I use this method for a target phone which is not in my city but in another city and using different Wi-Fi ?

2: Why do my Wi-Fi gets unresponsive after changing mac address ?

Thanks
[Nexus S General] :
same for me
[Nexus S General] dex4ever:
same here too
[Nexus S General] tamuin:
On many Samsungs you can change the mac by editing a file

On many Samsung devices you can change the mac by editing a file, see this post:

http://forum.sdx-developers.com/viewtopic.php?f=113&t=17990

On my Note 10.1 2014 I found the .mac.info file is in the /efs/wifi directory.

In this directory there is another file (.mac.cob) that is identical, not to sure what cob stands for, but I found that if you edit the file (or write a script to modify the file) then reboot you will see that the mac address changes to the address in the .mac.info and .mac.cob file
[Nexus S General] foo9001:
stuck on authenticating & RTS bug

If you succesfully changed your mac to appear in ip link output but you have problems connecting to secure networks, try running killall wpa_supplicant after.

Android will automatically restart the WPA helper daemon and it will pick up the new mac address, for me it fixes the authentication issue (CM10.1 on GT-I9001).

Unfortunately I suffer from the same problem as sheck626 outlined here: http://xdaforums.com/showpost.php?p=35663617&postcount=112.

After the change, connection is very unstable, some packets get through but the phone sends a whole bunch of Request-To-Send with the original mac, and I see the AP respond with DeAuthentication: Class 3 frame received from nonassociated station.
[Nexus S General] sanpumta:
not working

terminal emulator not workng in Micromax bolt a47 to spoof. help pliz???
[Nexus S General] akki_hearts:
it shows error

Hi all,

i am living in hostle.Before there is wifi connection which they us allow to use by proxy in mobile devices.But now they not allow to use wifi on mobile cause they only provide wifi for laptop by registering their MAC adress.Now m using wifi by connectify wifi hotspot software on my laptop.But i want to use that wifi directly on my mobile phone.My one of frnd can directly use wifi on his samsung device by changing MAC adress in system.But there is no option on my micromax canvas hd a116 device.i also used MAC changer software in my phone but nothing happen.My device also rooted pls help me thank u all..............

it shows error when i try to set up my mac adress into it . i am using micromax canvas hd rooted jellybean (but i flashed colosus rom ,note 3 based ) please help
[Nexus S General] nps02:
spoof MAC address on Galaxy young

it does not work on the galaxy GT-5360. First i thought it was because of busy box, then i downloaded the latest, but i still got iplink: applet not found.

how do i spoof mac add on galaxy young?
[Nexus S General] Kingzela:
Mac Spoof OnePlus One

Anyone know any solution for the "authenticate error" after spoof MAC address on OnePlus One?
[Nexus S General] pyroxhu:
I have huawei u8500, spoofed mac, and i can't connect to a passworded wifi, but i can connect to a free wifi. What is the problem? Can anyone help me?
[Nexus S General] puneet_cool:
MAC Address not change

my phone is micromax canvas hd .... i wrote the command in teminal emulator .... if config wlan0 hw ehter ##:##:##:##:##:## nd press enter than it show ">" what i hve to do now ....

plz reply
[Nexus S General] saau:
I had the same error, busybox not being able to set the mac address.

nvram.txt nowhere to be found either...

Just figured out that the nvram for my device, a lenovo P780 can be accessed through /data/nvram, more specifically the mac address are the six bytes, starting at address 4 of /data/nvram/APCFG/APRDEB/WIFI.

I just modified the lowest byte and it works, once again access to the aps I was blacklisted on ; )

The mac address is back to original when rebooting the phone...

Hope this helps someone!
[Nexus S General] _Sp4Rx_:
In Redmi 1s the Mac is changed by using this command but I'm unable to connect to the network not even my home network.

Don't know what is wrong . Please help me :crying:
[Nexus S General] nnnaik92:
lenovo a6000

any idea how i can change mac address of lenovo a6000
[Nexus S General] xdamami:
Install Bussybox on your phone than mac changer than create random mac adress.

SM-G900F cihazımdan gönderildi
[Nexus S General] nnnaik92:
i tired doing that , it gets change but when changed i get authentication problem , plz help
[Nexus S General] Locklear308:
Man this is great haha

How does one return it to normal? Reboot?
[Nexus S General] sdmoo:
I too had issues connecting to WPA-secured networks after changing my mac address. Assuming your interface is wlan0 (and not eth0), you could try the app I wrote at https://github.com/moosd/NetworkGhost/releases - it fixes the authentication problem for me
[Nexus S General] nnnaik92:
not working bro ,can u help me , i am getting authentication problem
[Nexus S General] varunch:
What method did u use?
[Nexus S General] theonlyanil:
Didn't work for me :/
[Nexus S General] Ramanathan006:
Hi i want hack whatsapp in samewifi
[Nexus S General] Prhwin:
Revert to your original mac or try similar ones.
[Nexus S General] abhigyan91:
On a Moto E, these commands never work.

Has anyone spoofed the mac of a Moto E(Condor) - I have tried all of the following:

netcfg | head -1
svc wifi disable
busybox sleep 0.5
svc wifi enable
busybox sleep 0.5
***busybox ip link set wlan0 address XX:XX:XX:XX:XX:XX
netcfg | head -1

*** used several types of commands:

ifconfig cmds

ip link set cmds

Note that it seems as if the MAC is changed successfully, but its not able to connect to a secured or unsecured WiFi.

My phone connects using wifi gn radio - not sure how to force it to use b radio.

Anyone with any success?
[Nexus S General] xdamami:
Use this https://play.google.com/store/apps/details?id=com.wireless.macchanger

Install Bussybox than open mac changer app and generate random mac press hard or simple change button. Enjoy
[Nexus S General] abhigyan91:
Nope - still not working for Moto E Condor

Nope - same problem. It says mac changed successfully - and I can confirm by the adb shell commands - but again its not able to connect to the wifi.

This APP in the backend uses the same ip link set commands. Checked using logcat.
[Nexus S General] Rubayat Ahmed:
In the second step when I typed "busybox ifconfig hw ether XX:XX:XX:XX:XX:XX" it says "no such device"

Somebody please help me. I want to spoof it.
[Nexus S General] boosting1bar:
You didn't include the adapter you want to change. It should be "busybox ifconfig eth0 hw ether xx:xx:xx:xx:xx:xx"
[Nexus S General] dllud:
Secure network authentication + Updating ranmac

Working like a charm with Replicant 4.2 (CM 10.1.3) on GT-I9100. Thanks for sharing!

[MENTION=5772753]hu_ciao[/MENTION] You should add "killall wpa_supplicant" to your nice scripts. The following works for me:

echo "ifconfig wlan0 down"
busybox ifconfig wlan0 down && \
echo "ifconfig wlan0 hw ether $rMAC"
busybox ifconfig wlan0 hw ether "$rMAC" && \
echo "killall wpa_supplicant"
killall wpa_supplicant && \
echo "ifconfig wlan0 up"
busybox ifconfig wlan0 up
[Nexus S General] :
Trying this in CM-12.1 and it works fine to change the MAC address, but after the end of the process, the kernel (?) disables and reenables the wifi and the original MAC is reverted back when wifi is enabled again :(

EDIT: It occurs a seconds after "killall wpa_supplicant" (and the "busybox ifconfig wlan0 up" is really don't needed, due to is executed when system reenables wifi).
[Nexus S General] shagungarg:
sir i am trying it with htc desire 620g and its not workinfg , i tried evrything possible but all fails ..

is there any android requirement (means lolipop n highe) ?
[Nexus S General] utsavrajsharma:
Did you found the solution?

Did you find any solution? I am also unable to change mac address of my moto e.

---------- Post added at 11:54 AM ---------- Previous post was at 11:04 AM ----------

Hi, I'm using Temasek ROM based on cyanogenmod 12.1 and was able to set my mac address by writing new mac address to /sys/devices/fb000000.qcom,wcnss-wlan/wcnss_mac_addr

What I did was go to root directory and search for keyword mac. Then editing the files that looked like could have mac address. I know not a very elegant solution but worked for me on very first attempt. :p
[Nexus S General] finecan20:
After doing our work how to restore our original MAX address
[Nexus S General] anilgr:
I have changed my mac address by using mac address ghost application

but when I connect to wifi it is unable to obtain the IP address ...

if I set static IP then it will connect to the network it won't receive the packets...

whats wrong with this ....

using Samsung galaxy y duos lite android 2.3.6
[Nexus S General] sdmoo:
Sounds like an issue with wpa_supplicant using the old mac address. I've made some headway into fixing this (requires some /system changes that the app takes care of) but some testing on other phones would be appreciated - try the app at

https://github.com/moosd/NetworkGhost/releases
[Nexus S General] spigotbp:
Unfortunately the latest version isn't working on my Nexus 5. I can make the change via terminal, but there must be some issue with WiFi still because I'm not able to connect once I change it. The app gives me an error and says the change to /system was reverted. Any ideas?
[Nexus S General] sdmoo:
You aren't by any chance on Marshmallow are you? It enforces an unwritable system. The reason the terminal command doesn't let you connect afterwards is because wpa_supplicant caches the old mac address. My workaround moves wpa_supplicant to another name and replaces it with a script that changes the mac address just before wpa-supplicant starts up.

If not, I'd be happy to investigate if you send me a logcat and the actual error message that pops up?
[Nexus S General] spigotbp:
I'm on the latest Lollipop Cataclysm, 5.1.1. I'll send you a PM with what I think are the relevant portions of the log.