My Realme X3 Superzoom stuck in an infinite boot loop and I don't know how to reflash it

Not a classic bootloop, but rebooting from the system after a few seconds from boot. I have been trying to flash rom from EDL mode because my phone’s bootloader is locked and I can’t enter the fastboot mode… But the problem is I can’t find stock from Android 11 in .ofp file format that works on my phone and in tutorials on youtube they have only one raw and one patch file, I have like 5 or 6 of both in some roms I have tried. I have been using Miracle box but sadly I got some random errors when I tried to flash rawprogram0 and patch0 with a programmer (in .elf format, idk if that is a problem). I hope someone will be able to help me :confused: