Screen won't turn on when calling i9505, help - Galaxy S 4 Q&A, Help & Troubleshooting

Hi,
i've always the pb of proximity sonsor or somthing in that field when i'm installing a custom rom of android 6.0, 7.0 or 7.1 such as (OptimizedCM-14.1-20161121-BETA1-AROMA, JDCTeam_jdc_jflte-7.1-20161117-BETA, MK60.1-jfltexx-201605070057-NIGHTLY)
so when i make a call, via messenger or my sim dialer, the screen turns off and won't turn on if i push power or home buttons.
so, what's the solution of this pb i'm suffering from, from a long time...

Does the phone work properly on a stock ROM? Did you try disabling the proximity sensor or disabling the screen-off function?

audit13 said:
Does the phone work properly on a stock ROM? Did you try disabling the proximity sensor or disabling the screen-off function?
Click to expand...
Click to collapse
Yes, i'm now on 5.0.1 (stock rom) it works fine
how can i disable the proximity sonsor or the screen-off function?

This sure looks as a problem with the proximity sensor, the s4 is known for accumulating dust and grease on top of it. Open your phone with a small Phillips tool, remove it and clean it. It will work as new.

Don't think it's a hardware problem since the sensor works properly on a stock ROM.
Sorry, I no longer have an s4 and I don't remember how to disable the proximity sensor in a custom or stock ROM.

Related

[Q] Disable Proximity in call?

My proximity sensor is dead. Stuck in WinMo 6.5 and Android. Is there a way I can disable it and have the in call settings use the gyro instead? Or maybe not blank the screen at all?
Thanks!
Using: [JUN10]b AmeriCanAndroid AOSP HD2 GB234 CM71|bkup2sdext234 [KERNEL:AmCanAndroid r610]
http://forum.xda-developers.com/showthread.php?t=957652
I found a way to wake the screen back up without yanking the battery. I can give it USB power and it will wake. Still sucks but is better than reboot.
Anyone know how to kill prox?
TY
Same here, very anoying.
When headphone is plugged in i dont have any problems.
I had the same problem, so I got libsensors source from HyperDroid, commented out lines that do proximity sensor initialization and got sensors.leo.so that shows to phone that there are no proximity sensor.
There are 3 identical files in the attachment - simply copy them over into /system/lib/hw on the device.
But, actually, repairing sensor would be better solution...
PROBLEM SOLVED INSTALLING MIUI, OPTION TO COMPLETLY DISABLE THE PROXIMITY SENSOR.
TY galnetmiui
http://www.galnetmiui.co.uk/content...elcome-to-galnetmiui-twooey!/msg3602/#msg3602
brascodanny said:
PROBLEM SOLVED INSTALLING MIUI, OPTION TO COMPLETLY DISABLE THE PROXIMITY SENSOR.
TY galnetmiui
http://www.galnetmiui.co.uk/content...elcome-to-galnetmiui-twooey!/msg3602/#msg3602
Click to expand...
Click to collapse
That's what I've been doing. I sent it in to get the prox fixed and they shipped it back still broke.

Call Proximity Sensor not working properly

Just tips for people who might have the same issue as me.
Problem: When you are in a call, the proximity sensor turns off the screen but when you pull the phone away from your face the screen stays off.
Solution: In my case it was because there were dusts covering the proximity sensor which caused it to not be as sensitive as it should. I blew some compressed air thru the speaker (top) and everything works well.
Hope this helps, I was struggling with it for months thinking maybe a custom rom installation went haywire.
takuyaah said:
Just tips for people who might have the same issue as me.
Problem: When you are in a call, the proximity sensor turns off the screen but when you pull the phone away from your face the screen stays off.
Solution: In my case it was because there were dusts covering the proximity sensor which caused it to not be as sensitive as it should. I blew some compressed air thru the speaker (top) and everything works well.
Hope this helps, I was struggling with it for months thinking maybe a custom rom installation went haywire.
Click to expand...
Click to collapse
I have this problem too. I believe my proximity sensor is damaged. I have done a lot of reading out there and tried all solutions. This is very annoying when you want to turn on the speakerphone or use the keypad when calling #'s that require input. I tried using Pacman rom 4.2.2 and 4.4. I heard its possible to disable the proximity sensor during calls with stock Touchwiz rom, but I can't stand it. I may consider trying Goldeneye 4.4 TW Rom, but installation seems like a major hassle. I hope there is a custom rom out there that disables the proximity sensor.

[Q] Enabling proximity sensor on CM etc.

When Im on cm11 or any other aosp rom my phone wakes up in pocket and sometimes even dials numbers. Everything is okay on stock based roms. Is there any fix to enable (proximity?) sensor while on cm? Without it its useless for me
Anyone? :crying:
AddictedToPlaying said:
When Im on cm11 or any other aosp rom my phone wakes up in pocket and sometimes even dials numbers. Everything is okay on stock based roms. Is there any fix to enable (proximity?) sensor while on cm? Without it its useless for me
Click to expand...
Click to collapse
yeah.... AOKP supports it but it's a device specific flag, which means it's not in our builds as we have no active maintainer..
I use Tasker for it.
ouch
Can You tell me more about using tasker to do this? I really like to set CM as my daily rom
up
AddictedToPlaying said:
ouch
Can You tell me more about using tasker to do this? I really like to set CM as my daily rom
Click to expand...
Click to collapse
Sure, profile context is proximity close, screen on. Task is System Lock. Easy.
I think it's partially working beacouse when i cover sensor while screen is on it locks immediately but i can still unlock phone when i cover sensor
AddictedToPlaying said:
I think it's partially working beacouse when i cover sensor while screen is on it locks immediately but i can still unlock phone when i cover sensor
Click to expand...
Click to collapse
Dunno, works for me. In fact it often annoys me to be covering the sensor and tap to wake and it goes immediately back asleep.
Topic is still actual
Any news in this topic?

