How to set Proximity Sensor Threshold on Mango? - Omnia 7 General

Hello fancies!
I'm having some problems with the proximity sensor of my Omnia 7. Basically the values from the proximity sensors are a little bit off the usual and the screen just goes black when answering a phone call ( so I can't hang up anymore, for example ).
I tried the diagnosis menu and the LCD test screen. There I can see the proximity values and understand why the phone is behaving this way, but there is no "SET" button as a lot of guides on the internet say.
My guess is that that button is gone with the update to Mango. Anyone can confirm me that and give me an alternative diagnosis screen where to change the value?
The screen I'm refering to is: *#0*# from the diagnosis screen.
thanks a lot!

up... any ideas?

drowne said:
up... any ideas?
Click to expand...
Click to collapse
maybe a dumb question- have you a new screenprotector, with covered
Proximity Sensor

the sensor is in the up-right corner
so maybe holding it with right hand you cover it and screen goes blank
happens to me...

it's not what I asked.
I know where the proximity sensor is and how it behaves, but when I replaced the screen something went wrong and the default low threshold is too low to work properly right now, so I have to set another value.
This was possible on WP7, but apparently it's not in mango. Do you have any idea where I can find that setting on mango?

has anyone got an answer to his question?
it seems that there isn't the set function in the diagnosis mode with mango anymore ..

me too have same problem.i just change my lcd screen after it happen when i make call screen is going black andi can't do anything no any button is not working.
there is any way to set promixty sensor on mango ?
or any app for this ?

flash a pre-mango ROM and change the value in the diagnosis app, I'm not sure if it will stick when you update, but it is certainly worth a try.

You can try reinstalling diagnosis app if you haven't yet. Maybe it works.

Related

Proximity sensor PROBLEM!

Hi! I have a problem with my N1, the proximity sensor don't work good, when it isn't under a light, if I cover it the screen shutting down, but when i discover it, the screen stay shut down; however if the sensor is under an high light like sun it work good and the screen lighting up instantly.
I don't have any screen protector on the glass, so i don't understand the problem , can someone tell me why and if i can resolve?
The other question is: it is a software or hardware problem??
thanks Mattia
EDIT: I have the original rom, with the update 1, and i've not unlock bootloader.
Did you recently put a screen protector on your phone?
How did you solve it?
i hadn't solved it, i have that problem.. and i have never put any screen protector.
Try hard-resetting the phone. It may work if its any software glitch.
i've already tryed hard reset too, for 2 or 3 times...
i have done a test with an app called "sensor test" and i have found that the sensor start with 1 status and then covering the sensor, it change to 0, but when I discover it, the status stay on 0.
if i restart the app, bit status come back to 1. it had problem returning to 1 value automatically when i discover the sensor... always using it in a dark ambient.
otherwise if i test it under a light it work great!
masca88 said:
i've already tryed hard reset too, for 2 or 3 times...
i have done a test with an app called "sensor test" and i have found that the sensor start with 1 status and then covering the sensor, it change to 0, but when I discover it, the status stay on 0.
if i restart the app, bit status come back to 1. it had problem returning to 1 value automatically when i discover the sensor... always using it in a dark ambient.
otherwise if i test it under a light it work great!
Click to expand...
Click to collapse
Looks like your phone is busted.
Is it a huge deal to you? If so, call up HTC and send it back.
http://www.htc.com/www/support/nexusone/
If not, replace it in 364 days for a brand new one

[Q] Proximity sensor funkiness?

