[Guide] Spoof/change Xperia mac address - Xperia Z General

This guide is for users who want to change their device mac address. Mac address blocking can be a problem in public WiFi. Where the administrator can block your access to the internet using a mac filter !
The mac spoof apps on the play store wont work with xperias
Mac address handling varies with OEMs. So the trick which works on other devices, wont work on Xperias
This guide supports all Xperia devices (Zl /Z /Z1 /Z2 /Z3) on the latest KITKAT version (4.4.4)
Step 1
Copy the follwing from / data / etc
wlan_macaddr0
wlan_macaddr1
wlan_macaddr2
wlan_macaddr3
Step 2
Paste these files at /system/etc/firmware/wlan
Step 3
There will be files such as
macaddr0
macaddr1
macaddr2
macaddr3
Now rename all the above files to some other name. Like "macaddr0p" and so on..
Step 4
At /system/etc/firmware/wlan
You need to rename the files you have already copied
wlan_macaddr0 to macaddr0
wlan_macaddr1 to macaddr1
wlan_macaddr2 to macaddr2
wlan_macaddr3 to macaddr3
Edit the above files using text editor to the preferable mac address you wish to have and then REBOOT !. This is permanently change your mac address
Be careful while editing the mac address. Use numerals and first few alphabets till " f ". Otherwise the mac adress will change to 01:00:00:00:00:00 and WiFi might not work.

pjgowtham said:
This guide is for users who want to change their device mac address. Mac address blocking can be a problem in public WiFi. Where the administrator can block your access to the internet using a mac filter !
The mac spoof apps on the play store wont work with xperias
Mac address handling varies with OEMs. So the trick which works on other devices, wont work on Xperias
This guide supports all Xperia devices (Zl /Z /Z1 /Z2 /Z3) on the latest KITKAT version (4.4.4)
Step 1
Copy the follwing from / data / etc
wlan_macaddr0
wlan_macaddr1
wlan_macaddr2
wlan_macaddr3
Step 2
Paste these files at /system/etc/firmware/wlan
Step 3
There will be files such as
macaddr0
macaddr1
macaddr2
macaddr3
Now rename all the above files to some other name. Like "macaddr0p" and so on..
Step 4
At /system/etc/firmware/wlan
You need to rename the files you have already copied
wlan_macaddr0 to macaddr0
wlan_macaddr1 to macaddr1
wlan_macaddr2 to macaddr2
wlan_macaddr3 to macaddr3
Edit the above files using text editor to the preferable mac address you wish to have and then REBOOT !. This is permanently change your mac address
Be careful while editing the mac address. Use numerals and first few alphabets till " f ". Otherwise the mac adress will change to 01:00:00:00:00:00 and WiFi might not work.
Click to expand...
Click to collapse
u sure this will work and wont brick my device cause m really in a need to spoof my mac address

Somebody tried it? as there's no feedbacks... thanks a lot by advance =)

Hi,
First of all thanks for the info
On which version of Android did you tested ? Is it the same for all flavours of Android ?
Can this method be used on other devices or just Xperias ?

Solution under CM12 Lollipop:
http://forum.xda-developers.com/z3/help/change-mac-adress-permanently-t3037259

help!!!
I wanna change my mac address, i have z2 lollipop
And i dont get the explanation, can anybody help with simpler ways of changing my mac address

Related

[Q] Same old MAC Address problem, different question?

