After almost a month of their release, Motorola has published the keenly awaited kernel source codes both, for the 2nd generation, Moto X and Moto G. In case, you are wondering what’s the fuss behind it, the kernel source codes are basically codes that act as an intermediary between Android software and device hardware, so essentially controlling your device. It is mandatory for companies to make the source code public so that developers can get their hands dirty and develop custom kernels and ROMs for devices.
The Kernel Source codes are available at Github, both as a downloadable zip file as well as a pure reference file so you can study the code in case that is the sort of stuff you like. With the Kernel SOurce Code public now, you can expect the Android development of custom ROMs and Kernels to move into fifth gear. Generally, you would need to have a rooted device with an unlocked bootloader for installing these custom ROMs and Kernels.
The Motorola Moto X 2nd gen is referred to as Victara at places, while the Moto G 2nd generation is called Titan, so that in case you come across these names you are not in a spin as to what they refer to.