Building a kernel using AOSP

I would like to create AOSP code while integrating the kernel at the same time. I followed the instructions below: http://jhshi.me/2014/06/30/build-kernel-in-tree-with-aosp-for-nexus-5-hammerhead/

but they seem to be specific to the hammer. How can I make a complete AOSP build with my msm kernel source directory (using flo)?

thanks

+5
source share
1 answer

I think you can follow the official guide source.android.com/source/building-kernels to create your own kernel, and then move the binary (zImage) to device/lge/mako-kernel/ (this path for Nexus 4) in Android source code. This will replace the default kernel file.
Of course, you need to change the path, which depends on your device.
Finally, build AOSP as usual.

+4
source

Source: https://habr.com/ru/post/1203451/


All Articles