[Q] Broken proximity sensor - Galaxy S II Q&A, Help & Troubleshooting

Hey guys.
i'm having some issues with my proximity sensor..
its working fine but. somthing inside the device is blocking it.
i think its a mix between some dust and the fact that my screen is a bit loose and far from the sensor.. when i press with my finger on the top of the screen i move something and the sensor reacts.
i tried sevreal apps but nothing could just shut it off completly..
i also found a flashable zip that should shut it off but it didn't went well with my rom..
any other sugesstions will be great..
i'm now using the latest crDroid [cm10.2] for the s2 with the provided kernel:
http://forum.xda-developers.com/showthread.php?t=2435024
tnx for helping:good:

anyone?
kind of desperate..:crying:

drszp said:
anyone?
kind of desperate..:crying:
Click to expand...
Click to collapse
It's quite easy to take apart the phone and clean the part, try that
Inviato dal mio GT-I9100 con Tapatalk

Solution
Heres what I did after trying all the suggestions and still no avail.
Had to disable the proximity sensor altogether.
Root Required. Download Hardware Disabler from Google Play store. Once you installed the app, it scans your root directory. Select your proximity sensor hardware. IT WILL SHOW AS cm3663 IN THE LIST. Manufacturer capella. Tick the box next to cm3663. Reboot your phone.
Your good to go!! :good:

codin said:
Heres what I did after trying all the suggestions and still no avail.
Had to disable the proximity sensor altogether.
Root Required. Download Hardware Disabler from Google Play store. Once you installed the app, it scans your root directory. Select your proximity sensor hardware. IT WILL SHOW AS cm3663 IN THE LIST. Manufacturer capella. Tick the box next to cm3663. Reboot your phone.
Your good to go!! :good:
Click to expand...
Click to collapse
thank you very much! disabled it like you said!
no more black screen during a call :victory::good:

Cheers mate!! Have fun!!

Related

Disable light sensor

Hi guys. Now, when we have root for 2.1, is there any chances for disable light sensor?
hugerth said:
Hi guys. Now, when we have root for 2.1, is there any chances for disable light sensor?
Click to expand...
Click to collapse
Good point. That or ..
Original Eclair dialer would make this phone much better..
Would be great to disable this damn light sensor. I don't understand why can't we disable it to the hell out??
The light sensor seams to be OAM apk, so maybe removing them would disable light sensor... I didn't try yet, so if someone try, let us know if it works.
Where is it?
I did a misstake : it's not OAM but OMA.
And i think to remember that there were 2 OMA apk in system/app folder
i have install "quick settings" and there is an option to turn on/off light sensor
I installed it but I don't manage to find the option
Maze_fr said:
I installed it but I don't manage to find the option
Click to expand...
Click to collapse
click to open the application
click menu button - settings
click on brightness (icon key)
sorry, i have my phone other language and i donĀ“t know the exact words in english
Sure but auto brightness still works no matter how u turn it off. Its a bit annoying.
::SEx8+root+xRecovery+JiT+app2SD::
Yes ! great ! it worked ! thanks.
Doesn't work for me...
Sent from my E15i using Tapatalk
Disable Light Sensor
I made it. now here the instruction:
1- download attach
2 - unpack it
3 - copy to the phone /etc/
4 - chmod 777
5 - reboot the phone
Thats all, you don't see work of this sensor.
Ok, it works at 100%. But... Ekhm... brightness is just crazy now xd I think I prefered old settings ;p. I'll try it tommorow.
Thanks.
Sent from my E15i using Tapatalk
dviktor said:
I made it. now here the instruction:
1- download attach
2 - unpack it
3 - copy to the phone /etc/
4 - chmod 777
5 - reboot the phone
Thats all, you don't see work of this sensor.
Click to expand...
Click to collapse
This doesn't work for me... I have 2.1-update1, latest pre-rooted Chinese firmware...
When I try to run it from adb it says something about /sys/... directory - "directory nonexistent", that it couldn't be created...
It's working now, I did it from xRecovery
Thanks, it's great... and just like hugerth says, brightness is CRAZY!!!
new version of Light Sensor Disable
i made a new version. it's got a normal bright and decrease a power consumption (i hope)
Can you write a small description on those changes, what does what ?
i write it in my post
Hi, all.
Could someone enlighten me a bit, what exactly do the light sensor do, and what would be the advantage (and disadvantage) of turning it off?
Cheers.
The light sensor is what detects ambient light around the phone and automatically adjusts screen brightness to torch your eyes out.

