E1001: Failed to update System image latest Onplus 5T and other
I faced the same issue and solved it by setting the settings flag Unmount System before installing a ZIP to false. This is not documented or recommended anywhere, however.
For me, it was LineageOS+MicroG image serrano3gxx. If someone else finds this to solve this error, please leave a note so we can report it accordingly.