Here's the original solution given in our forum:
[FIX] Installed TWRP and now you're stuck after OTA?
And the additional command was given in this post by brentkhack:
Quote:
What worked for me was from the TWRP terminal command was to type

dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota

then hit enter

type

dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/misc

then hit enter and reboot.

got help from the IRC xda-devs for the second step to complete the fix.