My phone (HTC Amaze 4G, Stock Rom, S-on) instantly turns off the screen when making or receiving a call. I have installed AndroSensor app and the Proximity value seems to be stuck sometimes on "3.5 in" and sometimes on "0.0 in" value but the it doesn't seem to react when something is put next to the earpiece.
Here is the log from AndroSensor:
As you can see the value has changed from 9.000000 to 0.000000 but it happened by itself not because of the proximity sensor command.
I still doubt whether it is a firmware or a hardware problem. It seems to be least probable that it is caused by the rom. I would appreciate any hint or advice.
Here is the log from AndroSensor:
Code:
D/AndroSensor Debug(11578): Orientation sensor started
D/AndroSensor Debug(11578): Pressure sensor not found
D/AndroSensor Debug(11578): Relative Humidity sensor not found
D/AndroSensor Debug(11578): Proximity sensor found
D/SensorManager(11578): [SensorManager] registerListener: delay = 66667
D/SensorService( 238): enable: get sensor name = CM3602 Proximity sensor
D/Sensors ( 238): sensors_pana_poll_context_t::activate_pana
D/Sensors ( 238): Enabling Proximity Sensor..., mEnabled = 0, new state = 1
D/Sensors ( 238): Reading Proximity Sensor..., count = 16
D/Sensors ( 238): Reading Proximity Sensor..., distance = 38654705664.000000
D/Sensors ( 238): Reading Proximity Sensor...mEnabled = 0
D/EWdaemon( 135): !!! PL_Init
D/Sensors ( 238): Reading Proximity Sensor..., count = 16
[B]D/Sensors ( 238): Reading Proximity Sensor..., distance = 9.000000[/B]
D/Sensors ( 238): Reading Proximity Sensor...mEnabled = 0
D/Sensors ( 238): Enabling Proximity Sensor..., mEnabled = 1
D/Sensors ( 238): Setting initial state for Proximity Sensor
D/Sensors ( 238): sensors_pana_poll_context_t::set_Delay = 200000000
D/SensorService( 238): SensorDevice::activate--: handle = 0x7, enabled = 0x1
D/SensorService( 238): pid=11578, uid=10159
D/Sensors ( 238): Reading Proximity Sensor..., count = 16
D/Sensors ( 238): sensors_pana_poll_context_t::set_Delay = 66667000
D/AndroSensor Debug(11578): Proximity sensor started
D/Sensors ( 238): Reading Proximity Sensor..., count = 16
[B]D/Sensors ( 238): Reading Proximity Sensor..., distance = 0.000000[/B]
D/Sensors ( 238): Reading Proximity Sensor...mEnabled = 1
D/AndroSensor Debug(11578): Temperature sensor not found
As you can see the value has changed from 9.000000 to 0.000000 but it happened by itself not because of the proximity sensor command.
I still doubt whether it is a firmware or a hardware problem. It seems to be least probable that it is caused by the rom. I would appreciate any hint or advice.