The URLs to find the latest OEM-provided kernel source are often burned into the frontal lobes of experienced developers, much like home phone numbers are to those who don’t build kernels. For those just starting out, however, it can be a little harder to figure out exactly where to go and what to download. There is now a comprehensive list with links to many OEM-provided kernel source code repositories.
XDA Senior Member shimp208 has been kind enough to create a thread that links to pretty much every OEM website. Namely, the part of the website where one can download—or at least find—kernel source for various devices. As shimp208 explains:
I see a lot of people asking how to start make custom kernels (This is well beyond the scope of this guide, for a great introduction check out Building Your First Kernel), or I want to port CM, AOKP, AOSP, etc. to my device. Well that great except you can’t begin to make a custom kernel or truly port CM, AOKP, AOSP, etc. without the appropriate kernel source code for your device. The following list tells you where you can find the kernel source code (Among other bits and pieces of code essential to development) for your device based on your manufacturer, as well as some other places to look for kernel sources.
Aside from kernel source, most links also contain various files that can be useful for things other than kernel building. Of course it should be noted that some OEMs won’t unfortunately release kernel source for every device. So if you check and it isn’t there, there’s a chance it hasn’t been released yet.
For more information, check out the original thread.___________________