[Q] Change MAC address - Upgrading, Modifying and Unlocking

Hi
I've got one problem. I was trying to change my MAC address on Samsung Galaxy S3 Mini. That operation was successful.
I changed it by commands
Code:
su
ip link set wlan0 ADDRESS 00:00:00:00:00:00
And I also tried app "MAC Spoofer" . Both successful. But after changing MAC address I can't connect to WiFi. There is a problem with authentication. So I was looking for a solution on XDA. I found it http://forum.xda-developers.com/showpost.php?p=51072203&postcount=214 but I don't understand it. Could anyone tell me what should I do step by step?
Regards,
maciek1235
P.S. I also checked that thread http://forum.xda-developers.com/showthread.php?t=917684 but it didn't work for me

Related

[Q] Spoofing Mac Address

So ive been trying to spoof the mac address on my HTC Desire (LEE Droid 2.2a, rooted) but to no avail.
Ive tried going through terminal and putting "ip link set etho...." but i get "operation not permitted"
Ive seen this guide for the HTC Hero but I dunno if it'll work on a Desire:
ip208-100-42-21.static.xda-developers. com/showthread.php?t=686789
Anybody have any ideas? And im doing this because my university doesnt allow any mobile devices to connect to their network, only laptops. So im trying to spoof my Android's Mac Address to my laptops.
Thanks in Advance.
Oqudsi said:
So ive been trying to spoof the mac address on my HTC Desire (LEE Droid 2.2a, rooted) but to no avail.
Ive tried going through terminal and putting "ip link set etho...." but i get "operation not permitted"
Ive seen this guide for the HTC Hero but I dunno if it'll work on a Desire:
ip208-100-42-21.static.xda-developers. com/showthread.php?t=686789
Anybody have any ideas? And im doing this because my university doesnt allow any mobile devices to connect to their network, only laptops. So im trying to spoof my Android's Mac Address to my laptops.
Thanks in Advance.
Click to expand...
Click to collapse
So i think it worked, first thing you need to do is put in the command su so that the Terminal gets Super User access.
Then just put
iplink set eth0 address XX:XX:XX:XX:XX
iplink set eth0 broadcast XX:XX:XX:XX:XX
then to make sure it worked go to iplink show eth0
Will try that on my Wildfire. Phone must be rooted, right? Any other changes to phone?
I used this method, set eth0 a new mac address
then reboot my phone , put "iplink show" , the eth0 was missed
What can I do now ?

Spoof Mac Address

Hey guys,
does anyone know how to spoof the mac address on your phone? I'm testing a vendor blocking system and i need to be able to spoof my mac.
Thanks,
Cryous
Open terminal type in "ip link show" to find your WLAN card; mine was eth0 so I will use that as an example. Enter the following:
ip link set eth0 address XX:XX:XX:XX:XX:XX
To confirm that it switched, type in:
ip link show eth0
and it should show the new mac address. I haven't tested if it works on a MAC-filtered router, but I think it should work.
Found this on another thread seems to work. I was able to connect to my router after changing.
Its says access is denied, even when I use sudo
Sent from my ADR6300 using XDA App
The command works for me but i noticed its changing the wrong thing.
what do you mean its changing the wrong thing? It appears to change the right value
search "network spoofer" in the market. I'm just sure if it can spoof mac addresses or not

Spoofing or changing MAC address

I have been trying to spoof or change my wifi mac address.
I followed the guide http://forum.xda-developers.com/showthread.php?t=1385577
And can confirms the change with # busybox iplink show wlan0
but I cannot connect to any Wifi. I have tried connecting to my own WPA protected router.
I have also read that some custom roms have managed this as a side effect but the details of exactly why and how this happened are unclear.

[Q] Changing Mac Address

Hi, is there a way of changing the mac address of the s4 mini (gt-i9195)?
I am on Stock Rom 4.2.2 and tried some apps from the Play Store ( MacMan, Mac Address Ghost) but every time I change the Mac Address I can't connect to my router anymore. I always get "authentication error"
junkyde said:
Hi, is there a way of changing the mac address of the s4 mini (gt-i9195)?
I am on Stock Rom 4.2.2 and tried some apps from the Play Store ( MacMan, Mac Address Ghost) but every time I change the Mac Address I can't connect to my router anymore. I always get "authentication error"
Click to expand...
Click to collapse
Backup your EFS. Next you can edit the file under efs which holds Mac adress info.
Not tried, just a suggestion
Edit: The file is "/efs/wifi/.mac.info" on my device.
thank you very much. It worked :good:

(Need "more" help) WIfi mac address still stuck to 02:00:00:00:00))