This has been happening pre and post Nodo on my focus. If i'm on a phone call for at least a few minutes, then pull the phone away from my head, the phone's display should become active, but it isn't.
Anyone else having this issue or is it time to exchange the phone?
I have the same issue also it seems like I have to press the power button a couple of times to get it back.
Sent from my SGH-i917 using XDA Windows Phone 7 App
I'm also having this issue. Anyone remember if ther were having it pre-Nodo? Just wondering if the update changed something.
Regardless, it's a bit of a PITA.
I experienced this after having to replace a cracked screen. I just recalibrated the proximity sensor with my finger about an inch away and it worked fine.
ArcWhistler said:
I experienced this after having to replace a cracked screen. I just recalibrated the proximity sensor with my finger about an inch away and it worked fine.
Click to expand...
Click to collapse
How did you do that?
Yeah, ditto that - how do recalibrate the sensor?
Samsung Diagnostic App.
http://forum.xda-developers.com/showthread.php?t=839154
I was pecking around the screens months ago, and there was one bank of tests (multi-touch, red, green, blue, white, battery, etc, etc) that allowed setting and viewing the proximity sensor.
I remember playing with moving my hand closer, and further and watching it change from sensed to clear.
Sorry, can't remember which codes now.
I used the Wiki:
http://forum.xda-developers.com/wiki/index.php?title=Samsung_Focus
LCD Test - *#0*#
Ok, mine says No Detection. Is there anyway to set the value?
One other thing to note, about the samsung focus specific update regarding disabling the touch sensitive buttons while in a program, that also isn't working for me either. Not sure if they are related, but thought I'd throw it out there.
And as far as calibrating goes, not sure it would help since the problem only occurs while I'm on a longer phone call. On short ones the proximity sensor works just fine.
If you move your finger closer to the sensor, it should eventually change to Detected. The "set" button at the bottom should set the proximity sensor to the new distance. Mine is around 75.
ArcWhistler said:
If you move your finger closer to the sensor, it should eventually change to Detected. The "set" button at the bottom should set the proximity sensor to the new distance. Mine is around 75.
Click to expand...
Click to collapse
Mine says No Dectection. It has Prox Sensor: XXX I've taken my entire hand and covered my phone. NOTHING. When I push SET, It says ProxThreshold :0. Is there anyway to set it manually?
samsung focus post nodo
I believe the prox sensor issue is happening post nodo, I have never had this problem prior to the update... I have been able to fix it temporarily by pulling the battery and starting it up... don't know how long the fix works... got to do some testing... I am wondering if its a power thing as the screen wouldnt work when you plugged it in to power and had on a soft surface....
Still nothing. I didn't want to hard reset since I have Chevron installed. For some reason I did four updates on my phone and don't have a single backup. If I hard reset I'm S.O.L. with Twin Blades and other homebrew apps
What value does it show when you press the Reg button?
I've had issues with my earring tapping the screen while I talk and I had it fixed before NoDo, but the values reset when it was installed, they also appear to be different values now as my screen got supper finicky after the update. I was constantly hanging up or scrolling through multiple pages of stuff with my ear and you could see the screen turning on and off. I ran the proximity calibration while holding my hand in front and set to it to 1.
If it shows xx have you tried setting the value with nothing in front of the phone to see if it will at least zero out?
BooR4dley said:
What value does it show when you press the Reg button?
I've had issues with my earring tapping the screen while I talk and I had it fixed before NoDo, but the values reset when it was installed, they also appear to be different values now as my screen got supper finicky after the update. I was constantly hanging up or scrolling through multiple pages of stuff with my ear and you could see the screen turning on and off. I ran the proximity calibration while holding my hand in front and set to it to 1.
If it shows xx have you tried setting the value with nothing in front of the phone to see if it will at least zero out?
Click to expand...
Click to collapse
It has a big red box. It says No Detection. Prox Sensor:XXX Do I press Set or Reg?
another thing is wrong
seems like my light sensor is fried as well... I am starting to wonder if it's because of bad placement of the usb port... both lay right in front of the port, can't imagine pluging in and unpluging the phone would help if the sensors are right in front. I can't get either sensors to work anymore, even with a battery pull... does anyone else have this issue? goto the diagnosis menu and type
*#05#
you should be able to run through all the tests, I skip the feedback loop... Start at 1 and work your way through.
My Prox sensor says, no sensor XXX, and my light sensor is stuck with a value and will not change even when I cover the sensor... looks like a warranty replacement... how does this work with a sd card installed, the official WP7 ATT certified 8GB? Anyone else have to do this?
rockclimbaudiextreme said:
seems like my light sensor is fried as well... I am starting to wonder if it's because of bad placement of the usb port... both lay right in front of the port, can't imagine pluging in and unpluging the phone would help if the sensors are right in front. I can't get either sensors to work anymore, even with a battery pull... does anyone else have this issue? goto the diagnosis menu and type
*#05#
you should be able to run through all the tests, I skip the feedback loop... Start at 1 and work your way through.
My Prox sensor says, no sensor XXX, and my light sensor is stuck with a value and will not change even when I cover the sensor... looks like a warranty replacement... how does this work with a sd card installed, the official WP7 ATT certified 8GB? Anyone else have to do this?
Click to expand...
Click to collapse
same problem here. seems like those two sensors are burned

