flickering fixed, G-sensor can work

Change-Id: Ic408e88959df1c544127470dba8fe83379cc7b21