I am able to build android and kernel for Hikey 960 with the steps mentioned in the link https://source.android.com/source/devices.
Next we want to run our driver module, but insmod is failing with below error
insmod: failed to load test.ko: Operation not permitted
CONFIG_MODULES is enabled in kernel.
Can you please tell what is missing here.