If you are failed to play Youtube video or something like that on your Motorola Moto E while running CM12 or any other custom ROM, we might have a solution. This however will not solve the green pixel problem as it is a kernel issue.
To fix it, all you have to do is install this APK on your Moto E and make sure that you have allowed your phone to allowing unauthorized APK installations. Install this APK and make sure you never update it as otherwise the YouTube will again stop working. If that doesn’t work for you, try this alternative method:
* Remove YouTube.apk from /system/app (if there is any)
* Uninstall YouTube if it’s still on the drawer
* Push my APK into /system/app (be careful with permissions / ownership)