Last active
November 28, 2024 04:01
-
-
Save trevd/f26d66f5c54dd2275e17abda2593b1e0 to your computer and use it in GitHub Desktop.
Create a ChromeOS Flex USB recovery image on linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Watch | |
How To Create A Chrome OS Recovery USB Drive With A Linux Device (https://www.youtube.com/watch?v=KpMswyiQM04) | |
This video shows how to use Linux to create a USB as the Chromebook Recovery Tool Google Chrome Extension is not compatible | |
on Linux | |
Browse to https://support.google.com/chromebook/answer/1080595?hl=en#zippy=%2Cuse-a-linux-computer and download | |
https://dl.google.com/dl/edgedl/chromeos/recovery/linux_recovery.sh | |
This tool gives you 500+ recovery images to choose from. | |
Unfortunately ChromeOS Flex is not one of them | |
After some investigation and browsing https://Chrome100.dev it appears the ChromeOS Flex board is name reven | |
The Recovery Images are located here https://chrome100.dev/board/reven | |
The linux_recovery.sh downloads a conf file with the list of boards in it. | |
However we can also pass a local config url ( for debugging purposes ) | |
Run the following commands | |
cd /tmp | |
wget https://gist.githubusercontent.com/trevd/f26d66f5c54dd2275e17abda2593b1e0/raw/38a0c5b29d498dcf97679410563d02bd8ab279fb/flex.conf | |
wget https://dl.google.com/dl/edgedl/chromeos/recovery/linux_recovery.sh | |
sudo bash https://dl.google.com/dl/edgedl/chromeos/recovery/linux_recovery.sh --config file:///tmp/flex.conf | |
This will give you only 1 recovery image to choose from and will create the ChromeOS Flex recovery image USB Drive | |
Thank You and Good Night! | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd /tmp | |
rm -fv /tmp/flex.conf linux_recovery.sh | |
wget https://gist.githubusercontent.com/trevd/f26d66f5c54dd2275e17abda2593b1e0/raw/38a0c5b29d498dcf97679410563d02bd8ab279fb/flex.conf | |
wget https://dl.google.com/dl/edgedl/chromeos/recovery/linux_recovery.sh | |
sudo chmod 755 linux_recovery.sh | |
sudo bash /tmp/linux_recovery.sh --config file:///tmp/flex.conf | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
recovery_tool_version=0.9.2 | |
recovery_tool_linux_version=0.9.2 | |
recovery_tool_update= | |
name=Google ChromeOS Flex | |
version=15886.62.0 | |
desc= | |
channel=STABLE | |
hwidmatch=^REVEN .* | |
hwid= | |
md5=ebbc5a7f27c5a797bd561c28ea772bf8 | |
sha1=578d99afbae77b8c180be6432c729045b891b8e3 | |
zipfilesize=1337372820 | |
file=chromeos_15886.62.0_reven_recovery_stable-channel_mp-v6.bin | |
filesize=7174451712 | |
url=https://dl.google.com/dl/edgedl/chromeos/recovery/chromeos_15886.62.0_reven_recovery_stable-channel_mp-v6.bin.zip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment