Script to build generic ChromeOS image for amd64 devices with Google Play Store support.
The generic ChromeOS flex do not support Google Play Store for running Android apps. This script will build a generic ChromeOS image with Google Play Store support for amd64 devices.
The script will download latest stable recovery image from https://cros.tech/ for the given codename and latest brunch (https://github.com/sebanc/brunch) release. It will then extract the recovery image and build a generic ChromeOS image for amd64 devices.
Codename for ChromeOS build. Choose one of the following options based on your processor:
Processor Generation | Codename |
---|---|
3rd gen or older | samus |
4th and 5th gen | leona |
6th gen to 9th gen | shyvana |
10th gen | jinlon |
11th gen and newer | voxel |
Processor | Codename |
---|---|
Ryzen | gumboz |
You will need debian based linux distro to run the script. You can use Ubuntu in WSL on Windows.
- Clone this repository.
git clone https://github.com/rabilrbl/ChromeOS.git
- Switch to the repository directory.
cd ChromeOS
- Give execute permission to the script.
chmod +x build.sh
- Run the script.
./build.sh <code_name> # Replace <code_name> with the codename of the ChromeOS build you want to build.
- Once the build is complete, the image will be available at
chromeos/chromeos.img
. - Use a tool like Balena Etcher to flash the image to a USB drive.
- Fork this repository.
- Goto your GitHub profile and click on the repository you forked.
- Click on the
Actions
tab. - Click on the
Build ChromeOS
workflow. - Give the codename of the ChromeOS build you want to build.
- Click on the
Run workflow
button. - Wait for the build to complete.
- Download the zip from the artifacts section of the workflow.
- Extract the zip and use a tool like Balena Etcher to flash the image to a USB drive.
- Techy Druid YouTube Channel for the tutorial on building ChromeOS image. You can check their tutorial videos.
- Brunch Project for supporting ChromeOS with Google Play Store.
- cros.tech for providing ChromeOS images.