JDCTeam / issue_tracking_cm13

1 stars 1 forks source link

Black screen when calling #2

Closed andreiciocanvlad closed 8 years ago

andreiciocanvlad commented 8 years ago

When initiating a call the screen becomes black as if proximity is on. Only turns on after call ends

dkati commented 8 years ago

try recalibrate ur sensor :)

andreiciocanvlad commented 8 years ago

How ? I had same problem with cm12

dkati commented 8 years ago

http://forum.xda-developers.com/showthread.php?t=2569141

andreiciocanvlad commented 8 years ago

Can't get into #0# in dial

dkati commented 8 years ago

Follow these steps

  1. download Android Terminal from store
  2. type these commands to calibrate automatically $ su

echo 0 > /sys/devices/virtual/sensors/proximity_sensor/prox_cal

echo 1 > /sys/devices/virtual/sensors/proximity_sensor/prox_cal

u only need this

andreiciocanvlad commented 8 years ago

Ok thx i'll get back

andreiciocanvlad commented 8 years ago

It did fix it over Adb. This should be mentioned somewhere easy to read. Thx

smeroni68 commented 8 years ago

It's an hardware issue (proximity sensor has dust over it and the reading is falsed). My personal suggestion is to open the phone (quite easy and well detailed on youtube) and remove definitively the dust... but it's needed a bit of skill to take this way. The solution given is one of the available around (google it or search on xda threads, is full of methods well explained). If is not a rom issue, why mention it in our thread? Thanks to @dkati that has helped you, but due to the fact that you had the same problem also on CM12, probably it's not correct to use this channel to search help.

Sorry.