14, 15 Power User Docs

Utilities and sysfs nodes for those who need more

Reboot 2 Payload while Booted

When already booted the above and more can be changed with the following sysfs controls (use ADB):

  • /sys/devices/r2p/action: Like above. 'ums' is also supported which reboots to USB Mass Storage mode.

  • /sys/devices/r2p/param1: Sets entry index to reboot to. If 'ums' is used at action, it selects which drive to mount.

  • /sys/devices/r2p/param2: If 'self' is used at action, it enables re-booting into an entry from ini folder.

Examples:

  • Reboot to 2nd (ASCII Order) boot entry from the /bootloader/ini folder

echo self > /sys/devices/r2p/action
echo 2 > /sys/devices/r2p/param1
echo 1 > /sys/devices/r2p/param2

Copy

  • Reboot to 3rd boot entry from /bootloader/hekate_ipl.ini

echo self > /sys/devices/r2p/action
echo 3 > /sys/devices/r2p/param1
echo 0 > /sys/devices/r2p/param2

Copy

  • Reboot to hekate menu

Last updated