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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.switchroot.org/wiki/android/android-14-15/14-15-power-user-docs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
