If you are attempting to modify the firmware, be aware of the . Unlike older devices, the Oppo A78 4G enforces strict verification. Simply flashing a modified boot.img or system.img will often result in a "Bootloop" or "System has been destroyed" message.
Warning: Modified firmware will trip the Verified Boot (AVB) and may cause dm-verity errors.