As I cannot find any related guide while google-ing, I want to post this question on here for the purpose of learning and probably helping other people.

[Q1] How to overclock a kernel
  • which files are needed -> kernel source .. ?
  • what files need to be edited ?
  • is the cpufreq driver related ?
  • how to determine which frequencies need higher voltage and how high exactly ?

[Q2] Undervolting
  • which files are needed -> kernel source .. ?
  • what files need to be edited ?
  • is the cpufreq driver related ?
  • how to determine which frequencies can use lowered voltage and how to calculate them ?



I would be very thankful if any developer could teach me (probably others too) and I will contribute back for sure.
I am right now fixing up bugs in TeamGummy rom, and I'm nearly finished.
Only thing I lack is a custom kernel, which I want to build myself along with the rom.

*push*

Watch out guys, master guevor is going to teach us a little of his enormous knowlegde, so better keep your eyes on this one.