[Q] edit build.prop wifi search settings - Captivate General

I saw on droidforums that there is a setting in the build.prop file (on the droid at least) to change the wifi scan interval. I took at a look at the build.prop contained in Phoenix 4.1 for the captivate and didn't see anything similar.
Here is the thread I'm referring to:
droidforum(.)net | forum | droid-general-discussions | 27795-wifi-search-time-interval(.)html
Had to break up the url so it would let me post it.
Is the bit of code listed here something that could be inserted into the build.prop of any rom, or only the droid? My wifi currently scans about every 2 sec even when it is connected & I'd like to be able to change the setting to about every 15 min or so since I only connect to a few wireless networks on a regular basis and have no need to be constantly searching for new open networks to connect to.

Actual Link: http://www.droidforums.net/forum/droid-general-discussions/27795-wifi-search-time-interval.html

Is this something that can be done safely with Phoenix 4.1? If so, I'll add it in tonight & test it out. I don't have the ability to do it from here or I would. I just want to make sure this wouldn't cause any issues before I do, cannot afford to be without a phone at the moment.

follow the info
rjyoung00 said:
I saw on droidforums that there is a setting in the build.prop file (on the droid at least) to change the wifi scan interval. I took at a look at the build.prop contained in Phoenix 4.1 for the captivate and didn't see anything similar.
Here is the thread I'm referring to:
droidforum(.)net | forum | droid-general-discussions | 27795-wifi-search-time-interval(.)html
Had to break up the url so it would let me post it.
Is the bit of code listed here something that could be inserted into the build.prop of any rom, or only the droid? My wifi currently scans about every 2 sec even when it is connected & I'd like to be able to change the setting to about every 15 min or so since I only connect to a few wireless networks on a regular basis and have no need to be constantly searching for new open networks to connect to.
Click to expand...
Click to collapse
scan intervan when you are inside the wifi page is in real time because you are looking for new connections, when you close wifi page, timer will set on build.prop, I've readen that, written by a premium xda.

Related

[Tip] WiFi Settings

I typed this up to help out some people with WiFi problems. I find it works great I'm in no way a expert so please feel free to correct me or add to this.
How to check and change WiFi channel.
1. What router do you have? Brand name and model number can be found on the router or if you installed any software when you got it.
2. Check this list for your default ip address CLICK HERE (or follow the steps for ipconfig)
3. Go to the default ip address using your web browser just like you would any other website.
4. You should now be asked for a user name and password this may not have been set. If you don't know the user name check HERE find your router model and try to use whatever it says for username and password or just username and use the password you use to connect to your wireless network. (try Admin or Administrator)
5. After you get logged in you will be able to see all your settings every router is different but you are looking for wireless settings.
6. Turn off 5GHz if you don't need it. 5GHz has a shorter range and I find never works good with our phones. Setting may read (5GHz Network Mode "disabled")
7, Using the WiFi analyzer app from the market find a open or less busy channel. Channel 1 and 6 work best but are the most used. The idea is to make sure you do not overlap anyone in your area.
8. Back on the router settings page you should find 2.4GHz settings. Change the channel to the one you picked from WiFi analyzer.
9. Save settings or apply. After this it is best but not necessary to power everything down router, modem, computer, phone, and get a fresh start. Check the WiFi analyzer app again to make sure the Channel you picked is right and give it a few days of testing.
What a timing! I figured everything you mentioned above last week when I noticed I was getting only 3mbps down on my phone while 25 on the laptop. So I played with channel/width settings and found out that when i use less busy channel instead of auto(which is 1 or 6 or 11), my phone started to get ~23mbps down but my laptop dropped it a bit (~18mbps). I couldnt find a reason why this happened though (tried several times at different time of the day every time rebooting the router) so i reverted back to auto mode since i need highest speed on my laptop. Maybe someone expert in this field can throw some light? Jack_R1, where are you?
Check this website for more info on the channel width info and a bunch more tips on speed.
http://www.smallnetbuilder.com/wireless/wireless-basics/30664-5-ways-to-fix-slow-80211n-speed
Swear to god I just figured this channel thing out too. I downloaded wifi analyzer and it said zero stars on channel 11 (which was what my router was broadcasting), and 6 stars for channel 1. So I switched, and its much better.
Sent from my HTC Glacier using xda premium

Tasker Wifi Automator - Multiple Locations Help

