[Q] Screen unlock on speaker while on call? - Nexus 5 Q&A, Help & Troubleshooting

Hello,
I have a issue that is bothering me since my past phone, however I haven't been able to find a solution on the web, so I finally decided it was time to ask the experts on XDA.
When I'm on a call on my nexus 5 using the loudspeaker (while driving or while using my PC at work), the screen locks after a period of time (which I guess it is the time I have set up on the display settings) after that I can't unlock the screen without clicking the power button, however I have my phone set up to end the call when I press the power button during a call, so every time the screen is locked during a call I have to end that call and redial, this is quite frustrating during calls to automated systems (when you have to input the options you are looking for) or while on a call with a coworker and suddenly you have the need to get another person into a conference call.
I know that if I use the phone on the ear (not on speaker mode). It works flawlessly as the sensor turn on or off the screen, but while on speaker it does not work that way.
Is there something wrong with android in general or with the nexus 5 only? Or it is there a setup I'm missing?
I know an option it to disable the power button ends call option, but this is a "smart" phone it should have to be smart enough not distinguish between ending the call and unlocking the screen during a call.
Isn't there an app for that? Or a workaround?
I know we can survive without these fickle requests but hey It will be a nice feature to have on either the phone or the OS
Thanks

Never heard of this before.
I think it's something with the proximity sensor on the right side of the speaker above the screen. Well, I think you should disable the End call on power button option.
Normally, as soon as you move the phone from your face, the sensor detects the distance and starts the screen.

hexen2006 said:
I know an option it to disable the power button ends call option, but this is a "smart" phone it should have to be smart enough not distinguish between ending the call and unlocking the screen during a call.
Click to expand...
Click to collapse
how can it tell if you want to end the call or try and turn the screen on? it might be a smart phone, but it doesnt know your intentions.
disable that option if you want to do what you're wanting to do.

Are you rooted ? If so use volume rocker wake
Nexus 5 xposed + gravitybox

Nope, not rooted yet, I purchased my Nexus 5 on the US playstore but I live in Mexico, so I might root it after warranty expires, The nexus 5 is quite expensive in Mexico, so if something happens to my phone after rooting I will be pretty much phone orphan for a while
Sent from my Nexus 5 using XDA Free mobile app

Well I didn't meant it to guess what I want to do, I meant something like an "if" command line, for example ( I don't know jack about android coding)
If speaker = Off
and
Screen = on
or
Screen = off
Then
Power button = End call
If speaker = On
and
Screen = on
Then
Power button = End call
If speaker = On
and
Screen = off
Then
Power button = unlock screen
Something like that...
Hope this makes sense
Sent from my Nexus 5 using XDA Free mobile app

