[APP IDEA] - workaround for PPP issues - HD2 Android Q&A, Help & Troubleshooting and Genera

I am not a developer on Android, but I would think this would be simple.
I am using a PPP version of Android (Evo), and my data disconnects about once a day. Not a big deal, because I can just turn off mobile data and then turn it back on. Problem is that it may be an hour before I notice that data has disconnected.
So, why not create an app that at a predefined interval tries to ping something (say yahoo.com)...if it receives a reply, then great, but if not, then it would automatically turn data off then back on again.
Is this possible?

I think this is a great idea.. As a temporary workaround until the kernel issues are sorted out this just might do it.

A pretty decent idea..

bump - does anyone have the ability to do this?

That would mean you have to create an app that runs as a service.
At first that will strain your data plan but I think must of you have a flatrate anyway.
And the other thing is that it will drain your battery faster. If you always try to ping something (lets say in a interval of 10 minutes) your phone will try to ping it till it worked. If you are in a area with a good signal coverage, that's no problem.
But if you are in a area with bad signal, the phone increases the signal strenght and your battery will drain very fast I think.
The problem is even if your app try to ping something only three times or something like this and it didn't worked, it will shutdown and restart your connection (if you have a bad connection). That means that your phone won't have any connection every ten minutes. You won't be reachable very much.
I hope you can understand what I meant.
Cheers

Related

HD2 Radio Has Horrible Instability

Is anyone else here having similar problems with the radio on their HD2? Mine seems to crap out severely when it comes to 3G. I have notice dhtat just about every time the phone is powered on, it will turn the data connection in the settings off by default regardless of It's state when the phone was previously powered on.
Also, I have noticed sometimes the phone will sporadically switch out of 3G mode and into phone only mode and I must go into the settings menu and re-enable it.
Also, Sometimes (The phone has done this twice today so far), the phone will still indicate that it is in 3G mode but when I attempt to browse the web it will return a page cannot be found error and the only way to fix this is to go into settings, disable and then re-enable the data connection.
My current radio version is 2.08.50.08_2. Is there something better out there?
I had the same problem with the data connection shutting off. I downloaded HD2Tweak and it helped keep it on.
dornstar said:
I had the same problem with the data connection shutting off. I downloaded HD2Tweak and it helped keep it on.
Click to expand...
Click to collapse
can you post the link to that tweek?
alsalahi said:
can you post the link to that tweek?
Click to expand...
Click to collapse
It's been a while, but I think I got it here. It was the English version.
http://www.montecristoff.com/hd2tweak.htm
Under "4. Data", I turned on Internet, MMS and Data to be on permanently. Worked like a charm. First day, I had 13 hours straight of data connection. Before using HD2Tweaks, I never had more than 20-30 minutes.
I've noticed today the 3G connection went from full bars to none and also no phone bars.. and it reconnected again.
Sometimes it will not reconnect to signal for a while after I leave underground train station.
In areas of weak-medium signal strength, I've noticed it switch between E and 3G a lot and drain battery much faster.
The signal reception is generally excellent in the city, except if inside a building with thick walls, so I don't understand why it has signal issues when outside.

Strange phone issues with Samsung Galaxy S

