Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,730,444 Members 44,281 Now Online
XDA Developers Android and Mobile Development Forum

[Solved] [Q] Updating timezone on android 4.3

Tip us?
 
asem.arafa
Old
#11  
asem.arafa's Avatar
Junior Member - OP
Thanks Meter 7
Posts: 19
Join Date: Oct 2013
Location: Cairo
Quote:
Originally Posted by prince93 View Post
I tried the date command for normal and root users and both are wrong (no DST applied) with the file you provided earlier.
The one you tried on the CM11 is a different one than the one you shared with us earlier?
For CM11, it should be the same as stock 4.4.2.
Strange that it didn't work on my N4!

Sent from my Nexus 7 using XDA Free mobile app
I finally found the root cause

it was Xposed framework !!
disabling it solved the issue

i will try to check for a workaround as i use too many modules
 
prince93
Old
#12  
Senior Member
Thanks Meter 11
Posts: 100
Join Date: Aug 2012
Location: Cairo
Quote:
Originally Posted by asem.arafa View Post
I finally found the root cause

it was Xposed framework !!
disabling it solved the issue

i will try to check for a workaround as i use too many modules
Are you sure?
I just uninstalled the framework and rebooted but it is still the same!

Sent from my Nexus 4 using XDA Free mobile app
 
asem.arafa
Old
#13  
asem.arafa's Avatar
Junior Member - OP
Thanks Meter 7
Posts: 19
Join Date: Oct 2013
Location: Cairo
Quote:
Originally Posted by prince93 View Post
Are you sure?
I just uninstalled the framework and rebooted but it is still the same!

Sent from my Nexus 4 using XDA Free mobile app
yes made sure multiple times and even tried to narrow down to a certain module but the time is not fixed until i completely uninstalled the framework

try after uninstallation to use the timezone fixer tool, the dev upgraded his version to have 2014c
 
prince93
Old
#14  
Senior Member
Thanks Meter 11
Posts: 100
Join Date: Aug 2012
Location: Cairo
Quote:
Originally Posted by asem.arafa View Post
yes made sure multiple times and even tried to narrow down to a certain module but the time is not fixed until i completely uninstalled the framework

try after uninstallation to use the timezone fixer tool, the dev upgraded his version to have 2014c
Yes I already updated the time zone fixer tool and the fixer reads the database version as 2014c.
I uninstalled the framework but left the xposed installer, I think that doesn't make a difference..

Sent from my Nexus 4 using XDA Free mobile app
 
asem.arafa
Old
#15  
asem.arafa's Avatar
Junior Member - OP
Thanks Meter 7
Posts: 19
Join Date: Oct 2013
Location: Cairo
Quote:
Originally Posted by prince93 View Post
Yes I already updated the time zone fixer tool and the fixer reads the database version as 2014c.
I uninstalled the framework but left the xposed installer, I think that doesn't make a difference..

Sent from my Nexus 4 using XDA Free mobile app
check if you have the tzdata file also under this path /data/misc/zoneinfo and change it

that solved the root user issue for me
 
prince93
Old
#16  
Senior Member
Thanks Meter 11
Posts: 100
Join Date: Aug 2012
Location: Cairo
Quote:
Originally Posted by asem.arafa View Post
check if you have the tzdata file also under this path /data/misc/zoneinfo and change it

that solved the root user issue for me
Great!
Worked at last
Thanks alot

Sent from my Nexus 4 using XDA Free mobile app
 
prince93
Old
#17  
Senior Member
Thanks Meter 11
Posts: 100
Join Date: Aug 2012
Location: Cairo
Quote:
Originally Posted by asem.arafa View Post
check if you have the tzdata file also under this path /data/misc/zoneinfo and change it

that solved the root user issue for me
Right now after replacing the file under /misc, I am still getting the times in what's app for example and the dialer log showing the old time (the non DST time)
Are you getting the same results ?

Sent from my Nexus 4 using XDA Free mobile app
 
asem.arafa
Old
#18  
asem.arafa's Avatar
Junior Member - OP
Thanks Meter 7
Posts: 19
Join Date: Oct 2013
Location: Cairo
Quote:
Originally Posted by prince93 View Post
Right now after replacing the file under /misc, I am still getting the times in what's app for example and the dialer log showing the old time (the non DST time)
Are you getting the same results ?

Sent from my Nexus 4 using XDA Free mobile app
the time is completely correct now after replacing the file in both locations
Can you give me the permissions of both files and the output of the date command for both users?

Sent from my GT-N7100 using Tapatalk
 
prince93
Old
#19  
Senior Member
Thanks Meter 11
Posts: 100
Join Date: Aug 2012
Location: Cairo
Quote:
Originally Posted by asem.arafa View Post
the time is completely correct now after replacing the file in both locations
Can you give me the permissions of both files and the output of the date command for both users?

Sent from my GT-N7100 using Tapatalk
Permissions :
RW for owner (root)
Read only for group and other

Here is the date command for both users

u0_a201@mako:/ $ date
Sat May 24 14:06:18 EEST 2014
u0_a201@mako:/ $ su
root@mako:/ # date
Sat May 24 14:06:29 EEST 2014
root@mako:/ #
Sent from my Nexus 4 using XDA Free mobile app
 
asem.arafa
Old
#20  
asem.arafa's Avatar
Junior Member - OP
Thanks Meter 7
Posts: 19
Join Date: Oct 2013
Location: Cairo
Quote:
Originally Posted by prince93 View Post
Permissions :
RW for owner (root)
Read only for group and other

Here is the date command for both users

u0_a201@mako:/ $ date
Sat May 24 14:06:18 EEST 2014
u0_a201@mako:/ $ su
root@mako:/ # date
Sat May 24 14:06:29 EEST 2014
root@mako:/ #
Sent from my Nexus 4 using XDA Free mobile app
Every thing look in order
Sorry I don't have a nexus so I can't guess what's the issue here
May be clear cache and dalivik and see?
Also look at the date and time settings
Is it set to automatic and if so does it chow cairo+3?

Sent from my GT-N7100 using Tapatalk

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Implement Split View in Your LG G2 KitKat Rom with Automated Installer

Some of you may have remembered a story on the Portal a few weeks back … more

Cast Your Device Screen the Way it Was Meant to be with Second Screen

Not too long ago here on the XDA Portal, we covered how Google had made … more

Samsung Gear Live Unboxed the XDA Way – XDA Developer TV

XDA Developer TV Producer AdamOutleris known for his XDA Unboxingseries where … more

Make Your Own DIY Capacitive Stylus

The XDA Portal is a place where we like to talkabout things that are interesting, fun, and sometimes … more