#!/bin/bash -e # From: https://docs.mrchromebox.tech/docs/support/unbricking/unbrick-ch341a.html sudo apt-get -y install flashrom wget https://raw.githubusercontent.com/MrChromebox/scripts/refs/heads/main/sources.sh # Look in here for available boards. source ./sources.sh wget "${util_source}cbfstool.tar.gz" && tar -zxf cbfstool.tar.gz && chmod +x cbfstool wget "${util_source}gbb_utility.tar.gz" && tar -zxf gbb_utility.tar.gz && chmod +x gbb_utility wget "${fullrom_source}${coreboot_uefi_reks}" # "reks" is the board name for the model Chromebook you have.