modified for non-Xperia camera