If you want to use Templar on a custom ROM, first flash Glow Kernel 4.0 and boot into the OS, then back to recovery to flash Templar Kernel + Patch Recovery (Link on Group Support Templar)
If you want to use Templar on MIUI, first flash Glow Kernel 3.9 and boot into the OS, then back to recovery to flash Templar Kernel + Patch Recovery (Link on Group Support Templar).
After flashing the kernel, boot to the homescreen first and let it settle for about 5 minutes—do not touch or use the device to avoid freezing.
For gaming, use a cooler for more stability , lower temperatures and use Adaptive Performance Module for experience gaming.