How to modify timezone settings before compiling Nougat

85 views
Skip to first unread message

Peter Robson

unread,
Aug 7, 2019, 5:03:45 PM8/7/19
to android-porting
Hi All,

I am compiling Nougat using a fork of AOSP.

I would like to change the following settings in the source so they become the default settings on first boot.

Automatic Timezone > Off
Timezone > GMT+2 (Africa/Harare)


Any help in finding the correct settings file would be appreciated.

Peter

Yong Ma

unread,
Aug 8, 2019, 12:51:00 PM8/8/19
to android-porting
Put the following line in your product mk file

PRODUCT_PROPERTY_OVERRIDES += persist.sys.timezone=Africa/Harare

在 2019年8月8日星期四 UTC+8上午5:03:45,Peter Robson写道:

Satish Patel

unread,
Aug 8, 2019, 12:51:00 PM8/8/19
to ise...@gmail.com, android-porting
Use following variable in device/<>.mk
PRODUCT_LOCALES := en_US

change en_US to whatever country you intended to change

--
--
unsubscribe: android-porti...@googlegroups.com
website: http://groups.google.com/group/android-porting

---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-porti...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-porting/7075dee6-c00c-4a06-ab4d-f12c77353a54%40googlegroups.com.


--
Regards,
satish patel
Reply all
Reply to author
Forward
0 new messages