How to fix 5GhZ wifi in custom ROMs - Verizon Samsung Galaxy Note II

So, many custom ROMs -- including CM10.1, Carbon -- won't connect to certain 802.11a/n networks. This seems to be because they are distributing a UK-specific version of the file /system/etc/wifi/nvram_net.txt, which is loaded by the dhd module on enabling wifi.
The version they distribute contains the line:
ccode=GB
If you edit the file and change this line to
ccode=ALL
and turn off and back on wifi in your system settings, you should be able to connect just fine.
(The mac80211 stack should be taking care of regulatory compliance anyways, so I think this is unnecessary anywhere. But if somehow this short-circuits the kernel's efforts, you may find yourself in trouble with the FCC or equivalent. This should be fairly easy to test, but I am not worried enough to take the time -- for this to cause problems, you would also need a router that ignores the regulatory environment. Those are hard to find in the US, at least.)

Related

[Q] New question... Do any of the ROMs support Proxy wifi settings?

I didn't get much response on my previous question about proxy support for the stock rom, so I was wondering if any of the alternate roms include it. I would very much like to have access to the internet at work, but the school district requires loggon through a proxy server (content filter) before you can access the WiFi network. I realize that port restrictions that the district places on the network will likely prevent me from accessing the market, gmail, or voice search. But at school, I would most like to just access flash based educational website for kids.
Any thoughts on this? The district is moving toward ipads as the tablet platform of choice because of the lack of proxy support with Android. But the ipads lack of support for flash really hinders what I want a tablet to be able to do for me. (Yes, I want my cake and eat it too!) Is this too much to ask?
I connect my gtab to my schools wirelesss that is using 802.1x EAP for wireless security. I had to install a mod that changed the settings app and allowed advanced wireless settings. That allowed me to put in the authentication type, domain name, password, etc. Once connected, I ran a mod that set it back to the original settings apps. I asked in your previous post as to whether you are having problems actually getting on the wireless or once on, you can't bet by the web filter. We use websense here. Once I got on the wireless, there was an websense authentication dialog that popped up. Once I put my domain\username and password in, it works fine.
It won't even let me connect to the district network because I don't have anywhere to enter the proxy settings in the wifi set up box.
Assuming you have Pershoot's or Clemsyn's Kernel (or one of the better ROMs), you need something like ASProxy. I use it at work all the time and it does the job. There is a free program called TransParentProxy which is more limited but does allow you to quickly test settings without spending any money.
I do not see a proxy settings in the wpa_supplicant.conf file. My understanding of this file is it lists all possible settings settings available for Wi-Fi configurations.
# This file describes configuration file format and lists all available option.
Click to expand...
Click to collapse
Previously I've only needed to access a proxy after connecting to the network. Perhaps you have run into a problem getting connected to your network using the tablets Wi-Fi settings manager. So connecting to the network might be your first step and then connecting to the proxy your 2nd.
I found the free Wifi Advanced Config Editor (WifiACE on the Android Market) to have a GUI to easily configure advanced Wi-Fi settings not found in the tablet's settings. I realized when trying to set up an advanced configuration I needed to create a new connection in the tablets WiFi Settings with the security of NONE to avoid having some of the wrong settings configured by default. Then using the information from the my network admin I manually set the options via the WifACE GUI, un-checking NONE, and bingo I got connected.
I recommend WiFiACe with one caveat: make sure you have a way (like adb) working and know how to backup, delete, and restore files and that you make a back up of all wpa_supplicant.conf files on your tablet.
My caveat comes because my first reboot after I got connected to the Enterprise network at work the Wifi would not start or run. It would only display "error" and do nothing. Several reboots later it still wouldn't start and without Wi-Fi running there is no way to make configuration changes either through WifiACE or the tablets Wi-Fi Settings. I had to use the adb shell to delete the newly configured wap_supplicant.conf and create a new connection via the tablets Wi-Fi Settings and then make the necessary changes through WifiACE. Once that was done it ran and connected. Now after multiple reboots it still works and connects. Without the ability to delete the file I'm afraid I would have had to re-flash my tablet to get Wi-Fi to work again.
I don't think you've ever mentioned what ROM you're running. If you're running stock, you will have a very difficult time, in fact it may be impossible. If you're running a different mod, there's hope. Now, assuming that you got ClockWordMod (CWM) installed, you can probably be successful in at least connecting to the wireless. If you don't have CWM installed, here's a good place to start:
http://forum.xda-developers.com/showthread.php?t=865245
Once you have CWM installed, go to this thread:
http://forum.xda-developers.com/showthread.php?t=857939
This will give you the zips for installing a differernt wireless config tool that will allow you to put in the 802.1x EAP config. Once you can successfully connect, you back out the the tool you installed.

removing wifi scan ro. lines from build.prop & using setprop "on demand" wifi call?

removing wifi scan ro. lines from build.prop & using setprop "on demand" wifi call?
If I understand correctly, many people add certain lines to their build prop to allow settings on the device as read only i.e ro.
However for many people having this as set could mean in such cases where wifi scan interval is set to hi (or more frequent i.e 20)to enable maintained wifi connection during calls....that they will suffer with some amounts of battery drain.
Other people who are not interested in wifi calling could (could and usually do) set the scanning to a much high (or infrequent scan value of like 180) this is fine in most cases where battery consumption is considerably less and more desirable and even better when coupled with a modem to suit their region, provider and band.
But lets say someone uses wifi calling, but they don't want to permanently "set" i.e. an ro line within the build prop to constantly scan 20 when they are not on a wifi call. This is mostly true for most wifi callers around, unless the phone they are using is a dedicated inhouse wifi device (and yes I have considered a nice lil cheaper to do this with my self) anyway I hope you guys can see where I am headed with this?
Could say a script be generated where when a process is enabled that it calls the script to ramp up wifi scanning to a smaller more frequent value 20 when "ON A WIFI CALL" (that being the process) and then revert to a lower value (set otherwise so to speak) and conserve batter when "NOT ON A WIFI CALL" ?
If so can someone direct me with how to go about doing this?
I am in the process of setting up an installation package for T-mobile users on ICS using Galaxy S & variants of....and would like to include in my installation package a way of detecting and removing the wifi scan intival from the build.prop ro line and then paste the my scripting within system.
I already know how to make a install script that does the detect and CHANGE or detect and REMOVE in the build prop for ALL types of ICS Galaxys.....however I am not sure about how to generate and then intitate an "on-demand" scripting for wifi calls? I assume that this is a setprop type function if so long as the ro function is gone (which is a read only and set at a higher precedent than any other functions if I believe right?)
Any help or pointed would be greatly appreciated.
James

[Q] troubleshooting WiFi battery consumption. research done.

Hi guys, i flashed my rom to an updated official version not to long ago. after the flash i noticed WiFi is taking up 20-25% of my battery usage. battery life from full to naught is just 6 hours without any use. there's two other higher battery consuming items but they are cell standby and phone idle each at 25++%, but i learnt from my local LG O4X forum that they are nothing to worry about.
I tried to search over the internet for solutions which brought up serveral answers like:
wifi.supplicant_set_scan_interval=300 in build.prop (i had to create this line because there wasn't any, and doesn't help my problem. Line Deleted.)
then i realise whether the above works depends on
config.xml from a folder that also doesn't exists on my phone, which probably means wifi.supplicant_set_scan_interval=300 doesn't work at all.
Then from somewhere i learnt of another file wpa_supplicant.config in system/etc/wifi/
Inside this config file lies a whole load of #'ed texts that descripts what each line does but one caught my attention which is
Code:
# AP scanning/selection
# By default, wpa_supplicant requests driver to perform AP scanning and then
# uses the scan results to select a suitable AP. Another alternative is to
# allow the driver to take care of AP scanning and selection and use
# wpa_supplicant just to process EAPOL frames based on IEEE 802.11 association
# information from the driver.
# 1: wpa_supplicant initiates scanning and AP selection
# 0: driver takes care of scanning, AP selection, and IEEE 802.11 association
# parameters (e.g., WPA IE generation); this mode can also be used with
# non-WPA drivers when using IEEE 802.1X mode; do not try to associate with
# APs (i.e., external program needs to control association). This mode must
# also be used when using wired Ethernet drivers.
# 2: like 0, but associate with APs using security policy and SSID (but not
# BSSID); this can be used, e.g., with ndiswrapper and NDIS drivers to
# enable operation with hidden SSIDs and optimized roaming; in this mode,
# the network blocks in the configuration file are tried one by one until
# the driver reports successful association; each network block should have
# explicit security policy (i.e., only one option in the lists) for
# key_mgmt, pairwise, group, proto variables
[B]ap_scan=2[/B]
this is my current setting.
After trying all these my WiFi seems to be still taking up too much battery and at the 'show processes overlay' i still see 'wpa_supplicant' running on and off with approx 5 seconds intervals in between.
My only worry is the methods i've tried are not applicable for ICS, which my phone is. On the link i've attached there's this newer wpa_supplicant_8 version for ICS. How to determine which version im on?
There seems to be more and more ways to troubleshoot as i look further and further, but im not really willing to risk venturing into unknown area without knowledge. Are there any other ways to fix my WiFi consumption issue? i need a fix desperately.

Wifi tools?

Maybe what I'm looking for doesn't exist or maybe it does, I don't know.
I've been on the hunt for a decent app that is like a tech's "dream come true" when it comes to Wifi tools and functionality. I'm not an IT professional or anything, but looking for more than an average "oh look, here's a wifi network" app.
A few apps that I've come across and tried...
Wifi Analyzer
Two of the things I like most about it - the AP list and the signal meter. It also lets me grab a snapshot so I can look at it later.
Wi-Fi Analytics (amped|wireless)
The ap list (WiFi Scanner as it's referred to) is nice but cluttered. Between Wifi Analyzer and this, I'd say both are somewhat the same, though I think Analyzer is better.
Fing
Still playing with it, though it doesn't seem to offer much (unless making an account gives more functions).
Wolf WiFi Pro
Only having used the demo, maybe it has what I'm looking for. The demo alone, though, was a let down.
Of the different apps I've tried (listed or not), some offer similar features such as detecting how many networks are using the same channels, graphs to show signals, etc. That's nice, but seems common enough that it's tossed in there just to say it's a feature, as opposed to being a provided tool in addition to something that other apps don't offer.
What I'm looking for is more or less this... An app that will provide a compact listing of found networks. Constant scanning or manual scanning. Option to log details about the results (date, time, gps location). Function to use found results to generate a 'map' of found networks and if the same network is found in multiple logs, use the different locations to try to form a better fix on where that network is originating from. Once a network is detected, optionally be able to keep a record of it even if it's not being picked up anymore (along with date/time of first finding and date/time and gps location of strongest signal). When viewing the list of found WLAN's, tapping on one won't prompt to connect to it, but instead bring up a page of tools. Miniature signal meter (like Wifi Analyzer does it, rather nice), button to click to connect, button to add notes about the discovered AP, along with information such as security, mac ID (which most seem to provide) and anything else that is possible to show. I dare say, ability to detect what devices (computers or otherwise) are attempting to connect (or are connected) to the AP as well (useful if I want to see if someone is somehow connecting to my network even if it's not showing up in any logs).
Is there anything even remotely close to what I'm describing? Are there any recommend Wifi tool like apps that I just haven't come across yet? When looking on Google's Play store, most of the apps seem to be like practice apps that more or less do the same thing as using the built in Wifi connection manager.
Using a T989 with Jellybean (rooted, stock OS or whatever).
You might find something here that is describing your needs. But what your describing my be a little too advanced for android.
http://forum.xda-developers.com/showthread.php?t=2170460
Don't forget to hit the thanks button
eugeneeaster18 said:
You might find something here that is describing your needs. But what your describing my be a little too advanced for android.
http://forum.xda-developers.com/showthread.php?t=2170460
Don't forget to hit the thanks button
Click to expand...
Click to collapse
Thanks, but already saw that topic. I read that and a couple of others before making this one in case what I was asking for was more or less already answered. What I'm describing may sound complex but I'm sure it's really just a matter of designing it to act in certain ways vs the "easy route." ie, it's easy to make it so tapping on a found network will ask if you want to join the network. Heck, if that's what I wanted, then I could just use the built in manager. Using one of the tools, I did discover that the wireless I'm running was on the same channel as a couple of others nearby. So I changed the routers two use a couple of different channels that were showing as empty.
Just comes down to wanting the best from each app that happens to have a good feature or two and packing it all together in one solid app.

wpa_supplicant file and bgscan

Hi,
I am hoping that some kind individual will be able to help with a problem that I have been having with some of our handheld android scanners that we use at work. Its a long story but basically someone bought 16 chainway 4000 handheld scanners that are cheap chinese handheld android scanners for use in our warehouse instead of buying something a little more enterprise class. The devices run Android 4.04 and we have had constant problems with them in our warehouse as they do not roam between wireless points. We now the wireless points are fine because other scanners are ok (windows ce based) and laptops running windows roam fine as well. We have used all of the various wifi analysers and have verified this. On investigation it looks to be because of a bug in this version of Android in that it doesnt roam properly. We have tried the wifi roaming fix applicaiton but it appears to be crashng fairly regulalry on these devices. Apart from throw them out, I have tried to research to find out if I can fix them somehow.
So far I have found that there are various posts that recommend adding the line
bgscan="simple:30:-65:300"
into the network area in the wpa_supplicant file.
This in itself has been difficult but the method I have used is using es explorer to edit the file and then use android commander to console in and change the ownership back to system.wifi and the permissions to 660
However, when rebooting the device, it does not connect to the wireless network that i have told it to even though it is the wpa_supplicant file that orginally contained the network details that did work before editing. I dont know what is stopping it connecting on reboot. The annoying thing (as well) is that if I put the password in again for the wifi network, it overwrites the wpa_supplicant file and loses the changes that I want to keep which is the bgscan setting.
I have tried to find a log file that might help me unover why it isnt connecting on reboot after adding that line in and changing the permissions/ownership.
Does anyone have any ideas?
thanks for any help! This issue has caused us many, many hours of work. i think if someone solves it I will get a crate of beer and send it to their house
thanks,
Paul

Categories

Resources