Any way to change MAC and connect to Password Router? - Galaxy S III Q&A, Help & Troubleshooting

Hi!
I tried several guides on the internet to change my MAC address, at first, using one of the "MAC spoofer" Apps, but they all just change it "softly" so you can't connect to Password protected Routers (same happens if you use the busybox/terminal method), but my router is password protected and i need that protection. Next i've tried this guide:
"After your rooted head into terminal emulation type su and go into /data/misc/wifi
Look for a file called nvram.txt
Copy it to your sdcard and then to your cpu desktop open it with notepad and at the bottom of nvram.txt is the mac address
This i was able to verify and test on android Citrus Ciena
Edit that mac address and save it as nvram1.txt onto sdcard
Now go back to data wifi misc and copy nvram.txt to nvram.bak
Head into gui and then settings then wifi then turn on the wifi but don't connect to any wifi
turn off the wifi,switch back to terminal
Copy the nvram1.txt to data misc wifi
remove the original (make sure you got it backed up)
Rename nvram1.txt to nvram.txt
head back into gui and then settings then wifi
Now for me it immediately stated unable to turn on wifi
Ignore it and try to turn it on anyways
When it turns on your newly edited mac address will take effect
Connect to your AP
NOW B4 REBOOTING YOU MUST CHANGE NVRAM BACK TO THE ORIGINAL!"
but I haven't found the nvram.txt, so i searched and searched and found out the "s3 version" of it, is "/etc/wifi/nvram_net.txt" but in this file, my s3 shows me a completely different MAC, as my handy actually has. I tried the method with this file anyway, but it didn't work, i still had my old mac, but the MAC written in the file was not reset, so it seems like the system doesn't even care about the MAC-line in that file. So next I found the ".mac.info" file in "/efc/wifi/" and in this file, there is just my MAC written, which really is my actual MAC. So i tried the Method i've pasted above with that file, and it didn't work, the system did just overwrite that file and as i checked after turning my WLAN back on, there was again my old MAC in the file. Then i tried changing it and making it read-only through Root Explorer, but it didn't work either. This time the system afterwards still had the old MAC, but the file didn't change, so in .mac.info there was still my new MAC written, but the system still had the old one. After some time i checken the file once again, and then suddenly the old MAC was written in the file, and the system did automaticly gave writing-permission back. Now i'm just desperate, so if anyone can tell my any method to change the MAC, which works on galaxy s3, please tell me.

Try Pry-Fi from Chainfire.
https://play.google.com/store/apps/details?id=eu.chainfire.pryfi
____________________________________________
P3110 / I9300 / I9100 / NEXUS 5 / iPAD2

Related

Tethering the Streak to another phone...

