[Q] Proximity Sensor Issues- Samsung Focus - Focus General

Hello all.
I have a Samsung focus with an "always on" proximity sensor. So the phone does not light up after it has moved away from ones face during a phone call, making it impossible to use after any call without a restart.
I have tried the following solutions.
1- Soft Reset by pulling the battery and waiting
2- Hard reset using numeric codes provided in the ref threads
3- Using the diagnostic menu.
With regards to the third one. The proximity sensor menu shows that the sensor is always "on" no matter where the phone is. But there is no "set" or "reg' button that I can find with which to recalibrate it, the only option is "exit"
It is quite possible that I am missing a feature or function or I need a new solution. If anyone has any insight that would be really helpful.
Thank you in advance.

Same
I have exactly the same problem. Did you solve it ?

You will need to give a little more information. What os version are you running and what diagnostic app are you running. I think the most up to date diagnostic app is ver(.0103).
1. uninstall your diagnostic app
2. install the diagnostic app again to get latest app ##634#
3. open the diagnostic app and type *#0*#
4. tap the proximity sensor button and see if you see set reg and exit soft keys

Issue with proximity sensor in Samsung focus sgh i917
I have the same problem. My LED screen broke recently and replaced it.
It looks like after the screen replacement, the phone's proximity sensor is always in detected mode [in the diag]. So when ever a phone is made or answered the LED screen goes blank disabling all functionality till the other person disconnects.
I ran the diag but it doesn't give me an option to calibrate the sensor. I tried to install the latest diag tool too but same results. There is only one button, "EXIT".
The diagnostic app version is .0628
OS version is 7.10.7720.68
Please help.

Related

WP7 Omnia 7 Accelerometer Possible Fix

