Kernel files (to be able to build kernel modules)
Hi, all.

I want to build and run my own kernel modules (drivers).

I flashed this image to SD card and was able to boot into Android:

Where can I find kernel files?

This kernel doesn't work (incompatible version):

Output of uname:
rk3399_mid:/ # uname -a
Linux localhost 4.4.126 #10 SMP PREEMPT Tue Dec 11 17:14:45 CST 2018 aarch64

I wasn't able to find that kernel version on ayufan's github page:

Where can find sources to build my own kernel module? And where can I find info about that Android image?
Bump the topic. The question is relevant for Android 9.0. Do I really have to download 125GB archive just to build small .ko driver?

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to create the img file to use with etcher once you build the android SDK? dazza5000 8 4,878 01-22-2020, 10:26 AM
Last Post: webgourou
  How to build Android P SDK licux 4 13,669 07-18-2019, 12:39 PM
Last Post: dazza5000
  RockPro64 Build Environment Docker Container dazza5000 0 1,258 07-17-2019, 01:22 PM
Last Post: dazza5000
Lightbulb REQUEST: Guide to build Android images for SD / eMMC. duckkcud 3 3,116 04-23-2019, 05:36 PM
Last Post: NightCrawler504
  STOCK Android OS build released tllim 36 22,617 02-25-2019, 01:17 AM
Last Post: kardanadm
  Android build target arch Zoltan 0 921 01-03-2019, 03:40 PM
Last Post: Zoltan
  Help Building Android Kernel cocoastorm 1 1,203 12-20-2018, 02:50 PM
Last Post: cocoastorm

Forum Jump:

Users browsing this thread: 1 Guest(s)