[HTC One X] Vcek:
Problem is fixed by the official 1.33 Hboot release

(thanks to Ykooze our S-OFF tester, and all other users who reported or attempted to troubleshoot)

Which devices are affected

? Devices with S/N starting in HT243, HT24Y , HT251 and HT253 (some hardware variants)

Whats causing this problem

? ALL JB firmwares on hboot's:1.19/1.23/1.28/1.29/1.31

According to the decoding of serial numbers, manufactured 3rd of April 2012 and later.

How to fix this problem

? Upgrade to hboot 1.33/1.36/1.39 included in the new firmware, depending on your CID

or don't upgrade to affected hboots

It seems that some phones have different-model sensors(require different drivers)? And since the pre-release of JB builds some phones have a problem with Light and Proximity sensors. This thread is to troubleshoot this problem and hopefully reach a solution.

So anyone running any new JB sense+ builds please test the proximity and light sensors (call *#*#3424#*#*) and tell me if its working(if HTC-Diagnostics-App doesn't give results it means not working)

Confirmed hardware is OK (by downgrading on S-OFF), so it must be software problem:

11 Users who reported: abd-hamdan(HT24Y), AlexIvasuc(HT25?), beast1944(HT253), trongnghia2411(HT243), Untraceable95(HT25?), Vcek(HT251), ykooze(HT253,S-OFF), dredre2017(?), mrdey(HT25),ercliou(HT253),Imyeltekin(HT24Y)

Other users also reported faulty hardware(acc meter,touch,sound static) but cannot be confirmed without log/debug.

Logcat debugs :
E/Sensors ( 743): Couldn't open /dev/lightsensor (No such file or directory)
E/Sensors ( 743): LIGHTSENSOR_IOCTL_ENABLE failed (Bad file number)
E/SensorService( 743): Error activating sensor 17 (Bad file number)

E/Sensors ( 673): Couldn't open /dev/cm3602 (No such file or directory)
E/Sensors ( 673): CAPELLA_CM3602_IOCTL_ENABLE failed (Bad file number)
E/SensorService( 673): Error activating sensor 18 (Bad file number)

sys/bus/i2c/drivers/ shows CM3629/CM3628 sensors vs. CM3602 shown

DUMP OF SERVICE sensorservice:
Sensor List:
Panasonic 3-axis Acceleration sensor | The Panasonic Android Open Source Project | 0x00000000 | maxRate= 100.00Hz | last=< 0.0, 0.0, 9.7>
Panasonic 3-axis Magnetic Field sensor | The Panasonic Android Open Source Project | 0x00000001 | maxRate= 100.00Hz | last=< 0.0, 0.0, 0.0>
Panasonic Orientation sensor | The Panasonic Android Open Source Project | 0x00000002 | maxRate= 100.00Hz | last=< 0.0, 0.0, 0.0>
Panasonic Gyroscope sensor | The Panasonic Android Open Source Project | 0x00000006 | maxRate= 833.33Hz | last=< 0.0, 0.0, 0.0>
Panasonic Rotation Vector | The Panasonic Android Open Source Project | 0x00000003 | maxRate= 833.33Hz | last=< 0.0, 0.0, 0.0>
Panasonic Linear Acceleration | The Panasonic Android Open Source Project | 0x00000004 | maxRate= 100.00Hz | last=< 0.0, 0.0, 0.0>
Panasonic Gravity | The Panasonic Android Open Source Project | 0x00000005 | maxRate= 100.00Hz | last=< 0.0, 0.0, 0.0>
[COLOR="red"]CM3602 Proximity sensor | Capella Microsystems | 0x00000012 | maxRate= 0.00Hz | last=< 0.0, 0.0, 0.0>
CM3602 Light sensor | Capella Microsystems | 0x00000011 | maxRate= 0.00Hz | last=< 0.0, 0.0, 0.0>[/COLOR]
9-axis fusion disabled (0 clients), gyro-rate= 200.00Hz, q=< 0, 0, 0, 0 > (0), b=< 0, 0, 0 >
9 h/w sensors:
handle=0x00000000, active-count=0, rates(ms)={ }, selected=66.7 ms
handle=0x00000001, active-count=0, rates(ms)={ }, selected= 0.0 ms
handle=0x00000002, active-count=0, rates(ms)={ }, selected= 0.0 ms
handle=0x00000006, active-count=0, rates(ms)={ }, selected= 0.0 ms
handle=0x00000003, active-count=0, rates(ms)={ }, selected= 0.0 ms
handle=0x00000004, active-count=0, rates(ms)={ }, selected= 0.0 ms
handle=0x00000005, active-count=0, rates(ms)={ }, selected= 0.0 ms
[COLOR="Red"]handle=0x00000012, active-count=1, rates(ms)={ 66.0 }, selected=66.0 ms
handle=0x00000011, active-count=1, rates(ms)={ 1000.0 }, selected=1000.0 ms[/COLOR]
1 active connections