Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
usb2007
Old
(Last edited by usb2007; 3rd August 2010 at 09:34 PM.)
#1  
Senior Member - OP
Thanks Meter 10
Posts: 109
Join Date: Aug 2007
Default [FIX] Timzeone Incorrect GMT Universal Fix (2.1/2.2)

This patch will fix GMT information for countries where GMT is set incorrectly. The fix can be applied to any HTC Android based phone from 1.5 to 2.2 ROMs. It may work for other vendors but I have only tested this on HTC devices.

I am located in Karachi, Pakistan GMT +5 but HTC Desire shows it as GMT +6. I emailed HTC about this issue last month and was expecting it to be fixed in Froyo release but sadly the GMT still displays incorrect GMT information.

This issue was too frustrating as I travel a lot and even if I manually set correct local time then the world clock will still show incorrect time for other locations.

I have created this patch which will fix the incorrect GMT problem.

Reboot into recovery and apply the patch

Note: Only for rooted devices

gmt-fix.zip will fix the timezone issue
gmt-restore.zip will restore the old timezone file
Attached Files
File Type: zip gmt-fix.zip - [Click for QR Code] (62.0 KB, 719 views)
File Type: zip gmt-restore.zip - [Click for QR Code] (62.3 KB, 275 views)
Work: Samsung Galaxy S 4
Play: Apple iPod 5G
Backup: Samsung Galaxy S III
Couch : Acer Iconia Tab A500
The Following User Says Thank You to usb2007 For This Useful Post: [ Click to Expand ]
 
wahur1
Old
#2  
Senior Member
Thanks Meter 16
Posts: 463
Join Date: Feb 2007
just tried this update on my non-rooted phone and it failed.

Got a error message "verification failed" Installation aborted.
Device: HTC Desire Amoled
Hboot: CM7r2
Rom: ICS 4.0.4 BCM
Radio 5.17.05.08
Recovery: Revolutionary.
Security: S-OFF



Follow Me on Twitter
 
GANJDROID
Old
#3  
GANJDROID's Avatar
Senior Member
Thanks Meter 382
Posts: 3,254
Join Date: May 2010
Location: Norwich
Quote:
Originally Posted by wahur1 View Post
just tried this update on my non-rooted phone and it failed.

Got a error message "verification failed" Installation aborted.
It clearly says rooted devices only.

I had the same problem, showing status bar time as 5pm when it was 6pm, just to to time and date, change to 24h then back to 12h and its fine

Sent from my HTC Desire using XDA App
Current Devices:
Galaxy S II
Sony Tablet S
HTC Sensation
Xperia S
 
usb2007
Old
#4  
Senior Member - OP
Thanks Meter 10
Posts: 109
Join Date: Aug 2007
Quote:
Originally Posted by GANJDROID View Post
It clearly says rooted devices only.

I had the same problem, showing status bar time as 5pm when it was 6pm, just to to time and date, change to 24h then back to 12h and its fine

Sent from my HTC Desire using XDA App
this fix is for different issue where the Data/Time settings show incorrect GMT information for some countries.

if you try to solve it by setting manual time then world clock is messed up (as it calculates time of other regions by local time) and if you select different time zone by selecting some other country with correct GMT of your zone, then your home location and weather is messed up.

this fix changes the timezone files and show correct GMT. i believe the problem is caused for countries where Daylight Saving Time (DST) has been reverted but htc has hardcoded DST in settings. HTC should add a checkbox to enable/disable DST.
Work: Samsung Galaxy S 4
Play: Apple iPod 5G
Backup: Samsung Galaxy S III
Couch : Acer Iconia Tab A500
 
lethalfriend
Old
#5  
lethalfriend's Avatar
Senior Member
Thanks Meter 22
Posts: 351
Join Date: Jun 2008
Location: Lahore
Thank you so much USB2007. I was waiting for this patch since ages. You have made my day
 
etismyname
Old
#6  
Member
Thanks Meter 2
Posts: 65
Join Date: Jan 2009
sorry but this patch didn't work for me.
installation was complete, no error
but the GMT is still one hour behind of what it should be

currently using latest radio, psychosis 1.2 LP rom.
 
usb2007
Old
#7  
Senior Member - OP
Thanks Meter 10
Posts: 109
Join Date: Aug 2007
Quote:
Originally Posted by etismyname View Post
sorry but this patch didn't work for me.
installation was complete, no error
but the GMT is still one hour behind of what it should be

currently using latest radio, psychosis 1.2 LP rom.
post the following:

1. your location
2. correct GMT
3. rooted or unrooted
4. installation method (using recovery or adb)
Work: Samsung Galaxy S 4
Play: Apple iPod 5G
Backup: Samsung Galaxy S III
Couch : Acer Iconia Tab A500
 
mrwookie6379
Old
#8  
mrwookie6379's Avatar
Senior Member
Thanks Meter 1853
Posts: 840
Join Date: Dec 2008
**EDIT** Ooops didn't see GANJDROID's post so dupluicate info.
 
etismyname
Old
(Last edited by etismyname; 7th August 2010 at 06:39 PM.)
#9  
Member
Thanks Meter 2
Posts: 65
Join Date: Jan 2009
Quote:
Originally Posted by usb2007 View Post
post the following:

1. your location
2. correct GMT
3. rooted or unrooted
4. installation method (using recovery or adb)
1. Australia
2. the actual time is one hour ahead than the time shown
(london is set as GMT+1 somehow...)
3. rooted. running on froyo, psychosis 2.1 LP rom
link: http://forum.xda-developers.com/showthread.php?t=744879
4. installed through recovery, i am bad at adb...
installation was done after installing the rom (which means I did a full wipe before)
no error for the installation.


I just checked that sydney does have the GMT+10, which is correct. However, the time shown on phone is still one hour behind of what it should be
 
usb2007
Old
#10  
Senior Member - OP
Thanks Meter 10
Posts: 109
Join Date: Aug 2007
Quote:
Originally Posted by etismyname View Post
1. Australia
2. the actual time is one hour ahead than the time shown
(london is set as GMT+1 somehow...)
3. rooted. running on froyo, psychosis 2.1 LP rom
link: http://forum.xda-developers.com/showthread.php?t=744879
4. installed through recovery, i am bad at adb...
installation was done after installing the rom (which means I did a full wipe before)
no error for the installation.


I just checked that sydney does have the GMT+10, which is correct. However, the time shown on phone is still one hour behind of what it should be
try to disable Automatic in Date/Time settings and then select Sydney/Australia GMT+10..i just tested it and it works
Work: Samsung Galaxy S 4
Play: Apple iPod 5G
Backup: Samsung Galaxy S III
Couch : Acer Iconia Tab A500

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Gear Up Because it’s Time to Save Earth

*Cue Dramatic Music*Put on your red and blue latex overalls and cape because it’s time to … more

Recognized Contributor Code of Conduct

During the first half of 2012, XDA initiated the Recognized Contributor (RC) program to recognize … more

Careers in Android: What Hiring Managers Won’t Tell You – XDA Developer TV

XDA Developer TV Producer Jayce released a video a … more