This is for Samsung Omnia 7 if you have used the Diag app/code to mess about with the settings. I had screwed my rotation by changing some settings. Tried a reset via code but that didn't work. In the end I used code *#2580# to enter integrity control and ensured it was at '1' (on), then use code *#0*# to enter LCD test, lay the phone flat and press the 'CAL' button. It returned 'true' and now my accelerometer works again.
Hope this is actually a fix and it helps someone out. I have noticed a few people lost the rotation on their Omnia 7's. This will probably work for Samsung Focus too. If this does fix your problem let us all know so this can help others too.
Yep - that CAL is calibrate, I imagine. You can also do it with the "Level" application from Microsoft (spirit level thing) if you don't fancy the diag codes.
Diagnostics / Accelerometer (+ fix)
Yes, if you play around in the diagnostics - BE CAREFUL!
To enter diagnostics on your Samsung (confirmed for Omnia 7) enter ##634# and press "call"
Then type the following for the following services:
*#0*# Various diagnostic settings incl accelerometer, compass, screen colour
*#2*# Detailed battery info (incl. charge to nearest 1%)
*#3*# Screen brightness
Be carefull if you choose to calebrate the accelerometer as it will muck up your auto rotation if the phone is incorrectly positioned.
To reset the rotation do the following:
- Ensure the yellow flowers picture is upright (aligned with the flowers towards the top of the phone)
- Lay the phone down on a true horizontal flat surface (XYZ values do not matter for this) ensuring the flowers remain upright
- Touch the "Cal" button. If you get "True Return" you have reset. If "false", try again in slightly different positions until it works.
wt7881 said:
Yes, if you play around in the diagnostics - BE CAREFUL!
To enter diagnostics on your Samsung (confirmed for Omnia 7) enter ##634# and press "call"
Then type the following for the following services:
*#0*# Various diagnostic settings incl accelerometer, compass, screen colour
*#2*# Detailed battery info (incl. charge to nearest 1%)
*#3*# Screen brightness
Be carefull if you choose to calebrate the accelerometer as it will muck up your auto rotation if the phone is incorrectly positioned.
To reset the rotation do the following:
- Ensure the yellow flowers picture is upright (aligned with the flowers towards the top of the phone)
- Lay the phone down on a true horizontal flat surface (XYZ values do not matter for this) ensuring the flowers remain upright
- Touch the "Cal" button. If you get "True Return" you have reset. If "false", try again in slightly different positions until it works.
Click to expand...
Click to collapse
Thank you !
I am currently experience another issue since I launched that app.
The start button doesn't turn on the display anymore,
maybe I'm getting crazy but I think holding that button was indeed turning the display on.
Actually I did miss my calibration but thanks to your help, I fixed,
do you think the Start button issue could be related to that tool as well ?
Thank you
Would this solve the slow auto rotation of the UI?
I had the HD7 and the auto rotation on the Omnia seems to damn slower and less responive than it was on the HD7
aybe0 said:
Thank you !
I am currently experience another issue since I launched that app.
The start button doesn't turn on the display anymore,
maybe I'm getting crazy but I think holding that button was indeed turning the display on.
Actually I did miss my calibration but thanks to your help, I fixed,
do you think the Start button issue could be related to that tool as well ?
Thank you
Click to expand...
Click to collapse
I have the exact same problem for a few days now, don't remember what could have been the setting for it.
Start button doesn't turn on the display anymore. I want that back! How can I get the start button to default?
Thx.
I have just reset my phone to factory defaults : Parameters, About, Reset ...
Notice that resetting will erase everything, I've lost my IE favorites by the way ...
Everything is back, Start button as well ...
In fact I did play too much with the settings, it was turning the screen off
as soon as I was making a call, the only way to turn it back on was the called one to end the call ...
Tried to fix (lol) proximity and lights settings but nothing ...
I think I'll just leave the Diagnostics app. for now, too dangerous
there seems to be an option to do that as well from the app.
But will it erase your data ? I don't know ...
aybe0 said:
I have just reset my phone to factory defaults : Parameters, About, Reset ...
Notice that resetting will erase everything, I've lost my IE favorites by the way ...
Everything is back, Start button as well ...
In fact I did play too much with the settings, it was turning the screen off
as soon as I was making a call, the only way to turn it back on was the called one to end the call ...
Tried to fix (lol) proximity and lights settings but nothing ...
I think I'll just leave the Diagnostics app. for now, too dangerous
there seems to be an option to do that as well from the app.
But will it erase your data ? I don't know ...
Click to expand...
Click to collapse
My proximity sensor went crazy too. The fix is to go to diagnostics mode (google for it) and register a bit larger proximity value as a default. I used my hand to block the sensor. On my phone the absolute minimum seemed to be 3, which made the phone unusable. Something in the range of 10-20 seemed to be the most useful compromise. You may need to experiment a bit to get a suitable value. This way you don't have to reset the entire phone.
I still wonder what the default proximity value is... if anyone knows, please reply.
I have Samsung Focus 1.3 Mango 7720, but i don't see "cal" in the settings of the Proximity?
can you help?
Thanks

Proximity and light sensor issues