Has anyone, (thinking others who've been shutdown by AT&T), tried tethering their Streak to a phone using PdaNet, or something similar?
A friend tried with his Streak and BB (using PdaNet), but didn't have much success.
Thanks,
AG
gersztoff said:
Has anyone, (thinking others who've been shutdown by AT&T), tried tethering their Streak to a phone using PdaNet, or something similar?
A friend tried with his Streak and BB (using PdaNet), but didn't have much success.
Thanks,
AG
Click to expand...
Click to collapse
i use barnacle to connect with ipad.root necessary.
i have a US streak and im having issues getting it to tether to my HTC Aria (using wireless tether). Ive tried the original rom, the O2 1.6 and 2.1 rom. But still no luck, my laptop, and 2 friends ipods will connect through the aria, but the streak doesnt even see it.. So not sure whats going on!
I have a Sprint EVO 4G that can serve as a hot spot but haven't tried it with my Streak yet. But I plan to. I bought the Streak without activating the AT&T part. Don't need two cell phones.
Thanks all.. I know the Archos 5 (which I believe also runs 1.6) advertises the cell phone tethering capability. Anyone know what software it uses? I don't know much about that specific sofwtare, but will start researching...
Yeah Barnacle works.
gersztoff said:
Thanks all.. I know the Archos 5 (which I believe also runs 1.6) advertises the cell phone tethering capability. Anyone know what software it uses? I don't know much about that specific sofwtare, but will start researching...
Click to expand...
Click to collapse
the archos 5 will not tether if u are using adhoc. found out the hard way... (long time ago before the streak came out i thought i could use that and tether with my iphone and it didint work.. apparantally it doensnt support adhoc wifi. but bluetooth tethering worked fine on the archos 5
Maybe someone can get this to work?
Tried to connect to to my WM Omnia via WMWiFiRouter- No Dice.
tried using wpa_supplicant file attched below- i can see and connect to ad hoc network(s), but can not establish IP --> copied to /system/bin
the apk and files below look more promising but perhaps need editing by someone who actually knows what they are doing. the app installs and runs but there is a location mismatch.
then ran across this info here: http://www.slatedroid.com/pandigital-novel-android-tablet-discussion/4505-i-have-infrastructure-adhoc-working-same-time-do-you-want-look-here.html
"Okay, I'm not taking 100% credit for this because all I did was modify the work that this user did:
'Originally Posted by YasinSiddiqui
NOTE: I'm using Rogerbraun Custom ROM 5.1 on Rockchip APAD, but I don't see any reason why this shouldn't work on the PDN too.
Hi Guys,
Finally figured this out.
Since the wpa_supplicant.conf file is read-only, an Android app can't modify the file. Hence, we were having to go back to connecting the APAD to the PC and use DroidExplorer to overwrite the wpa_supplicant file everytime we wanted to enable Adhoc Wifi.
I realized that when you upload a file to the APAD using DroidExplorer, it gets write permissions
And once you have the file with write permissions, an app CAN modify the file.
So, I've created a small app for easy switching between Normal and Ad-hoc wifi modes.
Here are the steps:
1. Step removed because the files were replaced (see below!)
2. Use DroidEXplorer to copy the 3 files: wpa_supplicant.conf, wpa_supplicant.conf.adhoc and wpa_supplicant.conf.normal to /data/misc/wifi folder
3. Install AdhocAble.apk using any File Manager or even DroidExplorer
Now, start up adhoc wifi tethering on your phone (Barnacle Wifi Legacy on Android, JoikuSpot on Symbian, WMWifirouter on Windows Mobile, MyWi on IPhone etc.) and set the adhoc SSID to: adhocable with NO password.
Remember that you have to Turn wifi off and on everytime you switch modes.
For experts: How the app buttons work:
1. Switch to Ad-hoc Wifi Mode: Overwrite wpa_supplicant.conf with wpa_supplicant.conf.adhoc
So if you want to change the adhoc SSID or give it a password, edit the wpa_supplicant.conf.adhoc before copying it via Droidexplorer
2. Switch to Normal Wifi Mode: Overwrite wpa_supplicant.conf with wpa_supplicant.conf.normal
3. Backup Normal Settings: Overwrite wpa_supplicant.conf.normal with wpa_supplicant.conf
This allows you to avoid having to type the normal wifi passwords every time. But, remember not to use this button when you are in ad-hoc mode, otherwise you'll lose all your saved wifi passwords.
4. Do let us know: opens up an email compose window so that you can tell me whether you like the app or not. Do write your name, country and details of which devices and ROMs you have.
My modifications to these instructions are as follows:
Instead of the supplicant files supplied by the user above use mine
Also feel free to open "wpa_supplicant.conf.adhoc" and change the SSID to whatever you want, i.e. I called mine "AndroidTether"
Also I didn't bother with any security because I'm just using the access control feature on my tethering program, I'm not sure if they all have this feature but basically, my phone tells me when someone is trying to connect and asks if I want to allow the connection before the device is assigned an IP.
1. download: "wpa_supplicant_files_WORKING.zip and unzip
1.1 Open "wpa_supplicant.conf.adhoc" and edit SSID to whatever you want
2. place "wpa_supplicant.conf" , wpa_supplicant.conf.adhoc & wpa_supplicant.conf.normal into the sdk's "tool" folder (where adb.exe is)
3. download "AdhocAble_apk.zip" and unzip
4. Place "AdhocAble.apk" into the sdk's "tool" folder (where adb.exe is)
5. Open the command prompt and get to the folder where your adb.exe iscd c:/where_your_sdk_is/tools
6. enter: " adb push wpa_supplicant.conf /data/misc/wifi "
7. enter: " adb push wpa_supplicant.conf.adhoc /data/misc/wifi "
8. enter: enter: " adb push wpa_supplicant.conf.normal /data/misc/wifi "
9. check to see the files are there by entering " adb shell ls /data/misc/wifi "
10. install the apk, you can use my batch file to do this if you'd like here
11. unzip the file manager batch script and place it in the sdk's "tools" folder (where adb.exe is)
12. open the batch file (it should open a new cmd window)
13. select 2
14. select 1 (install an app)
15. it'll ask for the name of the apk. Enter " AdhocAble.apk " exactly, its case sensitive.
16. reboot the PDN
17. Start your cell phone tether and set the SSID to whatever you set in the .conf.adhoc file at the begining
18. Open up the AdhocAble app and select "backup your normal settings", this should save all of the remembered infrastructure network's SSIDs and passphrases
18.1 select Enable Adhoc, it will prompt you to make sure to turn your wifi connection off and back on.
19. Do so.
20. You should see your cell phone's SSID in the connection list (remember the SSID is hardcoded into the .conf.adhoc file so you have to set it to the same thing in the tether program or vice-versa.
21. If you don't see the tether connection enter it manually
To get back to infrastructure - simply open the app and select enable normal mode and turn the wifi off then back on again - after a short bit you should see the networks as usual. It might take a bit longer to obtain an IP, but it should work...if not reboot the PDN and try it again.
Another success - Flytouch2 / Eclair
What an adventure... I tried lots of different approaches to getting my 10" Flytouch2 running Eclair to my Moto Cliq the instructions in this thread formed a good basis for success. I had to make a few changes which I will describe.
First, I am using a rooted Moto Cliq (1.5 I think) running Barnacle to serve up Ad Hoc Wi-Fi. It worked great with my PC and iPad but I really wanted my Flytouch2 to have network access through the Cliq.
So far I have not yet been able to get the Flytouch2 to connect to my PC using ADB; this is a problem for another day. As such I was side loading until I realized that I could place APK's in Dropbox (great free app) and net-load?? them. I also had to get creative with Root Explorer and other file managers / editors to make the required changes
To accomplish this I did the following on my Flytouch2 (less the stuff that didn't work including a couple of bricking episodes)
- Rooted (permanent) painlessly using Z4Root
- Installed Root Explorer (essential for copying and renaming R/O system files)
- Installed TED to edit files
- Install ASTRO File Manager which is helpful for non root file manipulation activities
- Used Root Explorer to mark the /data/misc/wifi directory as R/W so files could be added/modified (the default is RO)
- Installed AdhocAble.apk which is nice but it turns out not really needed in my case
- Disabled Wi-Fi until done
- Installed the wpa_supplicant.conf.adhoc (after editing - attached and below)
- Renamed old wpa_supplicant.conf file as wpa_supplicant.conf.normal)
- Replaced wpa_supplicant.conf using wpa_supplicant.conf.adhoc (basically leaving backups of each in the directory)
After doing this and enabling Wi-Fi I was able to see and connect to my Cliq running Barnacle. I am also able to connect to my standard Access Point as well without any configuration change. The only issue is that I am not running any security but I think this is not a difficult update to the .conf file. I may add a second network SSID entry with a PSK and use "Wireless Tether" on my Cliq to test. For now I am just happy to connect and Barnacle allows me to screen and block all connection requests. The primary deviation from the great instructions earlier in this thread that got me up and running was the content of the wpa_supplicant.conf file. I used part of my original file and part of the file .adhoc file from earlier in this thread.
ctrl_interface=DIR=/data/system/wpa_supplicant GROUP=system
update_config=1
eapol_version=1
ap_scan=2
network={
ssid="JJJ"
scan_ssid=1
key_mgmt=NONE
mode=1
priority=1
}​
Obviously my SSID is set to JJJ (I like J's). I got my inspiration from a file I found buried in my Android file system (attached as ...notes.txt). It is not very interesting reading but it provides lots of clues and it explains the meanings of all the parameters.
So, Ad Hoc connection is possible possible on A Flytouch2 under Eclair.
Now, my rant... it is unconscionable that this is not supported natively in Android. I would speculate that this was a conscious decision by Google resulting from pressure from the big carriers. What I don't understand is how this capability is available in the iPad!? Apple would certainly bow to external pressure (witness the iPhone) from carrier relationships. They also come with $40/mo built in service... so go figure. Now I am delighted to use both my Android Tablet and my iPad with Ad Hoc WiFi served up from my Cliq on T-Mobile!
I hope my additional notes help someone else.
Im gonna have to look at this tomorrow and see if i can finally connect to my omnia 2 running wmwifirouter
Im using an AT&T Streak now on dj steves froyo 1.5.1, I hotspot tether just fine to other devices.
Sent from my Dell Streak using Tapatalk
urphonesux said:
Im gonna have to look at this tomorrow and see if i can finally connect to my omnia 2 running wmwifirouter
Click to expand...
Click to collapse
Interested if it worked? please let me know what settings were needed on the Omnia/WmWiFirouter
Shadowphox said:
Im using an AT&T Streak now on dj steves froyo 1.5.1, I hotspot tether just fine to other devices.
Sent from my Dell Streak using Tapatalk
Click to expand...
Click to collapse
as a client? or you can create a network using your 3g->WiFi hotspot

[Q] questions from a beginner

I am totally new to android, but I decided to try to root my phone anyway, mostly to be able to access the eduroam network at my school.
1) I succeeded in rooting my x10mini using the exploid method (this took me two whole days because I was so scared to break my phone lol), but after I updated today, through PC companion, I seem to have lost root. Should I not accept SE updates? Do I just root it again the same way I did the first time?
2) I downloaded Market Access to be able to download Wifi Config Editor. After installing Market Access, if I try to download something off the market, it takes a couple of minutes before the download starts. Even when I am in my own country's market. Is this normal?
3) How do I stop the emulation of foreign SIM card? So far I have tried emulating my original provider or restarted the phone.
4) If someone calls me while I am emulating a foreign provider, will the call be more expensive or something?
5) I tried to directly change the wifi settings with professordes instructions in the original exploid thread
Now that root is in wild one immediately useful thing to do is fix the WPA-PEAP which is missing. I need this for the eduroam university network at work.
So, with the phone connected and usb debugging on/wifi toggled off, from the androidSDK on a PC (Windows,Linux,Mac) get a shell.....
1) adb shell
2) su
3) cd /data/misc/wifi
4) busybox vi wpa_supplicant.conf
(to edit the wpa configuration file)
5) add this at the end
network={
ssid="eduroam"
key_mgmt=WPA-EAP IEEE8021X
eap=PEAP
identity="MYIDENTITY"
password="SECRET"
phase1="peapver=0"
phase2="auth=MSCHAPV2"
priority=7
}
or similar, where MYIDENTITY is your eduroam login ID and SECRET is your password. This is taken verbatim from another phone (HTC Desire, Android 2.2) which does work OK. You could also edit the file off phone and adb push it on, just watch ownerships and permissions don't get munged up.....
6) save
7) log out
8) connect and surf, it works for me
Click to expand...
Click to collapse
I copy-pasted steps 1-5 (I pasted the last step directly after the text in the cmd window). Since I am a noob, I didn't know how to save and exit, so I just closed the cmd window and unplugged usb...
BIG MISTAKE!
...After I restarted it, my phone was completely dead. After a one hour recharge in the wall socket, the phone worked again and it seems fine now.
So, could someone make a step-by-step (noob-)guide on how to successfully change the wifi settings with this metod?
6) Thank you in advance
-krumcake
1 - Updating it removes the root, but you can simply re-root it the same way.
4 - That only applies to the market. It fools it into thinking you're using a SIM from a different country.

