twrp – Xperia X F5121 won’t boot past splash screen

I’d appreciated any feedback on the below.

I followed this thread about upgrading Xperia X F5121 from Android 8 to 10.

After going through the steps my phone is stuck on the splash screen with SONY logo. Won’t boot further.

I used TWRP to wipe data, system, Darwik and cache, then flashed custom ROM, then I used fastboot to flash oem binaries, then flashed Gapps and rebooted.

Where did I probably go wrong ?