nostr:npub1nd396e8flpwdgzrxmu5n3eat0nv4a35zqs84avm3xskurpxld76qh3s249

The script comes from the Android Open Source Project. It wasn't written by GrapheneOS. It's the same flashing script used for the Pixel stock OS factory images and other devices.

GrapheneOS has fixed multiple issues with it including not handling spaces in the path, missing device model check, missing fastboot version check on Windows, unsafe handling of firmware flashing when mixed with anti-rollback fuses, erasing additional persistent state, etc. We didn't redo the rest of it yet.

Reply to this note

Please Login to reply.

Discussion

nostr:npub1nd396e8flpwdgzrxmu5n3eat0nv4a35zqs84avm3xskurpxld76qh3s249

Our web installer and the fastboot.js library it uses were created for GrapheneOS rather than being repurposed for it from an existing project. Those have proper error checking.

Android's factory images flashing script is a thin wrapper around the command-line fastboot tool which doesn't do adequate error checking and has overly noisy output reporting a bunch of unnecessary warnings/errors.

It doesn't make sense for us to expend a lot of effort on this since we have the web install.

Web install is better to harvest information about users. I know this is your goal.

😂