[Q] Is there a fix for a broken proximity sensor in CM 10.1?

Is there a workaround or fix to the proximity sensor issue when using CyanogenMod 10.1? It doesn't matter which dialer I use, my screen goes blank and I can't get it back on to use the keypad or hang up.
Thanks in advance.
Mr.Preacher said:
Is there a workaround or fix to the proximity sensor issue when using CyanogenMod 10.1? It doesn't matter which dialer I use, my screen goes blank and I can't get it back on to use the keypad or hang up.
Thanks in advance.
Click to expand...
Click to collapse
See if enabling wake on volume helps:
Settings > Display > Volume rocker wake
Mr.Preacher said:
Is there a workaround or fix to the proximity sensor issue when using CyanogenMod 10.1? It doesn't matter which dialer I use, my screen goes blank and I can't get it back on to use the keypad or hang up.
Thanks in advance.
Click to expand...
Click to collapse
If you are using a screen protector, there is a known issue regarding placement. If the protector cutout is too close to the sensor, it will interfere with the proper operation of the sensor and blank out the screen too easily.
I ran into a similar issue, turns out the tinting on the screen for the sensors had gotten dirty inside and I had to disassemble my phone and clean the sensor Windows. However if you don't like the idea of disassembling your phone, the HTC rezound proximity calibrator app on Google play might be helpful to you. I would try the app first before doing something more extreme.
retrostudd said:
I ran into a similar issue, turns out the tinting on the screen for the sensors had gotten dirty inside and I had to disassemble my phone and clean the sensor Windows. However if you don't like the idea of disassembling your phone, the HTC rezound proximity calibrator app on Google play might be helpful to you. I would try the app first before doing something more extreme.
Click to expand...
Click to collapse
I don't have a screen protector. This solved it for me. Many thanks.
That said, the settings I'm using are a little weird. I have the Low set to 81, and it doesn't seem to matter what the High is set to (currently 100).
This fix works
retrostudd said:
I ran into a similar issue, turns out the tinting on the screen for the sensors had gotten dirty inside and I had to disassemble my phone and clean the sensor Windows. However if you don't like the idea of disassembling your phone, the HTC rezound proximity calibrator app on Google play might be helpful to you. I would try the app first before doing something more extreme.
Click to expand...
Click to collapse
this totally worked to fixed this same issue I have had. I used to have to go outside on a sunny day for my screen to come on while making a phone call. Once I used this app I was able to get it to come on in a dark room with hardly any light. I may at some point open her up and actually clean the inside of the sensor cover, but for now this worked like a charm.
Thanks for the tip.
One item to note, if you do decide to open your phone and clean the sensor windows, don't clean too aggressively or you will remove the tint from the backside of the glass. Just a tip.
I'm glad you guys have gotten your sensors working again.
I just had this problem today. Previously I never had issues with prox sensor, but just a couple days ago I did a complete wipe (data, cache, dalvik, system and internal SD card) and installed RC1 with a fresh install. The app mentioned above DID fix my issue however I know its a ghetto fix. Before running the app, the proximity sensor would work normally in good light, but not in low light. After running the app it works even in dark light which is great. However, I know its a weird fix. I can actually see the red proximity sensor during calls, when I couldn't previously. I'm glad I got it working, but I know there is something wrong still, and it's definitely ROM related as opposed to hardware because just 2 days earlier it worked fine before the clean install. Hmm..
Sent from my Incredible 4G LTE using xda app-developers app

This is how Proximity Sensor Drains Samsung Galaxy S4 (i9500) Battery Fast !