For the last 2 or 3 months I've noticed my proximity and light sensor don't work on my Focus 1.3.
The screen doesn't turn off while on a call and the camera button can wake the phone with the screen turned off.
I've also seen that the screen doesn't auto dim any longer when in a dark room.
I held off on doing the warranty swap with ATT because I thought Mango might fix it but I haven't had any luck.
Do you have any suggestions?
When you mean the camera button wakes the phone up, does it launch the camera app, or is it like the power button is pressed (when the screen is off)?
Archange1 said:
When you mean the camera button wakes the phone up, does it launch the camera app, or is it like the power button is pressed (when the screen is off)?
Click to expand...
Click to collapse
That I have seen was a setting I had in the camera settings but the rest I've seen still stands.
Diagnosis app
So basically you need to recalibrate your proximity and light sensors with the diagnosis app. Please read the sticky thread for diagnostic codes. This issues has been discussed. Off the top of my head I can't remember the codes how to do it. I would search the forum for proximity sensor and light sensor recalibration.
Update-
1. If you don't have the diagnosis app you need to type ##634# in your dial pad
2. type *#0*# - diagnosis app not the dial pad
3. Recalibrate the Light and the proximity, then restart your phone. Should be fixed.
As for holding the camera button and the screen lights up. That is an advantage/shortcut to get to picture mode. That setting can be disabled if you go
1. Windows home live tile screen
2. settings
3. Swipe over to applications
4. pictures + camera
5. disable press and hold camera to wake up the phone or enable prevent accidental camera lauch when phone is locked
siralex241 said:
So basically you need to recalibrate your proximity and light sensors with the diagnosis app. Please read the sticky thread for diagnostic codes. This issues has been discussed. Off the top of my head I can't remember the codes how to do it. I would search the forum for proximity sensor and light sensor recalibration.
Update-
1. If you don't have the diagnosis app you need to type ##634# in your dial pad
2. type *#0*# - diagnosis app not the dial pad
3. Recalibrate the Light and the proximity, then restart your phone. Should be fixed.
As for holding the camera button and the screen lights up. That is an advantage/shortcut to get to picture mode. That setting can be disabled if you go
1. Windows home live tile screen
2. settings
3. Swipe over to applications
4. pictures + camera
5. disable press and hold camera to wake up the phone or enable prevent accidental camera lauch when phone is locked
Click to expand...
Click to collapse
So this should work for both?!
This makes me very happy! I'll report back soon.
Huh when I get into the Proximity recal it only shows XXX (No Detection) and never changes anything.
Am I doing it wrong?
EDIT: The value reported for light is staying at 0000 too.
http://forum.xda-developers.com/showthread.php?t=1045167&highlight=proximity
Is hinting that I have a busted set of sensors and will need to warranty it.
play with the set and reg button. Also, restart the phone to see if it will work. Not to insult your intelligence but you know where the proximity and light sensor are right? Hold your finger in front of it on it moving it further and closer. If none of these work you might have defective sensors. I like to try everything a couple of time before I take it in for warranty.
I do know where the sensor is, right next to the earpiece.
I've restarted the device and tried the sensors again but no luck.
When I try to set the light value at something I get some error about "Light_SetCalValue : DeviceloControl failed" and for the proximity test the screen always stays red even if I cover the whole phone with my hand.
I'm in the same boat. I've been debating on just rolling all the way back to stock and starting all over. Of course if it is a hardware issue I'm just going to be wasting time. Then again it probably would be best to roll back before sending it in on a warranty issue...
My other concern is if they do cover it what am I going to get back? Don't really want to be stuck on a Rev 1.4 focus as that STILL seems to be causing issues.
I hear ya tanders04, it would stink to get a 1.4 back.
Also, thank you siralex241 for the help.

[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

Omnia 7: cannot calibrate accelerometer in diagonosis mode (ver. 628)

Hello everyone,
I have searched far an nigh - - , but it seems my question has only been addressed once and there the answer had to do with unlocking or rooting the phone. I don't want do that just yet. I can still send it in for repair, so I'd rather try to exhaust the available legal options first.
So, here goes my problem: Autorotation doesn't work properly. It hardly switches to landscape mode and cannot be bothered to return to portrait mode, if I don't close and reopen the app. The level and the accelerometer app confirm this problem. I'm on a T-Mobile (in German, that's Telekom) branded Omnia 7 running 7.10.8773. It seems the accelerometer is off or broken and there is no way to calibrate it. In the level app, when putting the phone flat on its back the white dot indicating the position is in the bottom right. I'd have to pick it up and hold it in front of me in a tilted position to center the white dot. Calibrating it within the app is only possible in said tilted position and in diagnosis mode, there is no "cal" button, only an exit button. The accelerometer app allows for calibration with the phone flat on the table; however, the calibration is not applied to the phone's sensor or the app: when I close it and then reopen it, the calibration is gone. - What can I do about this? I.e. can I do anything about this? I'd like to avoid an RMA.
Please help!
Thanks in advance,
Thomas

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