Hello,
we ported Android M6.0.1_2.1.0 to a custom hardware with i.mx6dl.
When Android does sync the date and time with the network it is not stored to the /dev/rtc0 device (rtc kernel driver is already working as expected) and is lost when a reboot is done.
Is there a mechanism which can be used to store the date and time to /dev/rtc0?
Thank you.
Regards,
Ludwig
I can suggest to add a command to sync the clock into shutdown script.
Have a great day,
Victor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thank you very much.
Do you know a mechanism or hook which does it immediatly after the android system got a valid time from the network?
Regards,
Ludwig