[Q] Screen goes black during call, CM10.1 dialer

kschang

Senior Member
Dec 11, 2010
440
72
0
San Francisco, CA
Hiya folks. Running CM10.1 stable on my targa (aka Droid Bionic). It was beautiful except for lack of nav dock support, a problematic Google Now (different problem, with workaround), and this particular problem, which I hope someone know what I am talking about...

When a call comes in and I answer by the slider, the screen goes black, whether or not I held the phone up to my head.

I cannot turn the screen back on. None of the buttons seem to do anything, though backlight for the 4 hard buttons does turn on indicating that some command was received by the touchscreen. Not even the power button will bring the screen back during the call.

If the other party hangs up, the phone goes back to normal.

With screen off, I can't hang up.

I can hang up if my Bluetooth headset was connected and I hang up with that.

I've searched all over and this issue seem to be a pretty popular issue last December across all CM 10 builds. However, I don't know if this was ever resolved for this build.

I can't find an option in the ROM to just flat "turn off face proximity detection" either. Or in any way to "tweak" it.

CPU-Z says my proximity sensor is working, so I guess it's just not calibrated properly for the dialer?

Can we get a "special hidden tweaker" much like the light sensor tweak for the auto-brightness levels?
 

kschang

Senior Member
Dec 11, 2010
440
72
0
San Francisco, CA
Figured it out. It wasn't CM. It was Screebl and the stupid orientation sensor, and how the Launcher is fixed to portrait mode.

I think I had my phone laid down and it's at a diagonal so it's in landscape mode, and the phone's fine with that when it's just showing contacts. Screebl kicks in and determines that landscape, phone orientation says stay on, so screen stayed on. It was set to turn off the screen IMMEDIATELY when the orientation goes out of "viewing range". (Saving batteries, ya know).

When the call was answered, Screebl should have turned itself off (i.e. ignore input while call is in progress). But it didn't. The "answer the phone" screen flipped the display back to portrait mode. The phone, still laid flat, in "landscape", is now "out of viewing range", and Screebl turned off the screen.

Strange interaction among the various apps, yes.

I'm still trying to figure out how to make my Bionic, with extended battery last the whole day. Juicedefender Ultimate somehow just keeps turning the screen back on every X seconds (taking root control for SOMETHING) and Wakelock detector says the phone is not going into enough deep sleep (kinda like me, hahaha)