i have installed custom rom, all is good, but vibration not working in all system, also not working in all custom rom (Lollipop: CanogenMod 12.1, SlimLP, AOSP, Euphoria, Razor, DirtyUnicorns. Marshmallow: CanogenMod 13, Slim6, Vanir, LiquidDark, MK, OCT).
In stock rom (4.1.2 JB) the vibration is working fine.
If it works on the stock JB ROM then the vibration actually works fine.
If it does not work on any other custom ROM, then it sounds weird. If at all it is the case, then I guess there might be some setting for the vibration to work which you need to tweak or configure in the corresponding ROM(s).