[SOLVED] How to disable 802.11n in CM11 w/o tiwlan.ini? - Defy Q&A, Help & Troubleshooting

Hey,
how do I disable draft n / 802.11n on Quarx' CM11?
I can't find tiwlan.ini in /system/etc/wifi so what to do??
Thx.
SOLUTION: http://forum.xda-developers.com/showpost.php?p=50426027&postcount=7
Code:
/system/etc/wifi/hostapd.conf >
ieee80211n: Set to 1 to enable 802.11n support, 0 to disable it
Changing this line from g to n helped cyrus:
Code:
hw_mode=g

measel said:
Hey,
how do I disable draft n / 802.11n on Quarx' CM11?
I can't find tiwlan.ini in /system/etc/wifi so what to do??
Thx.
Click to expand...
Click to collapse
I can't answer, because I don't know. But may I ask why do you want to do this?

irekd said:
I can't answer, because I don't know. But may I ask why do you want to do this?
Click to expand...
Click to collapse
Sure: I always had trouble (already with CM7) with a FritzBox router and with CM7 it helped a lot to disable that. I can't disable it in the router, so I wanted to try that option.

measel said:
Sure: I always had trouble (already with CM7) with a FritzBox router and with CM7 it helped a lot to disable that. I can't disable it in the router, so I wanted to try that option.
Click to expand...
Click to collapse
I guess you probably know about alternative firmware for FritsBox routers, but if not, have a look at this site: http://freetz.org/
Perhaps this firmware will let you better configure your router.

irekd said:
I guess you probably know about alternative firmware for FritsBox routers, but if not, have a look at this site: http://freetz.org/
Perhaps this firmware will let you better configure your router.
Click to expand...
Click to collapse
Thanks. Yes I do know about that but modifying the router is not an option since I don't have access to all routers I can use as an access point, thats why I pointed out that I can't change the router settings. I need to disable it on the device and that was possible under CM7.

You want to disable the n mode because of the poor performance of Wi-Fi? I ask because I too have poor Wi-Fi performance but no matter what I do changing channels, modes, etc. my Defy doesn't want to download for example a nightly from Quarx site. Is downloading ~5% then stops think then download again and so on. With other 2 phones(Samsung and an old HTC hd2) this is not happening the download is continuous.
Sent from my MB526 using Tapatalk

cyrusct82 said:
You want to disable the n mode because of the poor performance of Wi-Fi? I ask because I too have poor Wi-Fi performance but no matter what I do changing channels, modes, etc. my Defy doesn't want to download for example a nightly from Quarx site. Is downloading ~5% then stops think then download again and so on. With other 2 phones this is not happening.
Sent from my MB526 using Tapatalk
Click to expand...
Click to collapse
No, reason is that sometimes the Defy seems to interfere with other clients in the network (Macbook, other smartphone etc.). Sometimes I do have interupted downloads though.
But I think I just figured out where to change that:
Code:
/system/etc/wifi/hostapd.conf > hw_mode=g
.
If that is correct, it is already in a legacy mode and doesn't use 802.11n.
There seems to be another setting:
Code:
ieee80211n: Set to 1 to enable 802.11n support, 0 to disable it
so I will try disabling that tonight. Exciting!!
Source: http://wireless.kernel.org/en/users/Documentation/hostapd

Code:
/system/etc/wifi/hostapd.conf > hw_mode=g
Changing this to
Code:
/system/etc/wifi/hostapd.conf > hw_mode=n
I have solved the interrupted download. Thank you very much.
Sent from my MB526 using Tapatalk

cyrusct82 said:
Code:
/system/etc/wifi/hostapd.conf > hw_mode=g
Changing this to
Code:
/system/etc/wifi/hostapd.conf > hw_mode=n
I have solved the interrupted download. Thank you very much.
Sent from my MB526 using Tapatalk
Click to expand...
Click to collapse
well that shouldn't be possible!
Reason: The N setting shouldn't be set there but there:
Code:
ieee80211n: Set to 1 to enable 802.11n support, 0 to disable it

measel said:
well that shouldn't be possible!
Reason: The N setting shouldn't be set there but there:
Code:
ieee80211n: Set to 1 to enable 802.11n support, 0 to disable it
Click to expand...
Click to collapse
Don't know but now is working well.
Sent from my MB526 using Tapatalk

cyrusct82 said:
Don't know but now is working well.
Sent from my MB526 using Tapatalk
Click to expand...
Click to collapse
Maybe you disabled it alltogether because the switch doesn't exist and as a fallback the device uses 802.11b now... I don't know. If it's good, it's good!

