From 8f9ee9e866841ed54f9d7eecca0f55c82fc5fb78 Mon Sep 17 00:00:00 2001
From: Daniel Micay
Download the factory images for the device from the releases - page. For example, to download the 2021.01.05.03 release for the Pixel 4a (sunfish):
+ page. For example, to download the 2021.01.23.03 release for the Pixel 4a (sunfish): -curl -O https://releases.grapheneos.org/sunfish-factory-2021.01.05.03.zip -curl -O https://releases.grapheneos.org/sunfish-factory-2021.01.05.03.zip.sig+
curl -O https://releases.grapheneos.org/sunfish-factory-2021.01.23.03.zip +curl -O https://releases.grapheneos.org/sunfish-factory-2021.01.23.03.zip.sig
Verify the factory images using the signature if you were able to obtain
signify
from trusted package repositories (see above), otherwise
continue on to the next section without this:
signify -Cqp factory.pub -x sunfish-factory-2021.01.05.03.zip.sig && echo verified+
signify -Cqp factory.pub -x sunfish-factory-2021.01.23.03.zip.sig && echo verified
This will output verified
if verification is successful. If something
goes wrong, it will output an error message rather than verified
.
bsdtar xvf sunfish-factory-2021.01.05.03.zip+
bsdtar xvf sunfish-factory-2021.01.23.03.zip
On macOS and Windows:
-tar xvf sunfish-factory-2021.01.05.03.zip+
tar xvf sunfish-factory-2021.01.23.03.zip
Move into the directory:
-cd sunfish-factory-2021.01.05.03+
cd sunfish-factory-2021.01.23.03
Flash the images with the flash-all script in the directory.