I tried many times to install nethunter on my oneplus one running CM12s without success. Finally, binkybear updated the kernel and I downloaded the git from github.com. I tired several times to compile it, but it stopped midstrream each time even with > 20GB memory available. Finally, I booted into the command line and built kali-nethunter. It went smoothly taking several hours on my laptop. I pushed the update-kali.zip unto the OPO /sdcard/ using nexus-adb and rebooted into recovery TWRP for encrypted OPO. I installed kali-nethunter.zip and rebooted the system. I updated kali and set up hacker's keyboard. The camera and wifi works. Thanks binkybear.