measel said:
Maybe you disabled it alltogether because the switch doesn't exist and as a fallback the device uses 802.11b now... I don't know. If it's good, it's good!
Click to expand...
Click to collapse
It's not solving the problem.
After investigating more I have seen that after a reboot the Wi-Fi performance is good ~2Mb/s. But as soon as the device enters in deep sleep the download goes down at 500kb/s and is interrupted a lot. Can anyone else could confirm that?
I have tested with quarx2k.ru site.
Sent from my NexusHD2 using Tapatalk

Related

any fix for wifi tethering?

sorry to post here but really need help with wifi tethering can any body point me to the fix or how
to fix the wifi tethering?????//
what do you mean? multiple builds work fine.
PPP builds need the iptables script ran manually.
Wifi tethering from Vodafone in Greece has stopped.
warrenb213 said:
what do you mean? multiple builds work fine.
PPP builds need the iptables script ran manually.
Click to expand...
Click to collapse
im using core build v5 and it dont come on it say activated but the check sign dont check
Refresh your ip AFTER your pc is connected and complains. Use command ipconfig /renew in start menu or cmd window.
Sent from my Desire HD using XDA App
wawa144st said:
sorry to post here but really need help with wifi tethering can any body point me to the fix or how
to fix the wifi tethering?????//
Click to expand...
Click to collapse
The latest FroyoStone and Mdeejay builds have wifi tethering working.
why cant people search and post in the appropriate forums? this is development. not questions and answers................

Disable mobile network programmatically

Hey There,
I'm about to write an app for android 2.3 which should be able to disable the Mobile network.
I found a solution which works on 2.2, but it uses the permission "android.permission.MODIFY_PHONE_STATE" which isn't available anymore on 2.3.
So is there another possibility to change this setting?
thx for answers and greez Visosilver
maybe this would help ?
http://developer.android.com/guide/topics/manifest/uses-feature-element.html
Hmmm, i tried
<uses-feature android:name="android.hardware.telephony" android:required="false" />, but it always says that the MODIFY_PHONE_STATE permission is missing...
I would like to know this aswell, for my Galaxy tab. I flashed overcome and didn't flash my T-Mobile modem and it says I'm not connected to any network in anyway but am still getting the cell standby eating battery. And even with airplane mode it still shows up.
Sent from my GT-P1000 using XDA Premium App
9812813 said:
Pitbull -- > Add this to the Tweak guide
To disable the GSM Radio -
Bring up your dialer program,
enter *#*#4636#*#*
Select Device Information,
Scroll to bottom
Tap the "Turn Off Radio"
This will disable all Cell / GSM / EDGE connections -- Should only be used for those who do not subscribe to a data / cell package.
Click to expand...
Click to collapse
This was just posted by 9812813 in the overcome Rom thread.
Sent from my GT-P1000 using XDA Premium App
thx for your responses, but the point is, that i must disable the connection programmatically...
Did you use ITelephony.setRadio(boolean turnOn)?

GPS Issue, Try This!

