Name Date Size #Lines LOC

..--

README.mdH A D25-Apr-20251,000 4224

crosfirmware.shH A D25-Apr-20254 KiB173130

description.mdH A D25-Apr-2025200 43

extract_blobs.shH A D25-Apr-20253 KiB12786

gen_test_hwid.shH A D25-Apr-2025486 2112

update_ec_headers.shH A D25-Apr-20252.2 KiB12077

README.md

1# ChromeOS Scripts
2
3These scripts can be used to access or generate ChromeOS resources, for example
4to extract System Agent reference code and other blobs (e.g. `mrc.bin`, refcode,
5VGA option roms) from a ChromeOS recovery image.
6
7## crosfirmware.sh
8
9`crosfirmware.sh` downloads a ChromeOS recovery image from the recovery
10image server, unpacks it, extracts the firmware update shell archive,
11extracts the firmware images from the shell archive.
12
13To download all ChromeOS firmware images, run
14
15    $ ./crosfirmware.sh
16
17
18To download, e.g. the Panther firmware image, run
19
20    $ ./crosfirmware.sh panther
21
22## extract_blobs.sh
23
24`extract_blobs.sh` extracts the blobs from a ChromeOS firmware image.
25
26Right now it will produce the ME firmware blob, IFD, VGA option rom,
27and `mrc.bin`.
28
29## gen_test_hwid.sh
30
31`gen_test_hwid.sh` generates a test-only identifier in ChromeOS HWID v2
32compatible format.
33
34Usage:
35
36    $ ./gen_test_hwid.sh BOARD_NAME
37
38Example:
39
40    $ ./gen_test_hwid.sh Kukui
41    KUKUI TEST 9847
42