Check this video ... hope developers will fix this ASAP ...
Note : You need an extra camera to see the Proximity light. Remember, you can't see this with open eyes ! Just like Infrared sensor.
greatricky said:
Check this video ... hope developers will fix this ASAP ...
Note : You need an extra camera to see the Proximity light. Remember, you can't see this with open eyes ! Just like Infrared sensor.
Click to expand...
Click to collapse
sorry but you can't see anything, I cannot read any of those blurred text lines.
the best solution for this is either to stop using it temporarily or switch to aosp4.3/cm10.2. all those sensors that samsung added only drain more battery.
broodplank1337 said:
sorry but you can't see anything, I cannot read any of those blurred text lines.
the best solution for this is either to stop using it temporarily or switch to aosp4.3/cm10.2. all those sensors that samsung added only drain more battery.
Click to expand...
Click to collapse
nevermind, just keep your eyes on the proximity sensor . It doesn't disappear after an incoming phone call !
anyway , how to stop that sensor permanently ?? it turned it off from > settings > call > turn off proximity sensor ! but still the light is visible ... it disappears after phone reboot !
ive noticed this as well
That's probably an air gestures thing.
Sent from my SGH-M919 using Tapatalk 2
elesbb said:
That's probably an air gestures thing.
Sent from my SGH-M919 using Tapatalk 2
Click to expand...
Click to collapse
Hmmm mine is always shutdown i guess....that purple color is new to me (from the vid)
If you display turns off when coming close to the sensor with your hand during a call, the sensor is active, you just can't see.
Some cameras can see the light, some don't. You can check with an it remote control from your TV!
David
have noticed how this is on. i was gonna go through each individual service running by the system and shut it down and see if it turns off. Its gotta be an APK or jar file doing it. Unless the kernel itself is for some weird reason.
elesbb said:
have noticed how this is on. i was gonna go through each individual service running by the system and shut it down and see if it turns off. Its gotta be an APK or jar file doing it. Unless the kernel itself is for some weird reason.
Click to expand...
Click to collapse
I already turned off all sensors and installed several firmwares (omega ,arrow, wanam) and kernels ... but still ... it's so annoying
The proximity sensor requires 0,350mAh power. That's < 1% usage since we have 2600mAh battery I *think*....
greatricky said:
I already turned off all sensors and installed several firmwares (omega ,arrow, wanam) and kernels ... but still ... it's so annoying
Click to expand...
Click to collapse
Do you know if its still there on CM or Google Edition ROMs?
how to turn it off????
nik511 said:
The proximity sensor requires 0,350mAh power. That's < 1% usage since we have 2600mAh battery I *think*....
Click to expand...
Click to collapse
So I guess you mean it takes 0.35mA.
So if you have a runtime of 15 hours, it takes 5.25mAh... really not that much.
David.
davidbaumann said:
So I guess you mean it takes 0.35mA.
So if you have a runtime of 15 hours, it takes 5.25mAh... really not that much.
David.
Click to expand...
Click to collapse
Yeah
omg on all world doesnt exist app which works on rooted phone and can kill proximity and gesture sensor???
The app Elixir say 0,75mah for my Samsung S4, but also 0,75mah for an original battery of 2600mah is few energy, 2600/0,75= 3467 hours.

[Q] Galaxy S4 Proximity Sensor disable

