FORUMS
Remove All Ads from XDA

[FIX]Proximity Sensor on Custom Roms

3,072 posts
Thanks Meter: 3,058
 
By skeevydude, Recognized Contributor on 29th August 2013, 04:04 AM
Post Reply Email Thread
Earlier today @Eruditass had the same issue with the proximity sensor we've been having. I suggested adding in the proximity sensor build.prop line, but that didn't help. Instead of saying F it, he messed around with some system values and found a way to make it work correctly, but it didn't persist from boot to boot. He then made an init script, but it didn't work when it should have....I took what he did and added a line to it...instead of just sending "on", I sent "off" then "on" and it worked. Here ya go, flash away.

Directions
  • Be on a 4.2 or 4.3 rom that has proximity sensor issues.
  • Flash the attached zip
  • ?????
  • Profit

Obviously, if your not running a 4.2+ rom and are planning to install one.....install the rom\gapps then the fix.....
Attached Files
File Type: zip Atrix HD Proximity Sensor Fix.zip - [Click for QR Code] (134.3 KB, 2382 views)
The Following 27 Users Say Thank You to skeevydude For This Useful Post: [ View ] Gift skeevydude Ad-Free
 
 
29th August 2013, 04:22 AM |#2  
Dr. Orange's Avatar
Senior Member
Thanks Meter: 80
 
More
Wouldn't install for me. Said there were invalid number of arguments.

Sent from my MB886 using Tapatalk 4
The Following User Says Thank You to Dr. Orange For This Useful Post: [ View ] Gift Dr. Orange Ad-Free
29th August 2013, 04:35 AM |#3  
skeevydude's Avatar
OP Recognized Contributor
Flag Hot Springs
Thanks Meter: 3,058
 
More
Quote:
Originally Posted by Dr. Orange

Wouldn't install for me. Said there were invalid number of arguments.

Sent from my MB886 using Tapatalk 4

Thanks. Fixed it. Forgot to remove _recursive from the permissions line
The Following User Says Thank You to skeevydude For This Useful Post: [ View ] Gift skeevydude Ad-Free
29th August 2013, 04:44 AM |#4  
Dr. Orange's Avatar
Senior Member
Thanks Meter: 80
 
More
The link in op is the fixed link?

Sent from my MB886 using Tapatalk 4
29th August 2013, 04:50 AM |#5  
skeevydude's Avatar
OP Recognized Contributor
Flag Hot Springs
Thanks Meter: 3,058
 
More
Quote:
Originally Posted by Dr. Orange

The link in op is the fixed link?

Sent from my MB886 using Tapatalk 4

Yeah
The Following 2 Users Say Thank You to skeevydude For This Useful Post: [ View ] Gift skeevydude Ad-Free
29th August 2013, 05:31 AM |#6  
Dr. Orange's Avatar
Senior Member
Thanks Meter: 80
 
More
Quote:
Originally Posted by skeevydude

Yeah

It worked! Thanks!

Sent from my MB886 using Tapatalk 4
The Following User Says Thank You to Dr. Orange For This Useful Post: [ View ] Gift Dr. Orange Ad-Free
29th August 2013, 06:37 PM |#7  
TecknoFreak's Avatar
Recognized Contributor
Flag Deltona
Thanks Meter: 1,593
 
Donate to Me
More
Thank you so much skeevy.

Sent from my MB886 using XDA Premium 4 mobile app
The Following User Says Thank You to TecknoFreak For This Useful Post: [ View ] Gift TecknoFreak Ad-Free
29th August 2013, 08:47 PM |#8  
EcHoFiiVe's Avatar
Senior Member
Flag Mundelein. IL
Thanks Meter: 743
 
More
Is this for like while talking on the phone and stuff?

Sent from my MB886 using xda app-developers app
29th August 2013, 09:24 PM |#9  
Dr. Orange's Avatar
Senior Member
Thanks Meter: 80
 
More
Quote:
Originally Posted by EcHoFiiVe

Is this for like while talking on the phone and stuff?

Sent from my MB886 using xda app-developers app

Yes, it detects when the phone is up by your ear and turns the screen off to prevent accidental touches from the face or ear. When you move it away from your ear, the screen comes back on. In the latest PAC ROMs and others I'm sure, the proximity sensor hasn't been working, I tested the fix last night and my proximity sensor works on calls now.

EDIT: I'm assuming you're serious.
Sent from my MB886 using Tapatalk 4
29th August 2013, 09:57 PM |#10  
Senior Member
Thanks Meter: 17
 
More
Quote:
Originally Posted by skeevydude

Yeah

What an irritating bug that was for these great Roms. Thank you very much.

Sent from my MB886 using XDA Premium HD app
31st August 2013, 02:31 AM |#11  
Junior Member
Flag St. George's
Thanks Meter: 1
 
More
Proximity fixed in CyanogenMod latest nightly 29th

Sent from my MB886 using xda app-developers app
The Following User Says Thank You to Dzan28 For This Useful Post: [ View ] Gift Dzan28 Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes