Write drivers for Android?

I need to develop several drivers for Android that should work on Android4SAM eval platform. I started writing drivers like regular char drivers in the Linux kernel, and they work as planned. what's the next step ?, I did not find any information on porting the device driver to Android and extended the Android API for these drivers. who has experience, perhaps a little tutorial or guide?

+4
source share
1 answer

From my experience with this (up to 4.0), you need to look at the kernel that the manufacturer installs on the device (it can find it on its website - they usually provide a source). Then you can either compile your module (driver) into this, or take a photo of the phone with it, or install the module at the first start, this will require root privileges.

0
source

All Articles