Originally Posted by toastido
The /sys folder is a dynamic folder created by the kernel at boot. You can't just replace it.
Can you please suggest any solution? Or at least guid me to ensure if my sensor H/W has gone bad or its some S/W issue.
All i can remember is i flashed a wrong boot file (from some old version of CM11 nightly) on boot there were a lot of errors, com.phone... Etc stopped working. Then I flased the actual boot.img and all was good again. Didn't checked the sensors then. Latter same day my phone died of battety while i was playing a game. After restart I got to know none of my sensors are working...