How to install kernel module for android? I currently have a custom kernel and ROM installed on my android device. The kernel I'm using comes with a separate download with kernel modules that you are to install yourself if you want. However no instructions are given on how to do it, also I cannot find any tutorial on-line how to do it.

So I have a bunch of .ko files, Android SDK and my rooted android device. How do I install these kernel modules?
Use adb to push them to /system/lib/modules, then reboot. Android should load them at boot as long as they're in that directory, I believe.

shell&gt; adb push module.ko /system/lib/modules/
shell&gt; adb reboot


If you get a "read-only filesystem" error then remount /system as read/write first, then push them. Usually you can do this with adb remount. You could probably also put them onto an SD card and then use a file manager to copy them over if you want.

You can also use insmod to manually load a module into the kernel at runtime, but it wouldn't be reloaded if you reboot. This would allow you to skip the initial reboot, though, since you should be able to insmod all of the modules after you push them onto the device.