I want to build an AOSP ROM for the Samsung Grand duos GT-i9082. I have the kernel, and device tree in cyanogenmod and AOSP sources. After compiling, I got the following error:
Install: out/host/linux-x86/bin/minigzip
Target ram disk: out/target/product/i9082/ramdisk.img
Target boot image: out/target/product/i9082/boot.img
Error: could not load kernel 'out/target/product/i9082/kernel'
make: *** [out/target/product/i9082/boot.img] Error 1
How can I fix it?
This reply is a bit late, but it looks as if you don't have a file named "kernel", in that folder. If you want to get that kernel, you can either:
1. If you have any other devices search them up. You will find your kernel, it's usually on Github, or the manufacturer's website. Here are some common places to get the source code for your kernel.
I can't give you a guide here on how to compile, because every device is different. You're going to have to do a lot of research! it's worth it in the end, it took me weeks to figure out how to compile the kernel for my device.
This guide: Unpack Repack boot.img (Kernel) Files And Modify Ramdisk will help you accomplish this. If you can't figure this out, then you probably shouldn't be trying to do this.