Proximity sensor problem! [SOLVED!]

Hi everyone, welcome to the next thread of mine where I would like to share with you an interesting case of a'faulty' proximity sensor. The issue with the sensor started a few weeks ago (I own my defy for a few months) and the problem I had with it was that sometimes during I was making a call the screen was not being turned off, and more whats more annoying - the screen was never turned on again after finishing the call.
I do not have a screen protector and the screen glass is original.
I downloaded an application that showed the state of the sensor and after a many examinations i found out that many times the sensor does not distinguish between the states of being covered and uncovered.
I tried everything - factory reset, clean installations, different ROMs - nothing helped. The only thing that helped a little was a tweak availale in the CM7 ROM by Quarx (not available in the STABLE CM7 though!) in the screen settings menu -which forced the screen to be turned on after finihing a call, and I could also set the power button to end a call in the accessibility options. So this helped but did not solve my problem.
Fortunately, after many questions asked on so many threads, the user monecafe PMed me with a link to a video where its clrealy shown what is the problem and how easy it is to fix it!
without sayng more - here is the solution for anybody experiencing this issue:
http://youtu.be/uMk1S90MjbY
I hope this helps !
& a BIG THANK YOU to monecafe who sent me this video
this is great, very simple solution but...
how will that affect the water resistant feature of our defys?
try turning off auto-brightness
posting to say... try turning off auto-brightness (worked for me)
I used to have this problem. Stable CM7.2 solves this issue for me. I used to get the screen to turn on before by just rubbing the area with the proximity sensor with my thumb as if it was dirty.
i still have this problem. , after the Waterproof failed with my phone ( i dont leave it in water, i just wash it !! the proximity sensor failed too when i make a call screen is black cant see anything..so my question is if i change the screen touch proximity sensor work?? or its on the board ? where is the proximity sensor place?..how can i solve this problem by myself.
i saw the video but not solve the problem..
i back to stock ROM _there_ if i press power button the screen back but in coustoms ROMs the screen off not back till remove the battery!! any software make screen on at call and disible the proximity sensor ?
thank you inadvance
dlshad said:
...if i change the screen touch proximity sensor work?? or its on the board ? where is the proximity sensor place?
Click to expand...
Click to collapse
No, it's on the board.
Auris 1.6 vvt-i said:
No, it's on the board.
Click to expand...
Click to collapse
THANK YOU PROBLEM SOLVED ITS WAS ABOUT A SMALL PLASTIC IT WAS OFFICER OF WORK PROXIMITY SENSOR A SMALL PLASTIC!! THANK YOU ALL THIS VIEDO HELPED ME TOO AT TIME 2:50
http://www.youtube.com/watch?feature=endscreen&NR=1&v=5eiFQ39Ypmc
CAN I GET THE TECHNICAL GUIDE(MAP) OF BOARD?
I also have problems with proximity sensor. With pressure on the screen where the sensor is located it is working again.
So I can believe that changing the screw pressure might solve the problem. But what is the initial reason for this? It is not a pressure sensor!
Hello All, I've been using the proximity sensor app on my DHD for quite some time now... LOVE IT ! However, now when I open the app & tap on Start & cover the proximity sensor on the phone, there is NO RESPONSE... Meaning the msg stays FAR... It DOES NOT change to NEAR.... Can anyone help me out ? CHEERS !
Proximity sensor Star N8000
asimriz said:
Hello All, I've been using the proximity sensor app on my DHD for quite some time now... LOVE IT ! However, now when I open the app & tap on Start & cover the proximity sensor on the phone, there is NO RESPONSE... Meaning the msg stays FAR... It DOES NOT change to NEAR.... Can anyone help me out ? CHEERS !
Click to expand...
Click to collapse
Hello all,
My 1st post. Pls i dont want any lectures on chinese clones, thats what some of us can afford! i Just got a Star N8000 which is a clone of a Samsung Note. I LOVE the phone. The only problem is that when make a call lets say to check voicemail, the screen goes black, the proximity sensor flashes continuosly (small red flashes) & nothing i do brings the screen back unless the call ends from the other side or i take out the battery. I dont want to root my phone just yet. It uses a tmd2771 proximity sensor. HELP! anybody
Solution??
Davyin04 said:
Hello all,
My 1st post. Pls i dont want any lectures on chinese clones, thats what some of us can afford! i Just got a Star N8000 which is a clone of a Samsung Note. I LOVE the phone. The only problem is that when make a call lets say to check voicemail, the screen goes black, the proximity sensor flashes continuosly (small red flashes) & nothing i do brings the screen back unless the call ends from the other side or i take out the battery. I dont want to root my phone just yet. It uses a tmd2771 proximity sensor. HELP! anybody
Click to expand...
Click to collapse
Found a possible Solution suggested by a supplier on Amazon;Switch off the phone - Hold power button & volume down button
simultaneously to bootinto factory testmode - use volume swith toscroll thru to 'test report' - select with the home key - scroll down to 'PS calibration' - select it then scroll to 'do calibration' let it do the calibration till it gives OK.Go back to 1st menu & reboot.
Was only partially successful forme, it may work for you.
Davyin04 said:
Found a possible Solution suggested by a supplier on Amazon;Switch off the phone - Hold power button & volume down button
simultaneously to bootinto factory testmode - use volume swith toscroll thru to 'test report' - select with the home key - scroll down to 'PS calibration' - select it then scroll to 'do calibration' let it do the calibration till it gives OK.Go back to 1st menu & reboot.
Was only partially successful forme, it may work for you.
Click to expand...
Click to collapse
I have the same problem with proximity sensor tmd2771 my phone is htc one x clone (E1911)
i make the calibration but its still have the problem it saws me the sensor goes up and then goes down from itself and at the calls the screen goes black and opens again from itself is there a solution for that???
Davyin04 said:
Found a possible Solution suggested by a supplier on Amazon;Switch off the phone - Hold power button & volume down button
simultaneously to bootinto factory testmode - use volume swith toscroll thru to 'test report' - select with the home key - scroll down to 'PS calibration' - select it then scroll to 'do calibration' let it do the calibration till it gives OK.Go back to 1st menu & reboot.
Was only partially successful forme, it may work for you.
Click to expand...
Click to collapse
Is this applicable for Motorola Defy or for the Chinese clone?
I tried this on my Defy running JB 4.1.2. I cannot get into the "factory testmode" even after pressing the VOL down key at boot up.
I just get a screen with an exclamation and the android bot.
Nothing happens after that.
BTW: What size of screw driver should I use to perform the trick in the video posted by the OP.
Not applicable to original defy
Sent from my MB526 using xda premium
Holy sh't it worked <333333333333
I cannot believe. IT WORKS. Its bugging me from the start..
your_login
thank you for the useful posting
queBurro said:
posting to say... try turning off auto-brightness (worked for me)
Click to expand...
Click to collapse
Yes finally this seems to be working for me too. Thanks
Thank you for so excelent video. I have same problem but just for sometimes. I will check will this help.
Can anybody post this video on dailymotion or any other video hosting site as youtube is blocked in my country. I really would appreciate that as I am having problem with my Desire HD's proximity sensor.

[Q] Omnia 7 Black call screen problem

I have an Omnia 7 and my problem is that when I make/receive and calls, the screen goes black and stops me from pressing anything (meaning I cannot end calls). I have to take the battery out to try and reset it. This is beacuse of the proximity sensor settings and in the past I have used the field testing tools (*#9908# in diagnosis) to adjust the proximity sensor and set it to 20 or 30 which did the job. However I need to do this again as I had reseted the phone. Now when I go into field testing, the set option isn't there. Is there any way to adjust the proximity sensor?
Can anyone offer any help? I have diagnosis ver.0628 which allowed me to adjust the proximity sensor before.
mebula999 said:
Can anyone offer any help? I have diagnosis ver.0628 which allowed me to adjust the proximity sensor before.
Click to expand...
Click to collapse
i have the latest t-mobile MANGO ROM it has the same diagnosis app ver.0628. which ROM you have now? normaly you can load a new diagnosi app over phone dailer and ##634#? + dail
if not you will flash your device new ...........
here my nice guide
[GUIDE] Unlock/InternetSharing/Backup your OMNIA 7
The reason why i get the black screen problem is that the corner of the screen with the proximity sensor is a little loose (because i repaired the screen). As a result the default value is 14. What I managed to do is find an old nodo backup I had made annd flashed that. I was then able to install and older version of diagnosis which allowed me to set the proximity sensor value. Then I reupdated to Mango. So the problem is fixed for now but for future formats, is there any way to extract the diagnosis app?
http://forum.xda-developers.com/attachment.php?attachmentid=783826&d=1321392331
here a older diagnosis.xap - you need a unlocked phone to deploy this xap. good luck
i have same problem too.
i have try this older version of diagnosis. but i don't know which code is going promixty set menu. if *#9902# its going gprs setting menu.
more older diagnosis xap. ? or any new code for set promixty sensor

Proximity sensor not working

Hi.
I have problem with proximity sensor. While making a phone call, display is always on.
I tried to enable it in settings. Turned it on, rebooted my phone and nothing happened.
Also tried *#*#6484#*#* solution, and when I open proximity sensor, there are 'test' and 'error' buttons on the screen and I can't click anything.
Does anyone know how to fix this?
In the engineering menu * # * # 6484 # * # * we find 27 - Proximity sensor
When approaching the palm to the front camera should show "0".
I always showed "5", did not want to be calibrated.
I pressed Error, went out and went to the engineering menu, a miracle happened - it was calibrated.
stanley56 said:
In the engineering menu * # * # 6484 # * # * we find 27 - Proximity sensor
When approaching the palm to the front camera should show "0".
I always showed "5", did not want to be calibrated.
I pressed Error, went out and went to the engineering menu, a miracle happened - it was calibrated.
Click to expand...
Click to collapse
No, nothing happened. As usuall, screen is always on.
Yes, proximity sensor in settings was on and I have rebooted the phone.
I really don't know what to do. Is it because of bug in Global Rom or is it hardware malfunction?
Fortis10 said:
No, nothing happened. As usuall, screen is always on.
Yes, proximity sensor in settings was on and I have rebooted the phone.
I really don't know what to do. Is it because of bug in Global Rom or is it hardware malfunction?
Click to expand...
Click to collapse
Hold your phone with your left hand. The placement sensor gets blocked by your right ear when you make calls using your right hand. Give it a go and get back to us.
DelphinusMinor said:
Hold your phone with your left hand. The placement sensor gets blocked by your right ear when you make calls using your right hand. Give it a go and get back to us.
Click to expand...
Click to collapse
Ok, non-related to left and right hand.. Now my phone gets black screen all the time during calls. I can't put it on speaker or do anything while talking with someone. I really don't know what's happening...
Fortis10 said:
Ok, non-related to left and right hand.. Now my phone gets black screen all the time during calls. I can't put it on speaker or do anything while talking with someone. I really don't know what's happening...
Click to expand...
Click to collapse
I can't help there but left/right holding is an issue I guess with this phone. Or maybe it's the Pro. I forget offhand.
Fortis10 said:
Ok, non-related to left and right hand.. Now my phone gets black screen all the time during calls. I can't put it on speaker or do anything while talking with someone. I really don't know what's happening...
Click to expand...
Click to collapse
Obviously the proximity sensor is at fault. Enter the menu using the code mentioned above, then press the menu/options button and select Calibrate proximity sensor. Once you're there, hold your hand over the proximity sensor (to the right of the front camera) and tap the Calibrate button. That's one thing that could fix it.
Failing that, go to incoming call settings and turn off the proximity sensor (turn off screen in call). Restart your phone, go to the same toggle and turn it on.
If neither of these works, you likely have a faulty piece of hardware. Your last option is to have the phone repaired or try a different kernel/ROM.
Fortis10 said:
Hi.
I have problem with proximity sensor. While making a phone call, display is always on.
I tried to enable it in settings. Turned it on, rebooted my phone and nothing happened.
Also tried *#*#6484#*#* solution, and when I open proximity sensor, there are 'test' and 'error' buttons on the screen and I can't click anything.
Does anyone know how to fix this?
Click to expand...
Click to collapse
Hi , are you on miui global stock rom? Or custom rom?
I just had the same issue , but in my case , I recently opened the bootloader and installed xiaomi.eu rom, everything was working fine. I got notification of update ,I downloaded the update , but flash it thru TWRP , and then with the new update, the proximity was not working at all. Flash again the new rom, but wiping everything , and now works.
jonathan_jon said:
Hi , are you on miui global stock rom? Or custom rom?
I just had the same issue , but in my case , I recently opened the bootloader and installed xiaomi.eu rom, everything was working fine. I got notification of update ,I downloaded the update , but flash it thru TWRP , and then with the new update, the proximity was not working at all. Flash again the new rom, but wiping everything , and now works.
Click to expand...
Click to collapse
Is the EU rom that better?
I mean is there any plane to compare the known issues between the global and EU ?
I'm using the miui global 10.3.3.0 PFGEUXM and definitely have some "issues" with the proximity sensor.
I'm still trying to tie down the exact nature of the problem:
With a quick test, or doing calibration, it seems to work exactly as I would expect; the screen switches off as you approach closer than about 2 inches.
However during a long call I notice the display start to flash "on" frequently in the corner of my eye and soft keys can get inadvertently pressed.
It kinda feels like it gets worse during the call, is it time or perhaps the phone warming up in my hand? Not sure.
hi @All!
is there still no permanent solution for fixing proximity bug?
its really annoying and making me crazy....
even after making it working again using quicktune app - doing one call it is broken again
fasty said:
I'm using the miui global 10.3.3.0 PFGEUXM and definitely have some "issues" with the proximity sensor.
I'm still trying to tie down the exact nature of the problem:
With a quick test, or doing calibration, it seems to work exactly as I would expect; the screen switches off as you approach closer than about 2 inches.
However during a long call I notice the display start to flash "on" frequently in the corner of my eye and soft keys can get inadvertently pressed.
It kinda feels like it gets worse during the call, is it time or perhaps the phone warming up in my hand? Not sure.
Click to expand...
Click to collapse
Exactly what i've experienced.
Super annoying when you accidentally hang up during a call.
It happend countless times so far.
I'm on eu beta btw.
Wish there would be a solution.. . But afaik proximity is even more bugged in non miui custom roms.
I had this problem to. my proximity sensor what not responding at all. I thought it was defective because the calibration was not working to.
Then i went to the system update settings, downloaded the latest package and flashed it. After reflashing it started working with no problem at all.
Factory reset did the trick for me. Working normally now.
Install Quick Tuneup. Then do Sensor Celebration & Restart your device twice.
Two solutions
Fortis10 said:
Hi.
I have problem with proximity sensor. While making a phone call, display is always on.
I tried to enable it in settings. Turned it on, rebooted my phone and nothing happened.
Also tried *#*#6484#*#* solution, and when I open proximity sensor, there are 'test' and 'error' buttons on the screen and I can't click anything.
Does anyone know how to fix this?
Click to expand...
Click to collapse
It turns out that the problem is because MIUI does not activate the proximity sensor when the smartphone is turning on.
To force MIUI to ALWAYS activate the sensor at each start, we can do two things:
1- Always have "Automatic brightness" activated
2- Activate the "Pocket mode" (the best choice)
After applying one of these situations, it is necessary to restart the phone.
Only by activating the pocket mode it is no longer necessary to have automatic brightness activated all the time.
In the video I show how to activate the "pocket mode"
w w w . youtube.com/watch?v=2dfrqmH02O8
I published this solution in a forum in my country (Colombia).
w w w . laneros.com/temas/soluci%C3%B3n-sensor-de-proximidad-xiaomi.239997
I don't speak English, I had to use the google translator, sorry for any translation error.
2- Activate the "Pocket mode" (the best choice)
After applying one of these situations said:
KMILO_PARRA is a KING .........................
above is proof to SOLVE the Proximity Sensor no reaction in my Redmi Note 7.
I was having lots of TASKER Profile depending on whether or not Proximity Sensor is covered.
I found all those Profiles no more function due to the issue after I believe OTA to Global rom the latest ( August-2019 )
Thanks again to KMILO_PARRA
Click to expand...
Click to collapse
Actually, the proximity sensor for Redmi Note 7 isn't in the "usual" top-center position, it's a little bit on the top-right edge (if you watch the phone "against the light" you can actually see a small dot on that side).
If you're calling\responding try to put your ear at that angle, you'll never have those problem anymore.
I know it seems crazy, and of course the first times could be "unusual" to put the ear there, but it actually worked out flawlessly for me.
Mr
Quaresma_7 said:
Obviously the proximity sensor is at fault. Enter the menu using the code mentioned above, then press the menu/options button and select Calibrate proximity sensor. Once you're there, hold your hand over the proximity sensor (to the right of the front camera) and tap the Calibrate button. That's one thing that could fix it.
Failing that, go to incoming call settings and turn off the proximity sensor (turn off screen in call). Restart your phone, go to the same toggle and turn it on.
If neither of these works, you likely have a faulty piece of hardware. Your last option is to have the phone repaired or try a different kernel/ROM.
Click to expand...
Click to collapse
Thanks.....
It works for me
Hi guys,
I have made a little workaround, using the suggestion of @KMILO_PARRA user. (pocket)
https://taskerprofilecenter.blogspot.com/2019/09/project-proximity-sensor-workaround-for.html
This is mainly for Tasker users, but I have generated an APK to be installed too. So any user can use it. But what is needed, by now, is root, as it needs to write to Settings table.
Please, report me back if it does the job or not.
Note1: For those users that don't know how Tasker works, just install the app, and give it root permissions, and allow Write System Settings permission (Android option). I recommend you to not set it as an app to be killed from the OS using the battery optimization, as it could be killed. It acts on every shutdown and device boot.
Note2: It will generate two permanent notifications: Place holder, and the one that is the mini-Tasker code monitor (required). Just, disable the Place holder one, as described in the same notification (click on it), and disable notifications completely for the installed app to get rid of the last one.
---------- Post added at 12:44 AM ---------- Previous post was at 12:31 AM ----------
What it does exactly?
Well, as I explained on my web, it just changes the value (0/1) from the 'enable_screen_on_proximity_sensor' Global Settings table, that makes the pocket option to be toggleable in an automated way.
So, be sure not to use that option as a daily one, as the project/app uses it to allow the sensor be available at startup. And do not forget that you will need root too! Sorry.
What to download if I don't know what Tasker is?
You will only have to download the APK from the 'Kid App (APK)' link, provided under the 'DOWNLOAD' section. Nothing else.
If you know Tasker, you will know what to do.
Does it work really?
I'm currently testing this workaround, but as I could see, at least on my device (lavender too), seems to be working as expected. But needs to be tested a little more.
So, if it does not what it's intented for, please, report it me back.
After installing the app, giving root permissions, and allow it to modify system settings, reboot the device to take it effect.

Categories

Resources