diff --git a/gui/theme/common/languages/en.xml b/gui/theme/common/languages/en.xml index 3b611530..f1b93b55 100755 --- a/gui/theme/common/languages/en.xml +++ b/gui/theme/common/languages/en.xml @@ -512,6 +512,7 @@ Unpacking {1}... Repacking {1}... Select Image + If device was previously rooted, then root has been overwritten and will need to be reinstalled. Flash Current TWRP Flash Current TWRP? Flashing TWRP... diff --git a/twrpRepacker.cpp b/twrpRepacker.cpp index d959836e..b9f85975 100755 --- a/twrpRepacker.cpp +++ b/twrpRepacker.cpp @@ -259,6 +259,7 @@ bool twrpRepacker::Repack_Image_And_Flash(const std::string& Target_Image, const TWFunc::removeDir(REPACK_ORIG_DIR, false); }} TWFunc::removeDir(REPACK_NEW_DIR, false); + gui_msg(Msg(msg::kWarning, "repack_overwrite_warning=If device was previously rooted, then root has been overwritten and will need to be reinstalled.")); return true; }