From d0e38bc2f4fc8b19f4abaf80a231968d37cd5edb Mon Sep 17 00:00:00 2001 From: Vojtech Bocek Date: Mon, 3 Feb 2014 23:36:57 +0100 Subject: Load RTC offset on Qualcomm Krait chips, fixes the broken time & date Signed-off-by: Vojtech Bocek Change-Id: I04ad07f3e6be961003e063be8c648e191e2f9431 --- twrp.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'twrp.cpp') diff --git a/twrp.cpp b/twrp.cpp index 06532cba2..230e1b40c 100644 --- a/twrp.cpp +++ b/twrp.cpp @@ -268,6 +268,9 @@ int main(int argc, char **argv) { 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(); -- cgit v1.2.3