Load RTC offset on Qualcomm Krait chips, fixes the broken time & date
Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
Change-Id: I04ad07f3e6be961003e063be8c648e191e2f9431
diff --git a/twrp.cpp b/twrp.cpp
index 06532cb..230e1b4 100644
--- a/twrp.cpp
+++ b/twrp.cpp
@@ -268,6 +268,9 @@
if (DataManager::GetIntValue(TW_IS_ENCRYPTED) == 0 && (TWFunc::Path_Exists(SCRIPT_FILE_TMP) || TWFunc::Path_Exists(SCRIPT_FILE_CACHE))) {
OpenRecoveryScript::Run_OpenRecoveryScript();
}
+
+ TWFunc::Fixup_Time_On_Boot();
+
// Launch the main GUI
gui_start();