From 7bf1a8d29982c728e9a2095c569d284ef810becb Mon Sep 17 00:00:00 2001
From: Daniel Micay When the current signing key is replaced, the new key will be signed with it. Download the factory images for the device from the releases
- page. For example, to download the 2021110122 release for a device with the
- codename Obtaining factory images
DEVICE_NAME
:VERSION
release for
+ a device with the codename DEVICE_NAME
:
curl -O https://releases.grapheneos.org/DEVICE_NAME-factory-2021110122.zip -curl -O https://releases.grapheneos.org/DEVICE_NAME-factory-2021110122.zip.sig+
curl -O https://releases.grapheneos.org/DEVICE_NAME-factory-VERSION.zip +curl -O https://releases.grapheneos.org/DEVICE_NAME-factory-VERSION.zip.sig
Next, verify the factory images using the signature.
On Linux and macOS:
-ssh-keygen -Y verify -f allowed_signers -I contact@grapheneos.org -n "factory images" -s DEVICE_NAME-factory-2021110122.zip.sig < DEVICE_NAME-factory-2021110122.zip+
ssh-keygen -Y verify -f allowed_signers -I contact@grapheneos.org -n "factory images" -s DEVICE_NAME-factory-VERSION.zip.sig < DEVICE_NAME-factory-VERSION.zip
On Windows:
-cmd /c 'ssh-keygen -Y verify -f allowed_signers -I contact@grapheneos.org -n "factory images" -s DEVICE_NAME-factory-2021110122.zip.sig < DEVICE_NAME-factory-2021110122.zip'+
cmd /c 'ssh-keygen -Y verify -f allowed_signers -I contact@grapheneos.org -n "factory images" -s DEVICE_NAME-factory-VERSION.zip.sig < DEVICE_NAME-factory-VERSION.zip'
This will producing the following output when successful:
@@ -456,15 +456,15 @@On Linux:
-bsdtar xvf DEVICE_NAME-factory-2021110122.zip+
bsdtar xvf DEVICE_NAME-factory-VERSION.zip
On macOS and Windows:
-tar xvf DEVICE_NAME-factory-2021110122.zip+
tar xvf DEVICE_NAME-factory-VERSION.zip
Move into the directory:
-cd DEVICE_NAME-factory-2021110122+
cd DEVICE_NAME-factory-VERSION
Flash the images with the flash-all script in the directory.