How to Disable Proximity Sensor - Sony Xperia 5 Questions & Answers

How to Disable Proximity Sensor for in-calls?

this is proof how stupid people are. I assume the only reasonable way to do so is have root access and then turn it off for in-call settings.

Comical, you answered your own question two weeks after posting? That indicates how stupid people are? Most everyone finds the proximity sensor useful so possibly you are the only one who would like to disable it. Not a lack of intelligence but a personal preference. Happy you figured it out.

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

Proximity sensor to prevent wake

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?

What does the gyro sensor really do ?

Dear Experts,
first of all, I'm sorry if this is a wrong question, or if it's being posted in the wrong section.
I know what a gyro sensor is. But I'm not really sure what its use in a phone is. This question came up, when I figured out, that Samsung gave up the gyro sensor in its A-series phones.
In my thoughts, without a gyro sensor, functions like - when the phone is ringing, turn it with the display down and it'll turn off the ringer sound. Gaming - all those racing games, where you are turning left or right by slightly tilting the phone, also the game Teeter, that used to be so popular. IMHO, all this functionality of a smart phone would be lost if there isn't a gyro sensor. Am I right ? Or what is it about ?
Many thanks in advance!
darkman088 said:
Dear Experts,
first of all, I'm sorry if this is a wrong question, or if it's being posted in the wrong section.
I know what a gyro sensor is. But I'm not really sure what its use in a phone is. This question came up, when I figured out, that Samsung gave up the gyro sensor in its A-series phones.
In my thoughts, without a gyro sensor, functions like - when the phone is ringing, turn it with the display down and it'll turn off the ringer sound. Gaming - all those racing games, where you are turning left or right by slightly tilting the phone, also the game Teeter, that used to be so popular. IMHO, all this functionality of a smart phone would be lost if there isn't a gyro sensor. Am I right ? Or what is it about ?
Many thanks in advance!
Click to expand...
Click to collapse
Exactly, no gyro, no tilt detection
I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS FOR EVERYONE TO SHARE
darkman088 said:
Dear Experts,
first of all, I'm sorry if this is a wrong question, or if it's being posted in the wrong section.
I know what a gyro sensor is. But I'm not really sure what its use in a phone is. This question came up, when I figured out, that Samsung gave up the gyro sensor in its A-series phones.
In my thoughts, without a gyro sensor, functions like - when the phone is ringing, turn it with the display down and it'll turn off the ringer sound. Gaming - all those racing games, where you are turning left or right by slightly tilting the phone, also the game Teeter, that used to be so popular. IMHO, all this functionality of a smart phone would be lost if there isn't a gyro sensor. Am I right ? Or what is it about ?
Many thanks in advance!
Click to expand...
Click to collapse
The tilting while playing video game is using Accelerometer sensor and not gyro sensor,
gyro sensor mainly used for vr or something like 360 videos in youtube,you got to turn around your head
and the phone will follow it,to demonstrate this,i recommend you download a sensor test on
the google play store
Thunderoar said:
The tilting while playing vjdeo game is using Accelerometer sensor and not gyro sensor,
gyro sensor mainly used for vr or something like 360 videos in youtube,you got to turn around your head
and the phone will follow it,to demonstrate this,i recommend you download a sensor test on
the google play store
Click to expand...
Click to collapse
Accelerometers measure the motion but it works together with gyro to detect things like tilt and orientation. Accelerometer by itself does not handle tilt. I could get into details but it would only cloud the question.
I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS FOR EVERYONE TO SHARE
Droidriven said:
Accelerometers measure the motion but it works together with gyro to detect things like tile and orientation. Accelerometer by itself does not handle tilt. I could get into details but it would only cloud the question.
I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS FOR EVERYONE TO SHARE
Click to expand...
Click to collapse
you mean tilt, but ok

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