[Q] chagning MAC address on Snapdragon Android 4.4.x - Android Q&A, Help & Troubleshooting

I managed to successfully & manually (using HEX editing) change the MAC address on an MTK Android
i have now got a new Snapdragon 801 android 4.4.2 phone, and the system structure is totally different.
Any idea how to permanently change IP address manually by editing config files, without using any apps?
Thanks

Related

Change MAC Adress Permanently

Hi,
i tried to change my MAC Adress on the Galaxy s3 but none of the existing tutorials worked. The problem is i want to change the mac permanently. I already found a file in /efs/wifi/.mac.info but when i change the value and restart the phone it's set back to the old mac adress. The other tutorials are using nvram or something like that but i couldn't find that file. Do you have an idea of how to change this right?
Greets from Germany Nico

[4.1.2 XT912] Need help with changing MAC Address

I'd like to change MAC addresses for this purpose and this purpose only: gaming.
[Android] StreetPass Riilay: The HomePass method on your phone[/url] (The forums are down for maintenance and I still have the 10 post limit)
According to that thread, Android phones have their Wi-Fi configurations in these directories.
Code:
/system/etc/wifi/nvram.txt
/data/misc/wifi/config
/data/.nvmac.info
/factory/wifi/.mac.info
/data/etc/wlan_macaddr
/pds/wifi/wlan_mac.bin
However, none of these paths contain those MAC configuration files.
These three paths exist on my phone: /system/etc/wifi/ and /data/misc/wifi/ and /pds/wifi/ but do not have any MAC address configurations.
Is there another directory where the MAC configurations are located? Is it even possible to change the MAC address on the Razr?
I've tried apps from the play store, and those don't work. I'm not using any ROMs, but I installed BusyBox files.
So basically my questions are:
1) Where are the MAC configurations stored?
2) Do certain ROMs have different Wi-Fi configurations in different paths in the system's files?
3) I am not doing this so I can connect to networks, I am doing this so that other devices can connect to my phone's Wi-Fi network. Most MAC address apps don't do that
Well thanks for the help anyway. I just copied the system files onto my desktop then looked into every nook and cranny. The answer was in my face all this time.
For anyone else who needs this in the future:
data/misc/wifi/firmware/wl12xx-nvs.bin
pds/wifi/nvs_map.bin
That's where the MAC configurations are stored. The values are stored little-endian, so just read along the first line and you'll know what I'm talking about. Change the values to your desired MAC address, then presto, your MAC address is changed. Do this for both .bin files.
This is only temporary, so you should make a copy of your desired MAC available in your file manager so you can just paste them into the directories with ease.
lazy9090 said:
Well thanks for the help anyway. I just copied the system files onto my desktop then looked into every nook and cranny. The answer was in my face all this time.
For anyone else who needs this in the future:
data/misc/wifi/firmware/wl12xx-nvs.bin
pds/wifi/nvs_map.bin
That's where the MAC configurations are stored. The values are stored little-endian, so just read along the first line and you'll know what I'm talking about. Change the values to your desired MAC address, then presto, your MAC address is changed. Do this for both .bin files.
This is only temporary, so you should make a copy of your desired MAC available in your file manager so you can just paste them into the directories with ease.
Click to expand...
Click to collapse
I can't make any sense of what's in those files...
Wat do?

[Q] Where are the Radio MAC addresses stored?

Thanks to pr001, I have found the reason that the current batch of custom ROMs do not reconnect to paired BT devices after the phone is rebooted.
It is because the folder root/data/etc/ is empty. In a good environment, their should be a file named bluetooth_btaddr (among others) there. That file is a plain text file which contains the MAC address.
After reading a post in the BlissROM thread there is also an issue where two phones both running the same ROM are causing issues with connecting to a wifi network as both devices have the same wifi MAC address. and with this experience with the BT MAC address I am left with the following questions.
Aren't the radios MAC addresses fixed to the radio hardware itself?
If not, how does stock firmware provide unique MAC addresses for the radios?
If the radio chipsets do have MAC addresses tied to them, how can the devs access them?

(2) XT912's with same MAC address. What does Google use to identify a device?

Hello,
I have two VZW XT912's that I decided to re-purpose as IP security cams. Since they had not been used in a long time and have had various ROM's on them throughout the years, I decided to flash them with what I believed to be the lasted VZW factory image via RSD Lite. The flash went well on both of them but during the process of troubleshooting why they were both having wifi connectivity issues, I determined that both devices had the exact same MAC address.
I've been reading a bunch and I did find a way to change the MAC address by editing the nvs_map.bin file. Neither of my devices had this file after I flashed the factory images and what I believe I've learned that if Android doesn't see this file, it creates it's on MAC address. I located a nvs_map.bin file and was able to edit it.
Wifi is functioning well now on both devices, however, the IP security camera program I am using utilizes Google login credentials and when I try to login my second XT912, it disconnects it in a few seconds. I highly suspect that their is some other identifier that Google uses to recognize a device and in their eyes, both of these devices are the same.
What identifier does Google use for devices if it's not the MAC address? Any suggestions on how I can correct this using the VZW image/rom? I have loaded a custom ROM using Safestrap on one of the devices to test and can confirm that both devices can login into my IP security program.

