Krait and bootanimation optimization

Change-Id: I476b87ef3a7498da4df4a6f605df3637912688d2