I recently downloaded the files on: http://tasker.wikidot.com/wifi-automator and wanted to configure it so that I could work in multiple locations. I figured that the parts you are told to configure would be the parts that needed editing for this.
Under WiFi Checks Params I was thinking that the two wifi network names could be separates like *wifi1*/*wifi2*. Then maybe adding a second WiFi starter profile with a second WiFi Near state and scanning in one location for each profile. I'm at work and will report back, but I'd like to know if anything is clearly technically wrong with this approach or if there are better ones.
Thanks!
Tasker - WIFI Automator - Multiple Locations
ssyphon said:
I recently downloaded the files on: and wanted to configure it so that I could work in multiple locations. I figured that the parts you are told to configure would be the parts that needed editing for this.
Under WiFi Checks Params I was thinking that the two wifi network names could be separates like *wifi1*/*wifi2*. Then maybe adding a second WiFi starter profile with a second WiFi Near state and scanning in one location for each profile. I'm at work and will report back, but I'd like to know if anything is clearly technically wrong with this approach or if there are better ones.
Thanks!
Click to expand...
Click to collapse
Just checking if that worked or if you were able to create WIFI Automator for multiple locations. Thanks!
Does the WiFi Automator run with the newest version of tasker?
Here WiFi Starter profile is active at home but it doesnt turn on the wifi... seems a problem with the AP Search task which does not start correctly...
https://www.dropbox.com/s/spgm9z78i5kry1r/Screenshot_2014-10-13-12-44-38.jpeg?dl=0"]https://www.dropbox.com/s/spgm9z78i5kry1r/Screenshot_2014-10-13-12-44-38.jpeg?dl=0

A non-suck Tasker data management script

