Everyone that wants to be involved with development has got to start somewhere, and for users who own an Samsung Galaxy S II Epic 4g Touch, there’s a place for you.
XDA Member shanenielson1234 has written a thorough set of instructions for the aspiring developer who wants to learn how to compile a kernel. This has been attempted before by others, but they include things like a script that does all the work for you which leaves the aspiring developers no room to learn and no room to modify.
This method is more complete and requires the users performing the tutorial to go through each step themselves in order to get a feel for how it is really done. It opens the doors for those who want to improve on that process by writing their own script or allows modification of files within the kernel, which is something a compile script just won’t let you do.
For the complete tutorial, download links to essential kernel compiling files, and discussion with users who have begun or completed this tutorial, you can find everything you need in the original thread. Before you begin, though, be sure you’re running Ubuntu (or some distro of Linux) or at least have it operational in a Virtual Box. Also, as part of the tutorial, you’ll be flashing your kernel to your phone after you make it and flashing kernels is always a little dangerous. So be sure you do the usual flashing preparation, such as creating a Nandroid backup, before you begin.___________________