For some reasons, people are still asking for GPS solution. I hope creating this thread will help some people.
To begin, you need any root file explorer like (ES File) and AgnryGPS apps.
Next, you need to modify the Build.prop in the [/system/] folder. Watch this video by reverendkjr
Look in the Build.prop and find the following code to modify. If the line is missing, add that line to the Build.prop file.
ro.ril.hsxpa=0
ro.ril.hsdpa.category=8
ro.ril.hsupa.category=5
ro.ril.hep=1
ro.ril.enable.dtm=1
ro.ril.enable.a53=1
ro.ril.enable.3g.prefix=1
ro.ril.gprsclass=10
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=14449
Click to expand...
Click to collapse
Next:
1. Open the AngryGPS app
2. Click Settings
3. Click SUPL Settings
4. Replace Server [supl.google.com] with [supl.sonyericsson.com]
5. Replace Server Port [7276] with [7275]
6. Click the return to the previous screen
7. Click the General Settings
8. Make sure the [MSBASED] or [MSASSISTED] in the Operation Mode is selected
9. Change the XTRA to [OFF]
10. Reboot and Wipe Cache Partition
Click to expand...
Click to collapse
When using MAPS or GPS, use the 2G or EDGE only.
I tested my GPS in my car
VibrantThemer said:
For some reasons, people are still asking for GPS solution. I hope creating this thread will help some people.
To begin, you need any root file explorer like (ES File) and AgnryGPS apps.
Next, you need to modify the Build.prop in the [/system/] folder. Watch this video by reverendkjr
Look in the Build.prop and find the following code to modify. If the line is missing, add that line to the Build.prop file.
Next:
When using MAPS or GPS, use the 2G or EDGE only.
I tested my GPS in my car
Click to expand...
Click to collapse
Cant find agnrygps app in the market, did you maybe misspell it? Or wrong name? Would like to try as i have issues using gps on vibrant always takes for ever to lock on to signal
Sent from my GT-P1000 using XDA App
AngryGPS is for GB / ICS ROMs only. Someone may be able to upload one here.
Also to the OP:
Does this work for GB and ICS ROMs? What did you test it on?
Here is the app I took out from another rom http://www.multiupload.com/ASDEG64KRV
adinis78 said:
Cant find agnrygps app in the market, did you maybe misspell it? Or wrong name? Would like to try as i have issues using gps on vibrant always takes for ever to lock on to signal
Sent from my GT-P1000 using XDA App
Click to expand...
Click to collapse
I didn't have a chance to test this on GB yet. This one is working great with ICS Passion ROM Nelson Kernel. I'm sure about other ICS and kernel.
Moped_Ryder said:
AngryGPS is for GB / ICS ROMs only. Someone may be able to upload one here.
Also to the OP:
Does this work for GB and ICS ROMs? What did you test it on?
Click to expand...
Click to collapse
Does help with the deep sleep issue?
Decode37 said:
Does help with the deep sleep issue?
Click to expand...
Click to collapse
+1
Sent from my SGH-T959 using XDA App
VibrantThemer said:
For some reasons, people are still asking for GPS solution. I hope creating this thread will help some people.
To begin, you need any root file explorer like (ES File) and AgnryGPS apps.
Next, you need to modify the Build.prop in the [/system/] folder. Watch this video by reverendkjr
Look in the Build.prop and find the following code to modify. If the line is missing, add that line to the Build.prop file.
Next:
When using MAPS or GPS, use the 2G or EDGE only.
I tested my GPS in my car
Click to expand...
Click to collapse
Would you please post screen shots of your prop.build edits? Thanks
Don't want to disappoint you, but it has nothing to do with deep sleep.
Decode37 said:
Does help with the deep sleep issue?
Click to expand...
Click to collapse
Danielpc said:
Would you please post screen shots of your prop.build edits? Thanks
Click to expand...
Click to collapse
Here is a link I posted in ics passion
http://forum.xda-developers.com/showpost.php?p=20562941&postcount=4972
Thank you for this. I was curious about a duplicate item with different values.
Sent from my SGH-T959 using XDA App
VibrantThemer said:
Don't want to disappoint you, but it has nothing to do with deep sleep.
Click to expand...
Click to collapse
+1
while my GPS was working well again, it was still subject to the deep sleep bug in ICS. Rebooted and it worked again, but I really didn't expect the build prop to fix that requirement.
Sent from my SGH-T959 using xda premium
not working...
It still doesn't work for me! I once had my GPS work but now it seems that I will never be able to get it work... is it hardware related issue?
but I appreciate your help
There are many lines. I could not see the double code.
Danielpc said:
Thank you for this. I was curious about a duplicate item with different values.
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
Did you modify the build.prop as I indicated in the op. Secondly, make sure to replace the GPS property. And last, use 2G Network Only.
joms45 said:
It still doesn't work for me! I once had my GPS work but now it seems that I will never be able to get it work... is it hardware related issue?
but I appreciate your help
Click to expand...
Click to collapse
joms45 said:
It still doesn't work for me! I once had my GPS work but now it seems that I will never be able to get it work... is it hardware related issue?
but I appreciate your help
Click to expand...
Click to collapse
Have you tried re flashing your rom? a while back I tried to get my gps working better and ending up losing it. No matter what fix I use did no good. I re flashed my rom and got my gps back
Good advice, thanks nomadrider
nomadrider123 said:
Have you tried re flashing your rom? a while back I tried to get my gps working better and ending up losing it. No matter what fix I use did no good. I re flashed my rom and got my gps back
Click to expand...
Click to collapse
VibrantThemer said:
Did you modify the build.prop as I indicated in the op. Secondly, make sure to replace the GPS property. And last, use 2G Network Only.
Click to expand...
Click to collapse
Ok, I have to ask... Why the 2G only?
Usually, I don't ask why, but will it works.
Since you asked why, I may say because it works lolz
Actually, someone said that when you select 2g or edge only, your phone will not switch between between network type, which gives your phone more stable data connection. To find out, test it yourself. I have tried many times already, the 2g is always giving me a lock.
thedarb said:
Ok, I have to ask... Why the 2G only?
Click to expand...
Click to collapse
Understood. I can't see me dropping to 2G, which was why I balked at it. With the amount of data I consume, I can't trade high speed for GPS. Sorry. Guess I was mostly curious because it can work fine in one rom, and not at all in others. Then there are some rom's I've had where I had to disable assisted gps, then gps would work fine... although general location until GPS locks doesn't work at all, and the battery life in that scenario was bad.
I shall continue to wait until I hit the right rom again.
Thanks for the help, though.