Hi,
I bought a Samsung Galaxy S about a month ago, and have been having odd problems with it since the off. Has anyone else had these sort of symptoms:
1. I occasionally lose my data connection - the icon disappears from the top of the screen and whilst I can still make and recieve calls and text messages, I cannot download anything in any app. The only way I've found to get my data connection back is to reset the phone. This happens maybe a couple of times a week.
2. My WiFi seems to suffer from a similar problem. I can be browsing the web on Wifi, then suddenly I'll not be able to download anything anymore. The wifi icon is still visible, but I'll basically be unable to download anything until I switch the wifi off and back on again. Then, it starts working as normal again.
In both these above scenarios, I think I've narrowed it down to primarily happening after I use the Android Market, but it's difficult to tell as it's very intermittent.
3. A couple of times since getting the phone, I've been unable to make or receive any calls. Even switching the phone off and back on didn't help - my signal bar was showing I had a signal and my data connection was still active. Couldn't tell if this was a network problem or not though as there weren't any people nearby on the same network as me. After a while, it started working normally again.
4. The email client randomly lost all of my email settings. One day I was receiving all my emails, the next day I had no email accounts set up at all.
5. I installed Sensor Dump and Phone Explorer to see what data was coming in from the sensors, and have noticed that the light sensor never sends any data. Is this normal?
I also have the usual slow-down issues, etc, but the above have got me stumped as I can't find anyone else reporting the same issues. When I first got the phone, I went crazy installing a load of Android apps, so initially I blamed the software I'd installed. After a reset and being a bit more selective with the apps I install and use, I'm still getting the same issues. I just can't pin down whether this is a faulty phone that I should return, or if there are software issues either relating to the way I'm using the phone or just with bugs in the firmware.
Has anyone else had anything like the above happen with their Galaxy S?
Thanks,
Chris.
I've experienced no.2 several times, wifi just stopping all data traffic. Not found out what causes it though.
As for the other problems, I haven't experienced any of those. Do you use automatic brightness on the display? If not, problem no. 5 might be caused by the sensor being turned off.
thanks for the reply - at least I'm not completely alone!
I have the automatic brightness turned on - which is why it seems odd. To be honest, I've never actually see the auto brightness do anything. It always seems to be the same brightness to me.
Cheers,
Chris.
Strange Problem
Hi,
I've experienced no.4 some times. My inbox did not show some older mails.
ProfWolfMan said:
Hi,
I've experienced no.4 some times. My inbox did not show some older mails.
Click to expand...
Click to collapse
I think it might be normal that older mails disappear from the inbox after some time? My problem was that everything went. I had three email accounts set up, all downloading emails every hour. Then, one day I went into the email app and there were no accounts at all! I had to set it all up from scratch again.
I hear there are better email apps available for Android, so I'll probably switch to one of those soon.
lordwaym said:
1. I occasionally lose my data connection - the icon disappears from the top of the screen and whilst I can still make and recieve calls and text messages, I cannot download anything in any app. The only way I've found to get my data connection back is to reset the phone. This happens maybe a couple of times a week.
Click to expand...
Click to collapse
i got this problem, i used to connecct my phone to IM client 24/7.
and it seems that after my sgs lost its connection, it won't tell me, my msntalk just displaying the entire contact list just as it is. and i need to turn airplane mode on off to return it back
anyone have the solution for this?
Hi,
I bought a Galaxy S on Orange UK in July. I'm having the same problem as 1. quite consistenly now.
I thought it might be related to the green power battery saver app I had installed, but i've removed this and still having the problem.
I'm using the phone in several central London locations so I think it's unlikely to be a problem with the data network.
Any suggestion would be welcome since I'm often without data.
Thanks
Nik
ive 1 and 3 but very rarely so far
rebooting fixes it for me
running froyo jp3
for email i use K9, it's almost the same as the integrated mail, only much better (PUSH imap)
Nik_B! said:
I bought a Galaxy S on Orange UK in July. I'm having the same problem as 1. quite consistenly now.
Click to expand...
Click to collapse
I'm actually getting this happen a lot now. It seems to be getting worse, which makes me think it might be a hardware fault. I generally lose my data connection once or twice a day minimum, but some days the phone is virtually unusable.
I have found that it's more likely to happen after using Wi-Fi, so my other thought is that when coming out of Wireless mode, the phone may not switch the normal 3G/HSDPA data connection back on. Most of the time I can fix this by putting the phone into flight mode and then back out, but sometimes it needs a complete reset.
The other problem I've noted with the data connection is that sometimes it seems to rapidly switch between HSDPA and 3G - the data icon at the top of the screen keeps going from '3G' to 'H' then back again. I guess it has something to do with signal quality but it only seems to happen when the phone is showing a good signal strength (four bars). The problem I've found when this happens is that it virtually locks up any ongoing data transfers, making it impossible to download a webpage or check my emails. Strangely the only way I've really found to stop this happening is to move somewhere where my signal strength is weaker, such as indoors, which then seems to make the phone stop attempting to use HSDPA. I can't find a way to switch off HSDPA from within the phone's settings while leaving 3G on.
I really am now finding that using this phone is an increasingly frustrating experience. I've found even more weird faults, such as sometimes my text conversations show the wrong people's names up against them, and then my replies go to the wrong people. It's like an insane, shiny mess of a phone!
Chris.
lordwaym said:
Hi,
I bought a Samsung Galaxy S about a month ago, and have been having odd problems with it since the off. Has anyone else had these sort of symptoms:
1. I occasionally lose my data connection - the icon disappears from the top of the screen and whilst I can still make and recieve calls and text messages, I cannot download anything in any app. The only way I've found to get my data connection back is to reset the phone. This happens maybe a couple of times a week.
2. My WiFi seems to suffer from a similar problem. I can be browsing the web on Wifi, then suddenly I'll not be able to download anything anymore. The wifi icon is still visible, but I'll basically be unable to download anything until I switch the wifi off and back on again. Then, it starts working as normal again.
Click to expand...
Click to collapse
I am indeed experiencing same problems above..it just drive me crazy with a need of complete reset everyday..
turning on n off flight mode won't change anything..
I really hope someone can bring a miracle to solve this problem..
I'm on XXJPC
setting the APN parameter(Setting-->Wireless and network-->Mobile Networks-->Access Point Names-->New APN) to 2G only seems to solve the 'lost data connection' problem..
I am connected 24/7 now..
Give a try guys!