Suggestions or questions are welcome!
Description:
Here is a simple-ish script I wrote to manage data flow on my phone. Mobile data on/off is easy enough but what most users have a hard time pulling off is when to toggle wifi on and off with minimal consumption. Using local tower states is pretty common but it's inaccurate and slow; additionally my method uses less battery life.
Room for improvement:
The only thing I would like to do in order to improve this is to have the script not disable data when downloading or streaming. This is possible but is unique per device per ROM so I can't really go into detail about how to do it. As a summary though there's a file that is written to that keeps information about bytes traffic. You just read this file to determine how much data is flowing in a specific interval and if it exceeds a certain amount then don't turn off data just yet. It's also a known issue where with some devices the 3G state change won't register when toggling manually while connected to wifi.
Features:
Wifi and 3G will disable two minutes after the screen is off so it's not constantly toggled through intermittent use.
On some phones or providers the 3G status becomes unknown when in a call or when connected to wifi; this script works around that.
Unlike most data management apps this one will remember your 3G status should you manually change it, in case you don't want 3G on at all.
Data is still checked on an hourly basis(this can be adjusted of course).
Fast and accurate wifi connecting with very minimal power drain.
Just a few things explained for those curious:
I check the phone state to ensure that 3G isn't detected as manually disabled when your provider uses 3G to place calls.
I check the screen on time because on some phones/ROMs the 3G doesn't actually register as toggled until the screen flickers back on. Because of this 3G appears to only become disabled once the screen turns back on and it can be registered as manually turning it off.
The wifi timer exist so the script won't check for a wifi too frequently.
You can adjust the hourly checks under Cycle 3G.
What version of Tasker is this developed under? Just curious, I'm running the 4.0 beta, and I just had to back out of b19 to b18 because of issues with my data management profile. I'll try yours out, it sounds a lot better than mine...
Can't seem to get this to work...tasker wont recognize the file
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
It's working great for me on 4.0b18. I still need to look at the logic being used as to what causes it to 'wake up' and connect to wireless, is it simply a delay after screen on, or are you also looking at other factors?
Tasker 1.3.3u2
My friend had problems getting his to recognize the profile as well. I'm not sure why.. It might have to be in the proper directory. You might also have to make a new profile tab for it. Hopefully rpr69 can give us some insight.
But to answer your question as to how I check Wifi...
When screen turns on I immediately try to connect to Wifi before trying 3g. 3g will still enable briefly after for phones that require it for MMS. If Wifi isn't connected after X seconds then it disables Wifi and won't try again for 10 minutes. If it does connect successfully there will be no 10 minute wait next screen on.
Added manual toggle memory to Wifi as well. I'll post the changes later and update the zip file.
Are you importing the profile, or just dropping it in a directory? The proper way is to import into a new project. In 1.3 of Tasker (from memory, it's been awhile), you need to pull down from the top of the Tasker top bar which should then give you the Projects tabs. Long press on the Home tab, and you should get an 'import' option, navigate to where you downloaded the project file on your phone and select it, and it should create a new tab for it, with the profile and tasks under it. If you had previously just manually copied the xml file into the projects directory, move it out of there or the import may fail.
Looking forward to the update!
Ok got it to work I forgot is was a project and kept trying to import only a profile. It seems great so far!!!
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
To make it so it won't check wifi when you don't want it to add the following...
ProfileName - Record Wifi State
Trigger - State > Wifi Connected *
Enter Task - Set Variable %wifistate to 1 if screen ~ on
Exit Task - STOP If %ScreenOnTime + 2 > %UPS
......Set Variable %wifistate to 0 if screen ~ on
then under task "Data Types On - Type 2 P2"
very first line add - If Then > %wifistate = 1
Place a closing End If at the very bottom, and move the "Mobile Data > Set On (if %3GState = 1)" second from the bottom, just above closing.
I also just uploaded the xml file again to the main post.

Wifi Tether TrevE mod & "What the hell?..." error fix

I started attempting to use the Wifi Tether TrevE mod (thanks for your work on this TrevE...see thread here: http://forum.xda-developers.com/showthread.php?t=1988735) on my stock ROM rooted VZW GS3. It would work for a while, my tablet would be able to connect (which meant I could connect my tablet to my home Plex server and let my kids watch a cartoon in the car), but then I would get the "What the hell? ..." error that the device had taken over the wifi-interface after a few random minutes (this was a bit upsetting to the two little ones in the back).
After some searching around and trying different things (including some database editing), I eventually settled on these settings in Wifi Tether that allowed me to stream for a good hour with no issues.
Device-Profile: Samsung Galaxy Nexus (CDMA/LTE) <-----this seemed to be the change that really made it work.
Setup-Method: Auto (the default)
Sent Netd Max Client Cmd: Checked (the default)
Enable Wifi-Encryption: Checked (woohoo...encryption is working)
Set up a passphrase for the encryption
Change the SSID
Wifi-driver reload: checked (default)
Wifi-driver reload 2: unchecked (default)
I'm running the 3.2-beta2-modv5 ***Synergized*** which was available for download from TrevE's source here: Modded Source - http://svn.ziggy471.com/treve-tether as the latest apk today.
I just figured that I used a fair amount of time working this out...and thought I would post it up in case it would save anybody else some time. Now to continue to soak all I can out of my grandfathered unlimited data.
Thanks, this worked on my S3 and I'm on tmobile
The download seems to work in the link you listed... But keeps telling me NOT INSTALLED when I try to via root explorer.
Sent from my Razr HD using Tapatalk 2
We need more of these kind of threads.
Good job, and thanks!

[Q] Troubleshooting help! Won't remember any stored WiFi AP info

Hey guys - I have been trying to figure this out for a day or so but I'm not sure what the cause could be.
I still have my Note 3 up and running (minus phone network connectivity obviously), and even after sharing stored APs with WiFi Direct, they do not show up on the Note 5.
I have to enter my home router info every time I turn the WiFi radio off, and back on again - but it will reconnect if I simply out-range it and come back without disabling the radio.
The funny thing is that there are 4 APs listed in the wpa_supplicant.conf file but they don't show up on the WiFi list (on the Note 5).
Do you guys have any suggestions?
I have been trying to slowly debloat this thing since gaining root, and I thought perhaps I had deleted something on accident that related to the WiFI AP saved list but now I am not so sure since that .conf file has everything that the old phone displays.
Thanks in advance guys!
@Kalm_Traveler
Check out this thread... there is a known issue after rooting... this link will take you to a fix... read the few pages of posts around this one:
http://forum.xda-developers.com/showthread.php?p=62526068
dandroid7 said:
@Kalm_Traveler
Check out this thread... that is a known issue after rooting... this link will take you to a fix... read the few pages of posts around this one:
http://forum.xda-developers.com/showthread.php?p=62526068
Click to expand...
Click to collapse
Thanks! Trying that now - after making the build.prop change and rebooting I still lost my home WiFi AP info, and don't see the older saved ones but I will reboot again and see if that fixed it. :good:

Categories

Resources