diff --git a/data.cpp b/data.cpp index d7c77ab8..ffb9b420 100755 --- a/data.cpp +++ b/data.cpp @@ -755,6 +755,7 @@ void DataManager::SetDefaultValues() mPersist.SetValue(TW_GUI_SORT_ORDER, "1"); mPersist.SetValue(TW_RM_RF_VAR, "0"); mPersist.SetValue(TW_SKIP_DIGEST_CHECK_VAR, "0"); + mPersist.SetValue(TW_SKIP_DIGEST_CHECK_ZIP_VAR, "1"); mPersist.SetValue(TW_SKIP_DIGEST_GENERATE_VAR, "0"); mPersist.SetValue(TW_SDEXT_SIZE, "0"); mPersist.SetValue(TW_SWAP_SIZE, "0"); diff --git a/gui/action.cpp b/gui/action.cpp index 58211d35..145a55b8 100755 --- a/gui/action.cpp +++ b/gui/action.cpp @@ -400,7 +400,7 @@ int GUIAction::flash_zip(std::string filename, int* wipe_cache) if (simulate) { simulate_progress_bar(); } else { - ret_val = TWinstall_zip(filename.c_str(), wipe_cache, (bool) DataManager::GetIntValue(TW_SKIP_DIGEST_CHECK_VAR)); + ret_val = TWinstall_zip(filename.c_str(), wipe_cache, (bool) !DataManager::GetIntValue(TW_SKIP_DIGEST_CHECK_ZIP_VAR)); PartitionManager.Unlock_Block_Partitions(); // Now, check if we need to ensure TWRP remains installed... struct stat st; diff --git a/gui/theme/common/landscape.xml b/gui/theme/common/landscape.xml index 3af7da6c..3ac0d285 100755 --- a/gui/theme/common/landscape.xml +++ b/gui/theme/common/landscape.xml @@ -175,6 +175,15 @@ + + + + + +