Hi,
I have read almost everything that this forum gave me and some solution from the rest of the internet and STILL my wifi mac address is still stcuk at 02:00:00:00:00:00
Wifi won't turn on and it won't display available wifi
I can't remember exactly what caused it but i'll try to share my recollection
I vaguely remember that i was able to connect to the wifi before trying to fix it. Can't recall what really happened
I fixed the random rebooting nexus 5x by using unblod fix
I think i tried rooting it and succeeded with a twrp recovery
I vaguely remember flashing a zip custom rom with wrong version and brought it into a soft brick. Cant find the file anymore.
I reflashed it with flash all batch file from stock firmware
the phone is bootlooping
Fixed it again using unblod exe using the stock firmware's boot.img
Wifi wont turn on
mac address is 02:00:00:00:00:00
Tried on android 6.0, 7.0, 7.1.2, 8.0 and 8.1.0
Other solutions tried:
Nil Mac app. Seems to work app wise but mac is still stuck at 02:00:00:00:00:00 on settings. Wifi wont turn on
Manually edited, placed *.bin file in /persist, and /etc/firmware/wlan/qca_cld/
WIfi mac changer apps from appstore (they dont work)
Some root apps that mess with the phone's setting (cant find anything that seems to deal with wifi mac address)
p.s.
I also tried bricking the phone using TWRP wipe and checking all the wipe locations to eliminate remnants from previous mods
I cant seem to do anything. Still stuck at 02:00:00:00:00:00
Any more suggestions on where to look?
Or is android not getting the real mac address and revert to 02:00:00:00:00:00 and wont let wifi turn on during flash all script?
Thanks in advance.
Recent Android hides the MAC address to prevent tracking. 02:xx:xx:xx:xx:xx means a site-local MAC address.
Try using "ip link" and looking for the wlan0 entry. eg.
Code:
22: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 3000
link/ether 2c:59:8a:xx:xx:xx brd ff:ff:ff:ff:ff:ff
nowster said:
Recent Android hides the MAC address to prevent tracking. 02:xx:xx:xx:xx:xx means a site-local MAC address.
Try using "ip link" and looking for the wlan0 entry. eg.
Code:
22: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 3000
link/ether 2c:59:8a:xx:xx:xx brd ff:ff:ff:ff:ff:ff
Click to expand...
Click to collapse
HI,
thanks for the reply. I already did that and i got a mac address that is not 02:00:00...
then i tried to change it using if config just to see if it changes using the command.
I got an error saying wlan0 not found (not exact words)
Is there a different MAC address in Settings -> System -> About phone -> Status ?
nowster said:
Is there a different MAC address in Settings -> System -> About phone -> Status ?
Click to expand...
Click to collapse
No, it is 02:00:00:00:00:00.
arviverona said:
No, it is 02:00:00:00:00:00.
Click to expand...
Click to collapse
Did this ever get fixed? I'm facing the same issue. However, the steps I did was trying to spoof a MacAddress using Busybox and a terminal emulator.
Just using that would not allow me to connect to wifi, but wifi was turned on. Then I read to change the wlan.bin file in the persists folder.
After I changed that file and did a reboot wifi would not turn on.
I tried:
1. factory reset
2.Changing the wlan.bin back to what it was
3.Sideload android 8.0
4.Flash OEM back to factory
Nothing seems to work. Settings->about->status MacAddress says "unavailable", but
wifi -> preferences -> advance shows MacAddress 02:00:00:00:00:00
Any help would be great,
-realkewl
Try AMC, its the only MAC Address Changer app I could find that worked on my 5x. That was without a screwed up MAC address to begin with, but It might work for you.
I downloaded it from the play store, but now its not there. Here's the apk from my phone:
https://sqerk.com/pythonlimited.amc.apk
Looks like AMC was forked from nMAC :
https://forum.xda-developers.com/android/software-hacking/app-nmac-nil-mac-changer-t3391283
sqerk said:
Try AMC, its the only MAC Address Changer app I could find that worked on my 5x. That was without a screwed up MAC address to begin with, but It might work for you.
I downloaded it from the play store, but now its not there. Here's the apk from my phone:
https://sqerk.com/pythonlimited.amc.apk
Looks like AMC was forked from nMAC :
https://forum.xda-developers.com/android/software-hacking/app-nmac-nil-mac-changer-t3391283
Click to expand...
Click to collapse
Thanks, but I figured it out. I was trying to flash with the same version 8.0...and for whatever reason that did not work, so I tried a costume ROM and it brought back my MAC address, so then I flash again to android 8.1 and my MAC address problems are fixed. Not sure why flashing with the same version did not fix it.
Thanks,
realkewl
realkewl said:
Thanks, but I figured it out. I was trying to flash with the same version 8.0...and for whatever reason that did not work, so I tried a costume ROM and it brought back my MAC address, so then I flash again to android 8.1 and my MAC address problems are fixed. Not sure why flashing with the same version did not fix it.
Thanks,
realkewl
Click to expand...
Click to collapse
What Custom ROM did you use friend? I have the same exact issue with my Nexus 5. Maybe finding your previously installed Custom ROM, I can fix the issue too. I saw a lot of threads says that installing Custom ROMs or downgrading then upgrading OS using OTA updates given from their Android System fixed the issue. MAC address is important and controls everything that has to do with wireless connections in your device. Maybe this can help be fix my issue too. I am almost convinced to buy a brand new smartphone. It's almost my limit here... If this doesn't bother you, please, can you tell me what is the ROM you used?

Categories

Resources