[GUIDE] WIFI revere TETHER over Ad-hoc for WINDOWS and UBUNTU

This guide teaches you to reverse tether your Android phone via WiFi. That is, it allows you to use your Ethernet connection of PC on your Android phone. It is useful for those who do not have WiFi routers and data connection. So if you have unlimited data plan for your computer, why not share the connection with your phone?
I am not the developer of the files supplied
Requirements:-
1.Rooted Phone
2.Wifi enabled Laptop or PC
3.Root explorer or any other application which gives system access
4.File in the attachement
Procedure :-
Phone:
Download Wpa_supplicant.zip and extract "wpa_supplicant" from it, save it on your SD card.
Open Root Explorer, and grant it superuser access when asked for.
Navigate to system -> bin and long press on wpa_supplicant; Select copy, and paste the file into any folder on your SD card.
Now navigate to the file you downloaded, copy it in same way, and paste it back to system -> bin. Note, you might need to mount the system as R/W instead of R/O by pressing a button on the top just before pasting the file.
Reboot.
▬▬Ubuntu (Must work for other Linux Distros too)▬▬:
Open Network Connections
Goto Wireless tab, select add, and set the following:
SSID: <Any_name_you_like>
Mode: Ad hoc
Leave other things unchanged, and go to Ipv4 settings tab
Set method to Shared to other computers
Go to Wireless security tab and set Security to WEP 40/128 bit key and set key to a numeric password (or hexadecimal one).
Check the connect automatically box on top of the tabs and press Save.
Your Android phone must now detect this network, and you can establish the connection by using your security key.
▬▬Windows XP, Vista, 7▬▬
Download and Install Connectify from www . connectify.me/download-lite/
Start Connectify Hotspot by giving a name and password to your hotspot and selecting the Ethernet connection to share. Make sure the security type is WEP or Open.
Disable your firewall (Simply adding it to exceptions doesn't work for AVG at least)
Now your phone should be able to see the hotspot and establish the connection using the password set.
Known Issues :
1.Random disconnections (Very less frequency)
2.Disconnections due to screen lock / sleep on laptop
3.For me Security mode does not works
HIT THANKS IF IT WORKED
ENJOY
For windows, "virtual wifi router" -> Download is free, and imho better..
Do not download the installer version though
it doesn't work, my wifi is broken. When i turn it on, it does nothing, no scanning for network whatsoever and after a few second it turns off by it self. please help..
imkid5359 said:
it doesn't work, my wifi is broken. When i turn it on, it does nothing, no scanning for network whatsoever and after a few second it turns off by it self. please help..
Click to expand...
Click to collapse
I tried it ....It WORKS...may b yu wuld hav bricked your phone deleting sm files...thats y its always adviced to do a backup!
HitMaN/ said:
I tried it ....It WORKS...may b yu wuld hav bricked your phone deleting sm files...thats y its always adviced to do a backup!
Click to expand...
Click to collapse
i think the problem is "wpa_supplicant" file. i moved my backup "wpa_supplicant" back to system/bin and now wifi works fine..
There is a much simpler way to reverse tether. Just search for the app in the play store. It's name is “reverse tether" it costs $4.99 but there's a trial version for testing purposes.
Samson1433 said:
There is a much simpler way to reverse tether. Just search for the app in the play store. It's name is “reverse tether" it costs $4.99 but there's a trial version for testing purposes.
Click to expand...
Click to collapse
please read the thread before you post. That app works only on usb connection. and the op is discussing wireless tether. i don't think anybody would like to spend 5 dollars and then be physically tethered to the pc.
Also, this sites name is xda-developers, we are here to develop and find solutions. If you just wanted to buy 5 dollar apps, then why visit here?
so other people can get it to work? i wonder why doesn't it work for me, tried it again but still facing the same problem, i'm on arconium gb 8.2 and doom kernel v22 :/
HitMaN/
u r attaching the binary file
i tried this several times with several file source ALWAYS FAIL(i didn't try yours)
maybe the the wpa_supplicant.conf file , that located in /etc/wifi/
or the other one located in /data/misc/wifi
r regenerating the binary file the wrong way so it overwritten
is it possible to attach above mention file so we can follow same
NOTE:THIS FILE CONTAIN UR WIRELESS NETWORK PASSWORDS U CAN REPLACE IT WITH *****
Why not just use connectify?
Sent from my LT18i using Tapatalk 2
imkid5359 said:
it doesn't work, my wifi is broken. When i turn it on, it does nothing, no scanning for network whatsoever and after a few second it turns off by it self. please help..
Click to expand...
Click to collapse
it happened with me too . Then i delete the file which i paste it and return the original one to let my wireless work again . Any help
can be used in 4.0.4?
Why not just use connectify?<br />
<br />
Sent from my LT18i using Tapatalk 2
Click to expand...
Click to collapse
Im traveling a lot an on the beginning I'm use connectify also but after a couple of updates it doesn't runner well anymore!!!!!
Then I'm switching to #Virtual Wi-Fi Router# ( to use on W7)
It runns well.
But I'm.never installed everything different on my phone???? Try it first without any change................
Sent from my LT18i using xda premium

[TRICK] Blocked on WiFi Network (root only) (Finished)

Hey guy/gals, I've got a nifty little trick here for you. Now, the trick I'm about to explain is a rather low-level trick that most of you may know, but its for those who don't or are new. So, at the school i attend, they have wifi throughout the school. They make the password something simple like "internet", and then wait for someone to figure it out and tell everyone. Once everyone start joining the network and using it, they just go through and blacklist (ban) the MAC addresses that aren't pre-approved. This was a huge mistake on their part. So here is a method that allows you to spoof your MAC (ghosting) address and regain access to the network.
Method 1: Go to the market and download 2 apps, "BusyBox" and "MAC Spoofer (changer)". Install BusyBox and run it to give it SU permissions. Then run MAC Spoofer and give it permissions. Turn on your wifi and try to connect to the desired network. If you are blacklisted, it will just loop over and over trying to connect. Don't stop it from looping. Press the home button and then open MAC Spoofer. Now, when you run MAC Spoofer there will be a black box in the center of the screen and it should say ">CHECKING FOR ROOT PERMISSION AND WIFI FILE: OK!" then on the next line it will show your original MAC address and your current one. In the entry box between the black box and the spoof button, you can enter your desired address and press "Spoof my MAC". It will then say ">ATTEMPTING TO MODIFY MAC ADDRESS:" and on the next 2 lines it will show your original and current MAC. On the last line it should say "**SUCCESS** MAC OF INTERFACE wlan0 CHANGED TO: (Whatever you chose)". Now you can exit the app and go back to your wifi network selection. Select the network you were trying to join and it should connect.
I hope this works for you all. If you have any questions or issues, just reply to this thread. Don't forget to give me a thanks!
Note: Your MAC will reset to the original MAC when you turn off your wifi or if your reboot your phone.
Note: I am running ME7 with 4.2.2 JellyBean and stock rom.
(Deleted)

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

Categories

Resources