The kernel driver for the light sensor is what's causing the issue, an old TAOS module plus it uses two other modules as well taken from the source here on github, only the light sensor drivers.
The download is available here.
Un-tar/un-gzip the file called autobrightness_fix.tar.gz (
tar xvfz autobrightness_fix.tar.gz); there will be a file called t0mm13bROM_autobrightness_fix_boot.img and do the following:
sudo fastboot flash boot t0mm13bROM_autobrightness_fix_boot.img
Report back the results
Edited by t0mm13b, 10 September 2012 - 04:56 PM.