[Q] I9195 - Unable to connect to WIFI network (Authentication error occurred); - Galaxy S 4 Mini Q&A, Help & Troubleshooting

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!

Related

Network Problem

What I am doing:
1. connecting to WiFi AP
2. trying to access any internet site.
What is strange:
1. Internet Explorer, HTC weather and Stock works perfect
2. BUT Opera, Youtube and QuickGPS does not work
3. Intra-network works perfect either from Opera or IE.
Windows config:
1. I set DNS, WINS and proxy with port
2. in connections profiles I have one "My work network" for both Work and Internet.
3. WiFi session connects to Work profile.
4. NO VPN or Modems in profile ...
5. Adapter connects to Work profile.
6. I have certificates installed to access WiFi net.
What I did to resolve the issue:
- I did MTTY and nothing changed;
- I did change of MTU - did not help;
- I've renamed proxy in settings from Symbolic representation to IP - did not help;
- I've tried both 6.1 and 6.5 WM versions and ROMs
- I've tried many combinations of different settings, but nothing helped.
Some times I saw that the issue disappeared on some ROMs after a number of settings changed during tries... but I did not get a logic of how it become working...
I appreciate any help from you and ready to make a testing...
Where are you, masters?

[Q] err_proxy_connection_failed!

Error code: ERR_PROXY_CONNECTION_FAILED
Running Nexus 7 2013 (2nd Gen) WiFi, kitkat, unlocked,
Wifi shows strong connection, detailed error message,
Unable to connect to the proxy server, A proxy server is a server that acts as an intermediary between your device and other servers.
Your system is configured to use a proxy, but Google Chrome cannot connect to it. All my other wifi devices, phones and laptop connect OK.
If you use a proxy server...
Check your proxy settings or contact your network administrator to make sure the proxy server is working. (end of error mssg)
This is beyond me, I was using wugfresh to root, got it unlocked but never got it to root, while doing so, there are two kitkat os options, and when I finally tried the second one, this happened. All else works fine, just this wifi connection error, I reset wugfresh to the first kitkat os version and tried rooting again but no change in proxy error. Not blaming wugfresh, just explaining what I was doing. Googled for a solution but they all refer to Chrome on a PC, I cannot find proxy setting info on the Nexus 7 2013 wifi.
I've tried all the obvious, shut off and restart, plus, wiped and factory restore to original.

Nexus 7 2013 WiFi - WiFi won't turn on after Marshmallow upgrade - bad Mac Address

Just sideloaded the Mashmallow update from 5.1.1 to 6.0 (downloaded from Google) and the update seemed to go normally - most things work as normal. But the WiFi wouldn't turn on, and it's mac address reports as 02:00:00:00:00:00. That address I know was an issue in the M Preview as a fake address.
I didn't want to hard reset it but in the end relented and loaded a clean new version of 6.0 from Google. When it restarts the second thing it wants to do, after selecting a language, is start the WiFi so it can log on. Of course WiFI won't start, and I can't "skip" so it's stuck. I tried Bad_Boyz fromXDA, and then going back to 5.1.1, and now forward again to 6.0 - same result. I suspect the WiFi mac address has been cleared. I found a little help that if I shell into the tablet, and write the mac address into /persist/wifi/.macaddr I might move forward. I know how to do this, but I can't shell in with adb. I can talk over USB, and run fastboot. When I connect via USB the Nexus mounts (sort of - the storage folder isn't shown when the tablet is at the "Select WiFi network" stage of setup)
When I run "adb devices" - I can't see any, even though I can "fastboot reboot recovery" and the like. I'm sure bluetooth (mac address) is broken too, but I"ll fix that later.
Does anyone have any idea how I can encourage adb to talk, so that I can "adb shell"?
Safe Mode
Just so you know - I started it in safe mode, which I have done before, but anyway - and the WiFi works. Also, USB debugging is presumably switched to off on a hard reset, and I couldn't log in to enable it without working WiFi. Suddenly my mac address is back. Don't really know if safe mode is the answer but it's worth trying...
To get into Safe Mode - long press on the "Power Off" question when you turn it off - it reboots in safe mode.

Elephone S7 fix the changing WiFi MAC adress

