Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,805,313 Members 49,184 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Problems calling with multiple ROMs

Tip us?
 
evilwoodchuck
Old
#1  
Junior Member - OP
Thanks Meter 1
Posts: 3
Join Date: Apr 2014
Default [Q] Problems calling with multiple ROMs

Hi Guys,

I have a Samsung Galaxy S3 SGH-T999 (Tmobile). When I had the stock ROM the phone worked fine, but now I am having the same issue with multiple ROMs.

Whenever I make or receive a phone call, the screen turns black (LED off and everything) and it will not come back on until the other person has hung up (I can't, because I have no buttons). I have tried Cyanogenmod 10.2.1 stable, Cyanogen mod 11 nightly (newest), and Paranoid Android 4.4.2 BETA 3.

I read on another forum that this may have something to do with the proximity sensor, and I went to settings>devices>more and under "Sensors and Motors" there is only vibrator intensity. I also checked the call app settings and there are not any options relating to proximity sensor. I also tried several USSD codes to check that which I found online but have been unsuccessful in getting any of those to work.

Any help would be greatly appreciated!

Thanks,

EvilWoodchuck
 
Perseus71
Old
#2  
Perseus71's Avatar
Recognized Contributor
Thanks Meter 3,840
Posts: 6,318
Join Date: Feb 2011
Location: Atlantis

 
DONATE TO ME
Try a CM 11 Stable (Don't go for latest nightly but the last stable) and recalibrate your Sensors. Make a CLEAN install no restoring apps or data. Also do you happen to have any Kernel tweaks of any sort ?

Last but not least, try a single light tap on Power button. That will bring the screen back.
 
DocHoliday77
Old
#3  
DocHoliday77's Avatar
Recognized Contributor
Thanks Meter 5,857
Posts: 8,512
Join Date: May 2011
Location: HuntsVegas!!!

 
DONATE TO ME
If that fails, odin full stock firmware to see if it helps. If not its likely a faulty sensor. Easy and cheap to fix surprisingly.

Sent from my SGH-T999 using Tapatalk
 
evilwoodchuck
Old
(Last edited by evilwoodchuck; 18th April 2014 at 07:41 PM.) Reason: Add info for other users who may need fix method
#4  
Junior Member - OP
Thanks Meter 1
Posts: 3
Join Date: Apr 2014
Quote:
Originally Posted by Perseus71 View Post
Try a CM 11 Stable (Don't go for latest nightly but the last stable) and recalibrate your Sensors. Make a CLEAN install no restoring apps or data. Also do you happen to have any Kernel tweaks of any sort ?

Last but not least, try a single light tap on Power button. That will bring the screen back.
Got it working, had to manually recalibrate the proximity sensor with terminal emulator. Thanks for the help guys

Edit:

I am not able to post links yet, but here is the method used for recalibration if anyone needs it (credit to Viraj Kshatriya of androidlegend.com):

Prerequisites:
1. Enable USB Debugging
2. Root Access
3. Terminal Emulator

All commands will be done in terminal emulator as Root:

1. Enter superuser mode
su <enter>
2. Obtain offset value
cat /sys/devices/virtual/sensors/proximity_sensor/prox_cal <enter>
This will return a few numbers, the first one is your offset value
3. Obtain normal value
cat /sys/devices/virtual/sensors/proximity_sensor/state <enter>
This will return one number, this is your normal value
4. Modify /efs/prox_cal
Take your offset value, and add it with your normal value
Convert sum of these to hexadecimal
echo -en $ '\x**' > /efs/prox_cal (** being your hexadecimal number from above step) <enter>
chown system:system /efs/prox_cal <enter>
chmod 644 /efs/prox_cal <enter>
sync <enter>
reboot <enter>
5. Wait for phone to reboot and you should be good to go!!!


EvilWoodchuck
 
DocHoliday77
Old
#5  
DocHoliday77's Avatar
Recognized Contributor
Thanks Meter 5,857
Posts: 8,512
Join Date: May 2011
Location: HuntsVegas!!!

 
DONATE TO ME
Care to share how you did that exactly? Good job getting it to work!
I am curious and im sure itll help others in the future though.

Sent from my SGH-T999 using Tapatalk
 
evilwoodchuck
Old
#6  
Junior Member - OP
Thanks Meter 1
Posts: 3
Join Date: Apr 2014
See edit

Sent from my SGH-T999 using xda app-developers app
The Following User Says Thank You to evilwoodchuck For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


CyanogenMod 11 M10 Available for Supported Devices

Summer vacation isover for most students out there, and it’s the time to get back to … more

XDA Forums Added for the First Batch of Android One Devices!

Just yesterday, we talked about the highly anticipated launch of the first batch … more

XDA Xposed Tuesday: DonkeyGuard, Don’t Be a Donkey, Control Your Device – XDA Developer TV

Some applications ask for the world … more

Use Facebook Pictures as a LWP with Facebook View

One of the best things that Android has always offeredits users is the ability to tailor … more