So overall, great update to 4.4.4
But how would I go about changing just one aspect of the new update?
I would like to keep everything but take out the way the phone just disables anything involving gestures if there's something within close proximity to the sensor. First off, I never really had an issue with the phone turning on while in my pocket, or the torchlight turning on in the same situation. But now with the new update, I can't use the pause/play, next track, back track gestures because my finger accidently passes the sensor or a piece of paper is on top of the sensor OR the sensor "senses" the denim in front of it while the phone is in my jean's pocket.
Would I be looking for specific code in system files? Can I just go into build.prop and disable proximity sensor verifications? What am I even saying? Total noob.
No you cannot go into the build.prop and manually disable that feature. Its a feature thats built into the ROM and that would consist you of downloading from source and removing it yourself.
Thats too much work, if you really want the proximity sensor check off, you're best off downloading a custom ROM with this feature or you can just not touch the proximity sensor. The proximity sensor is at the top of the screen, not sure how you accidently passes the sensor and would hide it. The phone scans whether or not its blocked quite fast that it should realize that its not blocked by the time your hand reaches to the touch screen.
Related
May be this tool will be usefull.
It switch off screen using proximity sensor detection.
Like alternative power button.
After proximity detected - screen switched off and proximity sensor don't used until screen will be switched on again manualy.
No screenshots
Second time running will unload program from memory, it can be used for switching on/off proximity lock feature.
All settings in registry, settings reloaded on each program run.
HKEY_CURRENT_USER\Software\Exidler\Hd2ProximityScreenOff
AfterCallReactivateSensor = dword:150 - time in ms when activate proximity sensor after call ended
SensorOffWhenProximity = dword:0 - time in ms when disabling proximity sensor on proximity detected. May be useful for disabling accident detection. This time proximity sensor is still active and if no porximity detected with this time - screen will be switched on automatically
ActiveOnlyIfLocked = dword:0 - Activate Proximity sensor only if Phone locked.
HKEY_CURRENT_USER\Software\Exidler\Hd2ProximityScreenOff\Exceptions
Create any named sub keys with values:
ClassName = string - name of windows class
WndTitle = string - title of window
ProcName = string - name of process
For exception windows proximity sensor will be disabled if this one window is active.
All criterias are optional. For example create only one value ProcName="Explorer.exe" for disabling proximity lock when Resco Explorer is active.
Proximity sensor activated only in portrait mode.
Change log
2010-01-29: v0.2
- full uninstallable cab
- add options: After Call Reactivate Sensor, Sensor Off When Proximity, Active Only If Phone Locked, Exception windows
- disbaling Proximity lock when landscape mode
2010-01-28: v0.1 Test version. Bugs possible.
Great something to get us started, did you make this yourself? Are you willing to put some time in to perfect it & create some options etc. if we bug test it?
exidler said:
May be this tool will be usefull.
It switch off screen using proximity sensor detection.
Like alternative power button.
After proximity detected - screen switched off and proximity sensor don't used until screen will be switched on again manualy.
No screenshots, not settings, just install and reboot phone (or run tool manual from Install directory)
Second time running will unload program from memory.
Test version. Bugs possible.
Click to expand...
Click to collapse
How will this effect the screen turning on after a phonecall, i wan't the screen automatically turned on after a call without having to press a button.
Will this tweak allow default function in that case?
richardirv said:
Are you willing to put some time in to perfect it & create some options etc. if we bug test it?
Click to expand...
Click to collapse
I don't know which options may be added.
I'm can't full control proximity sensor. It's only possible to enable proximity sensor, and htc drivers switching off screen by itself. The i'm disable proximity sensor again
But if it's will be possible to implement some features - i can try to do this.
Ok this is a good start, for me the following things need to be worked out for this to work good.
1. Only works when phone is upright, ie. Portrait. Reason being is if the screen goes off via Proximity in when holding the phone in landscape there will be allot of accidental activations, especially while playing games etc. It is much less likely that proximity will be detected when holding the phone upright.
2. Screen needs to come back on when proximity not detected, as to not cancel out the in call screen off feature.
Will keep thinking! Really hope you can work some magic here exidler!! Thanks
ET said:
How will this effect the screen turning on after a phonecall, i wan't the screen automatically turned on after a call without having to press a button.
Click to expand...
Click to collapse
it will handle proximity sensor to default behavior after call. so i think (and shure) - screen will blink for short time (~200ms) and will be switched off by tool.
exidler said:
it will handle proximity sensor to default behavior after call. so i think (and shure) - screen will blink for short time (~200ms) and will be switched off by tool.
Click to expand...
Click to collapse
Let me test, I assume the cab can be de-installed and everything is back to default behaviour?
richardirv said:
1. Only works when phone is upright, ie. Portrait. Reason being is if the screen goes off via Proximity in when holding the phone in landscape there will be allot of accidental activations, especially while playing games etc. It is much less likely that proximity will be detected when holding the phone upright.
2. Screen needs to come back on when proximity not detected, as to not cancel out the in call screen off feature.
Click to expand...
Click to collapse
in call screen back on when no proximity
when not in call - it switch off. or you talking about switching on screen when not in call?
about landscape and portrait. it's make easy if screen orientation really changed (if not - polling g-sensor - is not a good idea for battery i'm think)
ET said:
Let me test, I assume the cab can be de-installed and everything is back to default behaviour?
Click to expand...
Click to collapse
Cab is Uninstallable, but you must close program manually before uninstalling: run program second time, it will show message about closing
exidler said:
in call screen back on when no proximity
when not in call - it switch off. or you talking about switching on screen when not in call?
about landscape and portrait. it's make easy if screen orientation really changed (if not - polling g-sensor - is not a good idea for battery i'm think)
Click to expand...
Click to collapse
I just ment you don't want it to interfere with the in call actions the HD2 already has.
As you say g-sensor polling etc. no good for battery. I have a feeling this maybe flawed before we get started.
richardirv said:
I just ment you don't want it to interfere with the in call actions the HD2 already has.
Click to expand...
Click to collapse
program know about call and not be interferace with HD2 proximity call actions.
Landscape alternative - Programs (windows) exceptions - when it's active - promity sensor may be disabled. (but this feature need more time for apply)
Just tested the app and maid an incomming call with an other phone, the screen will automaticly turn on after moving from my ear as should be.
Great app I must say!
My fear is when using apps like fpsece etc, the screen will keep going off. Need to put our heads together and brainstorm some ideas to prevent acidental proximity.
The landscape idea with g-sensor was the first thing that came to me but hopefully there will be a better idea. Maybe only when the phone is perfectly horizontal (i.e as it goes into a pocket) The problem is keeping the g-sensor active will drain battery....
Idea's peeps!!
Hmm no way of de-installing it. If I use the app and then push the on button and then try to remove the app via start/settings, after about 10 seconds the device freezes.
Even after trying to install the app again (wich usually workes to remove apps witch can't be completely removed via start/settings) the device freezes.
Taking battery out is only way to restart. App remaines on device though.
Noticed also that the app is flawed, trying to go with my right finger to the left top of the screen to push start makes the screen turn of and that simply sucks.
HOW TO REMOVE THIS APP?
ET said:
HOW TO REMOVE THIS APP?
Click to expand...
Click to collapse
Before uninstalling go to install folder (defaul is \Program Files\Hd2ProxmityScreenOff) and run exe file inside Hd2ProxmityScreenOff.exe
You will see message about that programe closed. Tap Ok and then uninstall.
All be fine.
about freezing when uninstalling without stopping in memory process i'm know.
exidler said:
Before uninstalling go to install folder (defaul is \Program Files\Hd2ProxmityScreenOff) and run exe file inside Hd2ProxmityScreenOff.exe
You will see message about that programe closed. Tap Ok and then uninstall.
All be fine.
about freezing when uninstalling without stopping in memory process i'm know.
Click to expand...
Click to collapse
OK thanks, it's de-installed correctly. Maybe will use it in the future when it has matured a bit.
The programm should look on proximity-sensor, when i turn on my phone with the power-button.
--> if proximity detectet, screen should be staying off
--> if no proximity, phone should be wake up
Is this possible with your app? This would be a very great feature off our hd2! Perfect locking solution!
Bib_x said:
The programm should look on proximity-sensor, when i turn on my phone with the power-button.
--> if proximity detectet, screen should be staying off
--> if no proximity, phone should be wake up
Is this possible with your app? This would be a very great feature off our hd2! Perfect locking solution!
Click to expand...
Click to collapse
it's not possible until full hack of promitiy sensor.
i'm not have a fule of knowlendge fo arm assembler interpereting.
it' not difficlt for poples, how have knowledge of arm programs research.
but for me, i'm only can handle simple events
We are waiting for full promitiy API
so all of yours requests is impossimle.
Its a good start. Keep the project on.
perhaps a little bit easier to develop and to get various possibilities:
could you add 2 parameters to your app:
-activate
-deactivate
or so.
then it could be called also from other apps depend on its needs and states.
And also one scenario: It should only work if screen is locked(using notification).Then it's sure,that it should switch off because sensor detection
Keep up your great work.A really good idea,which can be very useful, if adaptable and a little configurable.
Thanx
Micha
Mods, please move if this isn't the right section (I contemplated the development section but opted against it).
I'll try to be short while providing enough background to get the more knowledgeable people here the info they need to help me with this problem. Essentially, i have a 32gb P6210 that I'm going to flush mount in my dash to use for in car entertainment. With no access to the hardware buttons I did some research on what would realistically meet my needs (especially getting the screen back on without the power button).
I found Tap Tap App on the market and the widget allows me to turn the screen off and waving my hand in front of the proximity sensor four times turns the screen back on. The issue is that, randomly (has ranged from 10 minutes to 17 hours), the proximity sensor is turned off when the screen is off, making the app inconsistent, even with "never turn off sensor" checked within the app. I'm in talks with the developer and he mentioned that the proximity sensor turning off with the screen off is dependent on the underlying rules built into individual ROMs. I'm on the stock ROM.
I need to know if anyone has info on how to keep the proximity sensor on indefinitely with the screen off so Tap Tap App has the input needed to continuing working as designed. I dont care about battery drain at all, the tab will have constant power. I'm rooted with clockwork mod recovery so if anyone has a system file I can edit, a zip i can flash, a tasker profile you know will work, etc, please post it up. Thanks in advance!
Kinda lonely in here...anyways, as an observation update, the app i was using, Tap Tap App, worked far less reliably using the Power button widget vs having the button in the notification area.
Conversely, I found a very similar app called "Soft Power" and have been using it the past 3 days with no issues. It has no widget option and only has the option for turning off via notification area. I'm thinking that always running the notification area by default means a background service is running to keep it there. I have not yet been able to not wake it up by waving my hand over the prox sensor. So for anybody with similar needs to mine in terms of not wanting or being able to access the power button, this has been a good alternative thus far.
I tried it on my phone. It does not work at all.
LG Optimus 2X 2.3.4
It looks like a promising application.
Perhaps it works on ICS ?
Hi all,
I've had this issue for about 2 weeks or so. The proximity sensor on my Nexus 5 randomly stays active no matter what app is on or if the screen is locked. So whenever the screen is active and I put my hand/finger near the proximity sensor it will blank the screen. You can see how this would be annoying when you're just checking notifications and the screen blanks out. Any thoughts or suggestions? It definitely seems software related as a reboot solves the issue until it happens again. I've tried to consistently recreate the issue, but I can't tie it to any one app that was/is active, or any combination of events that causes it. After a few hours when I unlock my phone to check a notification I notice it's active because the screen will go dark. Is there a way to see what app(s) could be doing this?
My phone is unlocked and rooted, but stock rom. No screen protector at all. I can't think of any non mainstream apps that I have installed.
Thanks!!
I have this issue exactly. Did you ever find the fix for it?
Are you using any app that uses the proximity sensor to turn on the screen? (e.g. Shake Screen-On). Those apps keep the proximity sensor on (if using near receiver mode).
One way to see if an app is using the proximity sensor is by checking the battery options. One of those apps might be the one draining your battery.
Same here. Reboot makes it work fine for a couple days, then the proximity sensor just stays active til the next reboot. Has done this on CM, PA, and Cataclysm.
I have a XT1031 running on Boost Mobile. I'm currently running official SlimKat build 9 but switch back to stock when I am expecting alot of calls since I can't find a voicemail app that works with Boost Mobile on custom ROMs. I've searched for months for a fix that works to correct the faulty proximity sensor but haven't had any luck. Does anyone know of a way to completely disable the proximity sensor?
BaumerGXP said:
I have a XT1031 running on Boost Mobile. I'm currently running official SlimKat build 9 but switch back to stock when I am expecting alot of calls since I can't find a voicemail app that works with Boost Mobile on custom ROMs. I've searched for months for a fix that works to correct the faulty proximity sensor but haven't had any luck. Does anyone know of a way to completely disable the proximity sensor?
Click to expand...
Click to collapse
I guess it is not possible to disable it... If you want to fix the proximity sensor you must flash your phone with an stock room...
The proximity sensor has been bad since I received the phone. It was a gift and out of warranty. My issue is there no matter if the phone is stock or running a custom ROM. I was hoping a dev would have some insight to disabling it with a prop/hex editor or something.
Caution DO NOT DO THIS unless you want your proximity sensor completely disabled!!!
Also you're doing this on your own risk!
So if your proximity sensor is not working at all, you can disable it completely by chopping it off the board. The light sensor is separate, so this won't affect your auto-brightness.
Open your phone (14 torx screws), pop out the back panel.Barware not to lose your Power and Volume keys.
You don't need to detach the battery, just go ahead and lift the board carefully ( there are videos on YouTube how to do that ).
Flip the board to your right hand side, be careful, the display flex is still attached, you don't want to break that.
You can now find both sensors on the top right corner of the board, the proximity sensor is the LEFT one when you face the board straight up.
Use a small flat screwdriver and with a semi-gentle push in its base you can chop it off.
You're done!
Reassemble carefully.
Thanks for the suggestion I'll try to find some of those YouTube vids you mentioned. But from what I've been reading is that the sensor is just an ambient light sensor that can detect proximity when coupled with an IR-LED so I'm not understanding how I can just chop off the prox sensor. I can't post the link but the article is on Andrux & me blog titled CT406: proximity and light sensor on MotoG
Sent from my Moto G
BaumerGXP said:
Thanks for the suggestion I'll try to find some of those YouTube vids you mentioned. But from what I've been reading is that the sensor is just an ambient light sensor that can detect proximity when coupled with an IR-LED so I'm not understanding how I can just chop off the prox sensor. I can't post the link but the article is on Andrux & me blog titled CT406: proximity and light sensor on MotoG
Sent from my Moto G
Click to expand...
Click to collapse
Proximity and light sensors are separate, so chopping off the proximity one won't affect anything, besides proximity not working and the circuit will report "open", which means no object near, hence your screen won't turn off.
There are many types of sensors and they might differ in the way they work.I seriously don't see what y you've said is related at all.
For anyone interested, I found a module for Xposed Framework called Disable Proximity Sensor and it works flawlessly
Sent from my XT1031
Face unlock currently requires a double tap, which is annoying because it doesn't work half the time
Even though they are trying to fix this in the next update, a better implementation would be when you raise the phone, it shows the lock screen (not ambient display screen), and simultaneously turns on the front camera to face unlock your phone
Gravity screen can do this, but requires a heavy wakelock to do so. Using the same 'raise to wake' method as ambient display [which seems to work without a heavy wakelock], but then showing the lock screen instead of ambient display, should achieve this
I would LOVE this feature, it would be a complete game changer!!
I use gravity screen and don't lose much battery
Use the power button since it's more reliable anyways ?
Bradl79 said:
I use gravity screen and don't lose much battery
Click to expand...
Click to collapse
There's still a fair amount of battery loss. Oneplus raise to wake seems to be able to do the same action without any battery loss
This was so fine on Op5 and 5T. Open Beta, of course!
Update: I've installed the wave up app. It basically wakes the phone when proximity sensor is uncovered
So when I take the phone out of my pocket, it authenticates my face automatically and unlocks, in a split second. I don't need to touch anything
Similarly if I keep my phone face down on a desk (not ideal), when I flip it over to look at it, it unlocks.
No messing around with d2tw which is more like quadruple tap to wake since this functionality is broken
3473 said:
Update: I've installed the wave up app. It basically wakes the phone when proximity sensor is uncovered
So when I take the phone out of my pocket, it authenticates my face automatically and unlocks, in a split second. I don't need to touch anything
Similarly if I keep my phone face down on a desk (not ideal), when I flip it over to look at it, it unlocks.
No messing around with d2tw which is more like quadruple tap to wake since this functionality is broken
Click to expand...
Click to collapse
Hi i use the original flip case from OP and as soon as i open my case door it unlocks witch is very easy and convenient.
Shall check with tasker.
Update: could not succeed.
I face no trouble in dt2w it wakes as it's intended to and unlocks with face within a split second, face unlock has become slower since the 5.1.9 and in dp3 but still fast enough
If my hand is dirty i just say Hey or Ok google.
Agree. it would be a great thing