So I'm using the CM11 4.4 Kitkat on my Galaxy S4 and recently found out that my proximity sensor isn't working (when I dial the screen goes black and won't turn on until the call is over). I've read many threads about fixing it but I think it's broken. So all I want now is to disable it but there isn't such option in the Cyanogenmod. Is there anyway to disable it, like with a terminal or something?
bump
bump!
with root explorer go to system/lib/hw and go all the way to the bottom to the last sensors file. its an so file. long press on it and open in text editor. somewhere in the page almost at the bottom you will see where it says ProximitySensor then on one of those line it should say mEnabled. just rename it to mDisabled, then reboot and the proximity sensor is fixed.
qman66 said:
with root explorer go to system/lib/hw and go all the way to the bottom to the last sensors file. its an so file. long press on it and open in text editor. somewhere in the page almost at the bottom you will see where it says ProximitySensor then on one of those line it should say mEnabled. just rename it to mDisabled, then reboot and the proximity sensor is fixed.
Click to expand...
Click to collapse
I know this is an old thread but qman66 you are AWESOME! Was going nuts trying to fix the proximity sensor problem. Ran the commands in terminal emulator that recalibrates the sensor, didn't work for me. Blasted the speaker with compressed air, also didn't work for me. But this method allowed me to disable the proximity sensor while still using an AOSP rom. I will send the phone in for warranty eventually, but I thought I was going to have to use a touchwiz rom until then (touchwiz has the option of disabling the proximity sensor in the call menu).
And I read like 5 or 6 different threads dealing with the Galaxy S4 proximity sensor issue and no one else posted this method before.
kg2128 said:
I know this is an old thread but qman66 you are AWESOME! Was going nuts trying to fix the proximity sensor problem. Ran the commands in terminal emulator that recalibrates the sensor, didn't work for me. Blasted the speaker with compressed air, also didn't work for me. But this method allowed me to disable the proximity sensor while still using an AOSP rom. I will send the phone in for warranty eventually, but I thought I was going to have to use a touchwiz rom until then (touchwiz has the option of disabling the proximity sensor in the call menu).
And I read like 5 or 6 different threads dealing with the Galaxy S4 proximity sensor issue and no one else posted this method before.
Click to expand...
Click to collapse
glad someone found this useful.
While this fixed the call locking problem, it also disables a lot of other hardware sensors. The only one I'd care about is the gyroscope for rotating the camera and watching videos full screen. Any solutions?
sjschoo said:
While this fixed the call locking problem, it also disables a lot of other hardware sensors. The only one I'd care about is the gyroscope for rotating the camera and watching videos full screen. Any solutions?
Click to expand...
Click to collapse
Yeah I noticed that, the best solution is to get the proximity sensor fixed in the end. Then you don't have to disable anything. If your lucky it doesn't even need to be replaced, just cleaned. For me I can live with no rotation, because the screen off during calls is a ridiculous PITA by comparison. Also apps can force landscape mode even with the gyroscope not working. I use force landscape for videos through mx player, and mango reader for manga.
I finally broke down and took the phone apart. There were no warranty stickers to break so assuming you don't mess up royally, it shouldn't effect your resale value. All it took was an eye glass screw driver and a q-tip. Once I was inside I tried the can of air first, but didn't help. Swabbed the back of the glass with the q-tip and that finally provided lasting relief.
i9100 proximity sensor doesn't work
Hi to all!
I have the issue with proximity sensor and didn't manage to find a solution in other similar threads!
The matter is that it is always stay as Released.
In the same time in test screen (*#0*#) there are changing reading for PROXIMITY parameter from 2 up to 240 with no ADC parameter at all. Please look for screenshots. PROXIMITY parameter changes its value when I move my finger in front of the sensor, but as I can understand Android doesn't recognize it because of ADC absence.
Moreover I tried to change proximity sensor for working one (from another phone), but it shows the same as mine (with no ADC readings).
After all I think it is software problem, but I don't know how to solve it. I flashed different firmwares (now it is XWMSE NeatROM v.6.4), but nothing helped.
Please assist! Thanks!
khudko83 said:
Hi to all!
I have the issue with proximity sensor and didn't manage to find a solution in other similar threads!
The matter is that it is always stay as Released.
In the same time in test screen (*#0*#) there are changing reading for PROXIMITY parameter from 2 up to 240 with no ADC parameter at all. Please look for screenshots. PROXIMITY parameter changes its value when I move my finger in front of the sensor, but as I can understand Android doesn't recognize it because of ADC absence.
Moreover I tried to change proximity sensor for working one (from another phone), but it shows the same as mine (with no ADC readings).
After all I think it is software problem, but I don't know how to solve it. I flashed different firmwares (now it is XWMSE NeatROM v.6.4), but nothing helped.
Please assist! Thanks!
Click to expand...
Click to collapse
Changing the rom isn't going to do anything, even factory roms (I've tried it). If a replacement sensor doesn't fix it for you, then it's going to be hard to fix it yourself. All the posts I've seen so far have cleaned the sensor or replaced the sensor and fixed the problem. Otherwise people like me just turn the sensor off.
You were right, proximity software fix didn't help! But how is it possible to work in this (the same wrong) way with changed sensor? Can it be some main board hardware problem? But it doesn't look like this...
Sent from my GT-I9500 using XDA Premium 4 mobile app
Maybe somebody knows how to fix the issue???
Finally fixed
Thanks so much qman66 I have had problems with my proximity sensor on my JFLTEXX pretty much since I got it. Had been using the xposed disable proximity sensor module but xposed doesn't work with CM12. Your simple system tweak has given me use of my phone know call options again
qman66 said:
with root explorer go to system/lib/hw and go all the way to the bottom to the last sensors file. its an so file. long press on it and open in text editor. somewhere in the page almost at the bottom you will see where it says ProximitySensor then on one of those line it should say mEnabled. just rename it to mDisabled, then reboot and the proximity sensor is fixed.
Click to expand...
Click to collapse
Hi, I tied to do this but it says I can't save the changed so file... Can you let me know which root explorer and text editor you are using?
Thanks massively
Not a text file
qman66 said:
with root explorer go to system/lib/hw and go all the way to the bottom to the last sensors file. its an so file. long press on it and open in text editor. somewhere in the page almost at the bottom you will see where it says ProximitySensor then on one of those line it should say mEnabled. just rename it to mDisabled, then reboot and the proximity sensor is fixed.
Click to expand...
Click to collapse
I found sensors.msm8960.so with many references to proximity sensor but it is not a text file!!
Samsung S4 Active w LOS 15.1 (a&Droid 8.1) - how to disable HW sensor(s).
Hi All
Hope some here will help me stay afloat long enough to learn to surf by myself; bit of a noob in this wild ocean here (more of a 'fresh water/indoor pool' kinda dude I guess) - but trying to break out of tis little pond and learn to 'surf'. Anyway, to the point:
1. HW spec
Samsung Galaxy S4 Active
GT - i9295
TWRP 3.3.0-0
Lineage 15.1 20180227 jactivelte
(sometimes with opengapps pico and addonsu15.1 but mostly just LOS and addonsu nothing else)
2. Have the sensors on phone covered up with black electrical tape - all but the notification light are covered and it's gonna stay that way - NOT negotiable!
Obvious Issue: Have the blank screen during phone call problem. Can end calls using power button but I need to use the keypad quite often so need the screen to stay on. How? Ideally want to (SW) disable most if not all hardware sensors - how?
Tried a few fixes but no luck, e.g.:
(a) adding 'the' fix/control many sensors apk no good as not suported under 8.1 (plus want to find out how to do manually myself not use 'hand outs').
(b) edit selected sensor etc ".so" (eg in system hw) files - so far not resulting in the disabled ProximitySensor.
So, I really want to hack this myself at cmd line level, am ok with that (many years IT ops/admin experience in 'fresh water commercial space'). Can mount system using TWRP then adb shell to connect and find and grep for stuff in files but cannot find setttings I need to change to disable sensors for good. Where to look/find more info?
What do I want to achive:
Make calls and have keypad stay on all the time or give me manual option to turn screen on/off with a hw button during call.
How:
I am happy to disable pretty much all sensors (proximity, gyro, compass etc) in system or firmware memory so that I am free from the overlords and really want to be able to use the keypad during calls - and have option to manually turn screen off/on during call would be cool.
Constraint:
Really want to do this from (a) cmd line or (b) edit code/recompile (learning curve) the LOS 15.1 or whatever to disable sensors for good. I will be using this old thing mostly for just call and txt not much else - and cannot be asked to buy an old Nokia handset.
Thanks,
iHAL8999.999... (hi dave...)

Turn off proximity sensor

Hey recently my proximity sensor broke. When I'm in a call the screen will stay off and will not turn on. Because of this I can't access the dialpad, hit the speakerphone button, or even hangup.
Is there a way to turn the proximity sensor off or force it to think that nothing is up close to it? I'm in latest Sultan rom if that matters. I have tried full wiping and resetting everything already.
Sure,
But, the issue is you'll need xposed for this method.
download this, install, enable, reboot.
Open the app, swipe from the left to inside, go to proximity and disable it completely. Done
Awesome I'll try it out since I already have xposed and root
EDIT: yep works perfectly thanks
surronix said:
Awesome I'll try it out since I already have xposed and root
EDIT: yep works perfectly thanks
Click to expand...
Click to collapse
Happy to be of help

Categories

Resources