I have fixed mine.
There was no MAC address programmed to the device at factory. That's an omission. So the WIFI driver when activated after restart or by turning wifi off/on notices that and gives a temporary MAC address.
That address changes in the last bytes.
The solution is to write a WIFI MAC address with an appropriate tool. I did use SN_Writer just be careful to leave the other data alone.
I guess the same happens with the Bluetooth address but did not check that out yet.
0) Choose a valid MAC just look under settings the temporary one that your phone uses that's ok
1) Install VCOM Driver if you don't have it yet
If you use Windows 10 then you have to temporarily disable Driver Signature check since those drivers are not signed
Instructions and download here
http://forum.xda-developers.com/elephone-m2/help/windows-10-mtk-vcom-usb-drivers-32-64-t3267033
2) Download the SN_Writer I did use that one, password is mtk2000
http://mtk2000.ucoz.ru/down18/SN_Writer_Tool_v1.1648.rar
3) Download the right stock rom for your device you need the file which is named like the one I did use
APDB_MT6797_S01_alps-mp-m0.mp9_W16.48
4) Power off phone
5) In SN_Writer hit System Config uncheck everything and check Wifi Adress on the left side
In database file AP_DB use the file from 3)
That should do it.
Hit Start and entry the MAC just the digits no dashes etc.
Connect the phone while holding Volume Down.
That should do it.
Thanks for the write up, I got my S7 WiFi MAC address fixed now too, with your steps !!
Bluetooth appears already fixed/correct. (Also I haven't noticed my paired bluetooth devices loosing pairing..)
FunkiBluDawg said:
Thanks for the write up, I got my S7 WiFi MAC address fixed now too, with your steps !!
Click to expand...
Click to collapse
Great! Also good that Bluetooth is correct. Did not pair anything yet but good to know there won't be similar problems.
Idakis said:
I have fixed mine.
There was no MAC address programmed to the device at factory. That's an omission. So the WIFI driver when activated after restart or by turning wifi off/on notices that and gives a temporary MAC address.
That address changes in the last bytes.
The solution is to write a WIFI MAC address with an appropriate tool. I did use SN_Writer just be careful to leave the other data alone.
I guess the same happens with the Bluetooth address but did not check that out yet.
0) Choose a valid MAC just look under settings the temporary one that your phone uses that's ok
1) Install VCOM Driver if you don't have it yet
If you use Windows 10 then you have to temporarily disable Driver Signature check since those drivers are not signed
Instructions and download here
http://forum.xda-developers.com/elephone-m2/help/windows-10-mtk-vcom-usb-drivers-32-64-t3267033
2) Download the SN_Writer I did use that one, password is mtk2000
http://mtk2000.ucoz.ru/down18/SN_Writer_Tool_v1.1648.rar
3) Download the right stock rom for your device you need the file which is named like the one I did use
APDB_MT6797_S01_alps-mp-m0.mp9_W16.48
4) Power off phone
5) In SN_Writer hit System Config uncheck everything and check Wifi Adress on the left side
In database file AP_DB use the file from 3)
That should do it.
Hit Start and entry the MAC just the digits no dashes etc.
Connect the phone while holding Volume Down.
That should do it.
Click to expand...
Click to collapse
thanks a lot, worked like a charm. I really needed that fix as i put mac control on my router
Meta_maui_db_inconsistent
After:
"Connect the phone while holding Volume Down."
... just a message "META_MAUI_DB_INCONSISTENT" und the process break it
You have an idea what I can still check?
66krieger said:
After:
"Connect the phone while holding Volume Down."
... just a message "META_MAUI_DB_INCONSISTENT" und the process break it
You have an idea what I can still check?
Click to expand...
Click to collapse
Sorry for my late answer.
Double check step 3) you need the correct file from the correct stock rom for your device.
If that still doesn't work I would try reflashing the bootloader preloader (only) from stock ROM and try again.
It should work.
I'm not having any luck with my device on windows 10.
Whenever I try to connect my device to windows via usb, a pop appears - (USB device not recognized-the last USB device you connected to this computer malfunctioned ,and Windows does not recognize it) .
I've also tried to clean up my usb drivers and re-install MTK preloader.
Any advice how I might fix this?
File APDB_MT6797_S01_alps-mp-m0.mp9_W16.48?
Hi,
Where do I find the file "APDB_MT6797_S01_alps-mp-m0.mp9_W16.48"?
It's not available on Google.
Thanks!
Thank q so much .. Fix it.

(Need "more" help) WIfi mac address still stuck to 02:00:00:00:00))

