Tofe's Rough Porting Guide
- Prepare the device
- Download CM12.1 from get.cm -- might later be from LineageOS website
- Download CWM or the latest recovery tool for the device
- Unlock the bootloader -- on Hammerhead it just means booting to bootloader and doing "fastboot oem unlock".
- Flash the recovery tool "fastboot flash recovery cwm-recovery.img"
- Reset factory, and flash CM12.1 via adb sideload