iPhone 5 - Reading out lightsensor values by terminal

Hello,

I replaced the Earpeace/Frontcamera/Light-/Proximitysensor cable of my iphone 5 a few weak ago, because it seemed to be broken.
After replacing, the lightsensor doesn't seem to work any more. The switch for enabling autobrightness also disappeared from the setting menu.

Is there any way to read out the values of the lightsensor by terminal/etc.? I just want to see, if it's an hardware- or softwareside problem.

I'm running 7.1.2 with Pangu jailbreak.

Hope you can help.

Regards

Comments