I need to run "reboot recovery" while in Android recovery mode without using PC.

My recovery didn't accept recovery parameter "recovery".

adb reboot recovery - reboots recovery to recovery.

rom shell "reboot recovery" - just reboot to system.

Trying to push normal reboot to /tmp and run it, but sh says that it couldn't find /tmp/reboot.

2 Answers 2


TWRP make it like below, maybe this can help

case rb_recovery:
            check_and_run_script("/sbin/rebootrecovery.sh", "reboot recovery");

GitHub ref


Press the power off button and the volume down button at the same time before turning it on. The system will then enter the device reset mode.

  • 2
    Welcome to an international Q&A site, Android Enthusiasts Stack Exchange. Sorry, but this site has English-only policy. Consider editing and translating it to English. I translated it this time, but please use English for future communication, thanks.
    – Andrew T.
    Dec 17, 2021 at 5:44

You must log in to answer this question.