Changing/Spoofing Mac Address in Xperia Z/ZL/Z1 - Sony Xperia ZL

If you want to spoof mac address in other phones the tricks are very easy, you can either use Mac Spoofing Applications available on Play Store, however these apps don't work for Sony Xperia Devices such as Z,ZL,Z1 and probably other Xperia Devices.
To spoof the mac address in these devices you can do as follows.
***ROOT REQUIRED
1.) Turn Off Wifi
2.) Use ES File Explorer or Root Explorer, Navigate to /data/etc/
Here you will find,
bluetooth_bdaddr
wlan_macaddr0
wlan_macaddr1
wlan_macaddr2
wlan_macaddr3
3.) Backup these files to your sdcard or any other location.
4.) Open sdcard/backups/wlan_macaddr0, edit in ES File Editor or any other text editing tool.
You will find your original mac address, change it to desired mac such as "00:11:22:33:44:55" and save it.
5.) Replace with original file.
6.) Turn on Wifi, check mac address in "About Phone".
Note: Other files wlan_macaddr1, wlan_macaddr2, wlan_macaddr3 are same as the wlan_macaddr0, just changing the first file does the job. If you want you can modify the other files too.
Mac Address will revert back to your original if you restart your phone.

I tried this on 4.4.4 kitkat xperia z. Didnt work for me?
is there any other thing we can do to spoof or does this work for you on kitkat?
Thanks

pjgowtham said:
I tried this on 4.4.4 kitkat xperia z. Didnt work for me?
is there any other thing we can do to spoof or does this work for you on kitkat?
Thanks
Click to expand...
Click to collapse
Yeah! Same here, it sais my MAC is changed, yet I can't seem to connect to any networks!

I tried this in my ZL 4.4.4 but doesn't works
I've wanted this to try play again asphalt 8 who got banned due to money hack =.=
My mac address even change

How can change mac address sony xperia M5 E5633

Related

[Q] connect to Ad Hoc

I play in a xperia rom official version 2.3.4 (4.0.2.A.0.42)
rooted and unlocked bootloader
someone help me to access a ad hoc play on my xperia!
cordially
extract the attached file then use root explorer to overwrite the file wpa_supplicant file to the folder /system/bin, remember to set permission to R/O
dont work
its not working with xperia play, I think it works with another termina
thx
up!
I faced the same issue few months back..
As far as i knw...adhoc support may come in ICS.....meanwhile try this on the PC/laptop/Server you want to connect.......assuming u r on Win7...
1. Open command prompt with administrator privileges(right click, run as administrator) and type
netsh wlan set hostednetwork mode=allow ssid=samsung key=password keyUsage=persistent
Click to expand...
Click to collapse
2. then type
netsh wlan start hostednetwork
Click to expand...
Click to collapse
Now check your phone wifi settings u will have a AP with name samusng. Password is "password".
3. To stop replace start with stop in the above command.
This is pretty safe and wont effect any other network settings. If other people are also connected to the old ad-hoc network, tell them to connect to this new network...
If the above doesnt work, disable data on your play and enable wifi hotspot....connect to it via ur pc....and then u may share the internet connection of the pc to play.....or play multiplayer game....
Hope this helps!
Hi!
I borrow the thread instead of making a new one since I want Ad-hoc to work as well, and I'm "only" (better IMO) on Win XP.
And I wonder, is the "WiFi Ad Hoc enabler" app compatible and working with the Xperia Play?
And I got the official 2.3.4 ROM as well, version 4.0.2.A.0.42.
Thanks in advance.
Best regards RazerBlader.
help
up

[Q] I9195 - Unable to connect to WIFI network (Authentication error occurred);

