alternative method to detect reboot-recovery flag

allows reboot into recovery using twrp manager and other similar apps