# 14, 15 Power User Docs

## Reboot 2 Payload while Booted <a href="#reboot-2-payload-while-booted" id="reboot-2-payload-while-booted"></a>

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

```bash
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`

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

Copy

* Reboot to `hekate` menu

```
echo ums > /sys/devices/r2p/action
echo 0 > /sys/devices/r2p/param1
Will mount SD card to PC on reboot.
0: SD Card.
1: eMMC BOOT0.
2: eMMC BOOT1.
3: eMMC GPP.
4: emuMMC BOOT0.
5: emuMMC BOOT1.
6: emuMMC GPP.

echo bootloader > /sys/devices/r2p/action
```
