Amaze- bad time keeping? - HTC Amaze 4G

I have a program to sync the internal clock every three days to the atomic clock (I'm not expecting it to be as good as that!) but on average it's out by nearly 30sec every three days, 10sec a day! WOW!
Anyone else noticed this?
I would expect maybe no more than 0.5sec every day for a device like this.

Are you stock? I'd set my network to 2g only, but if I powered off and then back on, it would be reset to both on stock, but when I rooted, the problem went away.
I only bring it up in case the date/time setting is another of those toggles that doesn't save and therefore resetting your date/time with the network.

My amaze keeps asking me for the time zone when it powers up. The only way around it is to disable network time.

Related

[Q] Atrix Time Zone Bug

I work and live in different time zones, I noticed the atrix doesnt update the time unless I turn off the wireless and then re-enable it. Is this supposed to be normal?
settings -> Date and time
is automatic checked? how often are you on wifi, and how often on mobile data? I'm not sure it gets a constant check when on wifi.
cegna09 said:
settings -> Date and time
is automatic checked? how often are you on wifi, and how often on mobile data? I'm not sure it gets a constant check when on wifi.
Click to expand...
Click to collapse
The time is technically correct except for it is an hour less than it should be. It is set to automatic, im on wifi 20% of the day the rest mobile data. If I turn on airplane mode then turn it back off the correct time is displayed. I think they may have a bug
I travel for business quite and go between time-zones. I also find same issue happening with my new Atrix phone. If I turn the airplane mode on and off several times, time correct based on time zone I am in. Automatic date and time setting checked on.
Hi Everyone,
Atrix did not adjust automatically the time fthis morning. Is anybody else experiencing this issue?
In date and time the 'automatic' settings is checked.
I had to reboot for the time to be automatically updated.
Thank you.
Alarm went off an hour earlier than all the manually set clocks.
No glitch here. In Indiana on an eastern time zone.
I travel for work and the Atrix has worked fine for me in different time zones. My captivate failed to auto-switch one time though - so i think it has something to do with tower signals more then phone.
I reported this at launch, Im in indiana and live in CST but work in EST. This phone has not correctly changed timezones once, and didnt even update to the correct time for daylight savings time yesterday. The only way i've found to fix is either turn on/ turn off airplane mode or cycle power.

[Q] System clock gaining 2 min per day?

Is anyone else seeing a large amount of clock drift on their thunderbolts? I gain 122 seconds a day and 14 seconds at every boot according to ClockSync. ClockSync has been keeping my system clock corrected to date and I suppose that works but still, 2 min a day and 14 seconds at a reboot? That seems to be an awful lot.
So, is anyone else seeing this?
TB - Rooted, Das BAMF 1.4 but not OC'd.
mezman said:
Is anyone else seeing a large amount of clock drift on their thunderbolts? I gain 122 seconds a day and 14 seconds at every boot according to ClockSync. ClockSync has been keeping my system clock corrected to date and I suppose that works but still, 2 min a day and 14 seconds at a reboot? That seems to be an awful lot.
Click to expand...
Click to collapse
There's the actual time, there's Linux system time, there's the time kept by the RTC hardware, and there's cellular network time. They're all a bit different.
Clocksync is an NTP client, and tries to keep Linux system time in reasonable sync with external NTP servers, which should be in reasonable sync with the actual time (UTC). That's all on the order of milliseconds, if everything is working as it should.
CDMA and LTE network time is required to be in close sync with UTC, too - on the order of microseconds. This is a better source than a remote NTP server. In fact, some Stratum 1 NTP server get _their_ time from a CDMA network.
Most CDMA phones get their time from the network, and I suspect the TB does, too. I don't know if Android uses the kernel time discipline to keep the system time in sync with network time, I suspect it does.
I doubt Clocksync does anything good on a CDMA/LTE phone, the time received from the network is better, and probably being used to begin with. As I recall, GSM/UTMS base stations only need frequency accuracy, so Clocksync is probably useful there.
The difference you're seeing on boot is probably the difference between RTC time and system time, after the latter has been synched with network time. The RTC is only there to keep time when the device is powered off, so not much money is put into keeping it accurate. A CDMA/LTE phone is expected to be getting time from the network while in use.
So you're saying that I shouldn't be using ClockSync then as it's setting my system time different than the CDMA/LTE time my TB should be getting from the network? Or is it just redundant and unnecessary?
Also, I could see the RTC being 14 seconds off network time but once the phone is up and connected to the Verizon network, shouldn't it sync it's time with the CDMA/LTE time? Until I force ClockSync to update the system time, it remains 14 seconds off from NTP time, regardless of time since the phone booted.
It appears that Android may be setting system time to match GPS time. See the issue discussed at code.google.com/p/android/issues/detail?id=5485
Huh, that's a good read. Seems that no only is Android setting the time to GPS time, but doing it incorrectly. I guess though, if I turn on my phone in a building where it can't get a GPS signal, will my phone sync the system time to GPS time next time it can see the sky?

IMS_Data_Retry Keeps RAZR Awake

I've been using the app BetterBatteryStats as recommended by XDA to determine why my RAZR is awake much of the time, even when the screen is off and data is turned off. It turns out the problem is the internal process IMS_Data_Retry. This process apparently keeps attempting to establish a data connection over cellular data, at least 4G LTE. It aquires a wake lock while doing its work. This one process can keep the phone awake 95% of the time. The only way I have found to semi-stop it is to turn on 4G LTE. Even then, while it stops consuming CPU time (supposedly), the count of retry attempts keeps going up. (Putting the phone in Airplane mode also stops it, but then calls are stopped as well.)
There is a setting in /system/build.prop that I thought controlled this process:
ro.cdma.data_retry_config=default_randomization=2000,max_retries=infinite, 0, 0, 120000, 180000, 540000, 960000
I looked at some code references I found ( http://hi-android.info/src/com/android/internal/telephony/cdma/CdmaDataConnectionTracker.java.html ) and learned that the above values are in milliseconds. It seems that the default_randomization value is added to the other values in the list to create a schedule of retry attempts, but I wasn't able to figure out all the parameters to the method, if I even have the right one. I tried changing "infinite" to a small number under 10, but it had no effect - the process just keeps retrying forever.
Is there a dev out there who knows more about this? I want to limit this process because I seldom use cellular data right now and am usually on WiFi. It hinders any attempt to extend battery life. Is it a bug? Is it fixed in a later release (I'm on .748 stock) ? Do any of the custom ROMs have this problem? Can the build.prop setting I found be given values that limit the amount of time this process holds wake locks?
Thanks.
Did you ever get any resolution on this? For me, I think the problem started with the ICS update this summer. I constantly have gsm_data_tracker, RILJ, and IMS_Data_Retry using up the battery (in that order from highest to lowest). I tried wiping cache which helped the 1st time it cropped up and then it came back. I also tried a tip I saw somewhere for turning on airplane mode, rebooting, and turning off airplane mode (though mine as soon as it reboots, it already turns off airplane mode which it shouldn't). That worked for several weeks, but I had to do it EVERY DAY when I got to work. I think it's something with the 3g repeaters in the building. I did have it so it was wifi only (mobile radio off) on my work profile in profile scheduler, but then I needed cell for some mms stuff, so I ended up enabling it again. Basically when I come in the building and forget about my phone for an hour or 2, I go to get it out of my backpack and it will be hot from processing and 20% or more of the battery gone when I've done nothing in 2 hours of being at work. I saw somewhere that someone though either gsm_data_tracker or RILJ was related to something with the alarm, which I do use my phone as my alarm, but I use a 3rd party app. With the time change, there were a few days I woke up before it ever went off, so I turned it off before it did alarm. There were no differences with the partial wakelocks or battery drain in those cases. Unfortunately, I don't have another alarm readily available to get up for work right now and on the weekends when I don't need an alarm, I can't replicate the cell repeater at work issues, since I wouldn't be around the cell repeaters. As fart as in the building at work, until I reboot with airplane mode and all of that, the cell signal will bounce between like 0 bars/3g and lots of bars (no indication of network) and some bars with 1x network. It's all over the place. The airplane mode/reboot used to stabilize that, but it doesn't seem to be doing the trick anymore the last few days that I've tried that. I have to leave my phone on the charger as much as possible at work so that I don't leave for the day with a dead phone.

Push Notifications Don't Work With Screen Off (Gmail, Talk, Voice, etc.)

Recently I disabled the best wi-fi performance option (I enabled it on accident while messing around with settings on launch day) which obviously increased my battery life dramatically by actually allowing my phone to go into deep sleep. But now I hit a new issue.
Before I go on, I want to state that I DID apply the SmartSync fix and that my data IS working while my phone is in deep sleep.
New emails I receive with Gmail app do not get pushed to my phone as they should. They are anywhere from 5-15 minutes late if they even show up at all. If I happen to turn my screen on, automatically I get the notification of new emails.
Is anyone else having this issue with Gmail or any other app? I find it strange that while I have data (wi-fi/3g) enabled and working with the screen off, emails still come in delayed.
Any help would be appreciated. I have searched around and most of the answers I came up with (regarding HTC devices like the One X) had to do with SmartSync messing up the connection or someone not having the notifications enabled. I'm at a loss 0.0
EDIT: I tested this with Google Talk had my main account up in Gmail and in another browser windows my other Gmail account. Added both of them, talked to my self, if my device screen was off, I would either get it 1-2 minutes late or not at all. Once I turned my screen back on, the notifications poured in. I also tried the same scenario with my main Gmail account logged off (in case it was canceling out the messages to my phone, which it wasn't) and I had the same outcome. I edited the title to reflect that this isn't a Gmail only issue.
EDIT 2: Did more tests, I tried turning Wi-Fi off completely and running the same tests as above to my surprise everything worked as expected. I initially thought it might be because of my 5Ghz Wi-Fi band, so I tried it all again on my 2.4Ghz channel -- had the same problems as before. Somehow the issue pertains to your screen being off and Wi-Fi being on.
EDIT 3: I just tried streaming Pandora and shutting the screen off (maybe WiFi WAS somehow shutting off) Pandora kept playing no problem. I messaged myself on Talk, got the notification right away. This is very bizarre 0.0 But it might confirm this only happens when the phone is in deep sleep mode... Still doesn't answer why it doesn't happen on 3G or why notifications sometimes still come through.
EDIT 4: Still no fix but I have discovered that for some reason if the screen is off ANY data doesn't go through. Let me explain better:
If I have some thing like Pandora running then it will continue to run once I shut my screen off. But if WiFi isn't being used and I turn my screen off and then lets say I try to connect to it with Cerberus or ping it from my PC or something it will not even though the router reports it as connected.
Very strange behavior.
This is interesting...maybe the wifi performance toggle is associated to the smartsync, and all?.....I will say that with it unchecked I am getting some really really good battery life here compared to previous phones....but I also notice at times when emails are not pushed till I wake the screen during the day....Also the fact my wifi doesn't automatically reconnect to my house when I get back from work till I wake the screen...little things like that...
Havent messed with the best performance setting but will try it today now...
Racer Of All said:
Recently I disabled the best wi-fi performance option (I enabled it on accident while messing around with settings on launch day) which obviously increased my battery life dramatically by actually allowing my phone to go into deep sleep. But now I hit a new issue.
Before I go on, I want to state that I DID apply the SmartSync fix and that my data IS working while my phone is in deep sleep.
New emails I receive with Gmail app do not get pushed to my phone as they should. They are anywhere from 5-15 minutes late if they even show up at all. If I happen to turn my screen on, automatically I get the notification of new emails.
Is anyone else having this issue with Gmail or any other app? I find it strange that while I have data (wi-fi/3g) enabled and working with the screen off, emails still come in delayed.
Any help would be appreciated. I have searched around and most of the answers I came up with (regarding HTC devices like the One X) had to do with SmartSync messing up the connection or someone not having the notifications enabled. I'm at a loss 0.0
EDIT: I tested this with Google Talk had my main account up in Gmail and in another browser windows my other Gmail account. Added both of them, talked to my self, if my device screen was off, I would either get it 1-2 minutes late or not at all. Once I turned my screen back on, the notifications poured in. I also tried the same scenario with my main Gmail account logged off (in case it was canceling out the messages to my phone, which it wasn't) and I had the same outcome. I edited the title to reflect that this isn't a Gmail only issue.
EDIT 2: Did more tests, I tried turning Wi-Fi off completely and running the same tests as above to my surprise everything worked as expected. I initially thought it might be because of my 5Ghz Wi-Fi band, so I tried it all again on my 2.4Ghz channel -- had the same problems as before. Somehow the issue pertains to your screen being off and Wi-Fi being on.
Click to expand...
Click to collapse
Try installing this https://play.google.com/store/apps/details?id=com.logicvoid.powersaversettings&hl=en and unchecking "put data connection to sleep." It may not solve the issue but its worth a shot.
Okay, I just tried streaming Pandora and shutting the screen off (maybe WiFi WAS somehow shutting off) Pandora kept playing no problem. I messaged myself on Talk, got the notification right away. This is very bizarre 0.0 But it might confirm this only happens when the phone is in deep sleep mode... Still doesn't answer why it doesn't happen on 3G or why notifications sometimes still come through.
njfoses said:
Try installing this https://play.google.com/store/apps/details?id=com.logicvoid.powersaversettings&hl=en and unchecking "put data connection to sleep." It may not solve the issue but its worth a shot.
Click to expand...
Click to collapse
Have it, and it is unchecked. That's the weird thing, wi fi doesn't actually turn all the way off because SOMETIMES I do get the push notifications (late, however).
sgt. slaughter said:
This is interesting...maybe the wifi performance toggle is associated to the smartsync, and all?.....I will say that with it unchecked I am getting some really really good battery life here compared to previous phones....but I also notice at times when emails are not pushed till I wake the screen during the day....Also the fact my wifi doesn't automatically reconnect to my house when I get back from work till I wake the screen...little things like that...
Havent messed with the best performance setting but will try it today now...
Click to expand...
Click to collapse
Let me know if that works, if so at least I know I'm not the only one xD
Racer Of All said:
I DID apply the SmartSync fix
Click to expand...
Click to collapse
what is the smart sync fix?
When I installed this app, my cpu reduction and frame rate reduction was enabled. Does that mean this is standard with this phone. Does using this app to disable those setting improve the performance?
Issue continued overnight, tried various other things and nothing seems to fix it. I want to get my notifications but I don't want to destroy my battery life xD is anyone else having this issue?
djscissorhands said:
what is the smart sync fix?
Click to expand...
Click to collapse
This one:
http://forum.xda-developers.com/showthread.php?t=1697375&highlight=smartsync
I have the same problem on my 2nd evo as well after returning the 1st. Going to try a rom with the fix tomorrow. I'll report back with what I find. Hopefully I won't have to return again....
Sent from my EVO using xda premium
AardvarkAttack said:
I have the same problem on my 2nd evo as well after returning the 1st. Going to try a rom with the fix tomorrow. I'll report back with what I find. Hopefully I won't have to return again....
Sent from my EVO using xda premium
Click to expand...
Click to collapse
It's definitely not a hardware problem because if that was the case the phone wouldn't work with wi fi almost at all. My wi-fi connection is rock solid even when the screen is off, just for some reason it won't notify I have the messages until the screen gets turned on.
I did some tests on my gf's stock phone and she's having the same issues, I told her to do some tests on her parents wi-fi when she goes there. I wonder if sgt slaughter has any news.
Btw if you definitely need them on time and need to be on wi fi but don't care about battery life that much just enable best wi fi performance.
djscissorhands said:
what is the smart sync fix?
Click to expand...
Click to collapse
Actually more like a Smart Sync break ... The built in settings/app put your data connections to sleep when your phone goes to deep sleep; this is done to save battery when phone not in use for extended period.
Some folks hate losing the data connections so a flashable "fix" is available for the "problem" ... Look around; you'll find it
Sent from my EVO using XDA
its a sense problem, there's a thread in the one x forums on how to fix it. I'll post when I get home if I can find it. it shuts down to a 'power save' mode after a while plus after midnight or 11 or something.
Just wanted to update that I installed a custom rom that contains the WiFi fix mentioned and although my WiFi doesn't seem to drop how it did before (at least after one day) my notifications are anywhere between 4-10 minutes late on average through WiFi. This seems to be across the board for Exchange email, Gmail & Google Voice.
AardvarkAttack said:
Just wanted to update that I installed a custom rom that contains the WiFi fix mentioned and although my WiFi doesn't seem to drop how it did before (at least after one day) my notifications are anywhere between 4-10 minutes late on average through WiFi. This seems to be across the board for Exchange email, Gmail & Google Voice.
Click to expand...
Click to collapse
Yes my setup also had the wi-fi fix, I can even see my phone connected to the router when the screen is off, the connection is strong.
I had a suspicion it was probably the basic transfer rate of the browser and for some reason I could not adjust this on my fancy 100 dollar router with dd-wrt flashed onto it so I set up a repeater with my older router on stock settings. It seems like the notifications are coming through better now (albeit not instantly) but at least I don't have to turn my screen on every time. It might be a placebo effect or just luck (because at times it does work even with my other router).
EDIT: Ignore the italicized sentence. It was just a stroke of luck, the problem came back.
I'm out of ideas at this point xD
I am having a similar issue as well.
I am rooted and running Fresh Evo LTE 5.1.1 which has the "Disabled SmartSync deep sleep mode" already installed. I also leave my WiFi off (for the same reason as the OP outlines - messages are just plain not arriving or if they do it's after I turn the screen on).
I use gtalk as my primary form of communication on my phone and what seems to be happening is messages from my two closest friends are never arriving. It's hit or miss but seems to be ~45mins after my screen turns off that they send a message and I never get it. One is on Sprint on my family plan and the other is on Verizon. The weird thing is that if I look in my gmail > conversations the messages aren't there either.
I haven't been able to verify any SMS messages that I haven't received but I have noticed that my email notifications seemed a bit wonky but this issue may be fixed with changing my "push" hours (which is retarded to have factory set to only push email between 8am - 8pm).
Question for the smart kids in the class: When does the phone reach "deep sleep"? Is it around ~45mins after the screen turns off?
batgrrlx said:
I am having a similar issue as well.
I am rooted and running Fresh Evo LTE 5.1.1 which has the "Disabled SmartSync deep sleep mode" already installed. I also leave my WiFi off (for the same reason as the OP outlines - messages are just plain not arriving or if they do it's after I turn the screen on).
I use gtalk as my primary form of communication on my phone and what seems to be happening is messages from my two closest friends are never arriving. It's hit or miss but seems to be ~45mins after my screen turns off that they send a message and I never get it. One is on Sprint on my family plan and the other is on Verizon. The weird thing is that if I look in my gmail > conversations the messages aren't there either.
I haven't been able to verify any SMS messages that I haven't received but I have noticed that my email notifications seemed a bit wonky but this issue may be fixed with changing my "push" hours (which is retarded to have factory set to only push email between 8am - 8pm).
Question for the smart kids in the class: When does the phone reach "deep sleep"? Is it around ~45mins after the screen turns off?
Click to expand...
Click to collapse
I also have the dual core mod which I BELIEVE sets my deep sleep right away which is probably why I have the problem more often than you do. One question just so we can start gathering facts large scale, if you're on 3G do you have the problem still? What if you turn 'best wi-fi performance'?
Racer Of All said:
I also have the dual core mod which I BELIEVE sets my deep sleep right away which is probably why I have the problem more often than you do. One question just so we can start gathering facts large scale, if you're on 3G do you have the problem still? What if you turn 'best wi-fi performance'?
Click to expand...
Click to collapse
Correct - I have this problem on 3G. I run on only 3G because the problem is more prevalent on WiFi, but still very common on only 3G.
Currently I have "best wifi performance" turned off. Do you want me to test with it on or off?
batgrrlx said:
Correct - I have this problem on 3G. I run on only 3G because the problem is more prevalent on WiFi, but still very common on only 3G.
Currently I have "best wifi performance" turned off. Do you want me to test with it on or off?
Click to expand...
Click to collapse
On. When I turn it on it pretty much eliminates the issue, it acts just like 3G. But for me 3G is almost perfect (a couple seconds of delay but I can deal with that). Remember though that if you leave it ticked on it will destroy your battery life.
WiFi is on, best WiFi performance is on as well.. I'll run it this way a couple of days and see if I can replicate the problem.
I just wanted to say that I've been having similar issues. I have tried turning on best wifi performance, but I don't think that is helping. For one thing, when I have that turned on, when I wake the phone, the wifi is often times not connected, and it shows 3G. Then it will connect to wifi shortly after I wake the phone. On top of that, I'm still not getting notifications on time. I was notified of an email when I woke the phone that actually came in 10 minutes earlier. Hopefully HTC/Sprint is aware and working on a fix.
Still no fix but I have discovered that for some reason if the screen is off ANY data doesn't go through. Let me explain better:
If I have some thing like Pandora running then it will continue to run once I shut my screen off. But if WiFi isn't being used and I turn my screen off and then lets say I try to connect to it with Cerberus or ping it from my PC or something it will not even though the router reports it as connected.
Very strange behavior.

Clock has wrong time!

Hi Guys,
Ive spent a good amount of time today getting HyperDrive 15 (with safestrap) on my Vzw GS4. Its on and configured the way I like it, except for one thing.
The time is 1 hour ahead of what it should be. I think its not accounting for daylight saving time.
I can manually enter the timezone and it displays the correct time, but as soon as I switch it to get the time from the network, it bumps the time forward an hour.
Ive even tried the "Clock Sync" app and it also shows the time (both atomic and device) as being 1 hour ahead of what it should be.
Ive looked all over and I cant figure out how to get the network time to display the right time.
Any advice?
dead.burdock said:
Hi Guys,
Ive spent a good amount of time today getting HyperDrive 15 (with safestrap) on my Vzw GS4. Its on and configured the way I like it, except for one thing.
The time is 1 hour ahead of what it should be. I think its not accounting for daylight saving time.
I can manually enter the timezone and it displays the correct time, but as soon as I switch it to get the time from the network, it bumps the time forward an hour.
Ive even tried the "Clock Sync" app and it also shows the time (both atomic and device) as being 1 hour ahead of what it should be.
Ive looked all over and I cant figure out how to get the network time to display the right time.
Any advice?
Click to expand...
Click to collapse
What time zone are you in?
You say it's "not accounting for daylight savings time" but if daylight savings time is on, then you would be 1 hour ahead of standard time, which would account for you showing one hour fast if you're in an area that doesn't observe DST.
If the "Automatic time zone" is putting you in the wrong zone, then switch that off, set the proper timezone, and then see how it goes. If that works, try turning "Automatic time zone" back on - if that pushes you an hour ahead, contact your network provider and ask them to fix it.
k1mu said:
What time zone are you in?
You say it's "not accounting for daylight savings time" but if daylight savings time is on, then you would be 1 hour ahead of standard time, which would account for you showing one hour fast if you're in an area that doesn't observe DST.
If the "Automatic time zone" is putting you in the wrong zone, then switch that off, set the proper timezone, and then see how it goes. If that works, try turning "Automatic time zone" back on - if that pushes you an hour ahead, contact your network provider and ask them to fix it.
Click to expand...
Click to collapse
Im on mountain time. When i use network time, it causes the phone to be 1 hour ahead of what it should be. I can uncheck those, set the time, then recheck "use network time" and the time will stay correct, but if I set it to use the network time zone, then it causes the time to move forward an hour again.

Categories

Resources