Hey , I have a kernel I comiled its for m7spr , but it should work for m7 as well . Here's the kernel , you'll need to build yourself a new Kali Linux chroot . You can follow the tutorial in the readme on the git page .
Note that only the rt2800usb drivers on there and to make sure you install cm12 as that's what the kernel is for.
Flash this in recovery , remember to make a backup just in case! Everything else works in the kernel , incudling the bad USB and HID attacks , support for mutiboot as well.
https://docs.google.com/file/d/0B6dr...p=docslist_api