try this
open a terminal session
2 type cd /sys/devices/virtual/sensors/proximity_sensor/
3 with the sensor uncovered type "cat state" and write down the value (43 in my case)
4 type "cat prox_cal" and write down the first value (this is the offset), in my case it was 201
5 sum both values, in my case it was 244
6 Convert it to hex http://www.disfrutalasmatematicas.com/numeros/binario-decimal-hexadecimal-conversor.html, in my case, F4
7 type "echo -en $'\xF4' > /efs/prox_cal", instead of F4, put your value
8 type "chown system:system /efs/prox_cal"
9 type "chmod 644 /efs/prox_cal"
10 type "sync"
11 type "reboot"
I tried this and it worked!!!!
The only issue is now when I'm on a call the screen does NOT go blank (the proximity sensor doesn't seem to work)
I'll take this issue over a nonfunctional dialer any day!
Sent from my SM-N900W8 using Tapatalk
Last edited: