Fix up some TW_OEM_BUILD things
Fix factory reset now properly formats data as expected Change text for ORS processing Disable system read only check, SuperSU, and patch system Stop copying fstab and version to cache Change-Id: I20f5cae390afbb8d2d88e01b8d9b9bf4ff0fdea1
This commit is contained in:
@@ -576,9 +576,14 @@ void OpenRecoveryScript::Run_OpenRecoveryScript(void) {
|
||||
DataManager::SetValue("tw_has_action2", "0");
|
||||
DataManager::SetValue("tw_action2", "");
|
||||
DataManager::SetValue("tw_action2_param", "");
|
||||
#ifdef TW_OEM_BUILD
|
||||
DataManager::SetValue("tw_action_text1", "Running Recovery Commands");
|
||||
DataManager::SetValue("tw_complete_text1", "Recovery Commands Complete");
|
||||
#else
|
||||
DataManager::SetValue("tw_action_text1", "Running OpenRecoveryScript");
|
||||
DataManager::SetValue("tw_action_text2", "");
|
||||
DataManager::SetValue("tw_complete_text1", "OpenRecoveryScript Complete");
|
||||
#endif
|
||||
DataManager::SetValue("tw_action_text2", "");
|
||||
DataManager::SetValue("tw_has_cancel", 0);
|
||||
DataManager::SetValue("tw_show_reboot", 0);
|
||||
if (gui_startPage("action_page", 0, 1) != 0) {
|
||||
|
||||
Reference in New Issue
Block a user