diff --git a/twrp.cpp b/twrp.cpp index 5cb2209b..aa09e2cd 100644 --- a/twrp.cpp +++ b/twrp.cpp @@ -201,7 +201,7 @@ static void process_recovery_mode(twrpAdbBuFifo* adb_bu_fifo, bool skip_decrypti // Check for and run startup script if script exists TWFunc::check_and_run_script("/system/bin/runatboot.sh", "boot"); - TWFunc::check_and_run_script("/system/bin/postrecoveryboot.sh", "boot"); + TWFunc::check_and_run_script("/system/bin/postrecoveryboot.sh", "recovery"); #ifdef TW_INCLUDE_INJECTTWRP // Back up TWRP Ramdisk if needed: