Hi All,
This is the solution to the thread CM7 with working VPN
With lots of source code sifting and debug monitoring and finding most of the problem within a specific file namely "system/bin/mtpd".
I have compiled a CWR zip file for people to flash with this file inside.
This will replace the broken file and replace it with my file. After flashing the VPN PPTP will connect and work but does have some disconnecting problems sometimes. Still trying to find out why. But at least now it will connect and work until it disconnects.
I wonder if I could get some help from more devs to sort out the stability of the connection sorted out.
Some files that need to be check
mtpd - Needed to be exchanged for Typhoon and Hyperdroid
ip-up-vpn - Needed for Hyperdroid
pppd
racoon
VpnServices.apk
Would really appriciate some logcats so that we can pinpoint where the connection is being lost.
Confirmed working: Typhoon roms. v1.0 & v 1.4
Hyperdroid from v1.4
Not working: You tell me
Other Issues: You must at least set up one VPN connection with the default android settings menu for it to export the libraries, if you are using 1VPN.
Regards,
Arne.
thanks a lot
thanks
Pleasure !!!!
thx, maestro
Really nice
arne, it's ok for you when we include it in our roms? (hyperdroid and clk cm7 tweaked)
seadersn said:
arne, it's ok for you when we include it in our roms? (hyperdroid and clk cm7 tweaked)
Click to expand...
Click to collapse
I have check this with, TyphooN CyanogenMod 7 Nightly v3.0.4 to v3.6.9, all of them will now work with VPN PPTP.
It should work perfectly with Hyperdroid's CM7 aswell, but at the moment it doesn't. Still having to check the dependancy of the pppd file.
I don't mind if this gets included into the ROMS. But wait until I have sorted out all the bugs and it is working on all the roms.
v1.4
After some hard work the v1.4 is out and this will work on Hyperdroid and Typhoon CM7 roms. Still the VPN disconnects randomly but at least you can get it to connect.
I use 1VPN as it allows me to set an auto re connect but this is not a good solution.
Really nice. Hope you can fix the disconnects.
mamv said:
Really nice. Hope you can fix the disconnects.
Click to expand...
Click to collapse
To repair the disconnected I need to get a few log cats together. I susspect it is a program specific command that is causing the VPN to disconnect. Pinpointing the program and command can help me repair this.
THANK YOU for fixing VPN! I have tried all day to get PPTP to work, and it worked instantly when installing your fix!
2x thanks button
Thank you. VPN patch work like a charm with CM/.
se1988 said:
THANK YOU for fixing VPN! I have tried all day to get PPTP to work, and it worked instantly when installing your fix!
2x thanks button
Click to expand...
Click to collapse
FileFixer said:
Thank you. VPN patch work like a charm with CM/.
Click to expand...
Click to collapse
Need to get my thank you rate up! Thanks for helping
arne182 said:
After some hard work the v1.4 is out and this will work on Hyperdroid and Typhoon CM7 roms. Still the VPN disconnects randomly but at least you can get it to connect.
I use 1VPN as it allows me to set an auto re connect but this is not a good solution.
Click to expand...
Click to collapse
does this supports group authentication (similar to cisco client)? can it be flashed with MIUI-XJ ROM?
I have tested and can report that the connection is stable as long as its being used constantly. I have successfully streamed a couple hours of video from netflix with no interruption or disconnects, but with normal browsing the connection disconnects after a while.
Hi,
I'm currently on an AOSP ROM (tytung's NexusHD2 v3.2a). I know the thread-title says CM7, but I hope maybe I could get some help anyhow
VPN is extremely important to me, I need it for support issues at work, and since support situations rarely come with a predetermed planning, access to VPN over mobile data is an absolute must for me...
Sadly for me VPN works just fine over WiFi but doesn't over mobile data, I'd rather the opposite Mostly when a WiFi is around me, a PC I could use is not far, so that wouldn't be that much of a problem. When a support issue happens at work during non business hours I'm likely neither around a WiFi nor a PC, so that's where VPN over mobile data would really come in handy
I tested loads of ROMs, AOSP and CM7 (including Hyperdroid, Dorimanx's 2.9.9, Amerciandoid...), but all have the same behaviour for me.
So to me this seems to be a general issue.
Here are the symptoms I'm experiencing :
VPN will connect fine, a ping will go through, but after a certain volume of data goes through the tunnel (really not much, less than an initial VNC frame, so after just a second or so), it will brake, no data going through but stay connected as far as the notification of VPN shows.
And it's a question of data volume (traffic) not time, I left it pinging for over an hour, and it was still pinging, but ICMP packets are really tiny. After that I tried accessing a Windows share on the other end of the tunnel through filemanager, it showed the 1st level of folders, I could drill to one folder deeper and than it broke off again
Is this something you've experienced as well ... ?
I tried Dorimanx's v2.7 kernel on NexusHD2 ROM installing VPN patch (I suppose it is the 1.4 patch in the first post that is installed since Dorimanx gives credits to Arne182), didn't help either.
I wasn't really expecting this to help, since his ROM 2.9.9 also has the fix, and it behaved just the same...
I'd be thankfull for any clue pointing me in the right direction !
JP.
This thread has not been updated for a while so I am unsure if the problem has been resolved for good or not.
Anyway, although I don't know if the stability is related, but there used to be an Android-bug which caused disconnections. You could avoid it by disabling password-encryption.
see this post of mine:
http://forum.xda-developers.com/showpost.php?p=9579628&postcount=2
Tested with l2tp and I can report that l2tp is way more stable than pptp! Been connected for hours, with periodically Internet use.
Sent from my HD2 HyperDroidCM7 using xda premium
Yank555 said:
Hi,
I'm currently on an AOSP ROM (tytung's NexusHD2 v3.2a). I know the thread-title says CM7, but I hope maybe I could get some help anyhow
VPN is extremely important to me, I need it for support issues at work, and since support situations rarely come with a predetermed planning, access to VPN over mobile data is an absolute must for me...
Sadly for me VPN works just fine over WiFi but doesn't over mobile data, I'd rather the opposite Mostly when a WiFi is around me, a PC I could use is not far, so that wouldn't be that much of a problem. When a support issue happens at work during non business hours I'm likely neither around a WiFi nor a PC, so that's where VPN over mobile data would really come in handy
I tested loads of ROMs, AOSP and CM7 (including Hyperdroid, Dorimanx's 2.9.9, Amerciandoid...), but all have the same behaviour for me.
So to me this seems to be a general issue.
Here are the symptoms I'm experiencing :
VPN will connect fine, a ping will go through, but after a certain volume of data goes through the tunnel (really not much, less than an initial VNC frame, so after just a second or so), it will brake, no data going through but stay connected as far as the notification of VPN shows.
And it's a question of data volume (traffic) not time, I left it pinging for over an hour, and it was still pinging, but ICMP packets are really tiny. After that I tried accessing a Windows share on the other end of the tunnel through filemanager, it showed the 1st level of folders, I could drill to one folder deeper and than it broke off again
Is this something you've experienced as well ... ?
I tried Dorimanx's v2.7 kernel on NexusHD2 ROM installing VPN patch (I suppose it is the 1.4 patch in the first post that is installed since Dorimanx gives credits to Arne182), didn't help either.
I wasn't really expecting this to help, since his ROM 2.9.9 also has the fix, and it behaved just the same...
I'd be thankfull for any clue pointing me in the right direction !
JP.
Click to expand...
Click to collapse
Ciuld the problem be with the service provider? Maybe they are cutting you off or something?
Sent from my HD2 HyperDroidCM7 using xda premium
se1988 said:
Tested with l2tp and I can report that l2tp is way more stable than pptp! Been connected for hours, with periodically Internet use.
Sent from my HD2 HyperDroidCM7 using xda premium
Click to expand...
Click to collapse
Thanks for testing, I still have not found the time to get into the code, but at least I know that the l2tp is more stable.
With 1vpn you can set up a ping rate so that the connection does not time out, but timing out connections doesn't even come close to why it is disconnecting.
Related
I have an unsecured network and wifi still isnt working i even tried the builds i used beforeand wifi stil isnt working? I tried Eclair 2.1 froyo still wont work. it scans and says unable to scasn and turns the wifi off by itself. it worked on my other touch pro 2! any ideas?
same ****
got the same problem i had it on the 2.1 builds and on the froyo builds but seems when somebody mention it nobody takes it seriously...just have to wait till the next build...!
You need to update zimage to the latest and as long as WiFi is not WEP encrypted, it should work.
That is really odd. Wifi works perfect for me in froyo with a secured network. Try the new 2.2 froyo build in the first sticky.
Sent from my MSM using XDA App
eliasibrahim said:
I have an unsecured network and wifi still isnt working i even tried the builds i used beforeand wifi stil isnt working? I tried Eclair 2.1 froyo still wont work. it scans and says unable to scasn and turns the wifi off by itself. it worked on my other touch pro 2! any ideas?
Click to expand...
Click to collapse
Where I live I run wpa2 but there's wep, wpa and unsecured networks available. I get the same problem with the various flavours even after uninstalling, deleting all content and reinstalling.
Bit of a wind up to read that it's a problem with wep.
I would have to say this is one of the worst issues I have found yet with android. Others who have the same phone don't have this issue. but I do. WiFi just doesn't work on my device. I have all the latest releases. Hell, I have been able to use every feature meant for rhodium but WiFi. It is a persistant issue with my device.
I even tried repartitioning my sdcard to see if that helps. but no luck. The last release I was able to use Wifi with was the first release of the sense ui 2.1
When I mention this on IRC, I am pretty much ignored, People think it is because I don't know what I am doing. I beg to differ. I have been able to offer valid advice and solutions for most of the questions i come across.
My device is a T-MO TP2, with a 4gb sdcard. and colored send and end buttons.
Help Please.
Last time I checked Rhobuntu wifi worked ok
I'm having the same issue as well..
It will scan and see my network(secured with WEP) and let me enter my login info but after that it just scans and dosen't connect.
If I have to turn my WEP off I want worry about Android cause theres too many people around here that like to piggy back and I'm not paying for them to use mt internet as well.
I'm using the [MUG] Rhod.2.2.BLAZN.072110 if that helps.
I had another touchpro2 that got lost but wifi worked perfectly! WHEN I TRY TO UPGRADE ROOTFS AND ZIMAGE ANDROID STOPS WORKING!!!It boots goes to the lock screen and vibrates and restarts into windows mobile!
eliasibrahim said:
I had another touchpro2 that got lost but wifi worked perfectly! WHEN I TRY TO UPGRADE ROOTFS AND ZIMAGE ANDROID STOPS WORKING!!!It boots goes to the lock screen and vibrates and restarts into windows mobile!
Click to expand...
Click to collapse
Possible fixes for issue include's deleting your data.img located in your andboot folder of the Sdcard and deleting your cache folder usually located (If I'm not mistaken) on the root of the SDcard.
If the above method does not work then you may want to try a fresh install by deleting all android related files or reformatting your SDCard but I'm sure this will do the trick. I've had that issue before.
smurfgod said:
I'm having the same issue as well..
It will scan and see my network(secured with WEP) and let me enter my login info but after that it just scans and dosen't connect.
If I have to turn my WEP off I want worry about Android cause theres too many people around here that like to piggy back and I'm not paying for them to use mt internet as well.
I'm using the [MUG] Rhod.2.2.BLAZN.072110 if that helps.
Click to expand...
Click to collapse
You don't really have to. If your Router supports it then switch the encryption type to WPA instead of WEP. WPA encryption has been reported to somehow work with this build.
starmena said:
Possible fixes for issue include's deleting your data.img located in your andboot folder of the Sdcard and deleting your cache folder usually located (If I'm not mistaken) on the root of the SDcard.
If the above method does not work then you may want to try a fresh install by deleting all android related files or reformatting your SDCard but I'm sure this will do the trick. I've had that issue before.
Edit..changexd the wifi from wep to wpa/psk and all is good.just wanna fix the sound,keyboard backlight and the keyboard buttons.
Other then that I love it.
You don't really have to. If your Router supports it then switch the encryption type to WPA instead of WEP. WPA encryption has been reported to somehow work with this build.
Click to expand...
Click to collapse
SO drop from WEP to WPA?? I'll try that and post back..Thanks mna.
I really like Android but I HAVE to have WiFi..Theres really no way around that and since I couldn't get it to work...I kept using WinMo.
Should I delete my SD card and put everything back on??
Unfortuantly you tricks didnt work (all of them ) thanks for the help. DOES ANYBODY ELSE KNOW WHATS GOING ONNNNN! EVOLOPERS PLEASE FIXX It!!!
My wifi-button is grey. It is not possible, to start wifi.
How can i fix this? In an older android-version (with sense) it was running.
Is there an example for wifi in the startup.txt. I can read english only very slow and i did not find it in the 756 sites of the froyo-thread.
okay so with a format of the sd card and the installation of the latest releases of android from the sticky and the newest kernals etc.. no go... has anyone who has had issues found a way to get wifi working on their phone?
I too think the last time my phone worked was months and months ago. I would only really play with android every once and a while so I really dont remember.
smurfgod said:
SO drop from WEP to WPA?? I'll try that and post back..Thanks mna.
I really like Android but I HAVE to have WiFi..Theres really no way around that and since I couldn't get it to work...I kept using WinMo.
Should I delete my SD card and put everything back on??
Click to expand...
Click to collapse
Uh... Ok? You HAVE to have wifi. We get it. I've also heard WEP doesn't work, besides it's not even secure... you're not really dropping from WEP to WPA, you're upgrading from WEP to WPA buddy
eliasibrahim said:
Unfortuantly you tricks didnt work (all of them ) thanks for the help. DOES ANYBODY ELSE KNOW WHATS GOING ONNNNN! EVOLOPERS PLEASE FIXX It!!!
Click to expand...
Click to collapse
Wow... Please don't scream at the devs to fix something that already works. It's probably something you're doing...
I would definitely try updating to the newest everything. You say it reboots into WinMo every time - try different combinations of files. I pretty much always run 'bleeding edge' tho, and it's always worked out for me... Perhaps you're not replacing all the files correctly...?
Also... I did see one post from a dev that's going to be discouraging... They said that "some" of the TMobile TP2's just don't work with wifi. I don't think they know why, because if wifi works for the devices devs have, then it's very hard to troubleshoot your problem. It also seems to be effecting a small slice of TMobile TP2's, if that's any consolation. Ditch the teenage wireless company
arrrghhh said:
It also seems to be effecting a small slice of TMobile TP2's, if that's any consolation. Ditch the teenage wireless company
Click to expand...
Click to collapse
Not just Tmobile... there's quite a few tilt 2 owners having these issues as well.
Aaron McCarthy said:
Not just Tmobile... there's quite a few tilt 2 owners having these issues as well.
Click to expand...
Click to collapse
Can't enable wifi at all? That's... odd, for sure. Especially since it's not _all_ the TMO TP2's, or _all_ the Tilt2's....
arrrghhh said:
Can't enable wifi at all? That's... odd, for sure. Especially since it's not _all_ the TMO TP2's, or _all_ the Tilt2's....
Click to expand...
Click to collapse
yep... just get an error saying cannot scan for networks and then wifi turns off
Aaron McCarthy said:
yep... just get an error saying cannot scan for networks and then wifi turns off
Click to expand...
Click to collapse
I wonder if it's a radio thing... It's just odd that only some are effected. Has there been any correlation in radio versions or anything like that with phones that aren't working...?
I think my phone is broken. In WM I have after every reboot a new wifi-mac. With wifi on in WM my phone is very slow. I did task 29, tried different ROMs and Radio-ROMs.
Without wifi I have no problems with the phone.
see here: http://forum.xda-developers.com/showthread.php?t=777753
Do you have wifi-mac-address-Problems in Windows Mobile? (maybe with router MAC-Filter)
My phone is a german HTC Touch Pro2. (formerly O2-branded)
first of all thank you for viewing,
i have a problem with any rom running CM or gingerbread when trying to join a wireless connection that has a hidden SSID at WPA2 security.
i have no problems connecting to any other wireless connection as long as they are not configure as mention above.
now i would claim that there is a problem with the wireless configuration and the phone trying to handshake with it but this is not the issues with most roms.
because it works fine with most roms but does not with a few other roms i am sure that this is not hardware related.
here is a few troubleshooting steps i have gone through in order to see what is the source of the problem.
1st) i have loaded and tested every radio for the Inc (including the EVO radio) but the problems persist.
2nd) i have loaded and tested a variations of kernels to see if this is a cause of the problem and no luck (i tend to leave the Dev's choice in kernel alone in most cases)
any advise will be grateful please as i am at a lost and with search for people in my same place i have not found any yet.
please someone help i love playing with the Roms but this is starting to kill my experience as being able to connect to hidden and secure wifi is a must for me.
thank you.
http://forum.xda-developers.com/search.php?searchid=55690256
silverramsrt said:
http://forum.xda-developers.com/search.php?searchid=55690256
Click to expand...
Click to collapse
silverramsrt,
thank you for the search and post, so what i gather from the 2 other instances of the same problem there is no fix for this as of now other than to broadcast you SSID.
i just cant imagine why would the developer version of Gingerbread does not have this working and i hope some one finds a fix for it or that a fixed version is added to the full release.
i know, i know high hopes.
thank you
You're welcome. It won't be long before one of the incredible devs tackle this. (pun intended)
Hello guys..
I had the CM7 ROM installed earlier which had issues with the Wifi connectivity but not regular, used to happen once in a while..
After the new Kernel got released on 28th by Haschcode.. i decided to take the plunge the CM9 way with gedeROM.. trust me it has been brilliant.. After the installation I m able to connect initially to wifi.. subsequently when i try connecting to the Wifi it has not been connecting..
I tried EneryROM which also has been giving same issues.. Need your help on this guys..
Also for information sake.. before installing the ROMs.. I wipe the cache, factory reset, Dalvik.. then flash the ROM
Would want to know if any of you guys are experiencing similar issues and if you had been able to get around it..Please find the screenshots attached..
I havent tryed energy but I did try gedeRom never could get it to connect period end of story not that it isnt a sweet rom and the developer has put very excellent effort into it others have had good results. I really dont have a clue why this differs from person to person or rom to rom but I do recall once being able to correct this under advanced connection or by simply not letting or letting google keep a backup of my device. Being in development stage there are little quirks that spring up that dont hold true for all users everyones methodology varies. I couldnt get the new miui to even boot some say to flash at a full charge can fix that problem.The new AOKP has been working very well for me but others have had issues dont know how much is directly related to rom/kernel/ user error at flash. Hashcode has done a briliant job with his kernel and the developers of these roms have too patience is a virtue at this point until some bugs are smashed. For me if I have alot of trouble I simply just move on till a later date then try again the wifi thing kinda is a deal breaker on a kindle without another way to connect to the net.
Edit: at one point there was a mac address problem with the new kernel I believe that was resolved but it gave every device the same mac address which I understand causes some routers to rebel.
kishorev said:
Hello guys..
I had the CM7 ROM installed earlier which had issues with the Wifi connectivity but not regular, used to happen once in a while..
After the new Kernel got released on 28th by Haschcode.. i decided to take the plunge the CM9 way with gedeROM.. trust me it has been brilliant.. After the installation I m able to connect initially to wifi.. subsequently when i try connecting to the Wifi it has not been connecting..
I tried EneryROM which also has been giving same issues.. Need your help on this guys..
Also for information sake.. before installing the ROMs.. I wipe the cache, factory reset, Dalvik.. then flash the ROM
Would want to know if any of you guys are experiencing similar issues and if you had been able to get around it..Please find the screenshots attached..
Click to expand...
Click to collapse
You might try just flashing the latest kernel (#8) to see if that helps.
Aesrys said:
You might try just flashing the latest kernel (#8) to see if that helps.
Click to expand...
Click to collapse
I m running on new kernel only.. donno y it is behaving like that..
But thepooch.. what u said is 100% true..the ROMs are nothing short of brilliance.. infact the icons r much sharper and the system is pretty smooth in CM9.. shd thank Hashcode and the other ROM makers..
I have an SMC router.. planning to test on a friends netgear this week lets see..
I am on AOKP Milestone 5, and WiFi is working fine for me. I just tried disconnecting and reconnecting again; no problem.
A really fine ROM, and yes; Hashcode is a god.
VaksenDK said:
I am on AOKP Milestone 5, and WiFi is working fine for me. I just tried disconnecting and reconnecting again; no problem.
A really fine ROM, and yes; Hashcode is a god.
Click to expand...
Click to collapse
@Vaksen.. I had flashed AOKP yesterday... same problem guess need to check out on a different router..
Anyways on a different note.. Hashcode is definitely God so are the others who create the ROMs for us!!!
WiFi issues
kishorev said:
After the new Kernel got released on 28th by Haschcode.. i decided to take the plunge the CM9 way with gedeROM.. trust me it has been brilliant.. After the installation I m able to connect initially to wifi.. subsequently when i try connecting to the Wifi it has not been connecting..
I tried EneryROM which also has been giving same issues.. Need your help on this guys..
Click to expand...
Click to collapse
3.0 Kernel released on 28th is changing Kindle's WiFi MAC address - you should check MAC filtering policy on your WiFi router. Settings/about/status is the way to find your "new" MAC address. Developers found solution for keeping original MAC address, it will be included in next kernel/rom versions - so do not erase Kindle's original MAC address from router's MAC filter list - you will need it soon.
chupchae said:
3.0 Kernel released on 28th is changing Kindle's WiFi MAC address - you should check MAC filtering policy on your WiFi router. Settings/about/status is the way to find your "new" MAC address. Developers found solution for keeping original MAC address, it will be included in next kernel/rom versions - so do not erase Kindle's original MAC address from router's MAC filter list - you will need it soon.
Click to expand...
Click to collapse
Thanx.. but i too know that.. my question is I dont have the MAC filtering activated.. so why is it failing then?
Have you tryed AOKP? No issues there
Thepooch said:
Have you tryed AOKP? No issues there
Click to expand...
Click to collapse
Yep.. no respite.. same problem
Ewwh that sucks There's got to be some kind of workaround have you tried advanced connections? Your router is very picky
Its a total shot in the dark but maybe you could try the Hellfire cleaner before you do a fresh flash not the nullifier I'm not totally sure about that one yet. Maybe there is some fragments left behind from your previous flashes that are bottlenecking you? What kind of wireless connection is yours?
I was having similar issues. I think Hashcode's kernels hate certain routers. What kind of router do you have?
My fix was setting my router to run with a static connection instead of with DHCP.
Can you please post a logcat in Hashcode's kernel thread? The issue will get resolved faster.
Sent from my Galaxy Nexus using XDA
Your fix might be here read the op for kernel adjustments and wifi fix http://forum.xda-developers.com/showthread.php?t=1591869
Router reset with ICS Hashcode 3.0
I have very similar issues you are all reporting. I can use CM7 on my Fire and the wireless works perfect almost all of the time. I gets a little screwy at time, and I just reboot the device and it works fine again for days. When I use any ICS with Hashcode it works GREAT for about 2 days. After that mark, any time i connect with the wireless to my dlink B/G/N router, it will actually reset the router (not settings, just off/on) over and over again. Does anyone know if this issue is being addressed? I am not much of a networking person to know what the Fire could be doing to cause my router to do this, so I am really at a loss.
I've seen a few similar threads to the one I'm about to make. I've tried different suggestions which I will post here. Yet, none of them seems to work and I'm curious to see if anyone of you has a fix for my problem. My phone is an unbranded international HOX using the 9.7.2 ARHD rom by Mike1986. Here we go:
Problem
While being on WIFI my push notifications aren't coming through in time. There's a delay from anywhere between a few minutes up to as much as 40+ minutes. The phone doesn't have this issue being on the mobile data network. I'm also not 100% sure if the delay is still there when I'm on an different router. Even when I turn on the screen again, the messages seem to come in randomly.
Settings
WIFI best performance enabled
Static IP by router
WIFI sleep policy: Wifi always on
Tried suggestions
Wakelock: One thread described using an app called REGPON keep-alive, which installs a wakelock onto the phone to keep the data connection alive. This app did not do the trick. It only drained my battery and the messages still didn't come through.
Wifi performance: Set the phone to maximum wifi performance. This seemed to work for a while but ended up not working proper either
Kernel: Try a different kernel was one suggestion. I've switched from Stock to Faux123 010 kernel. This didn't change anything about the WIFI problem.
Static IP + Portforwarding + Disabling router Firewall: I've tried both port forwarding on port 5228 and even the range 5224-5228. I've also tried setting up triggered ranges. Maybe I'm doing something wrong on this part though. The router firewall is disabled and it should no longer block anonymous WAN packages.
Disable SmartSync: With the Suite Tools that are included in Mike1986's rom I've disabled Smartsync. No results as far as the wifi problem goes.
Probing app: I've tried an app that supposedly probes my router at least every minute in order to keep the connection alive.
Switching between b/g/n network: Didn't make a difference. The signal quality of the router is also good.
The only thing that did work for extended periods of time was using this remote control app that allows me to type through my PC keyboard, where the text ended up on the phone. I've also got an app installed to test push notifications. It's capable of making a log. Maybe that'll give you guys more information.
Right now I'm not sure if it's an issue with the HOX or if my router somehow stops the traffic. I don't recall having this problem on my HTC Desire. Does anyone have anymore tips?
Thanks,
Zendio
No problem with Gmail push notification on Stock 2.17.401.2.
Yesterday I still was on ARHD 9.7.2, also there I never noticed any delay.
Edit: this complies to various wifi networks (@home, @office, @parents etc.)
Zendio said:
I've seen a few similar threads to the one I'm about to make. I've tried different suggestions which I will post here. Yet, none of them seems to work and I'm curious to see if anyone of you has a fix for my problem. My phone is an unbranded international HOX using the 9.7.2 ARHD rom by Mike1986. Here we go:
Problem
While being on WIFI my push notifications aren't coming through in time. There's a delay from anywhere between a few minutes up to as much as 40+ minutes. The phone doesn't have this issue being on the mobile data network. I'm also not 100% sure if the delay is still there when I'm on an different router. Even when I turn on the screen again, the messages seem to come in randomly.
Settings
WIFI best performance enabled
Static IP by router
WIFI sleep policy: Wifi always on
Tried suggestions
Wakelock: One thread described using an app called REGPON keep-alive, which installs a wakelock onto the phone to keep the data connection alive. This app did not do the trick. It only drained my battery and the messages still didn't come through.
Wifi performance: Set the phone to maximum wifi performance. This seemed to work for a while but ended up not working proper either
Kernel: Try a different kernel was one suggestion. I've switched from Stock to Faux123 010 kernel. This didn't change anything about the WIFI problem.
Static IP + Portforwarding + Disabling router Firewall: I've tried both port forwarding on port 5228 and even the range 5224-5228. I've also tried setting up triggered ranges. Maybe I'm doing something wrong on this part though. The router firewall is disabled and it should no longer block anonymous WAN packages.
Disable SmartSync: With the Suite Tools that are included in Mike1986's rom I've disabled Smartsync. No results as far as the wifi problem goes.
Probing app: I've tried an app that supposedly probes my router at least every minute in order to keep the connection alive.
Switching between b/g/n network: Didn't make a difference. The signal quality of the router is also good.
The only thing that did work for extended periods of time was using this remote control app that allows me to type through my PC keyboard, where the text ended up on the phone. I've also got an app installed to test push notifications. It's capable of making a log. Maybe that'll give you guys more information.
Right now I'm not sure if it's an issue with the HOX or if my router somehow stops the traffic. I don't recall having this problem on my HTC Desire. Does anyone have anymore tips?
Thanks,
Zendio
Click to expand...
Click to collapse
I am so sorry to hear you are affected by this problem, but also happy someone else is experiencing the exact same thing as I am !!!
I have tried different solutions to no avail.
Would love to hear something on this topic !!
Also I should note, I don't have any kind of task killer installed.
In general use WIFI feels really fluid and responsive. I really have no idea what could cause these problems.
Zendio said:
Also I should note, I don't have any kind of task killer installed.
In general use WIFI feels really fluid and responsive. I really have no idea what could cause these problems.
Click to expand...
Click to collapse
Did we get any update on this, I have the issues on 3 phones..desire HD, sensation and a brand new Galaxy S3
modd1uk said:
Did we get any update on this, I have the issues on 3 phones..desire HD, sensation and a brand new Galaxy S3
Click to expand...
Click to collapse
I hope so. My One S is experiencing the same thing. I've tried everything above. No luck. Some stuff is fairly critical that I get it as soon as it comes in. I might try getting ahold of a Nexus 4 and do some testing with its wifi, just to make sure it isn't a general Android problem.
What router do you have? My issue was any android device in the house. Turned out it was my router, I put a custom firmware on it and all my trouble have gone away. My friend has the WiFi issue on a virgin media superhub.
Sent from my HTC Sensation Z710e using Tapatalk
I have an Asus RT-N66U. Funny you should suggest that. I'd planned to throw Tomato on it tonight and see how that works out. I did some tests at my folks' and their router had the same results. It's some cheap Netgear thing. Not sure of the model at the mo. I'll post back with results. If not tonight, tomorrow some time.
No go
Well that was unsuccessful. Actually it slowed things down. With the default firmware I get notifications from the instant I press power to wake up my phone. With Tomato there was a second or so before I got them.
Time to try DD-WRT tonight to see if that does the same thing.
I have an rt-n56u so the older version of yours and I'm running the Asus wrt that is being made, its fixed all my problems and is awesome tbh.
Sent from my HTC Sensation Z710e using Tapatalk
Set Beacon mode power safe (BMPS) to 0 in WiFi ???.ini config file should resolve this problem.
Such ???.ini config file usually placed under /system/etc/wifi or /system/etc/firmware/wlan/prima/
Hello, i know this has been discussed here before, but i wanted to ask for help anyway. My Wifi was working perfectly fine on Android 4.1, but after this update to 4.2.2 its really bad.
I know its software issue, pressing right top corner of my HOX doesnt help at all. I tried factory reset, but it didnt help. I´m running official ROM and no root. The problem is that sometimes when i have full signal strenght, the wifi speed is still horrible (like 0.5mb on 10mb wifi).
Any suggestions what to try? Thanks a lot
Sterba.95 said:
Hello, i know this has been discussed here before, but i wanted to ask for help anyway. My Wifi was working perfectly fine on Android 4.1, but after this update to 4.2.2 its really bad.
I know its software issue, pressing right top corner of my HOX doesn't help at all. I tried factory reset, but it didnt help. I´m running official ROM and no root. The problem is that sometimes when i have full signal strenght, the wifi speed is still horrible (like 0.5mb on 10mb wifi).
Any suggestions what to try? Thanks a lot
Click to expand...
Click to collapse
I have exactly the same problem. All HTC customer service suggested was factory reset, tried that and no difference. On 4.1 it worked fine on my wifi at home throughout the house, now on 4.2, works ok downstairs but useless upstairs even when it says I have 4 bars of signal. Very one times flaky though and sometimes drops to 1 or none. This is a disaster as I understand there is no way to roll back to 4.1. This is unbelievable!! How can an official update totally break basic functionality with no way back!? Searched all over Internet to find a solution and no luck, even though a fair few people seem ro have this problem. Is not a hardware problem, as OP, squeezing top right makes no difference. Have tried static IP, doesn't help. Desperate for help, can any wise heads on here suggest anything? Thanks!
So wish I had not updated, it worked brilliantly before.
Same situation here after the update... With full signal keep having horrible Wifi speed... :'(
Sent from my HTC One X using XDA Premium 4 mobile app
Same problem here, but if u have root u can solve it by flashing "richmondo;s" fix. it's ok now
zumyman46 said:
Same problem here, but if u have root u can solve it by flashing "richmondo;s" fix. it's ok now
Click to expand...
Click to collapse
what is "richmondo;s" fix exactly?
4play975 said:
what is "to ;s" fix exactly?
Click to expand...
Click to collapse
Do you have the same problem 4play975? Seems quite a few people do..! As per OP my phone is not rooted and don't want to root it really.
Any chance anyone can suggest any other solutions to try?
Failing that, some details on what Richmondos fix is would be useful!!
Yeah, I really dont want to root my phone too, because i have warranty for more than 1 year now and I will sell the phone in future, so I dont wanna risk loosing warranty..
I also have similar problem! But it varies, sometimes it's bad and sometimes not??? Phone is stock and locked and don't want to unlock and install custom stuf, until warranty period is over.
Hello to all
I have the same wi-fi problem on my HTC One X since I made the update.
Is there any way to solve this?I hope so, because Wi-Fi signal is very bad, and I use it a lot of time.
I have CWM recovery installed,bootloader unlocked, and s-on, recently I have rooted my phone,
but at this moment is not.
I dont care installing new kernel, radio,etc........I just want to solve this problem :crying:
Tanks to all
I have a problem with my wifi too since the Andriod 4.2.2 and Sense 5 update, but it seems to be a bit different from yours. The speedtest.net app and the ping & DNS app give the same results as my PC that is hard wired to the router, so speed and ping seem to be fine.
But I get errors like Connection Problem Authentication via the proxy server was unsuccessful - but I don't use a proxy server. In the HOX wifi settings for that router the Proxy settings are Manual, Proxy hostname 127.0.0.1 and proxy port 3128. Are these correct for when there is no proxy? If switch from Manual to None and go back in then it has gone back to those settings.
Another error is Connection Problem this page contains too many server redirects. But the page displays fine if I switch to mobile data.
Or I get Connection Problem there was a network error. Again it works fine on mobile data.
Then there are some webpages that give a 404 page cannot be found error. Again it works fine on mobile data.
Some of these problems are repeatable on the same webpages across different routers in different buildings.
Sometimes when connecting to a router the HOX connects and the loses the connection and then reconnects up to 10 times before settling on the connection.
Like you I would rather not root etc if possible.
So, noone know a solution for users without root? I found out that on some wifi (in school), it works quite fine even on worse signal. But before update, it was ok on every wifi..
Hi
i have the same problem with my wlan connection. Nearly 100kb/s.
I had tested my internet download speed on my computer and takes interesting information:
my internet connection is 70MBit, this means i can download with nearly 8,2 MB/s.
If my HOX is not connected to the router, the whole downloadspeed is available on the computer. But if the HOX is connected, the downloadspeed is only 1 MB/s.
After disconnecting and rebooting the router, the internet connection is as well as before.
Does anyone makes the experiences?
regards
Daniel
I don't have the speed problems, Speedtest.net app gives the same results on my HOX as my PC.
One of my wifi problems is to do with the Wi-fi connecting to a weak signal instead of the stronger one - I have worked around this by installing WiFi Fixer App which works well at switching to the stronger signal.
Also there are some websites that give errors like Server Error too Many Redirects (for example http://www.thefreedictionary.com/ does that for me) or 404 Error - Page Cannot be Found (http://fahrbot.co.uk/) or are sometimes slow to load - I have found that these issues don't happen with the Opera Mini app, so why does the stock browser give these problems when on wifi, but not on mobile data?
Another one is that if I click a link in a webpage (or type in a URL) that takes me to a webpage that has a mobile version as well as the desktop version I get a strange URL that doesn't work. For example on mobile data typing in www.abmobileapps.com takes me to the mobile version of the website, but on wifi the URL automatically changes to http://www.abmobileapps.comhttp/www.abmobileapps.com/ and the page cannot be found. Again it works in mini Opera on wifi.
WIFI FIX
if you use rooted device, use lyapota mods and flash modpack http://forum.xda-developers.com/showthread.php?t=2114584 (contin wififix and other).
for me works great :highfive: (my router has openwrt)
I found out that on some other wifis speed works just fine. I have router D-Link DIR-600 with stronger antenna than it was stock. I use WPA2 security and Dynamic IP.
Is there anything what I should try to fix it? Thanks for any suggestions.
Here are some advices how to fix the WiFi issues - router dependent (need access to the router setup):
1. Make sure that you are not using channel 11-13
2. Disable "WMM Support" in router Wireless -> Advanced Settings. Note: this will force G-only speed (54Mb)
3. You you want to keep the N speed, put your phone in the highest possible QoS priority without disabling the "WMM Support"
Hope this helps
Dark_Avenger said:
Here are some advices how to fix the WiFi issues - router dependent (need access to the router setup):
1. Make sure that you are not using channel 11-13
2. Disable "WMM Support" in router Wireless -> Advanced Settings. Note: this will force G-only speed (54Mb)
3. You you want to keep the N speed, put your phone in the highest possible QoS priority without disabling the "WMM Support"
Hope this helps
Click to expand...
Click to collapse
Thanks for the tips...
So, we will change WMM settings for all wifi modems that we connect...
Shame on you HTC...Next time I will ignore HTC while buying a new mobile phone...
after flashing lyopotas mod pack my hox'S wifi seems to work again like it's supposed
maybe it helps
After update,
i can't use my home wifi (Innacomm),using other wifi okay.
conneted but can't surf internet (error 404) but can only use opera mini (very very very slow).
Using other device no problem with the wifi..anyone can help me? TQ :crying:
The problems I am having with proxy and 404 errors are all caused by the Web Protection feature in Kaspersky Internet Security for Android since the OTA to Android 4.2.2 (it worked fine previously). I have installed the latest KIS 11.1.4.141 from the Kaspersky website (because Google Play says it is up to date at version 11.1.3) but the problem still occurs. So I have turned off Web Protection in KIS and all my issues have been cleared up.
Sent from my HTC One X using xda app-developers app