commit | 593f5316c541288c2a11093d3b682bf03b5be33e | [log] [tgz] |
---|---|---|
author | Captain Throwback <captainthrowback@hotmail.com> | Wed Jan 19 13:25:54 2022 -0500 |
committer | captainthrowback <captainthrowback@hotmail.com> | Thu Jan 20 21:44:39 2022 +0000 |
tree | ce4ca14cb6af55962973399b4a6bd71570f55c36 | |
parent | b1dab14bfb94de6305e68d8e26823391bd13c342 [diff] |
Add TW_QCOM_ATS_OFFSET flag to manually set time/date offset Needed if no ats_ files are present on qcom device Offset is the difference between the current time and the time since_epoch To calculate the offset in Android, the following expression (from a root shell) can be used: echo "$(( ($(date +%s) - $(cat /sys/class/rtc/rtc0/since_epoch)) ))" Add 3 zeros to the output and use that in the TW_QCOM_ATS_OFFSET flag in your BoardConfig.mk For example, if the result of the calculation is 1642433544, use 1642433544000 as the offset Change-Id: I5d58125dffc3fdbfb76a5ffde4e27659376185f1
Team Win Recovery Project (TWRP)
You can find a compiling guide here.