Need to be on stock HyperOS or any AOSP rom to sideload it.
Being on MOD rom changes super partition size which will cause sideload to fail.
1) Download the vendor_boot.img, boot.img and ROM
The vendor_boot.img is recovery
2) Install the ROM's recovery and boot using :
fastboot flash vendor_boot_ab vendor_boot.img
fastboot flash boot_ab boot.img
3) Boot into it using the power + volume up button or
fastboot reboot recovery
4) Wipe data/factory reset
5) In aosp recoveries you have to go into Apply update and choose your preferred option.
6) On your PC with the downloaded ROM, type in the terminal:
adb sideload ROM.zip (ROM filename or drag and drop the zip file)