So, here it goes.
My goal is to connect to a network using certain MAC address. Wanted network is marked with "open" and I know that it allows access only to certain devices (according to MAC) on which the administrator have gave a permission to. Once your MAC passes the verification, device gets connected to the network and then I'm asked to enter username and password through WEB browser (well known for me, because it is a procedure that I do on my other device, as well as all my colleagues do).
For example, I was allowed to provide one personal MAC address to administrator to connect to this network. I would like to set the MAC address of my other personal device and set it on my I9195 so that I can access the same network.
So, what have I done so far: I9195 is rooted, it has Android 4.2.2 on it and Busybox installed. I have changed MAC on it using following apps: MacChanger (blue WIFI logo), MAC Address Ghost (green ghost logo), using Android Terminal Emulator commands and via MAC Spoofer (black circle with green text logo). What can I conclude: As soon as superuser has granted the access to these apps, all of them manage to change the MAC. I've done the verification using Terminal Emulator. I also have to add that the MAC remains original if viewed from WIFI advanced menu BUT this shouldn't be an issue because:
1.) Colleague of mine is using his S4 (rooted etc.), while using MAC Address Ghost that does not change the original address (viewed from WIFI advanced menu) but he manages to make a spoof (verified from the Android Terminal Emulator, as all of this apps actually do) and he manages to connect without any problems in the same way as I connect with another device that I have!
2.) I had time to make a small test at home which put a light on the idea that the problem should be focused on the Samsung (and not on the router, especially because I am unable to modify anything on the router on this facility, not even restarting it). My home network works in a similar way as the network that we are discussing about. My S4 Mini has been included in it with his original MAC and it connects to the network without any problems. My other device is also included to the network using its MAC (the one that I am using for spoofing). My other device is turned OFF, router has been reset and I am normally accessing the network with S4 Mini. Then I run the MAC Address Ghost to spoof the MAC on my S4 Mini. In that moment, I have lost the connection that I had which means that the MAC spoofer actually did something. I tried to reconnect to the network but then I am asked to enter the password for my network. I have checked and re-checked it many times, tried to forget the network and doing it all over again but it does not accept the CORRECT password. Changing my MAC back to the original one connects S4 Mini back to the network, while accepting the password immediately.
Problem is represented in a way that it either says “saved” and does not connect to the network or every few times displays a message “Authentication error occurred”.
I have tried I would say every possibility that I’ve seen over the internet. That includes:
1.) Installing WiFi Connection Manager (it provided some info regarding the network that I wish to connect to: IEEE 802.11g standard, 54 Mb link and CH:11). I’ve used its function to fix the WIFI (advanced fix (root required)) but it didn’t help.
2.) All sorts of staying close to the rooter, while enabling and disabling the Power save mode (accessed via *#0011# command) or while having GSM signal.
3.) Browsing through system, data etc. folders to try to find the file that contains the MAC address information (like it did on older android versions in the nvram file). I’ve been unable to find this file or any sort of file that displays my MAC for the purpose to modify it.
I have a plan to upgrade Android to version 4.4.2 later today and make a test.
Please, feel free to suggest anything else! If I do not succeed, I will have to replace my S4 Mini with something else.
Kind regards,
QUICK REPLY: After installing CyanoGEN MOD 4.4.2, the problem remains!
I think there could be a shorter solution! On Sony Xperia Acro S with 4.1.2 Android it was just a matter of changing the MAC address within the file data/etc/wifi/fw! One minute modification...
So, please, if somebody knows the path to the file that contains MAC on CyanoGEN MOD 4.4.2 or on Android 4.2.2, PLEASE HELP!
Kind regards!

