AOSP ROM for Samsung Grand duos GT-i9082 Error loading kernel

791 views Asked by At

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?

1

There are 1 answers

0
AudioBubble On

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. Compile it from source
  2. Extract it from boot.img

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.

LG: http://opensource.lge.com/index

Samsung: http://opensource.samsung.com/

HTC: https://www.htcdev.com/devcenter/downloads

OnePlus: https://github.com/OnePlusOSS

Motorola: https://github.com/MotorolaMobilityLLC

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.

  1. Extract the kernel from boot.img (easier)

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.