Originally Posted by jajk
@physwizz Data is already formatted, decryption turned off etc. That is not the problem - there is something else stopping it booting.
Hmmm, I'm sure I had that problem too initially. Trying to probe my old memory for what was going on
I tried to record all problems I had in this thread and any solutions I found. The answer may be somewhere here but I believe it has to do with Magisk.
You said 'Stock ROM' - is it rooted ? If not that may be a problem restoring it over a rooted system since you are now decrypted. I found some info from Magisk official directions that may be relevant here:
Magisk actually patches 3 partitions on your device:
vbmeta : replace with empty vbmeta image to disable partition verification
boot : remove the signature of the image to prevent soft bricks
recovery : this is where Magisk is actually installed
Never, ever try to restore either of the 3 images mentioned back to stock! You can easily brick your device by doing so, and the only
way out is to do full ODIN restore following with factory reset. Just don’t do it.
If you want to upgrade your device, never flash the stock AP tar file with reasons mentioned above. Always pre-patch the firmware
before flashing in ODIN.
If you don’t need to patch the full firmware, you can manually create a tar file with at least vbmeta.img , boot.img , and recovery.img
to let Magisk Manager patch your images in the proper way.