Possible to use LibreElec Kernel Source to build kernel modules for Android?

  • I just got an AllWinner H6-based TV Box from Tanix (model TX6). I want to run the Android that is included (ver 9 with kernel 4.9.118, I think) but I need some kernel modules like USB->Serial. I cannot seem to find the kernel source and AllWinner/Tanix are not being helpful. It seems that LibreElec now has support for the TX6 and so I am wondering if there is some way I can use the kernel source from this project to build some .ko files that are compatible?

    I have managed to build some .ko files for some earlier TV boxes I have owned where I was able to find some kernel source trees. But I am really an almost complete newbie in these matters. So please forgive what may be a stupid or silly question that exposes my ignorance. I am grasping at straws here.

    Thanks

  • LE uses 5.10+ kernel and Allwinner will be using a BSP kernel (usually 4.9, 4.19 or at best 5.4) so any modules you compile will not be compatible.