ramdisk: Add support for Flex/G3 ROMs

Thanks to @Cloudyfa