DollyRags
Hello, apologies. I should have read your original post more carefully. (Excellent info provided by the way)
Code 4 is verified boot rejecting GrapheneOS. Going into the bootloader and doing a factory reset will erase the keys for GOS. They ensure that it is safe to boot that OS. After deletion, your phone doesn't trust GOS anymore.
It should have booted to the device setup GUI right?
Yes,if you were on stock OS. Bootloader factory reset deletes all but the OS. (This is outside of GOS control)
Go here for an easy web installer to install stock OS. Your phone will only trust Stock OS for now.
https://flash.android.com/
It will walk you through it. I haven't used this tool before but I must advise to double check the OS/phone you choose.
- There could be 2 options:
- For example, options for: Pixel_8_pro_china and Pixel_8_pro_everyone_else.
This'll put stock OS onto it and then proceed how you wish--keep it or flash GOS again.
I don't doubt maybe you experienced issues with GOS in the past, but this isn't one of them. (forgetting your pin and bootloader erasing everything but the OS)
Please let us know if you need anything further