Proximity sensor triggering Capacitive keys in stock Roms

Hey guys.. I've been having a strange problem with my S4 i9500.
I know there are a lot of people having Proximity sensor bugs but my problem is different.
My Proximity sensor is working totally fine with phone calls and everything seems fine with the sensor.. however whenever the proximity sensor is triggered (switched from far to near) it acts as a press on the menu button (in stock rom it opens the search and in s6/note5 ports it opens multi-window. but the weird thing about this bug that it doesn't happen in GearCM.. only in stock based roms.
it's sounds like not a bug deal bit it is.. cuz whenever my phone reboots 80% of the times it gets stuck in safe mode because of this. and I cannot get out of it untill I do a cache/dalvic cache wipe .
And Ideas ? does anyone had a similar problem? I hope I explained it well.

[SOLVED] H872 - Updated HavocOS & now proximity sensor broke

Solution in post #4.
I have a H872. I had been running Havoc OS v3.1 10/01/2020 without any issues. This past weekend I decided to update to Havoc OS v3.4 21/04/2020 (clean flash) and everything was great until I realized that the proximity sensor wasn’t working. When I received a call the screen stayed black. Swiping down from the notification bar let me answer the call but the proximity sensor didn't work - screen stayed black. I couldn't even hang up - had to wait for the other caller to hang up. Same issue when I initiated the call.
I then tried Havoc OS v3.4 18/04/2020 (clean flash again) and the same calling/proximity sensor issue remained PLUS I could not send/receive MMS even though APN was set up exactly the same as my original configuration (I had taken screenshots of my original setup). I attempted Havoc OS v3.4 21/04/2020 once again and MMS stopped working too! As well as the proximity sensor issue.
I then restored my original nandroid of Havoc OS v3.1 10/01/2020. While it restored successfully in TWRP, it never booted into the system. It just hung on the last frame of the boot animation. I am at a complete loss as to how to fix this phone now. I have just installed MSM Xtended and the proximity sensor is still non-functioning. I have since switched my sim to my Xiaomi backup but really want to get back to my G6.
It worked perfectly…I attempted a simple upgrade and all hell has broken loose! Any tips? Please.
Update:
I completely restored the phone to stock with H872 20g kdz/LGUP and was able to send MMS but the proximity sensor was still not functioning. Can the sensor just suddenly go bad like that? It was working perfectly until I updated Havoc.
Anyway, I have re-rooted and reinstalled the latest havoc. I am hopeful that I will get MMS to work, however, am not sure the proximity sensor will. I have found here that Android 10 allows for all sensors to be disabled with a Quick Settings Tile. This would work for when I initiate a call (can use the power button to turn the screen off/on). But would not be able to activate it once a call comes in. Is there a way to automate the sensor to turn on/off automatically when a call comes in? Or better yet, just disable the proximity sensor, and only the proximity sensor, completely? Been Googling all morning but haven't found much aside from this toggle, and an Xposed mod that may not even work with Riru Xposed...not to mention I want to avoid Xposed if I can.
Still looking for advice if you have any.
Thanks!
Update 2:
I am now running the latest Havoc with working MMS but still the proximity sensor issue persists. I am getting around it by using the Quick Settings Tile/toggle that is activated in Developer Options. This turns off the proximity sensor, as well as compass, accelerometer, & gyroscope. So I have to remember to disable it after a call.
I have searched to no end for a way to disable the proximity sensor permanently but there is very little on the subject. I've tried some apps that claim to turn it off, but they have not worked for me. It seems to me it should be an easy thing to do...but no!
My request:
Someone that can explain how to disable the proximity sensor on Havoc, or someone that could maybe recompile the dialer.apk to not utilize the proximity sensor.
Thanks again!
Final update: Solved!
I decided to install EdXposed and Sensor Disabler. After a lot of experimenting I found settings that work. In Sensor Disabler I selected:
LGE Virtual Proximity Sensor & selected "Remove Sensor" and Saved
Proximity (There are 2 listed - I set both the same) & selected Mock Sensor Values & set them to the highest setting possible and Saved.
Now I can make & receive calls and have access to the Accept/Reject/Message functions, as well as the keypad to input if needed and can end calls. The power button is easily accessible on the back and turns the screen off & on during a call, so I can keep it off the whole time I'm talking.
Not the most ideal situation but works for me considering the proximity sensor is completely useless now. Hope this helps anyone else in the same predicament.
EDIT - Sensor Disabler doesn't appear to be the most reliable. After a reboot it's hit or miss if it will work. It seems that after rebooting it takes a couple minutes for the app to "kick" in and function...but then it only seems to work more for incoming calls. Ultimately I am still using the Quick Settings tile to turn off all sensors during calls.

Categories

Resources