I have just looked at the OTA ZIPfile linked here.
The ZIPfile contains binary patches for the boot partition. Patching a binary that has already been modified results in garbage, most likely. This is why booting fails for people who tried to update their rooted Cosmo.
I don't know if the binary patching employed in google's `update-binary` command does any kind of safety checks, but apparently not, otherwise the update would just fail, I guess.
Flashing back the original boot image should work, but then you don't have an updated boot image, so the following leads to a working Cosmo:
Got the update installed on the rooted Cosmo..
1. Flash the original boot image using SP flash tool (Gemini version is outdated and does not work for Cosmo)
2. Perform the OTA update
3. Flash the magisked boot image again
Images come from here: https://www.oesf.org/forum/index.php?showtopic=35879 (Thanks ZimbiX)
Mith
but the boot image will be outdated (but rooted).
Instead I suggest the following procedure (Step 1. and 2. unmodified):
3. Read back the updated, but unrooted boot image via SP
4. Patch it with magisk
5. SP flash the modified image to the Cosmo
6. Maybe upload it here for additional karma points.