What is the difference between AOSP/vanilla and stock? Possible Duplicate:
  What&#39;s the difference between an AOSP ROM and a stock ROM?  




When referring to Android ROMs or kernels (etc.), what is the difference between:


AOSP ("vanilla")
Stock
They are both Linux, but the AOSP kernel is a very standardized, general Linux kernel provided by Google that requires minimal modification to work across different devices, to make it easier for manufacturers to get Android working.

The various modifications made by manufacturers to their own kernels relate to the different hardware found in these devices. So HTC may enable some features in their stock kernel that only works on that particular HTC device and would not work on other devices by other manufacturers. 

An example of such a feature is voice recording which was present in a certain version of the HTC Hero stock kernel, but this feature would not be possible on the AOSP kernel because the drivers being used for voice recording were only compatible with the HTC kernel, not with the AOSP version.

Similarly, an AOSP ROM is one built directly from Google's unmodified sources whereas a stock ROM is the manufacturer-modified version of Android that comes with a device or is released as an official update.