It occurred to me that there must be some kind of really easy solution to the problem of cracking a windows phone and applying Android and ending up with the WiFi MAC Address conflict issues...
I have 00:90:4c:c5:00:34, but my "real" MAC address ends in :38...
My guess is, there is a string in some bit of code, somewhere, a config file or a boot file, or some hardware file that has this MAC address in it.
Wouldn't it be easy to just go into that line in the code or config files and change it?
Or am I making this too simple?
Is this some kind of default address handed out when a program fails to find a proper MAC Address (nand not working, etc)?
I have searched all day for a solution, and tried 3 or 4 that I found without success.
So my questions are:
1) If this "default" MAC Address (00:34) is in a config or other file, what file would that be?
or
2) is there a simple way to change the MAC Address some other way, so I can get all 3 of these devices on the same network?
I have Android 2.2, Kernel 2.6.32.15r8.4-gb02a70d (hastarin... #66), Build 2.29.405.2 CL263770, Software Sergio Core Droid Desire V0.8...
On an HTC HD2.
(maybe there is a better distribution that gives me this same kind of look and feel that might work better for this problem?)
Thanks in advance for your consideration and help.

[Q] How to change NAND android WIFI and BT MAC address?

After flashing NAND Android, I found that the wifi mac address is : 00:11:22:33:44:55, and the BT mac address is :50:C3:00:00:00:00, any one can tell me how to change them ?
thx.
are u having wifi problems? i am.. i wanna change it too..
+1 for wifi
at home its fine, at work its a unusable mac address
believems said:
After flashing NAND Android, I found that the wifi mac address is : 00:11:22:33:44:55, and the BT mac address is :50:C3:00:00:00:00, any one can tell me how to change them ?
thx.
Click to expand...
Click to collapse
Sorry, accidently hit the Thanks button instead of Quote.
First: Wrong thread, this should be in Q&A.
Second: This is not possible yet, as the current version of MAGLDR doesn't have the possibility to pass parameters (other then AD SD DIR) to the kernel.
Hopefully, in a future update, Cotulla will add this to MAGLDR. For now, you can only use the fake MAC-address supllied with the NAND-builb.
MOD: Can you move this thread to the Q&A Section please?
Sincerely,
Mac
Apparently, there is a solution. I found this on one of the NAND build threads:
clio94 said:
guys this is a temporary way to change wifi mac address in 0.2 build
0.2 build is prerooted so we can change system files
install root explorer 2.13
go to /system/etc/ find file calibration and open it as view in text editor
in first line you will see the mac address
put your desired mac address,save and exit
and then make reboot
voila now you have new mac address
thanks to osm http://forum.xda-developers.com/showpost.php?p=9806811&postcount=17 for this trick
Click to expand...
Click to collapse
Sincerely,
Mac
Macelangelo77 said:
Apparently, there is a solution. I found this on one of the NAND build threads:
Sincerely,
Mac
Click to expand...
Click to collapse
but, BT mac address how to change?...
So, just NAND flashed my HD2 over to DFT's .2 release of Android. This gave me the infamous MAC address issue of 00:11:22:33:44:55 but the file given here doesn't exist. The location exists, but there's no file by the name of calibration in that location. I used Root Explorer to search my phone even for calibration and it didn't find a thing. Any ideas what it may actually be called?
I also need to change bluetooth mac...
Is there a chance to change it???
no one a idear?
WiFi MAC Address Workaround:
Must have Android Developer Kit installed
1. adb pull /system/etc/calibartion
2. open calibration file with wordpad. Not notepad.
3. change the line that says macaddr=00:11:22:33:44:55 to either your real mac or just increment the last digit
4. save file and close
5. adb push calibration /system/etc
6. reboot phone
smokey155193 said:
WiFi MAC Address Workaround:
Must have Android Developer Kit installed
1. adb pull /system/etc/calibartion
2. open calibration file with wordpad. Not notepad.
3. change the line that says macaddr=00:11:22:33:44:55 to either your real mac or just increment the last digit
4. save file and close
5. adb push calibration /system/etc
6. reboot phone
Click to expand...
Click to collapse
Not all builds have this file nor read this file.
Sent from my HD2 Droid (HD) using XDA App
and bluetooth mac?!
any one knows how to change BLUETOOTH mac address with NAND?

[Q]Need to change the Mac address for nexus 4

Dear all
i need to change the mac address of my nexus 4 and i want my mac address have to change although i flash new rom ( not temporarly change address)
i know IP can change the mac address although i restore the device and i want is there any way to do something similar to my nexus4
thanks so much
hlpdt10 said:
Dear all
i need to change the mac address of my nexus 4 and i want my mac address have to change although i flash new rom ( not temporarly change address)
i know IP can change the mac address although i restore the device and i want is there any way to do something similar to my nexus4
thanks so much
Click to expand...
Click to collapse
Look here http://android.stackexchange.com/qu...nge-permanent-mac-address-on-my-android-phone, you need to have root. Haven`t done this myself though. Good luck.
Please, tell us if you get WiFi working with a different MAC address.
I tried and I wasn't able to auth.
You can change your nexus 4 MAC address with a rooted device and the app called MAC Spoofer (root) (you can find it at google play)

Unable to MAC spoof in Zuk Z1

Hello,
My university provides WiFi only for laptops and the laptops are registered via their MAC address. So in order to use WiFi through mobile I've to spoof its MAC Address.
I've tried all means (ES explorer root editor , MAC spoofing apps , Terminal Editor etc.... ) which where posted online but none seems to work.
The MAC seems to reset to its original value each time I turn on WiFi (or I would like to think so, not sure)
Any solutions?... (My device runs NucleaRom (Android 6.0.1)
Thanks In Advance

EFS copied to another device - pb with mac address

Hello,
I made a full TWRP backup and restored to another device. It seems that I also restored the EFS partition by mistake
Now, both of my devices have same mac address for wifi and bluetooth which is causing lot of issues for me. I tried to change the mac address using busybox but it doesn't seem to work.
Is there a way to edit the EFS file and modify the mac address ? I tried to edit using UltraEdit but I didn't found my mac address in it.
Any help would be very nice
(concerned device : Samung Galaxy Tab A 2019 10.1" with Nexus Rom)
OK, finally found it in the Ultra Edit. the mac addresses are splitted on 2 rows. youmust search for a partial mac address.
yozart said:
OK, finally found it in the Ultra Edit. the mac addresses are splitted on 2 rows. youmust search for a partial mac address.
Click to expand...
Click to collapse
Hello how did you manage to extract your mac address from that efs1.emmc.win? (TWRP backup) I am failing

Resources