And now I'm even more confused. I tried updating TRWP and got the same Zip verification error as for the build.
So then I decided to disable Zip verification because that part would then be fixed in 3.1.1. Without Zip verification the update seems to have worked.
Then I tried to install the...