add overlay and some changes for camerahal