This is not just a 4-digit PIN problem. I have 6 digits and booting stops after pressing enter to decrypt /home. Root is fine because entering a wrong PIN gives the appropriate error message.
First boot was fine except for “Networking not available. Please restart phone.” Second boot was exactly like first, including encrypting /home again.
From third boot onwards spinning circle after pressing Enter after entering correct PIN. Same behavior with a USB keyboard.
Phone is recognized as 18d1:0afe Google Inc. Jolla C2. I tried different button combinations but couldn’t get it to fastboot or adb mode - but I managed to fix my Gigaset GS290 so it wasn’t all bad.
I didn’t have a SIM in it when the problem started.