I’ve compiled a kernel from this repo: GitHub - Teracube-Inc/kernel_teracube_emernia-4.19: Kernel source for the Teracube 2e (2020/2021). Config: emerald_defconfig
and I’d like to test running it on my device.
Passing all the components (kernel, ramdisk, dtb) to fastboot boot
didn’t work, so I tried unpacking/repacking an existing boot.img (from sys_zirconia-ota-14.1.0+a459c97).
Using upstream mkbootimg produces a boot.img that’s half the size of the original even though I passed all the info back in that unpack_bootimg
produced (even using the original kernel, so it should result in an equivalent image).
Am I missing something? Can you tell me which tools you used to create a working boot.img?
Alternatively, is there a way to get fastboot boot
to work? It’d be a lot better for the hardware if I didn’t have to flash the same partition over and over again for testing changes.