How to disable kernel module signing in Android by adb
<p>Kernel module signing protects the kernel from all the modules that are loaded into the kernel during runtime.<br>
In Android, all the modules under /system/lib/modules must be checked before load, the signing key is generated while compiling, so the output of different developer is signing different. When flash <strong>system.img</strong> and <strong>boot.img</strong> from different developer into device, <strong>modules under /system/lib/modules cannot load</strong>.</p>

<p>To disable module signing, we can simply disable:  </p>

<ul>
<li>CONFIG_MODULE_SIG=y  Enables the kernel module signing feature. With
this master flag, key generation is enabled and public key is
embedded into the kernel. If this flag is disabled, none of the
following flags have any effect.</li>
<li>CONFIG_MODULE_SIG_ALL=y  Signs all the modules present in the build
during build compilation.</li>
<li>CONFIG_MODULE_SIG_FORCE=y Enforces loading only the modules (signed
with the correct key) on the target; the rest of the modules are
rejected.</li>
</ul>

<p>And then recompile kernel. But I want to know, <strong>if I have the root privilege, can I disable the security feature in Android by adb shell</strong>?  this is more convenient.</p>