Search some pages back for a tutorial for Heimdall.
I'm having trouble as well for some days now. Didn't say anything earlier because I wanted to make sure it was Semaphore. I did a clean flash of AOKP B32. Flashed JW4 w/ PIT using ODIN -> Hard Reset -> Flashed B32 -> Let it boot -> Restored /data from a Nandroid -> Flashed Semaphore. I always used Semaphore with AOKP with this settings:
Lock Min Scaling Frequency
(Apart from the 1140 frequency which I had running on 1300mV. Changed it to purely test if that was the issue)
All ran well on M4, Build 30 and 31. Since I flashed 32 that I get random reboots using these settings. I tried to disable OC, still random reboots. Disabled UV. Still random reboots. Yesterday I flashed B32 again without wiping and stayed on Glitch for a day. Used exactly the same settings regarding OC, scheduler, UV etc. It ran perfectly. About 2 hours ago I decided to have another go with Semaphore 1.0.1s and, 45 minutes later, reboot. Thing is, I'm not always doing something on the phone. I can be watching a video and it reboots, I can be browsing forums in Tapatalk, stop and, seconds later, reboot etc etc. I really love AOKP as I really love Semaphore so I want to keep this combo. I know lots of users have this combo on their phones running perfectly so it's not an incompatibility issue.
What should I do? Is there any way I can get a logcat at the time of the reboots? If so, how? I don't know anything more I can do. Help.
PS: Could anyone tell me, please, what are the default kernel voltages?
PSS: I had the same issues both on 1.0.0s and 1.0.1s.
PSSS: Ran Kernel Cleaner Script and cleared both init.d and NS Tools settings everytime I changed kernels.
Google Nexus 5
Rom: KK 4.4.2 Slim