When you rebuild your own kernel and upload it on your ODROID-XU board with Android system, the kernel modules should be uploaded too.
If not, the following message will be prompted in booting time.
_smsc95xx: version magic ‘3.4.5 SMP preempt mod_unload ARMv7 p2v8 ‘ should be ‘3.4.5-00019-gc81eeaf-dirty SMP preempt modunload ARMv7 p2v8 ‘
The situation is that your kernel (including kernel modules) has been compiled and uploaded to your ODROID-XU successfully. But, the error message is prompted in booting time (like above) and network cannot be configured displaying message like: init: no such service ‘dhcpcd‘_
First, check which modules need to be replaced.
You can check the list of modules in ODROID-XU (Android)’s directory:_ /system/lib/modules/_
In my case, the system has two modules:
shell@android:/ $ ls /system/lib/modules _ rtl8192cu.ko_ _ smsc95xx.ko_
Second, in your host PC, find the modules newly compiled. (rtl8192cu.ko is the name of the kernel module)
find . -name «rtl8192cu.ko» _ ./drivers/net/wireless/rtl8192cuv40/rtl8192cu.ko
Third, adb remount if not, you cannot change the kernel module file because it is read-only file system.
Last, push the module to the same position where the prior one exists. (using adb push)
_adb push ./drivers/net/wireless/rtl8192cuv40/rtl8192cu.ko /system/lib/modules/
You need to replace all the kernel modules in the same way. After doing that, adb reboot and enjoy your ODROID.