AOSP change default time zone

android default time zone

https://stackoverflow.com/questions/22930726/where-does-android-take-default-timezone-from

getprop
set deafult timezone

getprop persist.sys.timezone
Asia/Shanghai

setprop persist.sys.timezone “Asia/Kolkata”

getprop persist.sys.timezone
Asia/Calcutta
shell@ASUS_Z010:/ $ setprop persist.sys.timezone “America/Chicago”

Even easier is to do from AOSP side is via
android/device//.mk

PRODUCT_PROPERTY_OVERRIDES += \
– persist.sys.timezone=Asia/Shanghai \
+ persist.sys.timezone=Asia/Kolkata \
persist.sys.country=US \
persist.sys.language=EN

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s