Wifi tethering on rooted M

I'm trying to get wifi tethering for root users or foxfi to work but unsuccessful as of yet. Does anyone know of wifi tether for root users work and if so the proper settings ? Thanks !
Anyone?
Sent from my XT907 using Tapatalk 2
cnotes2019 said:
Anyone?
Sent from my XT907 using Tapatalk 2
Click to expand...
Click to collapse
I could use help with this also, I'm not having any luck either.
Found another thread where setting to generic ICS/JB wlan0 worked for that user but no luck on my end.
If anyone has WiFi Tether successfully running on Rooted Razr M and would be willing to share their setup/settings, it would be really appreciated.
Thanks!
I have been trying to get this working for my lil bro but so many variables....I will play around with generic jb setting and see...
Sent from my ADR6300 using Tapatalk 2
nodixe said:
I have been trying to get this working for my lil bro but so many variables....I will play around with generic jb setting and see...
Sent from my ADR6300 using Tapatalk 2
Click to expand...
Click to collapse
"auto" for me works correctlyl
Tommino84 said:
"auto" for me works correctlyl
Click to expand...
Click to collapse
What are your other settings? I.E., Setup Method, Send NetID Max Client command, routing fix, mss clamping, etc.
If you'd be willing to post the other settings that would be great - thanks!
reyxlp said:
What are your other settings? I.E., Setup Method, Send NetID Max Client command, routing fix, mss clamping, etc.
If you'd be willing to post the other settings that would be great - thanks!
Click to expand...
Click to collapse
profile = auto
method = auto
mss clamping = enabled
routing fix = enabled
disable update control = disabled
disable wake lock = enabled
pretty much default config
Tommino84 said:
profile = auto
method = auto
mss clamping = enabled
routing fix = enabled
disable update control = disabled
disable wake lock = enabled
pretty much default config
Click to expand...
Click to collapse
Okay I did the same settings and it works now, however, best I can tell it's operating in "Ad-Hoc" mode.
Does anyone know how to get it to work in "Infrastructure Mode?"
im having no luck with is.. its driving crazy. need to be able to tehter when out and bout
prelude91sit said:
im having no luck with is.. its driving crazy. need to be able to tehter when out and bout
Click to expand...
Click to collapse
I ended up doing the entitlement check hack and using the native hotspot app.
Seems to be working just fine.
I was only able to get WiFi Tether to work in Ad-Hoc mode and couldn't reliably connect other devices to it that way...
I did the entitlement to but no go? maybe cause I'm using mines with gsm. idk
Sent from my XT907 using xda app-developers app

Network Mode menu

Hello devs and modders, this http://samsung-updates.com/details/16850/Galaxy_Note_3_Snapdragon/SM-N9005/ZVV/N9005VJUDMJ6.html rom (ZVV, from Brazil) has an option in the Network mode that I like very much to have, LTE ONLY, so I can tether my notebook for gaming when not in home, I know the side effects of this mode and I know I can access a hidden menu to change to that mode [takes too many steps tough], but I would like to have that menu option on other roms or even better any rom with a mod of any kind.
So can someone help me with that?
Cheers
Just edit /data/property/persist.radio.lteon and change it to true (and reboot).
Sent from my SM-N9005 using Tapatalk
s1m4an said:
Just edit /data/property/persist.radio.lteon and change it to true (and reboot).
Sent from my SM-N9005 using Tapatalk
Click to expand...
Click to collapse
Mine already says true, but it doesn't show the option on the menu. Any idea?
BTW I am running the BTU-N9005XXUDMK2 rom.
No one?
nanias said:
Mine already says true, but it doesn't show the option on the menu. Any idea?
BTW I am running the BTU-N9005XXUDMK2 rom.
Click to expand...
Click to collapse
If that is the case it's possible that the SIM card hasn't been updated, or the network provider isn't transmitting any LTE bands?
In my case, the provider is just starting to test 4G networks and I had to change the property and ask for a newer sim card (not sure if that is the case, but I did read somewhere that it might help).
Sent from my SM-N9005 using Tapatalk

Categories

Resources