Hi,
I have read almost everything that this forum gave me and some solution from the rest of the internet and STILL my wifi mac address is still stcuk at 02:00:00:00:00:00
Wifi won't turn on and it won't display available wifi
I can't remember exactly what caused it but i'll try to share my recollection
I vaguely remember that i was able to connect to the wifi before trying to fix it. Can't recall what really happened
I fixed the random rebooting nexus 5x by using unblod fix
I think i tried rooting it and succeeded with a twrp recovery
I vaguely remember flashing a zip custom rom with wrong version and brought it into a soft brick. Cant find the file anymore.
I reflashed it with flash all batch file from stock firmware
the phone is bootlooping
Fixed it again using unblod exe using the stock firmware's boot.img
Wifi wont turn on
mac address is 02:00:00:00:00:00
Tried on android 6.0, 7.0, 7.1.2, 8.0 and 8.1.0
Other solutions tried:
Nil Mac app. Seems to work app wise but mac is still stuck at 02:00:00:00:00:00 on settings. Wifi wont turn on
Manually edited, placed *.bin file in /persist, and /etc/firmware/wlan/qca_cld/
WIfi mac changer apps from appstore (they dont work)
Some root apps that mess with the phone's setting (cant find anything that seems to deal with wifi mac address)
p.s.
I also tried bricking the phone using TWRP wipe and checking all the wipe locations to eliminate remnants from previous mods
I cant seem to do anything. Still stuck at 02:00:00:00:00:00
Any more suggestions on where to look?
Or is android not getting the real mac address and revert to 02:00:00:00:00:00 and wont let wifi turn on during flash all script?
Thanks in advance.
Recent Android hides the MAC address to prevent tracking. 02:xx:xx:xx:xx:xx means a site-local MAC address.
Try using "ip link" and looking for the wlan0 entry. eg.
Code:
22: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 3000
link/ether 2c:59:8a:xx:xx:xx brd ff:ff:ff:ff:ff:ff
nowster said:
Recent Android hides the MAC address to prevent tracking. 02:xx:xx:xx:xx:xx means a site-local MAC address.
Try using "ip link" and looking for the wlan0 entry. eg.
Code:
22: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 3000
link/ether 2c:59:8a:xx:xx:xx brd ff:ff:ff:ff:ff:ff
Click to expand...
Click to collapse
HI,
thanks for the reply. I already did that and i got a mac address that is not 02:00:00...
then i tried to change it using if config just to see if it changes using the command.
I got an error saying wlan0 not found (not exact words)
Is there a different MAC address in Settings -> System -> About phone -> Status ?
nowster said:
Is there a different MAC address in Settings -> System -> About phone -> Status ?
Click to expand...
Click to collapse
No, it is 02:00:00:00:00:00.
arviverona said:
No, it is 02:00:00:00:00:00.
Click to expand...
Click to collapse
Did this ever get fixed? I'm facing the same issue. However, the steps I did was trying to spoof a MacAddress using Busybox and a terminal emulator.
Just using that would not allow me to connect to wifi, but wifi was turned on. Then I read to change the wlan.bin file in the persists folder.
After I changed that file and did a reboot wifi would not turn on.
I tried:
1. factory reset
2.Changing the wlan.bin back to what it was
3.Sideload android 8.0
4.Flash OEM back to factory
Nothing seems to work. Settings->about->status MacAddress says "unavailable", but
wifi -> preferences -> advance shows MacAddress 02:00:00:00:00:00
Any help would be great,
-realkewl
Try AMC, its the only MAC Address Changer app I could find that worked on my 5x. That was without a screwed up MAC address to begin with, but It might work for you.
I downloaded it from the play store, but now its not there. Here's the apk from my phone:
https://sqerk.com/pythonlimited.amc.apk
Looks like AMC was forked from nMAC :
https://forum.xda-developers.com/android/software-hacking/app-nmac-nil-mac-changer-t3391283
sqerk said:
Try AMC, its the only MAC Address Changer app I could find that worked on my 5x. That was without a screwed up MAC address to begin with, but It might work for you.
I downloaded it from the play store, but now its not there. Here's the apk from my phone:
https://sqerk.com/pythonlimited.amc.apk
Looks like AMC was forked from nMAC :
https://forum.xda-developers.com/android/software-hacking/app-nmac-nil-mac-changer-t3391283
Click to expand...
Click to collapse
Thanks, but I figured it out. I was trying to flash with the same version 8.0...and for whatever reason that did not work, so I tried a costume ROM and it brought back my MAC address, so then I flash again to android 8.1 and my MAC address problems are fixed. Not sure why flashing with the same version did not fix it.
Thanks,
realkewl
realkewl said:
Thanks, but I figured it out. I was trying to flash with the same version 8.0...and for whatever reason that did not work, so I tried a costume ROM and it brought back my MAC address, so then I flash again to android 8.1 and my MAC address problems are fixed. Not sure why flashing with the same version did not fix it.
Thanks,
realkewl
Click to expand...
Click to collapse
What Custom ROM did you use friend? I have the same exact issue with my Nexus 5. Maybe finding your previously installed Custom ROM, I can fix the issue too. I saw a lot of threads says that installing Custom ROMs or downgrading then upgrading OS using OTA updates given from their Android System fixed the issue. MAC address is important and controls everything that has to do with wireless connections in your device. Maybe this can help be fix my issue too. I am almost convinced to buy a brand new smartphone. It's almost my limit here... If this doesn't bother you, please, can you tell me what is the ROM you used?

Categories

Resources