Actually we found this in the engineer mode
U can get into engineer mode by dialing *#*#8888#*#*
In Engineer mode mastermind found some mysterious things
See this screenshot
It shows magnetic sensor is enabled
But i guess it is disabled originally in the kernel(we will need kernel source to enable it)
Also the Light sensor is disabled and word 'not work' is written.
So we will need kernel source to enable that also.
Also see the first option
This also proves presence of ambient light sensor
Now see this image
In this image u see 'Touch panel' as disabled but as we all know that touch is working
This means that there is something in our stock ROM that need touch panel to be disabled and then only our stock ROM gives us touch and that's why i guess other ported ROMs won't give touch because they need it to be enabled.
So mastermind tried to enable it and rebooted but after rebooting it was still disabled that means kernel has it disabled and thats why it gets disabled.
So we will need kernel source to enable it
So friends conclusion is that we cannot proceed with further development until and unless we get the source.
Credits go to mastermind because he discovered the engineer mode and all above things