Closed Didyme33 closed 2 years ago
Maybe the downloaded OTA is corrupted? You could try to delete work directory or specify a different one and start from scratch
I retried on an other machine. Redownloaded the OTA. Same problem :( Also tried with the whole factory image, same.
Looks like curl is getting a 146 byte long error response instead of the actual OTA file.
Can you read the "../work/ota.zip" file with less or a text editor and see if it contains an error response from the server?
Can you download files with curl from releases.grapheneos.org or from other places like kernel.org? Maybe you need a proxy to be set to access the Internet or perhaps your IP address is triggering some sort of abuse protection mechanism on releases.grapheneos.org?
You can also work around the issue by manually downloading the proper ota_update zip with a web browser from releases.grapheneos.org and copying the file to "../work/ota.zip" (you might also need to verify it manually with ~/.resign-android-image/otatools/bin/check_ota_package_signature and create ../work/ota.zip.ok).
Good guess ! Here is the content of the ota.zip :
<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
I'm going to try like you said, i'll copy directly the image manually. I'll keep you informed.
I reread your first message and the issue is that you are specifying "../oriole-ota_update-2022051100.zip" on the command line, but you need to just specify "2022051100" and the script will download the OTA automatically.
I reread your first message and the issue is that you are specifying "../oriole-ota_update-2022051100.zip" on the command line, but you need to just specify "2022051100" and the script will download the OTA automatically.
OK, I'm going to do that first lol. Thank you.
Hi, First, thank you for your excellent project !
I have a bug : I tried to resign the last OTA of GrapheneOS for Pixel 6 (oriole), this is what I get :
Any idea on how to solve this ? Thanks !