Ported from Oppo R819