[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:

Spoof Mac Address

Hi, is there anyway to spoof the MAC address on an m8 running 4.4.3 all the apps in the play store seem to end in an authentication error once the mac is changed by an app. This also happens when using a terminal and busybox with ifconfig, iplink etc.
Thanks.
Lothandyr said:
Hi, is there anyway to spoof the MAC address on an m8 running 4.4.3 all the apps in the play store seem to end in an authentication error once the mac is changed by an app. This also happens when using a terminal and busybox with ifconfig, iplink etc.
Thanks.
Click to expand...
Click to collapse
Have you tried Pri-Fi?
Pry Fi causes an authentication error once the mac is spoofed, so the phone won't reconnect to the AP.
Does anyone have a solution for this??
This is would be a huge help if someone could find or has found a way to implement this. Ive tried the apps Mac Spoof and Mac Address Ghost with no luck. I went digging around in the system and found some files that I was denied access to (Searching terms like 'wlan' in ES File Explorer) and the ones I did dig through didn't contain any info. The /persist folder also contains nothing, which a few different posts lead me to check. I'm on a Rooted and S-Off Verizon HTC One M8 Stock before the update bringing power saver if its any help.

[TUTORIAL] How to Change MAC Address of the Nexus 5X

Hey guys!
I have created an app that can conveniently change your MAC address and a lot more! I strongly encourage you to use it instead:
nMAC - Nexus MAC Changer
Code:
[B]/persist/[/B]
bdaddr.txt : interface 0 (main) MAC address
wlan_mac.bin : interface 0-3 MAC addresses
Code:
[B]/system/etc/firmware/wlan/qca_cld/[/B]
WCNSS_qcom_cfg.ini : lines 46-50; interface 0-3 MAC addresses
WCNSS_cfg.dat : nothing I could find
Note that the addresses in WCNSS_qcom_cfg.ini are "Assigned MAC Addresses - will be used until NV items are in place".
To change your MAC, change the first interface in wlan_mac.bin.
Click to expand...
Click to collapse
Thanks to @Thargorsson for pointing out that this method indeed worked!
Enjoy
Nobody interested at all?
Would be interested with how you end up resolving the problem
Ej guy just some notice.
First if you change you're MAC address your Router won't recognize your phone anymore. You have to give in you're password once more otherwise it won't work.
Second take a look at the persist and efs image in your /dev folder more correctly.
OK after all i want to make an executable for that process (I've done it on my s3 neo successful) and create a topic in the general forum. You will also be credited
Thargorsson said:
Ej guy just some notice.
First if you change you're MAC address your Router won't recognize your phone anymore. You have to give in you're password once more otherwise it won't work.
Second take a look at the persist and efs image in your /dev folder more correctly.
OK after all i want to make an executable for that process (I've done it on my s3 neo successful) and create a topic in the general forum. You will also be credited
Click to expand...
Click to collapse
Do you mind explaining further? I didn't find anything in the EFS image (from first glance, at school). I also did put my password again for the WiFi, the phone just can't connect to anything. How did you succeed doing this on your phone? I'm really curious to get it working on my 5X. Thanks!
ViRb3 said:
Do you mind explaining further? I didn't find anything in the EFS image (from first glance, at school). I also did put my password again for the WiFi, the phone just can't connect to anything. How did you succeed doing this on your phone? I'm really curious to get it working on my 5X. Thanks!
Click to expand...
Click to collapse
I can confirm that it is working on my Nexus 5X.
But you cannot use any MAC address you think of.
The mac address is calculated by an algorithm from the kernel and youre wireless router also won't accept any Mac address that isn't compatible with any pattern it has. For example 00:00:00:00:00:00 won't work. (Tested it).
Try to change one or two numbers/letters of your max address and check if it works.
I think you're fault is that you have changed the Organizationally Unique Identifier. (OUI)
That cause you're router (my router does idk if yours too) don't recognize your phone.
Try this mac: 88:9b:39:12:a9:2e
I hoped that helped.
Thargorsson said:
I can confirm that it is working on my Nexus 5X.
But you cannot use any MAC address you think of.
The mac address is calculated by an algorithm from the kernel and youre wireless router also won't accept any Mac address that isn't compatible with any pattern it has. For example 00:00:00:00:00:00 won't work. (Tested it).
Try to change one or two numbers/letters of your max address and check if it works.
I think you're fault is that you have changed the Organizationally Unique Identifier. (OUI)
That cause you're router (my router does idk if yours too) don't recognize your phone.
Try this mac: 88:9b:39:12:a9:2e
I hoped that helped.
Click to expand...
Click to collapse
I changed only the last one digit of my original MAC and I couldn't connect anywhere. The OUI is the first 3 digits AFAIK. How exactly did you make it work?
I did this:
copied the wlan_Mac.bin from /persist to sdcard.
Changed one number. Pushed it back.
Rebooted phone.
Actually I'm on dirty unicorns ROM.
Thargorsson said:
I did this:
copied the wlan_Mac.bin from /persist to sdcard.
Changed one number. Pushed it back.
Rebooted phone.
Actually I'm on dirty unicorns ROM.
Click to expand...
Click to collapse
Wow, indeed it worked! I have no clue what I had messed up last time when I did the same thing...
A phone reboot is not needed, you can just toggle airplane mode on then off.
After a full day of coding an app is now ready: http://forum.xda-developers.com/nex...-nmac-nexus-mac-changer-t3374430/post66746231
will this work for bluetooth address change?
Hi, your app does not change my mac at all. The app seems do what it does when change button is pressed. Display the set mac address. Change the bin file (i looked at it) but the WIfi MAc address in settings is still 02:00:00:00:00:00. DO you know anywhere else i could have messed up my 5x on 7.0?
arviverona said:
Hi, your app does not change my mac at all. The app seems do what it does when change button is pressed. Display the set mac address. Change the bin file (i looked at it) but the WIfi MAc address in settings is still 02:00:00:00:00:00. DO you know anywhere else i could have messed up my 5x on 7.0?
Click to expand...
Click to collapse
Which rom? Kernel ?
Thargorsson said:
Which rom? Kernel ?
Click to expand...
Click to collapse
Kernel: 3.10.73
Build: OPM3.171019.016
Pretty much stock oreo.
Happen to my 5x. It works fine at 6.0.1. but at newer room mac address shown like that and wifi toogle wont turn on but searching bar move

Categories

Resources