[Q] Same old MAC Address problem, different question? - Android Software Development

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.

Related

titan wifi won't load, no MAC address, need help

My MAC address must have been messed up when I used ppckitchen buildOS
I no longer see a MAC address.
this is not a HERMES, so don't bother me with that thread.
anybody know how to reprogram my MAC ADDRESS ?
trust me, I read many threads, searched hard.
will a Verizon reset to stock rom fix this?

[Q] wifi doesn't work at any android build

Hi,
I tried multiple builds, but wifi didn't work at any of them. I found out that most probable reason is inabilty to get MAC address for wifi.
dmesg:
wlan: dhd_preinit_ioctls: can't get MAC address , error=-110
I tired to modify startup.txt, but no results. I found that similar issue was resolved for other htc devices (tilt 2, touch pro 2) by correction of wifi-nvram.txt. I couldn't find that file on builds for hd2.
It would be greate if anyone could you say which file is responsible for setting up MAC address for wifi.. Or what can I try else..
Thank you!
* reposted from HD2 Android development.. It seems I've tried everything I could..

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

some problem about hd2 MAC address

Can any one tell me is that all the android build have the same MAC address???
no not all have the same mac address, i think its mainly the hd builds that have a hacked around mac address
I've the same problem, but i use the sd version of android, in the forum i've found only the nand solution, and trying with the sd version it doesn't work.
Is there a way in order to change the mac address in android lauched from sd?
Thanks in advantages!
There's no way right? Or not? i've tryed also with gscript somthing like
"set cmdline "wifi.mac=00:12:22:22:33:44""
but it doesn't work
the problem is when me and my brother access to the same ap, with identical mac an internal error occur obviously

[Guide] Spoof/change Xperia mac address

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

Categories

Resources