I have a problem.. None of the custom ROMs seem to work anymore after reflashing the stock firmware. I can flash the ROM boots fine, but when I unlock the screen, SystemUI crashes and the phone locks up for a while and reboots. Stock ROM works fine.
The phone is the H4113 variant. (1312-4159 CDA, Nordic)
I used LineageOS 15.1 for a while before switching back to the stock firmware. However, XperiFirm didn't have the CDA version I had. I flashed the (1312-8863, Nordic) 50.1.A.13.123 / R14A instead with newflasher.
Everything seems fine, the stock ROM works as it should.
However, none of the custom ROMS seems to work anymore. SystemUI crashes after unlocking the screen, sometimes before the lock screen shows up. The phone is unresponsive for a while and then it reboots. I tried LineageOS 15.1, AOSPExtended 5.7, AOSPExtended 6.2 and Resurrection Remix 7. Each ROM behaved similarly. I was unable to get any logcat logs, because I can't get to settings.
I have tried reflashing the stock firmware several times without any effect. I tried flashing Sony oem binaries with fastboot. I tried reflashing a different stock firmware (1312.1454 Central Europe) 50.1.A.13.123 / R8A. Nothing seems to make any difference. Any ideas?