I see that many Android kernels comes without a loadable module support, how i can write and load a driver in this scenario?
For example i have a codebase for a driver that works under a vanilla linux kernel, how i can port this to Android?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t — that’s the exact reason there is no support for modules in the commercial phone. If the OEM disables module support, you have no option but to replace the kernel first. If you could just provide a driver, you would have instant unfettered access to the phone, which is what OEMs want to avoid.