Compiling a ROM from source—or compiling anything from source—is often considered the first real development that aspiring developers do. There are ROM kitchens out there that will compile source for you, but the experience of doing it on your own is simply more gratifying. While the tutorial is written in the HTC Amaze 4G section of the forums, the instructions are pretty basic and should work for many other devices.
The tutorial, written by XDA Recognized Developer sportsstar89, was created to help generate interest in building ROMs from source and to help inspire more ideas. Of course, when it comes to AOSP development in general, the more the merrier.
Those intending on following the tutorial will need to have Linux installed on their computers to start. From there, users are given a step-by-step guide on gather source from the repositories and compiling it on their computers. There are some peculiarities that users need to pay attention to. For instance, there is a command where users need to input how many CPU cores their device has. So it is recommended that users read the instructions carefully so all the parameters are entered correctly.
For the full tutorial, check out the original thread._________
Join us for xda:devcon 2014. For a limited time, XDA Portal readers get 20% off registration!