Earlier today @Eruditass
had the same issue with the proximity sensor we've been having. I suggested adding in the proximity sensor build.prop line, but that didn't help. Instead of saying F it, he messed around with some system values and found a way to make it work correctly, but it didn't persist from boot to boot. He then made an init script, but it didn't work when it should have....I took what he did and added a line to it...instead of just sending "on", I sent "off" then "on" and it worked. Here ya go, flash away.
- Be on a 4.2 or 4.3 rom that has proximity sensor issues.
- Flash the attached zip
Obviously, if your not running a 4.2+ rom and are planning to install one.....install the rom\gapps then the fix.....