Changing the time

anon(103683)

Member
Dec 13, 2010
12
2
0
Visit site
I rooted my phone yesterday. I installed the latest version of ThundeROM. The problem I am having is that I cannot change the time on the phone. I am currently in Afghanistan and I use my phone as an alarm clock. I do not have a cellular connection in order to update the time. It used to be set to US Central Time. Is there any way to change the time using an app or ADB? I cannot find anything online about this.
 

cmags

Well-known member
Nov 29, 2010
256
27
0
Visit site
Try this:

adb shell
# date -s "8 FEB 2011 18:00:00"

Not 100% sure that the ADB shell syntax is correct (I do everything from the phone nowadays) but the date command is correct.

Unfortunately I couldn't quickly figure out a similar method of changing the timezone itself.

I did see mention on some forums of setting the automatic update, and it coming up with a set date/time prompt if the phone cannot connect to the time server. Maybe you could turn this on and let the phone attempt to update itself, and trigger this?
 

anon(103683)

Member
Dec 13, 2010
12
2
0
Visit site
I tried the command:

# date -s "8 FEB 2011 18:00:00"

However, I only got the result of:

Wed Dec 31 23:59:59 GMT 1969

I see nothing in my phone settings about setting the auto update and being able to change the date and time. Like I said before, I do not have cellular service at this time. Does anyone know of the right commands or how to get the auto update setting to show up on my phone so that I can get the right date and time for my alarm clock?

Thanks...
 

sfhub

Well-known member
Jan 15, 2011
2,384
741
0
Visit site
  • Like
Reactions: anon(103683)

anon(103683)

Member
Dec 13, 2010
12
2
0
Visit site

sfhub

Well-known member
Jan 15, 2011
2,384
741
0
Visit site
Curious, did the 2nd one work also or did you stop after the first?

The second one would change the system timezone so every app would use a different timezone. The first one is just a clock that displays whichever timezone you tell it.
 

anon(103683)

Member
Dec 13, 2010
12
2
0
Visit site
Curious, did the 2nd one work also or did you stop after the first?

The second one would change the system timezone so every app would use a different timezone. The first one is just a clock that displays whichever timezone you tell it.
I used the second one to change the system time zone because that's what I was needing to do. I didn't look at the first one.
 
  • Like
Reactions: sfhub

anon(103683)

Member
Dec 13, 2010
12
2
0
Visit site
I hate bringing up an old post but I need help with this again. Like I have said in a previous post I'm in the middle east with no Sprint service. My current date on my phone is 09 March 2011 with a time of 6:03am. I need to correct this. TimeZoneChanger does not do the trick. It changes the time for each respective time zone but it does not adjust to the actual correct time.

Does anyone know how I can correct this and get it back on the right date and time? Obviously, at this point in time I cannot get on the Sprint network. Thanks...
 

anon(103683)

Member
Dec 13, 2010
12
2
0
Visit site
Solved my own problem after extensive research. For anyone interested in knowing I did the following.

Download TimeZone Changer to set correct time zone.
Download ClockSync to sync clock to a time server. It used time zone from the above app.
Download World Clock widget referenced from previous post. Used widget to show times from other locations.

Works like a charm!!
 
  • Like
Reactions: gldnbear