[FIX] CM10 Black screen after call - HTC Amaze 4G
Did some research (or a search for that matter) for those like myself that had an issue with black screen immediately after a call is placed or received. Turns out my proximity sensor was not responding properly in CM10. The sensor detects whether your ear is close the screen during a call and turns off the screen to prevent inadvertent operation of the phone.
Fix: My proximity sensor needed "calibration". User FrikinImpossible has a post which fixed my issue. See HERE
There is a flashable zip to make the proximity change permanent.
Thanks FrikinImpossible.
vinniej said:
Did some research (or a search for that matter) for those like myself that had an issue with black screen immediately after a call is placed or received. Turns out my proximity sensor was not responding properly in CM10. The sensor detects whether your ear is close the screen during a call and turns off the screen to prevent inadvertent operation of the phone.
Fix: My proximity sensor needed "calibration". User FrikinImpossible has a post which fixed my issue. See HERE
There is a flashable zip to make the proximity change permanent.
Thanks FrikinImpossible.
Click to expand...
Click to collapse
I'll try. Thanks,
After some extensive testing, seems this is about 90% and not a complete fix. I've still had issues with the screen blacking out. One thing is for certain, this is not a battery, or phone specific issue.
Guess i'll keep looking for a solution.
Black screen on the Stock rom
Same issue on a T-Mobile non-root phone with a stock rom. I haven't tried the zip yet but I can say that the AndroSensor shows "( 0.5mA ) 3.5 in" value against the proximity sensor and won't change even when touching the area around the earpiece.
Another Amaze 4g owner with the same problem has advanced an idea that it might have been a firmware issue: thread link. He witnesses keep running the problem after disabling the sensor. What does happen when the phoning function is called? The screen behavior is subdued to the proximity sensor. When the proximity sensor is disabled the screen must be still checking its value. Let's presume that the value is stuck and doesn't change regardless the sensor measures (or lack of them).
In short: the sensor works fine; the rom responds correctly; but the figure which must be collected by the rom from the sensor when phoning tells it to turn off the screen. So either this figure is stuck or it is corrupted by another factor.
P.S. this is only what I think but I have a very slight idea how it works in reality.
Can anyone confirm their state of the proximity sensor in the AndroSensor app. Mine seems to be stuck on "3.5 in" and on "0.0 in" alternately and won't react when putting anything next to the earpiece.
I still doubt whether it is a hardware or a firmware problem. It is least possible that it is caused by rom. Here is a part of log from the AndroSensor.
Code:
D/AndroSensor Debug(11578): Orientation sensor started
D/AndroSensor Debug(11578): Pressure sensor not found
D/AndroSensor Debug(11578): Relative Humidity sensor not found
D/AndroSensor Debug(11578): Proximity sensor found
D/SensorManager(11578): [SensorManager] registerListener: delay = 66667
D/SensorService( 238): enable: get sensor name = CM3602 Proximity sensor
D/Sensors ( 238): sensors_pana_poll_context_t::activate_pana
D/Sensors ( 238): Enabling Proximity Sensor..., mEnabled = 0, new state = 1
D/Sensors ( 238): Reading Proximity Sensor..., count = 16
D/Sensors ( 238): Reading Proximity Sensor..., distance = 38654705664.000000
D/Sensors ( 238): Reading Proximity Sensor...mEnabled = 0
D/EWdaemon( 135): !!! PL_Init
D/Sensors ( 238): Reading Proximity Sensor..., count = 16
D/Sensors ( 238): Reading Proximity Sensor..., distance = 9.000000
D/Sensors ( 238): Reading Proximity Sensor...mEnabled = 0
D/Sensors ( 238): Enabling Proximity Sensor..., mEnabled = 1
D/Sensors ( 238): Setting initial state for Proximity Sensor
D/Sensors ( 238): sensors_pana_poll_context_t::set_Delay = 200000000
D/SensorService( 238): SensorDevice::activate--: handle = 0x7, enabled = 0x1
D/SensorService( 238): pid=11578, uid=10159
D/Sensors ( 238): Reading Proximity Sensor..., count = 16
D/Sensors ( 238): sensors_pana_poll_context_t::set_Delay = 66667000
D/AndroSensor Debug(11578): Proximity sensor started
D/Sensors ( 238): Reading Proximity Sensor..., count = 16
D/Sensors ( 238): Reading Proximity Sensor..., distance = 0.000000
D/Sensors ( 238): Reading Proximity Sensor...mEnabled = 1
D/AndroSensor Debug(11578): Temperature sensor not found
You can notice that the distance value changed from 9.00000 to 0.00000 but it happened by itself.
It will sound stupid but I have found a simple solution:
I have just wiped the screen in the upper left corner where the proximity sensor is located and it started behaving normally. Though I don't use any protection tape on the screen it seem to have become less sensitive because of mud or sweat.
zandgreen said:
It will sound stupid but I have found a simple solution:
I have just wiped the screen in the upper left corner where the proximity sensor is located and it started behaving normally. Though I don't use any protection tape on the screen it seem to have become less sensitive because of mud or sweat.
Click to expand...
Click to collapse
Yea I thought for the longest time that something around the sensor was causing the issue. I've cleaned the area around the sensor, removed my screen protector, and also removed the main case to verify the sensor was not being "fooled" into one state or another. With Sense based roms, the sensor seems to respond fine for me. With JB roms the sensor has issues. Although I must say that after my latest setup of CM10, I have not had any issues with the sensor (after applying the FrikinImpossible fix). Perhaps the stars aligned when I formatted, checked md5's over and over, and flashed the rom?
Related
[Q] Difference: Proximity and Ambient light Sensor
Hi, What ist the difference between the Proximity Sensor and the Ambient Light Sensor? I know, the output of the Ambient Light Sensor depends on the ambient light but what is the proximity Sensor? How does it work on the HD2? What are the output values etc? And: what is the main use for it?
The proximity sensor uses IR light to detect when an object is close to it. In the case of a mobile phone it uses this information so the screen can be turned off when the proximity sensor notices your head (or more accurately, your ear) which may inadvertently press on the screen when making a call. As far as the output values? I have no idea.
[Q] [q] proxity sensor
As we all know by now, "The HD2 includes a variety of sensors including a Proximity Sensor that is used to prevent false screen touches when the phone is picked up to answer or make a call. A Light Sensor automatically adjusts the brightness of the display..." The subject matter of this thread is the Proximity Sensor, meaning, when you receive a call and put the phone to your ear, the screen supposed to turn off so you won't accidentally hang up or open other application by touching the screen with your face. The Proximity Sensor of my phone worked perfectly. However, couple of days ago the Proximity Sensor stopped functioning and I'm wonder what could have caused that. I'm picking up the phone, talk on the phone and the screen is fully lit. I remember that, one day, I calibrated the screen... Could that have been the cause? Anyway, does anyone know how to turn the Proximity Sensor on or, if it is on, how to make it work properly? Thank you.
Des NT have Accelerometer and Gyroscope or not?
There seems to be misinformation regarding accelerometer or gyroscope is included or not. Officially, it is not a listed feature on B&N's website, can anyone confirm this? I'm trying to figure out how they can turn epubs into landscape view now whereas in v1.3 NC can't do it. Thanks.
I may be wrong but looking at the system info in quadrant indicates it does have both accel semsors amd a gyroscope sensor. I believe it does.
Not to hijack, but while we're on the topic of chips that are or not included on the NT, Bluetooth? Bluetooth antenna? iFixit has posted a tear down, but mentioned nothing about the wireless chip(s) in use. http://www.ifixit.com/Teardown/Nook-Tablet-Teardown/7121/1
The Android Market has a very nice app called AndroSensor. It breaks out all the standard Android sensors and gives their readout. A good candidate for side-load maybe? My NT is sitting here - nicely wrapped - until Christmas... All I can do is stare at it.
The Android Market has a very nice app called AndroSensor. It breaks out all the standard Android sensors and gives their readout. A good candidate for side-load maybe? My NT is sitting here - nicely wrapped - until Christmas... All I can do is stare at it. Click to expand... Click to collapse Downloaded, tested it out: Orientation: No Senor Found Acceleration: kxtf9_accel version 1 (about the readout bars it says sensor_status_unreliable but does move based of me moving the tablet) Magetic Field: HMC5843 3-axis magnetometer (the readout bars do not change at all) Light: BH1780gli Light Sensor (once again, has the sensor but is not in use as the bar does not change) Proximity: SFH7741 Proximity Sensor (readout bar does not change) Pressure: BMP085 Pressure Sensor (nothing on the bar) Temperature: BMP085 Temperature Sensor (nothing on the bar but I would assume this is normal for a temp sensor) Here are additional sensors it does not show in the regular tabs: Rotation Vectory Sensor Linear Acceleration sensor Gravity Sensor All 3 above show UNKNOWN_TYPE 9, 10, and 11 respectively. Also, I just downloaded xplane from the market...tested it out and works fine. Xplane relies on an accelerometer so we can confirm it does have one.
(edit) ^^ Beat me to it! OK, here is what androsensor reports: Orientation: No Sensor Found Acceleration: kxtf9_accell, Version 1 Magnetic Field: HMC5843 3-Axis Magnetometer, Version 1 Light: BH1780gli Light Sensor, Version 1 Proximity: SFH7741 Proximity Sensor, Version 1 Pressure: BMP085 Pressure sensor, Version 1 Temp: BMP085 Temperature sensor, Version 1
So no gyroscope just like NC and only accelerometer in both. Thanks!
And still no clue about BT. We need some input from a tear-down...
Proximity sensor Problem
Hello everyone. Respected all I am facing a strange problem with my LG V10, T-Mobile When i call, the screen goes blank, and does not come back until i press the power button. I installed AIDA64 and checked the status of the proximity sensor. Its value is 5 as normal, it becomes 0 when i put finger on the proximity sensor. The value of proximity sensor doesn't come back to 5 even after moving the finger away from the sensor. Kindly help me to solve the issue.
Proximity sensor
Hello! The proximity sensor on my mate 10 pro seems to be very sensitive ,just slightly moving the phone when I am I the middle of a phone call and I accidentally put the call on hold , bring up the numeric pad ,mute the call or just hang up out of nowhere. Is there a way to calibrate the proximity sensor? I tried the proximity sensor doctor app to recalibrate the sensor but without luck.