Related
I've been trying to connect to my university Wifi (eduroam) for quite a while now- but having no luck at all. Is there anything special I need to do to get this working? Really need wifi on my htc hero while im at uni Help please.
may i ask what uni?
wifi helper on the market should be able to configure it although i couldn't get it to work with my hero. so ive JUST configured the wpa_supplicant.conf manually for eduroam at UCL...
since im not on campus atm i will report back results tomorrow to see if it works
my_space said:
may i ask what uni?
wifi helper on the market should be able to configure it although i couldn't get it to work with my hero. so ive JUST configured the wpa_supplicant.conf manually for eduroam at UCL...
since im not on campus atm i will report back results tomorrow to see if it works
Click to expand...
Click to collapse
Hahh!! Im UCL too!
university shouldn't matter, eduroam is a multi-university service
it certainly worked on my hero, though I can't check that now (don't work there any more)
security wpa (or wpa2, can't remember) enterprise, eap PEAP, subtype MSCHAPv2
ok ive got eduroam to work
you will need to download the GTE CyberTrust Global Root certificate in pem format ( i have renamed it to eduroamcert.pem below)
these are the settings for wpa_supplicant i have used to get it to work:
Code:
network={
ssid="eduroam"
proto=WPA
key_mgmt=WPA-EAP
pairwise=TKIP
group=TKIP
eap=TTLS
phase2="auth=PAP"
anonymous_identity="[email protected]"
identity="[email protected]"
password="XXXXXX
ca_cert="/sdcard/eduroamcert.pem"
priority=3
}
doesnt matter what priority you use.
edit::
forgot to mention XXXX for identity is not ur email alias, rather what you use to log in, in the computer rooms
my_space said:
ok ive got eduroam to work
you will need to download the GTE CyberTrust Global Root certificate in pem format ( i have renamed it to eduroamcert.pem below)
these are the settings for wpa_supplicant i have used to get it to work:
Code:
network={
ssid="eduroam"
proto=WPA
key_mgmt=WPA-EAP
pairwise=TKIP
group=TKIP
eap=TTLS
phase2="auth=PAP"
anonymous_identity="[email protected]"
identity="[email protected]"
password="XXXXXX
ca_cert="/sdcard/eduroamcert.pem"
priority=3
}
doesnt matter what priority you use.
edit::
forgot to mention XXXX for identity is not ur email alias, rather what you use to log in, in the computer rooms
Click to expand...
Click to collapse
Hiya,
Sorry for the insanely late reply lol- have been busy with coursework- hence not being able to come here often. Only been trying to follow your instructions here to get eduroam working on my Hero...but I'm struggling.
Can you please tell me how I install the GTE cybertrust cert into my hero?? Ive downloaded the file....it d'loaded as a zip file. Do I extract it...then move it to the hero sd card??
And to access wpa_supplicant i need to use the windows command window while the htc is hooked up with my pc in recovery mode right?? and then I write in the code you showed me?
hi mate, dont worry about all the stuff above, you dont need it to connect to eduroam. just follow the instructions here (obviously with your own uni's settings and not oxfords):
http://www.oucs.ox.ac.uk/network/wireless/services/eduroam/android/
Eduroam networks generally use the recommended EAP-TTLS/PAP as authentification, which is not supported by the GUI utilities. It is true that some places (Oxford is amazingly good with their network services) offer alternatives like PEAP/MSCHAP precisely because mobile devices are often lacking other options. It all depends on your local network setup.
I just got back to Cambridge, and Eduroam works fine with an Orange Hero.
Go to wifi settings:
EAP Type = PEAP
Sub Type = PEAPc0/MSCHAPv2
Username = CRSID email address (ie. [email protected]) - NB Case sensitive
Password = Network token available from https://tokens.csx.cam.ac.uk/ (need to log in with Raven to this page)
my_space said:
ok ive got eduroam to work
you will need to download the GTE CyberTrust Global Root certificate in pem format ( i have renamed it to eduroamcert.pem below)
these are the settings for wpa_supplicant i have used to get it to work:
Code:
network={
ssid="eduroam"
proto=WPA
key_mgmt=WPA-EAP
pairwise=TKIP
group=TKIP
eap=TTLS
phase2="auth=PAP"
anonymous_identity="[email protected]"
identity="[email protected]"
password="XXXXXX
ca_cert="/sdcard/eduroamcert.pem"
priority=3
}
doesnt matter what priority you use.
edit::
forgot to mention XXXX for identity is not ur email alias, rather what you use to log in, in the computer rooms
Click to expand...
Click to collapse
It would be interesting to know where to find this wpa_supplicant thing, so I could edit it.
My university uses same GTE_CyberTrust_Global_Root protocol with eduroam. I've tried PEAPv0/MSCHAPv2 didn't worked.
Originalas said:
It would be interesting to know where to find this wpa_supplicant thing, so I could edit it.
My university uses same GTE_CyberTrust_Global_Root protocol with eduroam. I've tried PEAPv0/MSCHAPv2 didn't worked.
Click to expand...
Click to collapse
i think what you think of is EAP-TTLS (the GTE_.. is just a CertificationAuthority, if i am not wrong). as it was said, you can edit the wpa_supplicant file, somewhere in /data/etc/wifi/, if remember correctly. you could also wait for the 2.1 update, which will bring native support for this EAP-type which works very well.
HugoEgon said:
i think what you think of is EAP-TTLS (the GTE_.. is just a CertificationAuthority, if i am not wrong). as it was said, you can edit the wpa_supplicant file, somewhere in /data/etc/wifi/, if remember correctly. you could also wait for the 2.1 update, which will bring native support for this EAP-type which works very well.
Click to expand...
Click to collapse
I've HTC Desire, so I believe it's already runing 2.1. Though it connects to eduroam, but web pages and other stuff doesn't work.
Had Nokia and iPhone, both automatically downloaded all security stuff connecting first time.. and Android OS has some strange issues with eduroam wi-fi.
Here is a fix realmb.com/2010/01/android-certificate-installer/ you can install any security certificate using this to Android 1.6 and above.
Soz to dig up an old thread but I think it's relevent..
I've been trying to get my hero (T-mob G2) onto eduroam for ages, and I wanted to make the additions to wpa_supplicant but I don't know how to get access to the file system - I only seem to be able to mount the sdcard and not anything higher. I haven't rooted my phone.. is this why?
Thanks for any help :/
w0ss4g3 said:
Soz to dig up an old thread but I think it's relevent..
I've been trying to get my hero (T-mob G2) onto eduroam for ages, and I wanted to make the additions to wpa_supplicant but I don't know how to get access to the file system - I only seem to be able to mount the sdcard and not anything higher. I haven't rooted my phone.. is this why?
Thanks for any help :/
Click to expand...
Click to collapse
Umm yes. You must root first, and then remount using adb remount for this to work.
Easiest way is to install a custom ROM on your phone, as that will give you root
adhoc connectivity worked on galaxy s2
this trick found from another thread
you need a rooted phone & root explorer
1. Unzip the file attached here (wpa_supplicant.zip) and send wpa_supplicant to your phone.
2. Using Root Explorer go to the folder were you save it (wpa_supplicant) and copy the file.
3. Using Root Explorer, enter the /system folder and press the Mount W/R button (upper right corner)
4. Now go to /system/bin and backup your current wpa_supplicant, and paste the new one.
5. Set permissions to wpa_supplicant like attached picture, then go back to /system and press Mount R/O (upper right corner, so you leave everything exactly like it was) and reboot. Done. Enjoy AD-HOC!
Thanks for the patch, but before you get banned by some moderator, please remove your first attachment. It's a paid app/ WAREZ.
Root Explorer is paid. Don't post it.
Tested & working on sgs 2! Thx man!
I can see the ah hoc network established from my laptop now.. but when I try to connect, it stays in a state "Obtaining IP address" .. so cannot access internet anyway .. Is there any workaround? Thanks.
Thanks dude
excellent, previously i was using connectify to connect my phone to Laptop but the signal strength was so poor and also after few mins it is used to go down. Now got rid of the problem using this file.
Thanks again
ace117 said:
Tested & working on sgs 2! Thx man!
Click to expand...
Click to collapse
+1 for me too.
P.S. just replaced the original file using Root Explorer.
hi,
the same here that varunmagical with VillainRom 2.4.2.
gs2 is able to find adhoc network but cannot obtain an IP.
very much thanks if you can find a solution...
++
Thanks a lot
it worked for me.
I replaced this file. This step is important:change the WPA to WEP encryption mode on PC. AD-hoc is ok using my SII I9100 mobile.Pls to try it. tks.
still not for me despite the wep ad-hoc network created from the mac.
Set permissions to wpa_supplicant like attached picture, then go back to /system and press Mount R/O (upper right corner, so you leave everything exactly like it was) and reboot. Done. Enjoy AD-HOC!
Click to expand...
Click to collapse
what are the permissions to set?
is it important to switch back to Mount R/W ?
thank you
i have a tablet running android 2.3.3 rooted with superoneclick...i follow the instractions to copy paste the wpa_supplicant using root explorer.but when i open my wifi shows false and my table restarts.what i do wrong...i am lucky that i made copy of the original file
I´m actually able to see network but not to connect to it, any advise??
I take it this is not ICS / CM9 compatible ??
Galaxy S II
CF rooted stock 2.3.6
Working in free and WEP modes.
But there were problems with WinXP configuration.
(In wifi network first have myself to connect to created adhoc network, only then phone sees adhoc network)
Galaxy Note's WIFI VERY unstable after replacing wpa_suppliant.
I wanted to connect my galaxy note to my iPad's Mywi for wifi (ad hoc) connection.
Thus i did the following steps:
- root galaxy note using zergrush
- downloaded xda's replacement wpa_suppliant
- downloaded root explorer
- uploaded the replacement wpa_suppliant file to the phone and replaced the original one at /systems/bin
After this, my phone was able to connect to iPad's Mywi, BUT connection is VERY unstable and gets disconnected every 5-10mins. Also it takes really long to get it connected back, like about 10-15mins for it to try to get connected.
I've tried re-doing the WHOLE of the steps above, INCLUDING re-rooting my phone, but to no avail. My Wifi function was working perfectly fine prior to this.
Can some kind souls out there please advice me if I've done anything wrong in my steps? Or if there's any way to solve this (WITHOUT re-doing it back to the original)? thanks!
Hi! Recently I bought the Galaxy W equipped with GB 2.3.6 and yesterday I installed the latest january's firmware upgrade.
Did anybody try to install the modified wpa_supplicant into that device?
Thank you!
Antonio
Set permissions to wpa_supplicant like attached picture? Which permissions? Can you upload that pic again or just tell us what to mark, owner group others? read write execute? And from special permissions: Set UID, Set GID, Sticky?
By default at my stock wpa_supplicant permissions are set and marked like: Owner=mark at read, write and execute, Group=mark at read and execute,
Others=mark at read and execute. None of special permissions are marked.
Should it be the same for new copied wpa_supplicant or?
Thanks in advance...
Just one little question here. I hope someone takes time to answer it. I have been around reading about adhoc this and adhoc that. But what I wanna know if these methodes that enable adhoc functionality, allow 2 mobile devices to get connected to each other. I mean like between 2 SGSII not between a PC and a SGSII?
Like making one of the SGSIIs the center and the other client (or infrastructure or whatever it's called)?? Is this possible with all these adhoc enablers?
Can't turn Wi Fi on after using the file from OP.
Using ICS/CM9 Hydra rom.
I found a simple way to change wi-fi MAC address on Ace. Only watch you needed is Root Explorer. Follow this instruction:
1. If your wi-fi is on turn it off
2. Open Root Explorer and go to the /data folder
3. Find and select via long touch the file .nvmac.info
4. Use the option "Open in Text Editor"
5. Change the MAC address to the what you want (I suggest to insert the letters as big characters).
6. Touch the menu button and select "Save & Exit"
7. Torn on you wi-fi and connect to the preferred network. You Ace should connect to the network witch the new MAC address
Note! This change aren't permanent, when you reboot you phone the MAC address goes back to the original. Only test on CyanogenMOD, but working on other rom's based on CM. Not tested on stock rom's and other custom rom's (if you can test it on stock rom's or stock based rom's and it works tell my I will include this information to the post). Use at own risk.
What is the practical use, may I know? Does it help clear timed downloads?
Why change your mac address?
consegregate said:
What is the practical use, may I know? Does it help clear timed downloads?
Click to expand...
Click to collapse
Well it helps me change to a MAC address that my college Wifi recognises, i can even connect using my phone (i.e. my laptop registered with them)
This+TransProxy made my day
ok i don't know about you but if this tutorial ends up as a means to perform MAC spoofing, the user will end up on the wrong side of the law. Be warned.
Can i use laptop mac address?
satti8893 yes, why do think that you can't?
ok how about this.. any way to retrieve the list of wifi passwords your device has stored?
mundixx said:
ok how about this.. any way to retrieve the list of wifi passwords your device has stored?
Click to expand...
Click to collapse
Of course.
Use root explorer to do it
Cheers
catapult1234 said:
Of course.
Use root explorer to do it
Cheers
Click to expand...
Click to collapse
Cheers!
happily1986 said:
ok i don't know about you but if this tutorial ends up as a means to perform MAC spoofing, the user will end up on the wrong side of the law. Be warned.
Click to expand...
Click to collapse
Hhh too simple for noob to do these. Wlan admin mostly aware and deploy wpa2 than mac address based security.
diditdr said:
Hhh too simple for noob to do these. Wlan admin mostly aware and deploy wpa2 than mac address based security.
Click to expand...
Click to collapse
don't be so sure. some home users don't even enable authentication OTA from their access points and some just enable MAC filtering.
fyi, encryption results in a degeneration of the 2.4Ghz radio signal to a limited extent. As a result, some people resort to broadcasting in open and only using MAC filtering.
dragonnn said:
2. Open Root Explorer and go to the /data folder
3. Find and select via long touch the file .nvmac.info
Click to expand...
Click to collapse
No such file in CyanoGenMod v10 (but I have an Asus EEE Transformer). I did a search within all directory structure: it is not there .
So this system is not valid for any CyanoGenMod ROM.
Sopalajo de Arrierez said:
No such file in CyanoGenMod v10 (but I have an Asus EEE Transformer). I did a search within all directory structure: it is not there .
So this system is not valid for any CyanoGenMod ROM.
Click to expand...
Click to collapse
SAME HERE! Did a search = no such file! (Using CM 11)
A brief history of what I've been through before this issue:
My Pro came with 2.2 Froyo from verizon, then flashed Vanilla's CM7 v8 (which is the absolute best ROM I've tested for this phone); no wifi mac address problem here. Then I messed up by installing another recovery, semi-bricked, and forced to SBF to stock Verizon 2.3.3 gingerbread. Then rooted with Pete's Motorola Root Tools, flashed recovery, kernel, wiped, and once again to Vanilla's CM7 v8.
After all this mess, my Wi-Fi MAC address is changing every time wifi goes off/on or reboot, and this is pretty inconvinient for me since both my workplace and home networks have MAC address filter, and changing the router configuration every time I'm forced to reboot my phone is not an option.
YES, I've flashed the Kernel that the developer provides with the ROM.
YES, I've tried reflashing both the rom and the kernel the way the diveloper suggests, doing system/data/cache wipes in between.
NO, this was not happening the first time I've flashed this ROM.
Any suggestions?
Please help!!
SOLVED READ BELOW!
Fix found
Here's the MAC address fix for your Pros running CM7. If you have had an issue connecting to wifi, it's probably because each time the device's wifi is restarted, a new MAC address is generated which will clog up your router as you can easily run out of IP addresses to lease to each and every new MAC address that's generated each time your device's wifi is restarted. The link can be downloaded here. The instructions are simple:
1. Flash CM7MAC.zip (attached) in clockwork no need to wipe anything
2. "Activate it" by going into the terminal emulator app, typing "su" (without the quotes) then typing "mac-address-fix.sh" (without the quotes). A bunch of weird symbols should come up, but that's normal.
What this does is it auto-generates and writes your permanent MAC address to a file called called nvs_map.bin under /data/misc/wifi/nvs_map.bin. It will remain there and your MAC address will remain the same unless you wipe your /data whereas you will simply have to redo it
Note: if you get an error message in the terminal after doing the fix, make sure your Wi-Fi is turned on and you're connected to a network
For CM7, download -->
hi!
my phone does the same, each time WIFI is turned on it generates a temporary MAC address, but the file you mentioned (nvs_map.bin) can't be found in /data/misc/wifi...
could you help me please how the map_gen file is generated? i don't have CWM so i can't flash the zip file, but i have a terminal and two hands
thx
Do we have anything for Android 4.2?
negro_acdc said:
Here's the MAC address fix for your Pros running CM7. If you have had an issue connecting to wifi, it's probably because each time the device's wifi is restarted, a new MAC address is generated which will clog up your router as you can easily run out of IP addresses to lease to each and every new MAC address that's generated each time your device's wifi is restarted. The link can be downloaded here. The instructions are simple:
1. Flash CM7MAC.zip (attached) in clockwork no need to wipe anything
2. "Activate it" by going into the terminal emulator app, typing "su" (without the quotes) then typing "mac-address-fix.sh" (without the quotes). A bunch of weird symbols should come up, but that's normal.
What this does is it auto-generates and writes your permanent MAC address to a file called called nvs_map.bin under /data/misc/wifi/nvs_map.bin. It will remain there and your MAC address will remain the same unless you wipe your /data whereas you will simply have to redo it
Note: if you get an error message in the terminal after doing the fix, make sure your Wi-Fi is turned on and you're connected to a network
For CM7, download -->
Click to expand...
Click to collapse
Note: if you get an error message in the terminal after doing the fix, make sure your Wi-Fi is turned on and you're connected to a network
** How can I turn on Wi-Fi when there's no mac-address? No mac-address, no network! **
Hi,
I tried running this shell script but seems like its not executed successfully ... reason i believe so is ...
1. i dont see any wierd symbols coming up ... just a pause for a couple of seconds.
2. i dont see the "/data/misc/wifi/nvs_map.bin' file in the said location.
Please help.
thnx
Mac addrs and imei problm
Hi, in my gionee ctrl v4s the problem is two types, i have seen after i was updated lollipop , one problem is tht, whn i reboot my phn thn my mac address automatically changed everytime.. And 2nt problem is tht my imei also erased whn i updated lollipop so plz help me...
this is the best solution
https://www.youtube.com/watch?v=8ejnFB5i5o8
Is there a solution for this in Marshmallow?
yes this is the best solution
Thanks. This process worked well on my lenovo s650 cyanogenmod 13 custom rom. But could someone explain what is really happening through this solution?
my oppo f1s 64gb, it was dead, recovered working fine, but each restart it changes mac id, and remove all wifi stored connections
is there any solutions?
Seems its pretty common for MediaTek chipsets.
Thanks for the video link!
Hi,
First off i want to state that i have some knowledge of the legal issues concerning changing of MAC addresses and the sole reason that i want to do this is because privacy is a big issue for me and i have a right to enjoy my right. Therefore, any posts or argument concerning such are requested to be posted elsewhere where the topic expressly states so.
Also, please treat me like a newbie when it comes to developing and programming of any kind. I have a very shallow understanding of kernel and the likes.
I am using a rooted S5 G-900H(Exynos with BCM 4534 chip)
Running on 4.4.2 Kitkat stock ROM and Kernel
So without further ado, here is what i have found so far
The MAC address is reflected in a hidden file called .mac.info in the /efs/wifi/ folder. However, editing the file does not change the actual MAC address in anyway. A phone reboot or even turning the wifi on/off will just change it back to the original.
I dumped partitions from /dev/block/ on to my SD card and copied it to my laptop. I searched through the files and found the MAC address in the efs.img partition.My wifi was turned off and the plane was in airplane mode. I modified it and flashed it back using the dd command from terminal emulator on my phone(this can also be done through adb shell but im guessing if you know what that is then you obviously know how to do it).
I rebooted the phone and everything seemed fine. The Wifi MAC address in the status screen in settings displayed my edited address. The .mac.info file also displayed the same. The problem is that it reverted back to the original as soon as i turned on the wifi. The MAC address values in the .mac.info file, status screen and the efs partition from the /dev/block/, all changed back to the original.
I have read that for most phones the important information unique to that particular phone(like IMEI, wifi/BT MAC address, unlock codes and so on) is stored in the NV_DATA.bin file, but everything is encrypted. Also there are only guides as to searching unlock codes and such, so i tried to search for hash blocks randomly using Hex Editor but there was nothing of the sort and the only hash block i can recognize is the one with AES-Encryption as shown from another forum on this site.Maybe it is another type of encryption, but that was another dead end for me.
Then i tried to search and edit various files and kernels as such, but there are no kernels that directly offer this customization. Tried to edit init.tuna.rc but there was no such file in the root directory. Searched init.goldfish.rc and init.wifi.rc and found nothing, but i did see init.svc.macloader mentioned and since i didnt want to mess with programs in the /system/bin/file i left it as is.
Also tried to search through PARAM partition using Hex Editor but nothing was there. Did the same for RADIO and BOOT but i dont think i did find anything major there.
tried to edit /sys/class/net/wlan0/address but it didnt let me, even though i was mounted as r/w. Flashing through dd command on terminal also resulted in permission denied. I was only able to view or dump it. I thought that may have been the source, but modifying the MAC address through the busybox if config command was reflected on the file. which obviously means that its not.
Looked through the dmesg (kernel) log and found a few interesting things but i dont know how to interpret them and what to do with it either. Ill post it later.
There is no NVRAM.txt the only ones in place of it i have are nvram_mfg.txt, nvram_mfg.txt_wisol, nvram_mfg.txt_semco3rd, nvram_net.txt, nvram_net.txt_semco3rd, nvram_net.txt_wisol.
I did do a bit more searching and editing, but i dont recall them right now.
Now, After all that what i think is this.
There is a source for the original MAC address somewhere either hardcoded in the Broadcom chip or somewhere in the partitions under a layer of encyrption.
The Original MAC address is only accessed when the wifi is turned on and not on reboot. This means it is not in any file, program or script that activates on boot, so only scripts and files accessed and imported during the turning on of wifi
must have it. Also while wifi is on and running, busybox ifconfig command changes the MAC address succesfully albeit temporarily, although the change is not seen on the status screen and but it does on the .mac.info file.
Any help from anyone, especially from developers with knowledge of Android kitkat ROm and kernels would be very much appreciated.
Alpaca_Bandit said:
Hi,
First off i want to state that i have some knowledge of the legal issues concerning changing of MAC addresses and the sole reason that i want to do this is because privacy is a big issue for me and i have a right to enjoy my right. Therefore, any posts or argument concerning such are requested to be posted elsewhere where the topic expressly states so.
Also, please treat me like a newbie when it comes to developing and programming of any kind. I have a very shallow understanding of kernel and the likes.
I am using a rooted S5 G-900H(Exynos with BCM 4534 chip)
Running on 4.4.2 Kitkat stock ROM and Kernel
So without further ado, here is what i have found so far
The MAC address is reflected in a hidden file called .mac.info in the /efs/wifi/ folder. However, editing the file does not change the actual MAC address in anyway. A phone reboot or even turning the wifi on/off will just change it back to the original.
I dumped partitions from /dev/block/ on to my SD card and copied it to my laptop. I searched through the files and found the MAC address in the efs.img partition.My wifi was turned off and the plane was in airplane mode. I modified it and flashed it back using the dd command from terminal emulator on my phone(this can also be done through adb shell but im guessing if you know what that is then you obviously know how to do it).
I rebooted the phone and everything seemed fine. The Wifi MAC address in the status screen in settings displayed my edited address. The .mac.info file also displayed the same. The problem is that it reverted back to the original as soon as i turned on the wifi. The MAC address values in the .mac.info file, status screen and the efs partition from the /dev/block/, all changed back to the original.
I have read that for most phones the important information unique to that particular phone(like IMEI, wifi/BT MAC address, unlock codes and so on) is stored in the NV_DATA.bin file, but everything is encrypted. Also there are only guides as to searching unlock codes and such, so i tried to search for hash blocks randomly using Hex Editor but there was nothing of the sort and the only hash block i can recognize is the one with AES-Encryption as shown from another forum on this site.Maybe it is another type of encryption, but that was another dead end for me.
Then i tried to search and edit various files and kernels as such, but there are no kernels that directly offer this customization. Tried to edit init.tuna.rc but there was no such file in the root directory. Searched init.goldfish.rc and init.wifi.rc and found nothing, but i did see init.svc.macloader mentioned and since i didnt want to mess with programs in the /system/bin/file i left it as is.
Also tried to search through PARAM partition using Hex Editor but nothing was there. Did the same for RADIO and BOOT but i dont think i did find anything major there.
tried to edit /sys/class/net/wlan0/address but it didnt let me, even though i was mounted as r/w. Flashing through dd command on terminal also resulted in permission denied. I was only able to view or dump it. I thought that may have been the source, but modifying the MAC address through the busybox if config command was reflected on the file. which obviously means that its not.
Looked through the dmesg (kernel) log and found a few interesting things but i dont know how to interpret them and what to do with it either. Ill post it later.
There is no NVRAM.txt the only ones in place of it i have are nvram_mfg.txt, nvram_mfg.txt_wisol, nvram_mfg.txt_semco3rd, nvram_net.txt, nvram_net.txt_semco3rd, nvram_net.txt_wisol.
I did do a bit more searching and editing, but i dont recall them right now.
Now, After all that what i think is this.
There is a source for the original MAC address somewhere either hardcoded in the Broadcom chip or somewhere in the partitions under a layer of encyrption.
The Original MAC address is only accessed when the wifi is turned on and not on reboot. This means it is not in any file, program or script that activates on boot, so only scripts and files accessed and imported during the turning on of wifi
must have it. Also while wifi is on and running, busybox ifconfig command changes the MAC address succesfully albeit temporarily, although the change is not seen on the status screen and but it does on the .mac.info file.
Any help from anyone, especially from developers with knowledge of Android kitkat ROm and kernels would be very much appreciated.
Click to expand...
Click to collapse
As you said, ifconfig changes it, there are several apps that do it for you as well, chainfire also released a mac randomizer app. You also noted it's hardwired in, so i would just have a startup script that changes it if i were you, there night be a better way to do it though.
Sent from my Tw5ted SM-G900A using Tapatalk
Yes, I have been using pry-fi as an option but the thing is that when i'm watching videos or downloading large sized files from playstore or other file hosting sites, it starts to turn my wifi on/off several times before becoming stable and logging in to the AP again. I have tried macchanger also and both misbehave after an interval of time. Thats why im trying to search for a more cleaner way to do it.
Running an init script would be nice but i have no idea how to do that. But there should be a script that only runs when turning on the wifi right? Would you know where this file was located and how to modify it? and if so please tell me.
Alpaca_Bandit said:
Yes, I have been using pry-fi as an option but the thing is that when i'm watching videos or downloading large sized files from playstore or other file hosting sites, it starts to turn my wifi on/off several times before becoming stable and logging in to the AP again. I have tried macchanger also and both misbehave after an interval of time. Thats why im trying to search for a more cleaner way to do it.
Running an init script would be nice but i have no idea how to do that. But there should be a script that only runs when turning on the wifi right? Would you know where this file was located and how to modify it? and if so please tell me.
Click to expand...
Click to collapse
You can just use init.d to make the script, shell scripting isnt very hard and i won't give you a tutorial here. Also as noted many places when researchng changing a mac on android, you can't connect to secured APs, or it won't be easy at least. As i said before, there may be a better way to do this, but i do not know it.
Sent from my Tw5ted SM-G900A using Tapatalk
Ok, thanks a lot. Running a script might just be cleaner than anything else I have right now. I'll still be on the lookout for other ways though. Call me hard to please.
Btw, I think the reason most custom MAC addresses(if they do get changed) are too different than the ones registered on the chip. I've found that changing only the 2nd digit out of the 12 in the address, to an even hexadecimal number like 2 or A, works for me on my pc.
Also you need to forget the networks on your pc or android as soon as you change it. Doesnt matter if you have the password or not, it doesnt connect. Must be something to do with the saved info about the ap on the phone that messes it up.
Alpaca_Bandit said:
Ok, thanks a lot. Running a script might just be cleaner than anything else I have right now. I'll still be on the lookout for other ways though. Call me hard to please.
Btw, I think the reason most custom MAC addresses(if they do get changed) are too different than the ones registered on the chip. I've found that changing only the 2nd digit out of the 12 in the address, to an even hexadecimal number like 2 or A, works for me on my pc.
Also you need to forget the networks on your pc or android as soon as you change it. Doesnt matter if you have the password or not, it doesnt connect. Must be something to do with the saved info about the ap on the phone that messes it up.
Click to expand...
Click to collapse
I know on for example ddwrr and even some official router firmwares they allow you to spoof your mac, may be worth looking into how they do it, but i have a suspicion it might be done with a script.
Sent from my Tw5ted SM-G900A using Tapatalk
Hard Wired?
I have been messing with 2 Alcatel Ideal 4060a, (because I bricked the first one i had).
After bricking the first 4060a I had, (wiping all partitions), I bought a second, (so I could install TWRP on it back it up and restore the backup onto the first).
After Restoring the backup of the second onto the first, all was good until I tried to get them online together.
When one connected it knocked the other offline, because they both share the same MAC address.
This is my problem and I wish the Mac Addresses were hard wired, then i wouldn't have this problem.
This is good news for anyone who wants to know if mac addresses are indeed hard wired. They are not, (at least not in the 4060a).
Hope This Helps.
gscripting
MAC for bt and wifi reside in the EEPROM or NVRAM. And that is not editable.
To put it simply you can't change it. Only spoof it. And if you know it's not legal you probably shouldn't be asking.
Reported Is different from original
gscripting said:
I have been messing with 2 Alcatel Ideal 4060a, (because I bricked the first one i had).
After bricking the first 4060a I had, (wiping all partitions), I bought a second, (so I could install TWRP on it back it up and restore the backup onto the first).
After Restoring the backup of the second onto the first, all was good until I tried to get them online together.
When one connected it knocked the other offline, because they both share the same MAC address.
This is my problem and I wish the Mac Addresses were hard wired, then i wouldn't have this problem.
This is good news for anyone who wants to know if mac addresses are indeed hard wired. They are not, (at least not in the 4060a).
Hope This Helps.
gscripting
Click to expand...
Click to collapse
More info relative to these 2 phones
I installed an app called Change my Mac.
It Lists:
Original MAC 12:34:56:78:90:ab
Current MAC ff:ee:dd:cc:bb:aa
They Are Different.
I thought the original MAC address it's showing, was the one written in the EEPROM or NVRAM,
but it turns out, after installing Change My MAC on the other phone also, its lists the same Original and Current MAC addresses as the first phone.
The Current MAC address listed is the one reported in settings and my network.
I Use Change My MAC to set the reported MAC to the original every time the phone boots using Tasker on only one of them.
Using Change My MAC, the change lasts til boot.
Just passing it on for those that might be interested.
When I get link privileges, I'll add a screenshot of Change My MAC.
gscripting