It's a little weird, Does this happen if your device is in safe mode?
I messed around so much the last days, that i don't remember, if i tried safe mode. But i think i did.
I found one way to get it working, if i do soemething "illegal": odin, combination rom, the wrong pit (couldn't find the correct one). It aborts then without doing anything obvoius. Then reboot into system. Sensor works. But only until i do an update in google play. A while after, it stops.
It also worked again, after updating from 9 to 10, until google play ...
And it worked also the first few months when the fone was new, even though i rooted immediately.
It does not work on a fresh, clean install of stock.
I also did a nand backup in working state. Google play - stops working. Then restored above backup, everything, including EFS, except the 3 images. screen stays on.
This is about all i tried.
I would like to try the combination rom. But where would i find a correct pit? Google was no help yet in that matter.