Hi batmanforever69 (that's a cool nickname)
Yes the proximity sensor works, after I take the phone away from me it turns the screen on, but I left it away from me eventually the screen locks, I tried volume buttons, shaking the phone, tapping the screen on several places, and bring the phone to my ear then away again, but nothing worked... Only power button and of course it ends my call
I wonder... What about the LG G2... That phone has the knock on feature... That must work for this issue... I hope Google can integrate the knock on code on future android releases
Sent from my Nexus 5 using XDA Free mobile app

Related

Acclerometer controlled screen lock?

So my buddy was just showing me his iPhone and one thing I LOVE and ENVY... He puts the phone to his ear and the keypad locks out...pulls it away? Comes back on (in order to dial for automated systems)
Could we set something up like this using the accelerometer? Perhaps when it lies flat-X number degrees, screen is on?
Know this *could* be an applications, however, being it is something that would need to be integrated into the OS itself, figured I would post it here. Mods move accordingly. Thx!
the iPhone has a..for lack of a better term... "Proximity sensor" that let's it know your head is close to the phone, I don't think you can simulate that with just an accelerometer. People aren't always standing upright while answering the phone.
The G1, in case you didn't notice, does do something similar, it turns off the screen so your ear doesn't accidentally do something, and if you have the lock set up you have to unlock the phone if you want to do anything other than use the keypad.
punkzanyj said:
the iPhone has a..for lack of a better term... "Proximity sensor" that let's it know your head is close to the phone, I don't think you can simulate that with just an accelerometer. People aren't always standing upright while answering the phone.
The G1, in case you didn't notice, does do something similar, it turns off the screen so your ear doesn't accidentally do something, and if you have the lock set up you have to unlock the phone if you want to do anything other than use the keypad.
Click to expand...
Click to collapse
Suppose you're right, but I loathe having to unlock it every 5 seconds to enter new numbers. Perhaps an adjustable time-out? The time it takes to auto lock seems way too short.
momentarylapseofreason said:
Suppose you're right, but I loathe having to unlock it every 5 seconds to enter new numbers. Perhaps an adjustable time-out? The time it takes to auto lock seems way too short.
Click to expand...
Click to collapse
Wouldn't your cheek make a much larger contact then a finger? I would think the most efficient would be to have the screen not recognize an large prolonged touch.
That and have it display the keypad to begin with and not lock.
punkzanyj said:
the iPhone has a..for lack of a better term... "Proximity sensor" that let's it know your head is close to the phone, I don't think you can simulate that with just an accelerometer. People aren't always standing upright while answering the phone.
The G1, in case you didn't notice, does do something similar, it turns off the screen so your ear doesn't accidentally do something, and if you have the lock set up you have to unlock the phone if you want to do anything other than use the keypad.
Click to expand...
Click to collapse
The Diamond and Omnia use a light sensor to turn off or lock the screen. When you hold the phone up to your head while in a call, the light sensor, which is next to the earpiece, is covered, and the phone turns the screen off.
Unfortunately, the G1 does not have a light sensor. Which is kind of weird, since almost all HTC devices are shipping with one these days.
On the G1 when you're on the call screen the only thing you can touch is the little tab on the bottom that brings up the dialer... Unless you're doing something really odd in your phone call your face probably isn't going to accidentally swipe it enough to have the dialer come up. Which brings me to the point that locking the phone when it goes to a phone call is completely unnecessary.

[Q] Not able to answer calls while phone is locked?

For the past 5 days I have not able to answer any calls while my phone is locked. I have tried deleting all my apps and doing a master reset and can not figure out what the problem is. As soon as I set the phone down and wait 30 seconds for it to lock I can not answer any calls unless I keep the screen on which is draining my battery. I really love this phone but this problem is very annoying. I have to decline the call and then call them right back. Has anyone experienced this yet with their phone? I hope I'm not the only one.
Are you using some kind of application to lock/unlock your phone, instead of the power button or screen time out?
I had the same problem when I used tasker to put a delay on the lock when my screen turns off. In tasker I have set it to unlock the phone as soon as the screen turns off, wait 10 secs, then lock again if the screen is still off. I had this setting so that I do not need to keep on unlocking if the screen suddenly turns off while I'm still using the phone. This caused my call screen to only display the 'end call' button when a call comes in. After disabling the rule on tasker, I did not have that problem anymore. So if you are also using another app to lock the phone, that might be your problem.
I had an app called Mr. Number installed and it was causing the same problem on my phone. Once I uninstalled it, incoming calls worked just fine.
I did have the app Mr. Number installed and since uninstalling it have had no problems. I emailed Mr. Number and they're trying to get a sensation to test this problem on so I dont know how long this problem will last.
Sent from my HTC Sensation 4G using XDA Premium App

[RESOLVED][KINDOF][ICS] Black screen during a call

I wanted to ride the ICS wave but after experimenting with multiple radios/ROMs/hboots/kernels configurations I always got the same issue - while in call my screen gets black and no button will wake it up unless the call is interrupted (by the other side). Haven't found a real solution but created a workaround that actually works pretty well for me and decided to share it with whoever is in the same boat.
APK and sources attached.
I created a simple service that kick in during an active call. If activated tricks the phone into thinking that there are headphones plugged in and the screen is being turned on. While in this more the audio is being redirected to the headphone jack so you don't hear anything through the earpiece but normally I need the screen on only when I want to hang up and either way don't hear anything. Basically works perfectly well for my needs.
After installation enable and configure the service via the simple form. Once done when you get the black screen push the Vol Down multiple times to get the the lowest value and the service will unlock your screen. To get back the audio through the earpiece (and lock your screen) press Vol Up as many times as necessary to get to the max volume.
so is it one or the other?
!!senseless sensation!!

[Q] How do you make phone button recognition better?

I've really enjoyed my Skyrocket (switched from iPhone 4), but I have to say by far my biggest complaint since using this phone is trying to talk on the phone. I can't talk two minutes without suddenly hitting a bunch of keypad keys, making all kinds of beeping noises, which then typically mutes the line. I take the phone away from my face, wait for the screen to return from black (typically takes about 5 seconds), then I go back and unmute the phone and return to talking. Or it just puts them on hold. This is such a prolific problem that I find myself screaming profanities at my phone on a daily basis lol. It's really extremely frustrating. My google-fu has lead me to NO answers, which amazes me because I figure this HAS to be more common of a problem. I've tried holding my phone so many different ways - making sure my face is making contact with the whole phone and pressing hard, holding just the top half to my ear and holding lightly, attempting to make no contact at all - no matter what I try, I still hit this problem an unfortunate number of times per conversation. Is there no app in the market that tries to improve face-touch recognition or anything like that?
When you make the call push the power button to lock it
xcrazydx said:
When you make the call push the power button to lock it
Click to expand...
Click to collapse
Oh. See, on the iPhone, that ends the call, so I didn't think of that. Thanks!
mrmonkey3319 said:
Oh. See, on the iPhone, that ends the call, so I didn't think of that. Thanks!
Click to expand...
Click to collapse
There is a setting to make the power button end the call as well
shouldn't his proximity sensor kick in? When i make a phone call, as soon as i put the phone to my face the screen shuts off
icenight89 said:
shouldn't his proximity sensor kick in? When i make a phone call, as soon as i put the phone to my face the screen shuts off
Click to expand...
Click to collapse
Yeah that works fine on mine. He may have disabled the sensor in settings, or it wasn't on by default for some reason
Settings/Call/Turn on Proximity Sensor.
If this is checked off your screen should go dark when you put your face up to it (and no buttons getting pushed...)

[Q] New Nexus 5, screen black on making or receiving calls.

When I make or receive a phone call on my new Nexus the screen blacks out. I understand that it should black out when the phone is brought up to my ear, but it blacks out even though the phone is eighteen inches away from me. There is nothing on top of the proximity sensor and it is clean. The phone is not in a case. The sleep timer in set to two minutes. The cache partition has been cleared.
I think this happened after upgrading from Android 5 to 5.1, but I cannot be certain.
The AndroSensor app always reports that the proximity sensor detects something at 0.0 inches (with 12.7 mA), even though the sensor is uncovered.
I have seen several threads in various forums on this issue with the Nexus 5, but I have not seen a definitive answer as to what is wrong and what can be done about it.
Help would be very much appreciated as I need to know if it is a software bug that will be fixed as part of routine updates, if it is a user fixable problem (operator error!), or if the sensor is actually dead, in which case I can exchange the phone (Amazon uk).
Chasharv
Chasharv said:
When I make or receive a phone call on my new Nexus the screen blacks out. I understand that it should black out when the phone is brought up to my ear, but it blacks out even though the phone is eighteen inches away from me. There is nothing on top of the proximity sensor and it is clean. The phone is not in a case. The sleep timer in set to two minutes. The cache partition has been cleared.
I think this happened after upgrading from Android 5 to 5.1, but I cannot be certain.
The AndroSensor app always reports that the proximity sensor detects something at 0.0 inches (with 12.7 mA), even though the sensor is uncovered.
I have seen several threads in various forums on this issue with the Nexus 5, but I have not seen a definitive answer as to what is wrong and what can be done about it.
Help would be very much appreciated as I need to know if it is a software bug that will be fixed as part of routine updates, if it is a user fixable problem (operator error!), or if the sensor is actually dead, in which case I can exchange the phone (Amazon uk).
Chasharv
Click to expand...
Click to collapse
Just press the power button when that happens, screen will turn on again. Done.
Nexus 5 black screen: thanks, but more help needed
beekay201 said:
Just press the power button when that happens, screen will turn on again. Done.
Click to expand...
Click to collapse
Thanks for this, but if the power button it set to end the call it does indeed turn the screen on again, but of course also ends the call prematurely. If the power button is not set to end the call, then nothing happens when it is pressed during a call and the screen stays black. The only way out of the black screen under those circumstances is to hold the power button down to turn the phone off and then restart it!
Prior to the upgrade 5.1, from the version of 5 that came with the phone, when I made or received a call the screen remained active until I put the phone to my ear.
Further advice would be much appreciated.
Chasharv
Chasharv said:
Thanks for this, but if the power button it set to end the call it does indeed turn the screen on again, but of course also ends the call prematurely. If the power button is not set to end the call, then nothing happens when it is pressed during a call and the screen stays black. The only way out of the black screen under those circumstances is to hold the power button down to turn the phone off and then restart it!
Prior to the upgrade 5.1, from the version of 5 that came with the phone, when I made or received a call the screen remained active until I put the phone to my ear.
Further advice would be much appreciated.
Chasharv
Click to expand...
Click to collapse
if i make or answer a phone call, and put it on speaker, after a few secs it will turn the screen off automatically. If i then press the pwer button (i don't have the accessibility option on), it WILL wake the screen but doesn't end the call.
running stock LMY47D
Nexus 5 black screen, solved
beekay201 said:
if i make or answer a phone call, and put it on speaker, after a few secs it will turn the screen off automatically. If i then press the pwer button (i don't have the accessibility option on), it WILL wake the screen but doesn't end the call.
running stock LMY47D
Click to expand...
Click to collapse
Thanks for this, but the problem was that the screen blacked instantly on making or receiving a call and was unresponsive, so the only way forward was to press the power button. This either terminated the call or shut down the phone, according to how it was set, so neither was useful.
As I said originally, I suspected the proximity sensor was faulty as the a proximity detector sensor app always indicated that there was something close to it. Hence the phone would assume it was next to my ear when making or receiving calls, and so black the screen. This morning, for reasons that I don't understand at all as I have not changed anything on the phone, the proximity sensor is reported as working and the phone behaves as it should on making and receiving calls!
I suppose that either the sensor has an intermittent fault, or something in the phone's software has changed to permit it to work. I have a couple of week's left before the Amazon return window expires, so I will monitor the situation.
Thanks once more for the help.
Chasharv
I have the identical problem with my nexus 5 running stock kitkat. Makes it very hard to use the keyboard to reply to automated requests to "if... press 1, if.... press 2".
Is it possible to turn the proximity sensor off? I don't need it and it just causes problems for me.

Categories

Resources