[Q] Temporarily avoiding poor connections - One (M7) Q&A, Help & Troubleshooting

Hi,
Is there any way to simply kill, or disable, this feature (if you ask me, a deliberate bug) on Sense 5, 4.2.2 based ROMs?
I'm not after a band-aid fix such as dumb apps that only remove dhcp files in hopes of a permanent fix. I want to just kill this feature. I only have wifi turned on at home (llama turns off wifi when I leave home/work). As far as my APs, I have tried channels 1 - 11 (US) and I've even made sure to use unused channels in my area. Nothing works, I still get the post title error message.
So XDA, is this possible?
Thanks

After a bit of research, I have found a suitable solution.
Depending on your region, set wifi channel accordingly. Since I am in the US, i added this to build.prop:
Code:
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=11
I chose channel 11 because it's a channel infrequently used in my area. Additionally, I used an OSX app called iSSIDer to see which channels were being used in my area.
Since doing this, I have yet to see the error. Also, I disabled 5GHz on my AP (had both 2.4 and 5 running simultaneously) and set 2.4GHZ to automatic.
From what I've seen, most ROMs will leave ro.wifi.channels option empty.
Anyways, hope this helps others.
oh, btw, you can verify your region and permitted channels here:
http://en.wikipedia.org/wiki/List_of_WLAN_channels
If you're in the US, do not set ro.wifi.channels to channel 14. It is the forbidden fruit. You can't use it.
----- [ EDIT ] -----
Two more discoveries that have helped out tremendously:
1) flash radio with newest radio available to you, for your network (or use newest international radio).
2) Add the following lines to build.prop:
Code:
#
# Enable LTE
#
ro.config.lte=1
telephony.lteOnGsmDevice=1
ro.telephony.default_network=9
ro.ril.def.preferred.network=9
** Since I an AT&T customer, in the Los Angeles region, I've LTE coverage. I added the following to build.prop, since using GE Phone, the option for LTE is gone.

Related

Wifi and 3G working together

I have yet to come across the ability to use wifi and 3G simultaneously so it seems like it could be well worth implementing.
http://mobisocial.stanford.edu/news...together-by-hacking-connectivityservice-java/
*Also posted in Android General: http://forum.xda-developers.com/showthread.php?p=15161427
Well, I didn't go to Stanford, but wouldn't you have to be able to tell the system which traffic should use which interface? Generic routing can't handle this stuff.
My thoughts were leaning towards those apps that already require one connection type versus another. For example wouldn't it be nice for those that use wifi to vpn into their network(s) for work/home and also be able to use apps that require their 3G. I recall having to switch to 3G from my wifi once or twice at home to use just an app that was developed to use only 3G.
The simplest thing IMO (if possible) would be to have the person be able to set a preference on their phone for wifi or 3G (by app selection would rock). Then apps would connect through the preference if available (and if allowed) or move on to the alternate if not.
This kind of discussion is what I was hoping for so please keep it coming...
*BTW we've come a long way since the Vogue
This is what we used to call "shotgunning"
Jiggity Janx said:
My thoughts were leaning towards those apps that already require one connection type versus another. For example wouldn't it be nice for those that use wifi to vpn into their network(s) for work/home and also be able to use apps that require their 3G. I recall having to switch to 3G from my wifi once or twice at home to use just an app that was developed to use only 3G.
The simplest thing IMO (if possible) would be to have the person be able to set a preference on their phone for wifi or 3G (by app selection would rock). Then apps would connect through the preference if available (and if allowed) or move on to the alternate if not.
This kind of discussion is what I was hoping for so please keep it coming...
Click to expand...
Click to collapse
Right... I guess it would be handy if the only check was for whether a particular connection was ACTIVE, not necessarily if it were the primary interface.
Well, I guess you could futz it manually with the routing table -
wifi
addr 192.168.1.100
gateway 192.168.1.1
ppp0
addr 76.76.76.76
gateway 76.1.1.10
corp public
20.20.20.20
so, if you had a corp vpn app that required wifi, and could force both to be enabled, you could set...
Code:
route add -host 20.20.20.20 netmask 255.255.255.255 gw 192.168.1.1
but it'd be a pain to change every time. guess you could build an app to handle it...
*BTW we've come a long way since the Vogue
Click to expand...
Click to collapse
Aye, mate.
"shotgunning"
Click to expand...
Click to collapse
new to me. will google this.
EDIT: ah, yes - multiplexing PPP connections. not possible, I think. You might be able to load balance/share, though, and that could be handy.

