LinuxCommandLibrary

adb-reboot

Reboot an Android device

TLDR

Reboot the device normally

$ adb reboot
copy

Reboot the device into bootloader mode
$ adb reboot bootloader
copy

Reboot the device into recovery mode
$ adb reboot recovery
copy

Reboot the device into fastboot mode
$ adb reboot fastboot
copy

SYNOPSIS

adb reboot [normal | recovery | bootloader]

PARAMETERS

normal
    Reboots the device into the standard Android system.

recovery
    Reboots the device into recovery mode.
This mode is typically used for applying updates, performing factory resets, or running diagnostic tools.

bootloader
    Reboots the device into the bootloader mode (also known as fastboot mode).
This mode allows flashing firmware, unlocking the bootloader, and performing other low-level system operations.

DESCRIPTION

The `adb reboot` command, part of the Android Debug Bridge (ADB) tool, allows you to remotely reboot an Android device connected to your computer via USB or network. It offers options to reboot the device into different modes, such as the system (normal boot), recovery mode (for performing factory resets or installing updates), or bootloader mode (for flashing firmware). This command is essential for developers, testers, and advanced users who need to control the boot process of Android devices for debugging, development, and system maintenance. The ADB tool suite provides a powerful interface for interacting with and controlling Android devices from a host computer. The `adb reboot` command streamlines device management by providing a convenient way to initiate reboots from the command line, eliminating the need to physically interact with the device's power button in many cases. This can be particularly useful when working with multiple devices or devices that are difficult to access.

CAVEATS

Requires ADB to be properly configured and the Android device to be connected and authorized.
The device must be discoverable by ADB (USB debugging enabled).
Bootloader unlocking may be required to fully utilize the bootloader reboot option, and may void the device warranty.

DEVICE STATE

The behavior of `adb reboot` depends on the device's current state. If the device is unresponsive, it might not reboot correctly.
In such cases, a hard reset (holding the power button) might be necessary.

PERMISSIONS

In some cases, root access on the device or elevated privileges on the host machine might be required to perform certain reboot operations, especially when targeting the bootloader.

HISTORY

The `adb reboot` command has been a core feature of the Android Debug Bridge (ADB) since its inception. ADB was developed by Google to facilitate communication between a development machine and an Android device.
Initially intended for Android developers to debug applications, ADB quickly became a powerful tool for general device management and system modification.
The `adb reboot` command has remained relatively unchanged over time, providing a stable and reliable way to remotely reboot Android devices. It's integral for scripting and automation tasks involving Android devices.

SEE ALSO

fastboot(1), adb(1)

Copied to clipboard