jckuester
jckuester

Reputation: 277

Loading kernel modules in Android 4.3

Executing lsmod as root on my Nexus 4 and Nexus 7 gives me the error message /proc/modules: No such file or directory. Both devices are running Android 4.3 (but different kernel versions: 3.4.0 and 3.1.10).

My question: is it true that all prebuilt kernel versions which come with Android 4.3 do not allow loading kernel modules per default anymore, i.e., google has built them without CONFIG_MODULES=y?

Upvotes: 1

Views: 3442

Answers (1)

JFDee
JFDee

Reputation: 153

Yes, I can confirm that CONFIG_MODULES is not set in Google's 4.3 kernels. I discovered this when trying to compile additional USB modules for the Nexus 10 stock kernel. Also, there were reports from Nexus 7 (2013) users confirming this for their kernel as well.

This is a serious regression and I have not seen any statement from Google about this.

Upvotes: 3

Related Questions