[MOD] Allow use of US 802.11a channels

The region of the galaxy note firmware you have installed on your Note determines, among other things, what 5GHz frequencies (channels) are available for 802.11a wifi. Most of the custom firmware posts here are based on European region releases, and therefore have the EU channels.
In the US, we have a few higher channels (149-161/165) that are not permitted in the EU. As well, US users can use those higher channels at a much higher power rating than those in the EU. That makes those channels a better choice for us.
Lucky for us, the channel configuration for the wifi is done in a simple text file. I've copied that configuration file from my AT&T Samsung Galaxy SII (SGH-i777) which uses the identical wifi chipset (broadcom 4330) and merged it into the file used on my own Galaxy Note (checkrom v5) and attached it here.
The file should be unzipped and the file within (named nvram_net.txt_semcove_b2) should be copied to /system/etc/wifi. You should, of course, make a backup of that file before overwriting it with this one.
(If you don't know how to overwrite files in the /system partition, please wait until someone creates an update.zip to do it for you. I'm a horrible teacher.)
As with any other change, I'm not responsible if this breaks something, etc. I'm simply explaining the steps a person would take to reproduce what I've done on my own galaxy note - for purely educational reasons.
I wouldn't suggest that people outside the US use this configuration file, as it really won't do you any good if your other equipment can't use these frequencies. In addition, this configuration file will disable 802.11b/g (2.4GHz) channels 12-14 (as they aren't permitted in the US.)
I hope this proves useful to the other importers here.
UPDATE: (April 2nd, 2012)
Yes, there IS a mac address inside that file. However, it doesn't seem to be the same MAC address actually used by the phone for anything.
This change hasn't worked for a few people, and I suspect that the firmware those people are using references a different nvram_net* file. For those people (and anyone wanting to play with the wifi), I'll give you a place to start: In the directory where this file is located, there are SEVERAL files that start with "nvram_net.txt." Do a nandroid backup and then start editing each of those files. There's a line in there that starts with "ccode=" In the US, that line should be "ccode=US" and there should also be a line (search for it - if it doesn't exist, create it - if it does exist, change it) with "regrev=5" After you edit those files, reboot and recheck your ability to access the high 5GHz channels. (I don't support this.. it's just a hint to get people started on doing their own thing...)
Take care
Gary
good job. keep it up.
Had wondered why I couldn't see the second band on my router.
Thanks a bunch!
Thanks for the file garyd9, it works perfectly..
Well, no matter what I tried this made no difference to my Note. It wont even show my E4200's 5Ghz SSID, much less let me join it. I've got Open Germany ROM N7000XXLC1 but no luck getting 5GHz to work here.
Would you have any ideas on what else to try?
abalakersky said:
It wont even show my E4200's 5Ghz SSID, much less let me join it. I've got Open Germany ROM N7000XXLC1 but no luck getting 5GHz to work here.
Click to expand...
Click to collapse
What 5GHz channel is your E4200 set to use? Given that info, I can set my own to the same channel to test...
It might be related to the firmware version (I'm still using an LA4, I think), but I somehow doubt that...
Gary
Mine is set to Auto channel width and Auto (DFS) for the channel selection.
Sent from my GT-N7000 using xda premium
abalakersky said:
Mine is set to Auto channel width and Auto (DFS) for the channel selection.
Click to expand...
Click to collapse
If you can't tell me what channel its using, then I really can't help you... I'd suggest setting it manually to a non-DFS channel.. one of the higher ones is usually better in the US.
Take care
Gary
I have gone through checking every single channel and setting 5GHz to each one of them. I did not see any signal on channels 149, 153, 157, and 161. I did get a signal on lower channels 36, 40, 44, 48. However the signal I was seeing with WiFi analyzer was a bit less then my 2.4GHz of the same router on channel 11.
Does that help?
abalakersky said:
I have gone through checking every single channel and setting 5GHz to each one of them. I did not see any signal on channels 149, 153, 157, and 161. I did get a signal on lower channels 36, 40, 44, 48. However the signal I was seeing with WiFi analyzer was a bit less then my 2.4GHz of the same router on channel 11.
Click to expand...
Click to collapse
Sounds like your note is still set up to be compatible with the EU or most non-US countries. Either there was a mistake made making the fix on your device, or the fix isn't completely compatible with the lc1 firmware. Feel free to figure out what should be done differently for the neweer firmware floating around.
Take care
Gary
Sent from my GT-P6210 using Tapatalk
Would it be possible to add channels 12, 13 and 14 on the G band? My router and devices are hacked to use them. My condo complex is completely saturated with wifi and being out of the band helps a lot.
there is no file named that in my wifi folder.
there is one with the name, sans the _b2 on it, though...
should i just put the file in there or rename it or what?
now that i look...there are several files with almost the same names which have essentially the same content...wtf?
gedster314 said:
Would it be possible to add channels 12, 13 and 14 on the G band? My router and devices are hacked to use them. My condo complex is completely saturated with wifi and being out of the band helps a lot.
Click to expand...
Click to collapse
It is possible, and those channels are likely enabled for most EU regions. Of course, those regions are much more restricted on 5GHz (which why this thread exists.) I don't know of any region that allows both the expanded 5GHz channels and expanded 2.4GHz channels at the same time....
Even if there is such an area, I live in the US and it'd be illegal for me, so I wouldn't be able to play around with the files to get it working.
(I'm sure most people reading this think I'm nuts to worry about such things, but we all have our quirks...)
derrick_ said:
there is no file named that in my wifi folder.
there is one with the name, sans the _b2 on it, though...
should i just put the file in there or rename it or what?
now that i look...there are several files with almost the same names which have essentially the same content...wtf?
Click to expand...
Click to collapse
What you haven't told me is what firmware version you are running. Is it something cooked up on XDA or something direct from Samsung? Which version? What CSC are you using?
Of course, it likely doesn't matter anyway. If you aren't running the same firmware I'm running, I really can't help you much. (Well, I could do the investigative work for you, but that wouldn't actually be helping you - only doing the work for you.) One of those files IS being used by your system, and it'll be up to you, as a member of a developer forum, to figure out which one and make the proper changes.
Take care
Gary
garyd9 said:
What you haven't told me is what firmware version you are running. Is it something cooked up on XDA or something direct from Samsung? Which version? What CSC are you using?
Of course, it likely doesn't matter anyway. If you aren't running the same firmware I'm running, I really can't help you much. (Well, I could do the investigative work for you, but that wouldn't actually be helping you - only doing the work for you.) One of those files IS being used by your system, and it'll be up to you, as a member of a developer forum, to figure out which one and make the proper changes.
Take care
Gary
Click to expand...
Click to collapse
Oops lol. I'm running code name android 1.5.5
Sent from my GT-N7000 using Tapatalk 2 Beta-4
garyd9 said:
Sounds like your note is still set up to be compatible with the EU or most non-US countries. Either there was a mistake made making the fix on your device, or the fix isn't completely compatible with the lc1 firmware. Feel free to figure out what should be done differently for the neweer firmware floating around.
Take care
Gary
Click to expand...
Click to collapse
So, after replacing all files in that directory with yours, and and even getting files from ATT version of the note I still cannot see the higher bands on the 5G.
One thing I have not tried is replacing firmware bin files with the ATT copies. I have a feeling that, at least Germany firmware, has those bands fully disabled in the hardware. But I don't want to brick my note so for the moment I am hesitating.
Sent from my GT-N7000 using xda premium
abalakersky said:
. I have a feeling that, at least Germany firmware, has those bands fully disabled in the hardware.
Click to expand...
Click to collapse
I wasn't aware that different regions had different firmware on the internation note. Everything I've seen is that the firmware files are the same, but are configured differently per region and CSC. How they are configured, however, might be different. Instead of blindly copying files around, you have to figure out what is going on. One of the config files in that directory is being used.. The question is "which one?"
Not having any luck recognizing my 5GHz band on an Asus RT-N66U
Anyone?
Sent from my GT-N7000 using Tapatalk
UPDATE: (April 2nd, 2012) (OP updated with the below)
Yes, there IS a mac address inside that file. However, it doesn't seem to be the same MAC address actually used by the phone for anything.
This change hasn't worked for a few people, and I suspect that the firmware those people are using references a different nvram_net* file. For those people (and anyone wanting to play with the wifi), I'll give you a place to start: In the directory where this file is located, there are SEVERAL files that start with "nvram_net.txt." Do a nandroid backup and then start editing each of those files. There's a line in there that starts with "ccode=" In the US, that line should be "ccode=US" and there should also be a line (search for it - if it doesn't exist, create it - if it does exist, change it) with "regrev=5" After you edit those files, reboot and recheck your ability to access the high 5GHz channels. (I don't support this.. it's just a hint to get people started on doing their own thing...)
garyd9 said:
UPDATE: (April 2nd, 2012) (OP updated with the below)
Yes, there IS a mac address inside that file. However, it doesn't seem to be the same MAC address actually used by the phone for anything.
This change hasn't worked for a few people, and I suspect that the firmware those people are using references a different nvram_net* file. For those people (and anyone wanting to play with the wifi), I'll give you a place to start: In the directory where this file is located, there are SEVERAL files that start with "nvram_net.txt." Do a nandroid backup and then start editing each of those files. There's a line in there that starts with "ccode=" In the US, that line should be "ccode=US" and there should also be a line (search for it - if it doesn't exist, create it - if it does exist, change it) with "regrev=5" After you edit those files, reboot and recheck your ability to access the high 5GHz channels. (I don't support this.. it's just a hint to get people started on doing their own thing...)
Click to expand...
Click to collapse
@ripee this is where I first found reference to regrev=

[SOLVED] Wifi Channel 13 & 14

Has anyone managed to connect the kindle Fire HD to channel 13 (or 14)? So far, I've tried adding the settings
Code:
wifi_country_code = EU
and
Code:
wifi_num_allowed_channels = 14
in /data/data/com.android.providers.settings/databases/settings.db, table secure
which reportedly cures this problem on other devices (and that I've managed to use om my DesireZ (the latter setting) to enable my CM7 setup to connect) but to no avail on my Kindle.
Yes, changing the channel on the router should be the workaround, but this is my company wlan, which is out of my jurisdiction, and not an option in this case.
As you (might) know, ch 13/14 are fine in EU even if they're not allowed in US, so I guess not many Kindle owners has stumbeled on this problem, but - Any ideas?
<edit>Also added
Code:
ro.wifi.channels = 14
to my build.prop without any difference.</edit>
Solved! Setting
Code:
wifi_country_code = [B]UK[/B]
was the trick.
Opening an ADB shell (or directly in Terminal on the tablet, if you have it installed):
Code:
su
sqlite3 /data/data/com.android.providers.settings/databases/settings.db "INSERT INTO secure (name, value) VALUES ('wifi_country_code', 'UK');"
then toggled wifi on/off.
...and wouldn't you know - There was all my previously invisible accespoints on channels 12/13
<edit>Perhaps some or all of the other changes listed above is necessary too - They are still in place.</edit>
kindle fire wifI channels
Very interested in your last post. My wife has a kindle fire hd. Its the only computer that she is comfortable with and its the wifi only version. We are on an extended holiday in thailand and we are surrounded by very strong private wifi hot spots. To try and get a better less congested signal I have set the router to channel 13 but of course the kindle does not by default support beyond channel 11. I did a search on stupidly restricted kindle store but cannot find terminal or anything else that looks similar. My question is can I change the settings on a non rooted kindle as you have described above assuming I can copy the terminal program from my samsung galaxy tab2 or samsung galaxy nexus phone. I am not really familiar with rooting but if I did have to do that would the interface still be the same and would all the existing data remain (mainly books and audible books).
Sorry no this trick requires root I'm afraid. Rooting as such doesn't alter the way the Kindle works.
wifi ch 13
ZilverZurfarn said:
Sorry no this trick requires root I'm afraid. Rooting as such doesn't alter the way the Kindle works.
Click to expand...
Click to collapse
Thanks. I have sent an email to kindle support requesting a patch but so far no response. I will probably just tether the kindle to my phone for the time being.

How to edit phone/sim/radio settings (found by ##PROGRAM) using build.prop

Hi, as the title of the thread says I am trying to figure out how to edit certain settings via build.prop, rather than ##PROGRAM.
This is because of two things: I flashed my bionic to page plus, using the stock rom, then I installed Carbon ROM in slot1. To make 3G operate correctly, you have to change certain settings using ##PROGRAM. The stock rom works great after using the program menu. Unfortunately, the Carbon Rom, although fantastic, does not have this menu.
One of the settings is to change Sim type to 3G. The other is to set lte bppanic to disable. Then disable class 1 and class 2 apns.
If anyone knows how to do this, I would be thrilled, as would other Page Plus users, I imagine. Thanks.
Bump
This may be off by a long shot, but relating to radios..
http://www.droidrzr.com/index.php?/topic/22660-help-pls
typed on my Bionic
Hi, I think that is the right direction. However, so far I cannot find out how to change sim type to 3g or set lte bppanic to disable using a database.
There are similar "name" inputs there, like network mode, etc, but nothing indicating those exact settings. I wonder if I find the settings under the stock rom, can i import them into carbon? Or are they motorola-rom-specific?
I think that these are actually important questions for flashed users, and we will see this becoming more and more of an issue as 3G phones become obsolete, and the only way for a Page Plus or other Verizon MVNO user to have a workable smartphone is to flash a 4G one,
On the Bionic (and I imagine on other models), the only option for now will be the stock rom; any rom without access to the ##PROGRAM menu will be left short as far as advanced network settings goes. Of course, I think this might vary depending on how you flashed in the first place. I used a free tutorial that was quite simple.
chrisp6825 said:
This may be off by a long shot, but relating to radios..
http://www.droidrzr.com/index.php?/topic/22660-help-pls
typed on my Bionic
Click to expand...
Click to collapse
I honestly couldn't input much on this, as I've never had to dabble with this area ( well just once, quite a long time ago), but I'd imagine you could check out the data bases ( maybe take a "snapshot" or copy/download it) from a stock rom, make your changes using that ##program menu, then compare the new/changed database to the prior one.
That would be a quick way to detect if any values are being affected there, and where. Then you may as well check if those values exist on other roms, and try them out. Couldn't hurt, with safestrap/recovery backups and all.
typed on my Bionic
I believe that you should check out the setup for page plus on howard forums. It goes thru the changes to make the bionic 3g and turn off 4g completely. But the links to the apps and basic principles should still apply. Good luck, if you can't find it let me know. I'll send you a link.
Cruzin' tha Galaxy SIII via Obsessed Rom / "INAPPROPRIATE" Kernel

[Q] 4G/LTE is missing Android 4.4 on Xperia V

Flashed Android 4.4 (CM11 based) ROM on mí Xperia V. Then 4G/LTE is missing. How can I solve this problem?
Me too
I use FXP250-CM11 and still don't have LTE
Well, this is a 'feature' of all Android 4.4 ROMS I've tried. However, ROM may support LTE without reference to accessibility of this choice at menu. I've solved this problem using SQLite Editor. You'll need to find settings.db and open it with SQLite Editor. The easiest way to find this db I can advise: Open SQLite Editor, choose section 'APPS', there will be 'Settings Storage' (or something similar - it's depends on your localization) with an icon as a gear, open it. You'll see database file named 'settings.db' - this is the db we were looking for. So, open it, then choose a table 'global'. In the opened table 'global' find 'preferred_network_mode' and edit it's value. The value must be a number at range 0 to 12 (I'm not sure about it, I think this is depends on ROM you are using). As for me (I'm using CM11) the value which equal to '2g/3g/LTE(prefered)' is '9'. If it won't fit - try any other numeric value from that range (in case there is nothing fit from that range, try value from wider range). NB!!! AFTER EVERY TIME YOU CHANGE THIS VALUE AND SAVE THE NEW ONE, YOU NEED TO REBOOT YOUR DEVICE!!! OTHERWISE, CHANGES HAS NO EFFECT. And DO NOT restart your phone's modem before reboot - this will cause your changes to be overwritten with the old one.
try using LTE Settings on playstore .... so easy to get lte on kitkat works with art
enrycko said:
try using LTE Settings on playstore .... so easy to get lte on kitkat works with art
Click to expand...
Click to collapse
May I have your LTE settings Apps?
:good:
---------- Post added at 06:32 PM ---------- Previous post was at 06:25 PM ----------
BTW, I have this problem too when I flash FXP or CM11 nightly.
Although LTE can be enabled again by entering "testing --> phone info--> preferred network type and select LTE/GSM", other problems come out.
1. After every booting, the phone cannot connect to the mobile network and I have to go into connectivity--> mobile network--> network operators and select choose automatically
2. The settings of preferred network type may go back to WCDMA only randomly
Therefore, I flashed AOKP. The default value of "connectivity--> mobile network--> preferred network type" is "4G", and has two choices only, 3G and 2G. Once you choose either one, you no longer choose and use 4G again. As long as you dont touch it, you can enjoy 4G (preferred)/3G/2G with 4.4.2
bigb0119 said:
May I have your LTE settings Apps?
:good:
---------- Post added at 06:32 PM ---------- Previous post was at 06:25 PM ----------
BTW, I have this problem too when I flash FXP or CM11 nightly.
Although LTE can be enabled again by entering "testing --> phone info--> preferred network type and select LTE/GSM", other problems come out.
1. After every booting, the phone cannot connect to the mobile network and I have to go into connectivity--> mobile network--> network operators and select choose automatically
2. The settings of preferred network type may go back to WCDMA only randomly
Therefore, I flashed AOKP. The default value of "connectivity--> mobile network--> preferred network type" is "4G", and has two choices only, 3G and 2G. Once you choose either one, you no longer choose and use 4G again. As long as you dont touch it, you can enjoy 4G (preferred)/3G/2G with 4.4.2
Click to expand...
Click to collapse
in my country Indonesia we dont have LTE yet.. but im using this to locked WCDMA network position. because the option on CM 11 dont have any option like WCDMA only the 3G on option mean 3G preffered, in some location in here im hard to lock the 3G option and it always become 2G.
yes after reboot it always come back to default before you setting it on the apps..
Zclone said:
Well, this is a 'feature' of all Android 4.4 ROMS I've tried. However, ROM may support LTE without reference to accessibility of this choice at menu. I've solved this problem using SQLite Editor. You'll need to find settings.db and open it with SQLite Editor. The easiest way to find this db I can advise: Open SQLite Editor, choose section 'APPS', there will be 'Settings Storage' (or something similar - it's depends on your localization) with an icon as a gear, open it. You'll see database file named 'settings.db' - this is the db we were looking for. So, open it, then choose a table 'global'. In the opened table 'global' find 'preferred_network_mode' and edit it's value. The value must be a number at range 0 to 12 (I'm not sure about it, I think this is depends on ROM you are using). As for me (I'm using CM11) the value which equal to '2g/3g/LTE(prefered)' is '9'. If it won't fit - try any other numeric value from that range (in case there is nothing fit from that range, try value from wider range). NB!!! AFTER EVERY TIME YOU CHANGE THIS VALUE AND SAVE THE NEW ONE, YOU NEED TO REBOOT YOUR DEVICE!!! OTHERWISE, CHANGES HAS NO EFFECT. And DO NOT restart your phone's modem before reboot - this will cause your changes to be overwritten with the old one.
Click to expand...
Click to collapse
It works! Good to have FXP and LTE. When LTE is not available, it switches to 3G automatically.

Categories

Resources