I was running Novafusion's LineageOS 14.1 on my Samsung SIII mini but it was slow, so I decided to go back to Android 6.0.1.
I booted into recovery, formatted the cache partition to ext4, but left the data partition in f2fs, flashed Resurrection Remix 6.0.1.
When it booted I got an error "Encryption interrupted… you have to factory reset your phone" and I accepted. But I never enabled encryption on my phone.
Now it is stuck at teamwin logo screen flashing every 5 seconds or so. I can access download mode so:
- Flashing TWRP recovery using heimdall
- Flashing LOS 14.1 using heimdall
- Flashing Param.lfs using heimdall (reference https://android.stackexchange.com/a/130061/25234)
Now if I try to boot normally, it gets stuck on the Samsung Galaxy SIIImini logo. If I try booting to recovery I get the same boot loop as before.