When I wake up my phone, it's connected to 3G, but I am on wifi.

Anyone else having this problem? I don't remember having this happen on my MT3G.
It's really eating up the battery.
I am on JI2, and I never experienced this until last night after using Odin.
you have to change the wifi sleep policy in the wifi settings. Got to settings, wireless networks, wifi, then press the menu button and select advanced.
OMG! thanks, you're a real life saver.
Sorry to bring up an old thread. I have it set to never sleep but it still does. Any ideas? Seems when the display times out, it switches off wifi.
I have wifi on all the time at home and it's set to never sleep. Sometimes I see both the wifi and 3G icons. I know my wifi signal is strong, so no idea why the phone sometimes also seems to need a 3G data connection. One example is when I test GPS at home the 3G icon will pop up briefly. Another is following a reboot. But I see other times as well, and sometimes it stays for quite a while, but eventually goes away. I wonder if perhaps some ports get blocked by my router and the phone uses 3G communication to get around it. Bit of a mystery, but I don't see any other negative symptoms.
Here is something I have experienced. This is regardless of what ROM I am on.. Stock, Bionix, whatever...
I have wifi turned on at work. Sometimes I would see wifi and 3g on at the same time.
Now today, while texting, I noticed that my Wifi connection dropped to nothing, and at that point my 3g kicked in, which I expect it to. But when my Wifi reception kicks back up again, my 3g didnt turn off. I turned off Wifi and turned it on again, and my 3g turned off.
Anyone else getting the same experience?
samnada/ELStiko, That's what I'm really seeing too as I thought my wifi was just going to sleep.
ljv said:
samnada/ELStiko, That's what I'm really seeing too as I thought my wifi was just going to sleep.
Click to expand...
Click to collapse
I'm pretty sure my wifi isn't going to sleep. The wifi icon is on all the time with at least 3 bars. My cell signal is definitely weaker in my location. So, if it's seeking the strongest signal my wifi will always win.
Besides the possibility that my router is blocking some ports the phone wants to use, there's also a possible security issue. I know at one point the TMO My Account app would force a switch to cell communication versus wifi and I believe it was due to security concerns. Maybe some apps do the same thing.
I just did a GPS test, got a lock, stopped the test, closed the app, and the 3G icon stayed up for a couple of minutes then went away. Just one example.
Does seem odd, but I've just assumed there's some rational explanation. Could also be a bug...
your lucky you wake up and you have 3g. i wake up my phone is always on edge. lol
Sent from my SGH-T959 using XDA App

Phone sometimes disconnects when using WIFI

