From 9abbafe8693c1bea36e8a0f5e8cc066d3754ebd2 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 2020.11.05.18 release for the Pixel 4a (sunfish):
+ page. For example, to download the 2020.12.12.03 release for the Pixel 4a (sunfish): -curl -O https://releases.grapheneos.org/sunfish-factory-2020.11.05.18.zip -curl -O https://releases.grapheneos.org/sunfish-factory-2020.11.05.18.zip.sig+
curl -O https://releases.grapheneos.org/sunfish-factory-2020.12.12.03.zip +curl -O https://releases.grapheneos.org/sunfish-factory-2020.12.12.03.zip.sig
Verify the factory images using the signature if you were able to obtain
signify
from trusted package repositories (see above):
signify -Cqp factory.pub -x sunfish-factory-2020.11.05.18.zip.sig && echo verified+
signify -Cqp factory.pub -x sunfish-factory-2020.12.12.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
.
unzip sunfish-factory-2020.11.05.18.zip+
unzip sunfish-factory-2020.12.12.03.zip
On macOS and Windows:
-tar xvf sunfish-factory-2020.11.05.18.zip+
tar xvf sunfish-factory-2020.12.12.03.zip
Move into the directory:
-cd sunfish-factory-2020.11.05.18+
cd sunfish-factory-2020.12.12.03
Flash the images with the flash-all script in the directory.