#include #include #include #include #include #include #include #include #include #include #include #include #include #include "bootloader.h" #include "common.h" #include "cutils/properties.h" #include "firmware.h" #include "install.h" #include "minui/minui.h" #include "minzip/DirUtil.h" #include "roots.h" #include "recovery_ui.h" int signature_check_enabled = 1; int script_assert_enabled = 1; void toggle_signature_check() { signature_check_enabled = !signature_check_enabled; ui_print("Signature Check: %s\n", signature_check_enabled ? "Enabled" : "Disabled"); } void toggle_script_asserts() { script_assert_enabled = !script_assert_enabled; ui_print("Script Asserts: %s\n", signature_check_enabled ? "Enabled" : "Disabled"); }