This is compiled with omni rom as a base. For Omni, go here
The device tree used to compile is found here
NOTE: This has a patch to ignore event 0 from the touch screen. Without this twrp will not work. You can apply it following directions below.
repo sync cd bootable/recovery/ git fetch https://gerrit.omnirom.org/android_bootable_recovery refs/changes/26/6726/1 && git cherry-pick FETCH_HEAD cd ../../ . build/envsetup.sh lunch omni_m8_whl-eng make clobber make -j8 recoveryimage
adb reboot bootloader fastboot flash recovery TWRP*.img fastboot reboot
Thanks to @jmz @Dees_Troy @Flemmard @bigbiff