Answer the question
In order to leave comments, you need to log in
How to build a module for Android?
There was a need to build a driver for android 6 with the received root. The driver for linux was found, but I don’t know how to rebuild the kernel with the necessary module on android, I found links that didn’t answer my questions
For example: here or here because I don’t know where to get a copy of the kernel sources (not on w3bsit3-dns.com, or I’m very bad searched) in the first instruction and in the second there is no config.gz file in the device (Asus ZenPad 8)
Answer the question
In order to leave comments, you need to log in
To build the module, the kernel of the same version from another device will suffice. (VERMAGIC must match yours exactly) For my device, I tried to match by random (configured the kernel, compiled the module, tried insmod'nut, looked at the logs, configured again ...)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question