hi, sometimes when i look at my phone, usually after being on wifi the phone shows no bars.
sometimes it comes back on in a min, i tried airplane mode but it wouldnt work. so i restarted it and worked fine.
not sure why it happens, does anyone else have this? could it be due to some Wifi calling setting? not sure why phone seems to just cut off.
anyone have any idea why this may be happening?
does it turn off radio for wifi calling somehow or? just random.
I have a similar issue, but not equal. Sometimes, when I try to connect to the network I always do (home), it simply doesn't work. Scanning - disconnected - scanning - disconnect. Only a phone reset fixes this.
Sheep ROM 2.0
AbyssNote Kernel 2.5
I had a similar issue a while ago and sent Mine back to the seller but the seller claimed neither they nor Samsung could find a problem with the phone. Thankfully The seller sent me a replacement which no longer gives me this problem so it may be the handset, though it could also be the setting/Conflicting app. Someone reported here his problem Was solved after adjusting a w ifi regulating app
i have a 3-day old gnote and i started noticing this problem after i have my phone rooted. the wifi icon stays on but there's no internet connection. turning the screen off and waking the phone after a minute solves the problem but its annoying to be losing connection when you're needing it. i'm on stock KKA.
Sent from my GT-N7000 using Tapatalk
pinoypower said:
i have a 3-day old gnote and i started noticing this problem after i have my phone rooted. the wifi icon stays on but there's no internet connection. turning the screen off and waking the phone after a minute solves the problem but its annoying to be losing connection when you're needing it. i'm on stock KKA.
Sent from my GT-N7000 using Tapatalk
Click to expand...
Click to collapse
Not a user error so need to contact Samsung-don't think is anyway
I have a somewhat similar problem. When I am using wifi for somewhat long time, I am unable to connect back to my 3g. Or if I was on 3g connection and I move out of coverage area for a little more than 10 minutes, I can't reconnect to 3g. Only 3g connection has this problem though, everything else works fine.
If I restart the phone, I can reconnect. Setting to airplane mode and resetting doesn't help. Neither does resetting the mobile network operators.
Yes, the problem seems to be software related since there is no actual problem with receiving 3g/phone.
yesterday i drove back 10 hrs and streamed music/radio the entire way with only a few tiny interruptions in reception.
but often still if i just take my phone out of my pocket, the "phone" part will be off and usually turn back on within 1-2 mins.
but this is quite annoying since sometimes il literally be waiting for 1-2 mins to place a call.
my phone is "not" rooted.

[Q] defy+ data network woes

i have a variation on the data network problems, not as annoying as reboots,
but getting close.
normally i am on GSM only, as my data needs are low and it extends
battery life. for hours, everything is dandy. then i notice that
the "G" icon and the signal bar are not blue anymore (stock theme)
but grey. 'settings' say i am still data "connected", but in fact
data connection is out (the operating system thinks there is
data connection, browsers and mail clients keep spinning and
trying until timeout).
turning on and off wifi makes the phone try to connect to the data
network again. sometimes this works, but more often that not, i have
to switch to 3G mode for this to work, and sometimes even that does
not help, and i have to go airplane mode to turn the radio on and off
completely. otherwise it just tries and tries and tries to reconnect,
draining the battery like crazy, and sometimes resulting in these
mysterious reboots others are experiencing as well.
is this the phone or a network problem? (tmobile in the netherlands)
i was on the same network, same SIM with an older LG android phone
and i dont recall having this problem, so i am a bit hesitant
to blame the network for every outage...
should i just send it back for repairs/replacement?
system version: 45.0.74.MB526.Retail.en.DE
baseband: EPU93_U_00.60.00
for a while i will keep the phone in 3G mode to see if the same
problem exists. as my mobile data needs are low, it would be
a shame if i cannot keep it in GSM mode because of this...
I had the same problem couple of months back but since I'm on msginger don't have that enjoying problem anymore.
Ohh and as far as remember it was only when the battery was on maximum save, now I'm using custom and it's fine
Sent from my MB525 using XDA Premium App
mikeman8484 said:
I had the same problem couple of months back but since I'm on msginger don't have that enjoying problem anymore.
Ohh and as far as remember it was only when the battery was on maximum save, now I'm using custom and it's fine
Click to expand...
Click to collapse
i am on custom saving mode. i think that the saving modes, where
the data connection is cut off after some inactivity, just flesh out
the problem more, as trying to connect back to the data network
happens more often then during normal use, when data connection
is kept alive all the time.
since i set the connection mode to 3G or better, i did not have the problem
but that was only a couple of hours ago. sometimes a day goes by
without manifesting itself...
I'm on 2G all the time. And the custom saving still got set up for cutting the data off but i don't seem to have that problem anymore i can check later on if it would still appear on max saving.
Sent from my MB525 using XDA Premium App
so after days, it seems like i cannot reproduce these problems
while on 3G. seems like 2G only for data is not 100% reliable
either because of the phone or the network itself, or both.
pitty.
i m having problems with network reception with the 7.2 CM rom on the defy+.tried the baseband switcher in this link but still little or no reception
http://forum.xda-developers.com/showthread.php?t=1203297
i have been on 3G last couple of days, and no data woes.
however i had a spontaneous reboot, so the reboot problem
is seemingly not only a 2G issue (if it is)..

Categories

Resources