Professional Documents
Culture Documents
Debug Button Shortcuts
Debug Button Shortcuts
Home
Chromium
ChromiumOS ChromiumOS > Developer Library > Guides >
Quick links
Report bugs Debug Button Shortcuts
Discuss
Other sites
Chromium Blog ChromeOS devices provide a variety of advanced keyboard and button
Google Chrome
Extensions shortcuts that are useful for debugging. We document those here, as well as
Except as otherwise noted, the
highlight some differences between devices with and without keyboards.
content of this page is licensed
under a Creative Commons
Attribution 2.5 license, and Contents
examples are licensed under Devices With Keyboards
the BSD License. Firmware Keyboard Interface
Privacy Devices Without Keyboards
Shortcuts
Firmware Menu Interface
Edit this page EC Debug Mode
Firmware Log Viewer
Note that some of the below debug keyboard shortcuts are implemented at a
very low level and are not keyboard-layout aware. When in doubt, assume
debug shortcuts refer to the physical mapping of a US keyboard layout.
Notes:
AP = Application Processor; EC = Embedded Controller.
EC hibernate is supported only on devices with select Embedded
Controllers.
Alt + Volume-Up is treated as the Magic SysRq key. When in
Developer mode, you can enable SysRq key combinations as documented
in the Linux kernel docs.
Overriding the charging port is only supported on Samus.
instead.
From here, follow the instructions at
https://google.com/chromeos/recovery to recover your device using
external media.
Recovery mode: Engage the small Reset pinhole with a paperclip, hit
Power and continue engaging Reset for 2 seconds. Typically (only?) for
chromeboxes with a QWERTY keyboard attached.
From here, follow the instructions at
https://google.com/chromeos/recovery to recover your device using
external media.
Developer mode: To enter Developer Mode, first enter recovery mode,
then press Ctrl + D, followed by Enter to accept.
Note that Developer Mode disables security features and may leave
your device open to attack. Only enable if you understand the risks.
Devices in Developer Mode will show a warning screen on every boot.
The screen will time out after 30 seconds, playing a warning beep.
From the warning screen, the following keyboard shortcuts are
available:
Ctrl + D: Boot the system from the internal disk.
Ctrl + U: Boot the system from an external USB stick or SD
card. The option crossystem dev_boot_usb=1 must be set
from the command line before this option is available.
Ctrl + L: Chain-load an alternative bootloader (e.g. SeaBIOS).
This may allow booting other Operating Systems more easily. Not
all devices are shipped with alternative bootloaders. New
alternative bootloaders can be manually installed on the device
from Developer Mode. The option crossystem
dev_boot_legacy=1 must be set from the command line before
this option is available.
0 through 9: On newer (2019+) platforms, more than one
alternative bootloader can be installed and Ctrl + L will show a
selection menu. On these devices, the number keys can be used
to directly boot the numbered bootloader without going through the
menu.
The option crossystem dev_default_boot=usb can be set to
override the default boot behavior if no key combination is pressed for
30 seconds.
Note that some of the following behaviors work on convertible devices when
used in tablet mode.
Clean shutdown Power button, hold for 3 seconds, select option in menu
File feedback Power button, hold for 3 seconds, select option in menu
Battery cutoff Power + Volume-Up, hold down, remove power for 5 seconds
Notes:
Filing feedback from the power button menu is currently (as of 2018-10-19)
only supported on canary (for all users) and dev/beta/stable (for Google
employees) release channels. All users can still file feedback via the
browser options menu (Help > Report an issue...).
Battery cutoff shortcut is supported only on devices with a smart battery
(e.g., not Scarlet, Dru).
EC Debug Mode
Not all debugging shortcuts are implemented with a simple combination of
buttons—some are found by utilizing multi-button sequences, initiated after
entering a special EC state called "debug mode". To enter debug mode, press
Volume-Up + Volume-Down for 10 seconds. Release once the charging
LED starts flashing. Once in debug mode, any of the following actions can be
taken, using Volume-Up (U) and Volume-Down (D) buttons.
Supported codes:
Functionality Sequence
Restart Chrome UD
Warm reset DU
For boards launched after Nov 2023 (such as rex, geralt), the text area in the
log viewer is enlarged, and the screen becomes menu-less (see the screenshot
below).
The following on-device buttons and keyboard shortcuts are supported for
navigation.
Functionality Shortcut for Devices With Keyboards Shortcut for Devices Without Keyboards