joelagnel / adeb

A debian-based shell environment designed for Android and adb
Apache License 2.0
318 stars 98 forks source link

What is the "supported" Android kernel with `CONFIG_IKHEADERS`? #30

Closed Ayrx closed 4 years ago

Ayrx commented 4 years ago

I see that the most recent changes to adeb removed the --kernelsrc flag and expects to run on a kernel with CONFIG_IKHEADERS.

Based on https://cateee.net/lkddb/web-lkddb/IKHEADERS.html, it seems like only kernels 5.2+ have that option. It looks like the goldfish kernel only has 4.14 as the latest supported kernel.

Where do I find a kernel tree that can run adeb? Or am I expected to apply the patch from https://lore.kernel.org/patchwork/patch/1067310/ to whatever kernel I'm building?

Ayrx commented 4 years ago

For those interested, I applied the patch at https://github.com/Ayrx/android-goldfish to the android-goldfish-4.14-dev branch of the goldfish kernel.