Tested on all realme phone
Flash Stock ROM
- boot into custom recovery
- stock recovery
- Copy OZIP stock ROM into sd card/Internal storage
- Wipe data
- Flash ozip
- Format data
- Reboot
Flash Build ROM
- Flash stock ROM
- boot into custom recovery
- Copy OZIP stock ROM into sd card/Internal storage
- Wipe data
- Flash ozip
- Format data'
- Reboot to bootloader
- Flash vbmeta if needed
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img - fastboot reboot
- format data
- Reboot