[HTC One X] tamlmt168:
Hello there,

i am now currently using InsertCoin One X 9.7.0 and the stock kernel. My Hboot version is 1.12. But my g-sensor doesn't work properly. Sometimes the g-sensor works after I flashed another kernel or simply rebooting the device. I have searched on the internet about this problem but there are no solutions for that.

I have attached the log for the sensor. I am desperate to get my g-sensor back, please help me to save my device. Thank you.

_________________________________________________________________________________________

I/GSensorCalibration(11466): DPI:320

I/GSensorCalibration(11466): noOrientation:true

D/GSensorCalibration(11466): onResume

I/GSensorCalibration(11466): isLandscape:false

D/SensorManager(11466): [SensorManager] registerListener: delay = 0

D/ ( 611): SensorChannel(): mSendFd = 327, mReceiveFd = 323

D/ (11466): SensorChannel(const Parcel& data): mSendFd = -1, mReceiveFd = 93

V/Sensors ( 611): int poll__activate(sensors_poll_device_t*, int, int)

V/Sensors ( 611): int sensors_poll_context_t::activate(int, int)

D/Sensors ( 611): handle : 14 en: 1, v09.1-Store Calibration, Landscape support

D/Sensors ( 611): mEnabled = 0x4000

E/Sensors ( 611): error: unable to set MPL sensor power states (sens=112 retcode = 26)

E/Sensors ( 611): unable to start dmp

D/Sensors ( 611): Use Gyro!

D/Sensors ( 611): MPLSensor::enable--1

V/Sensors ( 611): int poll__setDelay(sensors_poll_device_t*, int, int64_t)

V/Sensors ( 611): int sensors_poll_context_t::setDelay(int, int64_t)

E/Sensors ( 611): error setting FIFO rate

D/Sensors ( 611): (llu)G_Delay = 200

E/Sensors ( 611): MLUpdateData error (code 26)

V/Sensors ( 611): int poll__setDelay(sensors_poll_device_t*, int, int64_t)

V/Sensors ( 611): int sensors_poll_context_t::setDelay(int, int64_t)

E/Sensors ( 611): error setting FIFO rate

D/Sensors ( 611): (llu)G_Delay = 20

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

I/ActivityManager( 611): Displayed com.android.settings/.GSensorCalibration: +342ms

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

I/GSensorCalibration(11466): do calibration

I/GSensorCalibration(11466): Execute bma150_usr

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

D/G_SENSOR_CALIBRATION_USER(13179): Calibration USER 2.2

D/G_SENSOR_CALIBRATION_USER(13179): main: chip_layout = 1

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

D/G_SENSOR_CALIBRATION_USER(13179): Offset setting: x=0	y=-7	z=3

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

I/System (11466):	at com.android.settings.GSensorCalibration.execBMA150(GSensorCalibration.java)

I/System (11466):	at com.android.settings.GSensorCalibration.doCalibrate(GSensorCalibration.java)

I/System (11466):	at com.android.settings.GSensorCalibration.access$700(GSensorCalibration.java)

I/System (11466):	at com.android.settings.GSensorCalibration$CALHandler.handleMessage(GSensorCalibration.java)

I/GSensorCalibration(11466): unregister Listener

E/Sensors ( 611): MLUpdateData error (code 26)

V/Sensors ( 611): int poll__activate(sensors_poll_device_t*, int, int)

V/Sensors ( 611): int sensors_poll_context_t::activate(int, int)

D/Sensors ( 611): handle : 14 en: 0, v09.1-Store Calibration, Landscape support

D/Sensors ( 611): mEnabled = 0x0

E/Sensors ( 611): error: unable to stop DMP (retcode = 25)

D/Sensors ( 611): calling MLStoreCalibration()

E/Sensors ( 611): MLStoreCalibration Fail!

D/Sensors ( 611): MPLSensor::enable--1

V/Sensors ( 611): int poll__setDelay(sensors_poll_device_t*, int, int64_t)

V/Sensors ( 611): int sensors_poll_context_t::setDelay(int, int64_t)

I/GSensorCalibration(11466): startAnimation

I/GSensorCalibration(11466): animation:

D/SensorManager(11466): [SensorManager] registerListener: delay = 0

V/Sensors ( 611): int poll__activate(sensors_poll_device_t*, int, int)

V/Sensors ( 611): int sensors_poll_context_t::activate(int, int)

D/Sensors ( 611): handle : 14 en: 1, v09.1-Store Calibration, Landscape support

D/Sensors ( 611): mEnabled = 0x4000

E/Sensors ( 611): error: unable to set MPL sensor power states (sens=112 retcode = 26)

E/Sensors ( 611): unable to start dmp

D/Sensors ( 611): Use Gyro!

D/Sensors ( 611): MPLSensor::enable--1

V/Sensors ( 611): int poll__setDelay(sensors_poll_device_t*, int, int64_t)

V/Sensors ( 611): int sensors_poll_context_t::setDelay(int, int64_t)

E/Sensors ( 611): error setting FIFO rate

D/Sensors ( 611): (llu)G_Delay = 200

E/Sensors ( 611): MLUpdateData error (code 26)

V/Sensors ( 611): int poll__setDelay(sensors_poll_device_t*, int, int64_t)

V/Sensors ( 611): int sensors_poll_context_t::setDelay(int, int64_t)

E/Sensors ( 611): error setting FIFO rate

D/Sensors ( 611): (llu)G_Delay = 20

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

E/Sensors ( 611): MLUpdateData error (code 26)

D/GSensorCalibration(11466): onStop

V/Sensors ( 611): int poll__activate(sensors_poll_device_t*, int, int)

V/Sensors ( 611): int sensors_poll_context_t::activate(int, int)

D/Sensors ( 611): handle : 14 en: 0, v09.1-Store Calibration, Landscape support

D/Sensors ( 611): mEnabled = 0x0

E/Sensors ( 611): error: unable to stop DMP (retcode = 25)

D/Sensors ( 611): calling MLStoreCalibration()

E/Sensors ( 611): MLStoreCalibration Fail!

D/Sensors ( 611): MPLSensor::enable--1

V/Sensors ( 611): int poll__setDelay(sensors_poll_device_t*, int, int64_t)

V/Sensors ( 611): int sensors_poll_context_t::setDelay(int, int64_t)

_________________________________________________________________________________________