Proximity sensor to prevent wake - Galaxy S6 Q&A, Help & Troubleshooting

Hey guys, I'm a new user of SG6. I just sold my LG G2, and now I'm missing the function that keeps the screen off if the proximity sensor detects something. My battery is draining too fast and I suspect that in part is because of many accidental wakes.
Is there any configuration that makes such thing? Or any app with or without root to do it?

I'm also looking for an answer to this.
On my previous devices, I could use a feature of GravityBox to accomplish this, but it doesn't work on the S6. Maybe someone with Xposed experience can port the feature to a Samsung compatible version?

Related

Changes after installing 30O OTA

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.

[Q] How to permanently disable proximity sensor?

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

How to Keep screen off if proximity sensor = covered?

Hello all,
This has been an issue since my first sony. Gravity Box - an xposed module had a handy option in which at every screen wake, it was checking the proximity sensor to see if there is something near or not - it helped avoiding accidental dials and touches while in pocket.
I tried third party apps but the functionality is problematic. I also tried automations such as MacroDroid which held wakelock on proximity sensor - thus battery drain and cpu usage.
Samsung has an option within settings that does just that.
My question is, is there an adb command or a tasker automation (or even app) that brings this functionality back?
Looking fwd for your input. I am not rooted (for now) so the options are limited. Still I hope you guys have some bright ideas on the matter.
Cheers,

Proximity sensor issue s8/s8+ - wakelocks and battery drain

Hello all,
many of you probably have no idea, that there's a small issue with our phones regarding tmd4906 proximity sensor. But first things first. Since I switched to oreo, I've noticed that something's eating up the battery and its sth related to system process. So I installed gsam battery monitor and started checking the lists. I came across that in android system, there's an entry regarding proximity sensor which is taking battery like crazy. Then, I was searching for the cause of it. And i found that's pretty easy to reproduce for us all. So I ask you to check something:
switch on your mobile data, find a dark place, turn on, i.e Spotify and start listening to music (mobile data has to be in use), turn off the screen, and point any other's phone camera to your phone where proximity sensor is (left to the speaker, up.). You should be able to see that proximity sensor is constantly working when mobile data is in use.
Another question - is there any other way to get rid of this? I have switched off everything which may make use of this sensor - no go. Since I'm unrooted, I cant do nothing about it. It's keeping making wakelocks like crazy and draining a lot of juice. My Samsung A5 2016 uses half less juice when i keep mobile data on.
Yes, I've tried many clean flashes from scratch - nothing. I came across that similar issue was found in s7.
Have you tried disabling "Block accidental touches" in Settings / Display ?
I my S7 Edge i had that too. Made my "Android System" wake like crazy. Only working solution was install different ROM (official)

Remapping The Heart Rate Sensor

Back story:
Recently I bought these dirt cheap VR goggles, they suck, but for the time being it's all I have.
I've noticed that having a touch control over the phone was prety usefull, pausing a video, recentering, selecting, etc.
My goggles are basically wide open from the back, meaning the camera, jack, nfc (probably), usb and the Heartrate sensor are not blocked.
That in mind, I remembered that feature where you can take selfies with the Heartrate sensor and tought to myself "Heck this outta be easy!"
Let's start,
I need to use the heartrate proximity sensor to create a touch action in the middle of my screen
I first headed to the "Automate" app as it is quite flexible and simple (yet anoying) to use. To my avail, the sensor was not listed.
Tasker it was then!
Turns out tasker has a %HEART value but I am uncertain if it's even remotly close to what I need. (tasker.joaoapps. com/userguide/en/variables.html)
also one of my problems is, I don't even know how to activate the sensor in the first place.
I don't know anything about developping on mobile but,
Here's what I know:
-Samsung offers the Sensor Extension for developpers, but you need to register to ask for the dev kit via Email and apparently they don't respond to them very often. (developer.samsung. com/galaxy/sensor-extension)
-You can activate and monitor the sensors using the Samsung test menu
By entering *#0*# in the phone/call keypad and going to Sensor.
-Technically, for my purpose I would only want the proximity sensor of the Heart rate sensor but I believe they come in a package.
-I could attempt using NFC or bluetooth, but I guess I prefer to not cary something in my hand.
-I am sort of noob/alright when it comes to programming C++ so I can atleast understand code.
I'm asking for someone to shed some light if this was done before, I might be missing some obvious answer or other 3rd party app
I don't want to ask alot to be honest.
I guess other solutions will be much easier anyway, I just like to break my head thinking about other ways to do things.
Thx.

Categories

Resources