Thanks, I solved it by wiping everything including data, flashing the ROM and pico gapps, then restoring data from TWRP backupHey @seXneo,
I was having the same problem. What I did was an advanced wipe of everything, then I rebooted into the bootloader. Then I reflashed TWRP, rebooted into TWRP, copied over my ROM and GApps, reflashed and then I rebooted. After about 5 minutes, the phone booted into the setup screen.