Firmware/flash related scripts for external users to avoid full CrOS manifest checkout

Clone this repo:


  1. c9b6e25 deprecate in favor of hdctools docker container by Matthew Blecker · 1 year, 4 months ago main
  2. 51eb4e9 flashrom: Fix ec_utils build by Ricardo Ribalda · 1 year, 7 months ago
  3. ebd3451 flashrom: Use meson instead of make by Ricardo Ribalda · 1 year, 7 months ago
  4. cc8c1bb servod: Implement get_files_and_version by Ricardo Ribalda · 1 year, 7 months ago
  5. 84f994c Add support for hdctools's dut-power script by Sven van Ashbrook · 1 year, 8 months ago

WARNING: standalone-hdctools is deprecated

Please migrate to the hdctools Docker container.

Standalone scripts for hardware debug and control

This is a repository of scripts that enable common hardware debug tasks outside of a Chromium chroot.

When all you need is quick access to servod, flashrom, or others, the wrapper scripts here will get you up and running without the overhead of creating, syncing, or entering a chroot.


This repo is designed such that you can clone or download the entire repo and run scripts within, or grab and run individual scripts.

Running individual scripts

You can download and run individual scripts without checking out the entire repo:

curl -f "${repo}/+/main/${script}?format=TEXT" | base64 -d > "${script}"


  • Follow the Chromium shell style guidelines.
  • Unless making a symlink, do not assume any other script in the repo is available.
  • With few exceptions, these scripts should download, prepare, and run other Chromium OS tools -- not provide any new functionality.

Making changes

Since this repo isn‘t in the manifest, it won’t show up in your chroot. Instead, to make changes:

git clone
cd standalone-hdctools
curl -Lo .git/hooks/commit-msg
chmod +x .git/hooks/commit-msg
git checkout -b changes
# (make some changes)
git commit -a
git push origin HEAD:refs/for/main

The above steps will upload a patch to where you can get your patch reviewed, and submit.