Android : Insert Kernel Module under Android

on Monday, September 29, 2014


I'm trying to control I2C from the userspace in Android, but ran into some problem inserting the i2c modules:



insmod: init_module 'i2c-core.o' failed (Exec format error)


insmod: init_module 'i2c-dev.o' failed (Exec format error)



I used adb push to put them onto the device, then ran insmod i2c-core.o but it failed with that error. The files were downloaded from some site.


What does the error mean? What can I do about it?


0 comments:

Post a Comment