TeamWin / android_device_lge_d855

For building TWRP for the LG G3 Europe Only
15 stars 7 forks source link

Kernel source and integrated kernel build #5

Open lambdaupb opened 8 years ago

lambdaupb commented 8 years ago
`/builds/out/target/product/d855/boot.img'
build/core/tasks/kernel.mk:65: ***************************************************************
build/core/tasks/kernel.mk:66: * Using prebuilt kernel binary instead of source              *
build/core/tasks/kernel.mk:67: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED                *
build/core/tasks/kernel.mk:68: * Please configure your device to download the kernel         *
build/core/tasks/kernel.mk:69: * source repository to kernel/lge/d855
build/core/tasks/kernel.mk:70: * See http://forum.xda-developers.com/wiki/ROM/Integrated_Kernel_Build
build/core/tasks/kernel.mk:71: * for more information                                        *
build/core/tasks/kernel.mk:72: ***************************************************************

I am investigating #3 and looked into jenkins, which produced this message. Available kernel source would make reproducing and researching bugs much easier.

lambdaupb commented 8 years ago

@dadi11 maybe you could comment on the state of things.

danparidae commented 8 years ago

prebuilt kernel is needed to fit in small recovery partition (16mb) and it's compiling faster, takes less space etc. btw I stopped working on encryption in my twrp version..

lambdaupb commented 8 years ago

Ok, I understand. Where can I find the source to the included kernel?

Other Snapdragon 801 devices like bacon (OnePlus One) have their kernel source in-tree and produce < 16MiB img files. Is there something different with G3 devices that plays into this?

Encryption is an important feature for me, especially since it is on by default in many cases now and adopted storage is using it as well. Maybe I can help, I'm not a C dev, but i know my way around *nix.

lambdaupb commented 8 years ago

I redid the d855 port with a cm-13.0 build env and the normal overlay. I finally got decrypt working, a build is attached as a release:

https://github.com/lambdaupb/android_device_lge_d855/tree/cm-13.0