Changing/Spoofing MAC Address[Solved]

Hi guys.....here is the way that helped me change my mac address permanently(surviving reboots).I have tried this in Redmi 3s Prime and can confirm that this works.
Note: take a backup of the *.qcn file of your own phone using the qpst tool and have it safe , so that you can restore it if anything goes wrong messing your imei or mac or when you want your original mac address back.
Required Tools can be downloaded either in the miui forum thread(Thanks to the thread creator) mentioned in step 1 or through this GDrive link : https://drive.google.com/folderview...ldGtWNHc&resourcekey=0-tvs1q3f3cTxYIltpcgD4VQ
So lets get started.
1 ) head over to this thread [ http://en.miui.com/thread-348525-1-1.html ]
and follow all the preparation steps(steps 1-8) including installation of software and configuring the phone in diag mode.
2 )Open qpst tool and StartClient-->SoftwareDownload.
then go to Backup and take a backup
3)Open a copy of the resulting file (*.qcn) in any hex editor and search your phone's mac address as hex.
Eg. : if your mac address is 01:02:03:04:05:06 search it as 010203040506
[IMAGE http://i65.tinypic.com/2006xxz.png ]
4)You will get some search results. Now edit every search result with your desired MAC address.
5)And finally restore this edited *.qcn file and reboot your phone once complete.
And that's it. You have successfully spoofed your MAC Address. :good:
VigneshGrK said:
Hi guys.....here is the way that helped me change my mac address permanently(surviving reboots).I have tried this in Redmi 3s Prime and can confirm that this works.
Note: take a backup of the *.qcn file of your own phone using the qpst tool and have it safe , so that you can restore it if anything goes wrong messing your imei or mac or when you want your original mac address back.
Required Tools can be downloaded either in the miui forum thread(Thanks to the thread creator) mentioned in step 1 or through this GDrive link : https://goo.gl/lrTdMb
So lets get started.
1 ) head over to this thread [ http://en.miui.com/thread-348525-1-1.html ]
and follow all the preparation steps(steps 1-8) including installation of software and configuring the phone in diag mode.
2 )Open qpst tool and StartClient-->SoftwareDownload.
then go to Backup and take a backup
3)Open a copy of the resulting file (*.qcn) in any hex editor and search your phone's mac address as hex.
Eg. : if your mac address is 01:02:03:04:05:06 search it as 010203040506
[IMAGE http://i65.tinypic.com/2006xxz.png ]
4)You will get some search results. Now edit every search result with your desired MAC address.
5)And finally restore this edited *.qcn file and reboot your phone once complete.
And that's it. You have successfully spoofed your MAC Address. :good:
Click to expand...
Click to collapse
Much appreciation for this guide.
It works for me although in my case for step no.3 the diff was when searching for the stock MAC address I had to set txt string not hex. Only then the hex editor could find the proper 4 placements from the backup.
Just in case if anyone else ran into the same search issue with the hex editor.
Sent from my Redmi 3S using Tapatalk
I followed the guide http://en.miui.com/thread-348525-1-1.html but not alright : i do see "diag,adb" BUT i only have one entry under COM Ports in device manager and NOTHING appears in QPST Configuration tool. No phone or ports opened. I followed process few times & no luck. What's wrong?
goja said:
I followed the guide http://en.miui.com/thread-348525-1-1.html but not alright : i do see "diag,adb" BUT i only have one entry under COM Ports in device manager and NOTHING appears in QPST Configuration tool. No phone or ports opened. I followed process few times & no luck. What's wrong?
Click to expand...
Click to collapse
Did you disable driver signature enforcement in windows before installing all the drivers??
If not Google how to disable and later install the drivers again and try. I had the same kind of problem. And this worked.
I just reboot without driver signature check & did process again : no changes.. :/
@VigneshGrK one (maybe more) question, where can i get *.xqcn or *.qcn file of required backup of *.qcn on QPST Software Download?
zainifame said:
@VigneshGrK one (maybe more) question, where can i get *.xqcn or *.qcn file of required backup of *.qcn on QPST Software Download?
Click to expand...
Click to collapse
Yeah. Step 2 here. In the backup tab. ?
VigneshGrK said:
Yeah. Step 2 here. In the backup tab.
Click to expand...
Click to collapse
lol for me i don't even try it and just asking to you haha i'm sorry bro thanks btw it work's for me spoofing redmi 3s (land) is need more step not like his brother redmi 3 (ido) just use change my mac app and mac is changing without reboot suddenly
Kinda long & risky but I confirm this method works on Redmi Note 4X SD. Even so it's not that practical, means that you can't change MAC Address on fly, every time you have to find a PC to change the MAC address.
Where is the address in QCN that store Wifi-Mac-Address data?
my mac address is 02:00:00:00:00:00 i dont know my old mac address so how can i find it in this qcn file?
can someone tell me the line where mac address is?
meanwhile, ive replace all "0200blabla" on that qcn file, then restore it , and i restart device and nothing happened, still same strange mac address(02:00:00...)
bonbonboi said:
Kinda long & risky but I confirm this method works on Redmi Note 4X SD. Even so it's not that practical, means that you can't change MAC Address on fly, every time you have to find a PC to change the MAC address.
Click to expand...
Click to collapse
Is it working in Redmi note 4 snapdragon???
vbchimtekar said:
Is it working in Redmi note 4 snapdragon???
Click to expand...
Click to collapse
Yes by using QPST Configuration.
not found
hello sir, can u help me please? i can not find my mac address.
It said "Search value not found". I use search as Text and Hex and the result is same. :crying:
How to spoof WiFi mac address for Snapdragon625 (Redmi 5Plus/Redmi Note 5 [indian])? I use this method but I can not find wifi mac address inside qcn file. I try to search hex number but no digit same like my device mac address.
i highly recommend to backup as xml format (.xqcn) with this format you can open .xqcn file using notepad++ to find your mac just search using your original mac e.g. 02:00:00:00:00:00 then just search using 02 00 00 separate by space or full digit without ":", for SD625 first test using this app if you facing force reboot then use guide from this thread, highly recommend to backup original .qcn/.xqcn if you want use this guide.
zainifame said:
i highly recommend to backup as xml format (.xqcn) with this format you can open .xqcn file using notepad++ to find your mac just search using your original mac e.g. 02:00:00:00:00:00 then just search using 02 00 00 separate by space or full digit without ":", for SD625 first test using this app if you facing force reboot then use guide from this thread, highly recommend to backup original .qcn/.xqcn if you want use this guide.
Click to expand...
Click to collapse
How to backup as xml format ?
QPST backup file as .qcn or .xqcn extension.
Change extension .xqcn to .xml then open it.
Or just open .xqcn on notepad++ ?
Please advice me.
kaew158 said:
How to backup as xml format ?
QPST backup file as .qcn or .xqcn extension.
Change extension .xqcn to .xml then open it.
Or just open .xqcn on notepad++ ?
Please advice me.
Click to expand...
Click to collapse
qpst give an option to backup as binary (qcn) or xml format (xqcn) while qpst ask you to save the file, you can't just rename the extension
zainifame said:
qpst give an option to backup as binary (qcn) or xml format (xqcn) while qpst ask you to save the file, you can't just rename the extension
Click to expand...
Click to collapse
I can change wifi mac address inside xqcn file on SD425 chipset but still not find original mac address inside xqcn file on SD625 chipset. I try notpad++,HxD , Hex Editor but can not find original mac address.
Next day I flash lineageOS Oreo 8.1 for SD625 (Redmi 5Plus)
https://androidfilehost.com/?w=files&flid=248291
Then wifi mac address was change permanently to new address. I try to change mac address with app (change my mac) on this ROM but my device reboot. How to change wifi mac address like this lineageOS ROM did?
kaew158 said:
I can change wifi mac address inside xqcn file on SD425 chipset but still not find original mac address inside xqcn file on SD625 chipset. I try notpad++,HxD , Hex Editor but can not find original mac address.
Next day I flash lineageOS Oreo 8.1 for SD625 (Redmi 5Plus)
https://androidfilehost.com/?w=files&flid=248291
Then wifi mac address was change permanently to new address. I try to change mac address with app (change my mac) on this ROM but my device reboot. How to change wifi mac address like this lineageOS ROM did?
Click to expand...
Click to collapse
well... if you backup as .xqcn notepad++ is enough no need using hxd, hex edit or etc because it is not binary format, to see your original mac it's appears on setting>about phone>status> wifi mac bla bla ..., if the mac change when you change rom it's about rom/kernel related to lineage or that custom rom you used and if you flash stock rom i'm sure it'll revert to original vendor mac, try to search using three group of your original mac on .xqcn, and if you still can't find it maybe it chipset related, but i think SD625 still family of SD425/430/435 series

Categories

Resources