Proximity and ambient light sensor stopped working!!! - OnePlus 2 Q&A, Help & Troubleshooting

I don´t know if it´s a coincidence or not, but I a few days after the update to Oxigen OS 3.6.1 I noticed that the proximity sensor and light sensor of my ONEPLUS 2 stopped working.
I used AndroSenor and Sensor box from the PlayStore, and both os them say thar the proximity and light sensors are missing.
I had a remote session with a ONEPLUS L2 specialist and they wiped my phone and reflashed the latest ROM (ver. 3.6.1), but the problem wasn´t solved..
I guess that, if the sensors don´t appear in the apps I mentioned maybe it´a a hardware problem, but I would like to hear more opinions.
If anyone has any suggestion to try to solve this problem before sending it to repair (out of warranty)??

flash persist.img from fastboot
backup all your info
in some cases it will help

hi there!
I seem to be having quite a similar problem, though, my sensors work, but stop responding after an unspecified period of time (can be anywhere between minutes and hours).
I tried flashing several roms (oreo, nougat) and yesterday i flashed Oreo Pixel Experience (just pure ROM+OP5 camera, no root no custom kernel just to rule out a few things) but the issue remains. Important to mention, i always clean flash.
The best way to describe the issue is: "sometimes the proximity and light sensor just stop working and i dont really know why" which is obviously causing a whole bunch of issues with auto brightness, making calls, picking up when someone calls etc.
The thing is, everything works after a reboot...but only for some time...then the sensors go "offline".
sometimes they work for a couple of hours, even a day...sometimes they die after half an hour or something. I have a feeling that i see them die faster when i have my phone in the pocket and leave it idle for a while, and when i use my phone often and dont really give the phone time to rest they live longer. It almost feels as if the phone goes to some deep sleep when idle for some time, disconnects the sensors, but doesnt turn them on again when woken up.
tried flashing the persist.img as advised just above, but it doesnt seem to have an effect.
anyone has any good idea?
thanks!

allright, being desperate from not being able to use my phone in a normal way i flashed OOS 3.6.1 from official zip files that can be downloaded from oneplus.net support section, using OP recovery and surprise surprise - sensors are working flawlessly! so im ruling out the HW problem. I think im going to stick to OOS for a while to monitor the sensors and eventually im going to try flashing oreo again.

ok, last update from my side: after two days on OOS where everything worked fine i flashed Pixel Oreo build and sensors continue working just fine! so, whoever is experiencing strange behavior of his sensors, i recommend the same approach.

Jackill said:
ok, last update from my side: after two days on OOS where everything worked fine i flashed Pixel Oreo build and sensors continue working just fine! so, whoever is experiencing strange behavior of his sensors, i recommend the same approach.
Click to expand...
Click to collapse
You still have working sensors?
I have exactly the same behavior as you mentioned in your first post. FRUSTRATING!
I've tried flash lineageos 15.1 ROM, no luck. New persist.img from official fastboot oos ROM but no luck either.

flaektrem said:
You still have working sensors?
I have exactly the same behavior as you mentioned in your first post. FRUSTRATING!
I've tried flash lineageos 15.1 ROM, no luck. New persist.img from official fastboot oos ROM but no luck either.
Click to expand...
Click to collapse
Hi! Yes, my sensors are still working just nicely.

Jackill said:
Hi! Yes, my sensors are still working just nicely.
Click to expand...
Click to collapse
So good for you ?
Before when your sensors struggled, did they also disappear from any sensor test app. Or did they just not work?
My prox sensor did not disappear but just hangs at 0 or 5cm if I check the value in any sensor app. And light turns 0 Lux also.

I've similar problem. Went completely stock as suggested but the problem persisted.

flaektrem said:
So good for you
Before when your sensors struggled, did they also disappear from any sensor test app. Or did they just not work?
My prox sensor did not disappear but just hangs at 0 or 5cm if I check the value in any sensor app. And light turns 0 Lux also.
Click to expand...
Click to collapse
Well mine didnt really "dissappear" either. They "froze" too. Lux froze at whatever value it measured the last however i am almost certain it was never exactly 0. Prox behaved the same as you describe: 0 or 5.

lazyfarmer said:
I've similar problem. Went completely stock as suggested but the problem persisted.
Click to expand...
Click to collapse
Interesting. I'm going to flash OOS recovery and latest OOS ROM later today and give it a try.
Jackill said:
Well mine didnt really "dissappear" either. They "froze" too. Lux froze at whatever value it measured the last however i am almost certain it was never exactly 0. Prox behaved the same as you describe: 0 or 5.
Click to expand...
Click to collapse
My lightsensor always freezes at 0 Lux. And when the prox freeze at 0 its impossible to quit a call. So f*cking frustrating so I have to fix this problem ASAP

I have the same problem with my LUX device, sometimes the sensors work randomly. When I reboot my phone the sensors stop working. The screen does not rotate, the most interesting thing is that it did flash the Moto camera mod and the rotation works perfectly with the camera, with the stock camera there is no rotation.

UPDATE:
I scheduled a remote session with Oneplus L2 Team and they performed a full factory reset of all partitions. No luck, problems still persist.
It must be a hardware problem.

In my case I sent the smartphone to them and they said it was a problem with the motherboard.

Related

[Q] Sensors no longer functioning

Hey guys,
This is my first Samsung after multiple HTCs, so this has really annoyed me... I preordered from Orange back in April, so I've had it since release. Everything was fine, though the battery life was far from perfect.
In the last week, maybe two, I noticed that the screen wasn't turning properly. Then it was stuck on the right side, whenever I turned on Screen Rotation. After 4 restarts, it just does nothing. I tried wiping and starting again, but to no avail...
I've also been into the *#0*# menu and under Sensors, the Accelerometer, Gyroscope and Magnetic selftests all fail. I thankfully don't play any games that require them, but taking photos is stuck to landscape and I can't view them in landscape on my phone...
Any theories?
same problem here mate!
Rooted, installed CWM recovery, fooled around with some Google Edition Roms and now I`m on the same problem.
Out of the blue, the sensor stoped working!
Flashed my original ROM with Odin and that didn`t work.
And background of the recovery (now original) the android has a red triangle and he is lying flat.
Everything else is working...
Someone plz help!
I'm sorry about how this sounds, but I'm glad it's not just me!
I didn't try rooting yet, so it's not related to that. I'm going to call Samsung (no web support...) Tomorrow if I get a chance.
Had yours overheated a few times beforehand? I'm wondering if the sensors are ruined by the heat...
Not sure if it is the heat...
My GS3 was always hot when using! And everything was fine for more than a year.
Your light sensor is working?
Mine is not working either.
To be more precise:
Accelerometer, Proximity, Barometer, Light, Gyroscope, Magnetic, Gesture and Temp-Humid
all of the Sensors of the *#0*# test
=/
Nope, light sensor doesn't recognise when I'm in a call and put it to my ear, or remove it... It senses nothing.
Today I unstalled the 3D Image live wallpaper app (since it uses the Gyroscope) and restarted the the phone, every sensor was up and running again.
So I installed the 3D Image live wallpaper again and after a while the sensors stopped again.
So I unstalled again and rebooted the phone again and... Nothing! This seens to be completly random.
Do you use any Gyroscope 'intensive' app?
I factory reset my handset and nothing, so it's not an app or wallpaper I'm using. After the restore I used the Internet Browser to check the screen rotation, nothing.
I've a similar problem here... the sensors sometimes doesn't work, sometimes does work, it's random. Already tried to restore factory defaults and many different FWs, always with this same behavior....
My S4 has only 3 weeks, and it came like this, but I took some time to identify the problem...
I have the same problem, I tried factory reset several times, changed the FW for all available versions and the problem continues. In my case the only difference is that the sensors operate for a maximum of 30minutes after I reboot the phone and then stop again.
Has anything else happened like getting water near the phone in order for sensors to not work..
Or the phobe fell down?
Sent from my GT-I9500 using xda premium
Can the problem due to the installation of a third-party launcher like Nova or Apex? When using these launcher, none of the sensors work. When back to the default TW launcher, some work while others not working.
Is this a bug?
greeny2010 said:
Can the problem due to the installation of a third-party launcher like Nova or Apex? When using these launcher, none of the sensors work. When back to the default TW launcher, some work while others not working.
Is this a bug?
Click to expand...
Click to collapse
I used stock Touchwiz. My sensors suddenly stopped working. I did a hard reset and problem still existed. Today I will get my phone from repair and post some more info.
Using the *#0*# test mode, all functions are working. However, some of the sensors are working like hit-and-run state. Wondering should I bring it down to the service center.
Got my SGS4 today and flashed it to GE ROM. Everything woks fine, but I tried taking a picture with Photosphere and it kept on drifting off.
I guess that means I have a similar problem. Will test Service menu later today...
OK, Service Menu does not work on GE edition ROM...but I found a little app called Sensor Test for free on the PlayStore and it shows all sensors working fine with the exception of the accelerometer...that gives nonsense values...
It does sound like a fault with hardware not software or anything you have done so you should be able to walk into the orange store or [insert carrier retail store here] and they should replace it as long as your under contract at least thats how it works here in the uk with the sales of goods act
Okay. Strange things. I only habe severe problems in Photosphere. Flashed a different ROM and service menu dass all OK.
GPS toolbox looks OK with the compass ticking slightly to the right, then jerking back. Needs More research...
Update: I flashed back to a 4.2.2 ROM (also Google Edition) and now my problem seems to be gone...
Are you all on 4.3 or do some of you use 4.2 ROMs?
Update2: Turned out to be coinsidence...drifting started in 4.2.2 as well. I then tried my trust old Galaxy Nexus and saw that it also drifts now. I'm completely confused...
Got my S4 back from repair center. They replaced the main board and now everything appears to be working ok.
goodemail said:
Got my S4 back from repair center. They replaced the main board and now everything appears to be working ok.
Click to expand...
Click to collapse
Got mine back, too (Germany, datrepair.de). Don't know what they changed, but it's still not functioning. So disappointed...
Hey i just had the same issue, suddenly (nothing happened, i was playing some game, not even with heavy graphics or anything) and when i was back to my home screen i noticed the auto rotation doesn't work, after i tried rebooting and taking out the battery i re-flashed my omega rom and still, nothing.
In the sensors test they all fail.
Is there anything else other than sending it to repair?
I mean did anyone succeeded in repairing that issue with some simple means?
Thanks!
i had the exact same problem
i claimed warranty, still waiting

Problem with the light sensor and gyroscope

hello, I come to you to present you a problem I encountered with my s7 edge .
Three times the brightness sensor stopped working . I also noticed that when I encounter this bug , the gyro sensors no longer work either and It's impossible to get the phone in landscape mode .
In the application cup- z no sensor is detected.
After the device restart everything is back in order.
Someone already encountered this problem ?
Grolow said:
In the application cup- z no sensor is detected.
Click to expand...
Click to collapse
Next time to test the sensors dial *#0*# in the stock dialer app.
Hey, thanks for the tip !
Any resolution? This started happening to me too, and nothing seems to fix it. I loaded the U rom, factory reset to the verizon rom and no dice. Samsung will replace my phone, but then I'm out a phone for 2 weeks and my screen protector.

Sensor not working anymore

Hi, anybody can help me, my yd201 proximity sensor not working, i did everything flashing all rom on the forum to try fix this but it still doesn't work. (from 4.+ to the latest MM) with all firmware. i just trying full unroot my phone on root apps then wanna clean system apps using twrp so am try deleting root forder from latest twrp to clean everything, now proximity sensor not working what ever i do rotate, calling, and the biggest problem is back screen is not working too,. download sensor test from the market is working too(device sensor hardware not support on this phone)
please help me what should I do.. if anyone knows where can buy motherboard for yotaphone please give me the link. tnks.
Dahlan abdullah said:
Hi, anybody can help me, my yd201 proximity sensor not working, i did everything flashing all rom on the forum to try fix this but it still doesn't work. (from 4.+ to the latest MM) with all firmware. i just trying full unroot my phone on root apps then wanna clean system apps using twrp so am try deleting root forder from latest twrp to clean everything, now proximity sensor not working what ever i do rotate, calling, and the biggest problem is back screen is not working too,. download sensor test from the market is working too(device sensor hardware not support on this phone)
please help me what should I do.. if anyone knows where can buy motherboard for yotaphone please give me the link. tnks.
Click to expand...
Click to collapse
Open the phone dialer and dial *#*#4636#*#* , if it doesn't work the first time try the code again and it should open the hidden testing menu, choose device test and you can manually test all the phones sensors to confirm if the proximity sensor is working or not. I had a s7 that did the same thing, the proximity sensor just quit working one day and I confirmed it wasn't working with this method. Good luck.
same result, not working too.
maybe problem is from hardware,
any idea on how to fix it, just something like using xposed or what?
Dahlan abdullah said:
same result, not working too.
maybe problem is from hardware,
any idea on how to fix it, just something like using xposed or what?
Click to expand...
Click to collapse
I just dealt with it, sometimes it would work and sometimes it wouldn't. There's an app on the play store that you can use for screen rotation, I ended up using that when I absolutely needed rotate the screen.
i dont care about rotation screen.. i just want the back screen working normally, if tap transfer button on color display it won't open it on epd screen when i rotate the phone..
I don't know if it happened the same with you, I own a YD206 so I am not sure how YD201 behaves, but there's a problem with proximity sensor that makes it working all the time, I have wrote a comment about it and will try to contact Yota about this, meanwhile it would be important for people that are not aware of this problem because is such a faint light to actually confirm if the same is happening to them, YD201 or YD206:
I discovered that I also have this problem, I was with the wrong radio, had to flash the Chinese radio and it suddenly appeared, this is what I have found I have an YD206, so I wonder how the YD201 behaves:
On YD206:
With wrong radio. radio (Russia xx versions) on YD206 , in KitKat or Lollipop ROMs the proximity sensor is OFF by default BUT, as soon you turn ON an app that uses it, it won't turn off again, it keeps blinking even if you force kill the app that started. However it will turn off if the screen is off, after 5 seconds after. Also it's important to acknowledge that 2G only with this radios fails. On Lollipop Wifi won't turn off automatically, just manually.
YD206 With the correct radio. radio S01_003_3034_CN1_M05 2G 3G (UMTS) and 4G (LTE) all work and with better reception, but as soon the screen is ON, the proximity sensor starts working, does not matter what app you have open, when you turn OFF the screen the proximity sensor will turn OFF in about 5 seconds. If you are using the EPD screen the proximity sensor will turn OFF faster than 5 seconds, but as soon you touch the EPD it will turn ON for 3 seconds or so. On Lollipop Wifi won't turn off automatically, just manually.
So the problem acts differently when you flash a different radio, I am not sure where's the bug comes from, but it seems there's also a bug with YotaRom. There's a Xposed module to disable proximity sensor in specific apps, I haven't tried that, I also would like to know how this behaves with the Marshmallow Beta.
(For the ones that are not aware of this problem, keep in mind that to see this problem you need to be on a dark place to see the very faint red light of the proximity sensor.)
Best regards,
This problem is also being discussed here: https://forum.xda-developers.com/yot...tive-t3520013/

Only gyroscope and accelerometer stopped working

My first time here posting, I'm sorry if it's duplicate or in the wrong place ... thanks
Good night people
I want to take advantage of the topic to report the same problem that the comrade had over there
Handset: galaxy s5 g900m
Rom: mashmalow
Date 2017-01-25
In the beginning I thought it was a hardware problem, but before sending for assistance, I can see that with some moves the accelerometer and the gyroscope come back to work for a few moments. First thing was to give hard reset, I realized that the accelerometer and the gyroscope worked, but the moment the screen goes into standby it stops working.
The second attitude was to lock the phone in safety mode, the accelerometer and the gyroscope worked, but the first standby it stops working ..
Third was to pass roms stock, customized CM MIUI, same situation occurred the accelerometer and the gyroscope worked, but the first standby it stops working.
I gave a few beats on the back of the phone, the same thing happened after restarting.
I deleted folder data / etc / sensor, the same thing happened but the first standby it stops working.
****But today I did something that made me sure that the problem is softwere, with the rooted stock rom I installed a custom kernel, phonix kernel, then the accelerometer and the gyroscope worked perfectly, it worked even after returning from the standby, for about 3hr The cell worked very well, but upon receiving a connection the accelerometer and the gyroscope stopped working and when using test sensors dialing * # 0 * # fixed values ​​where it says accelerometer and the gyroscope
Now I stopped messing with my cell phone.
I hope this information can help our team find a solution.
I downgraded to 5.0, and it did not solve...
This connection problem after the updates ...

Problem: Compass spins 360

Hello everyone,
I've got a big problem with Compass: It continues spinning around at 360 degrees, It never stops.
Already tried to clear app cache, erase app data, uninstall app update and nothing worked.
I've even waited for MIUI 12 official update but nothing changed (I'm on locked bootloader, official global MI rom..never unlocked, never formatted).
Please help, I don't want to format the whole phone for this problem
thanks in advance
M.N.C. said:
Hello everyone,
I've got a big problem with Compass: It continues spinning around at 360 degrees, It never stops.
Already tried to clear app cache, erase app data, uninstall app update and nothing worked.
I've even waited for MIUI 12 official update but nothing changed (I'm on locked bootloader, official global MI rom..never unlocked, never formatted).
Please help, I don't want to format the whole phone for this problem
thanks in advance
Click to expand...
Click to collapse
I've investigated a bit more in depth about this problem and I found out that:
-some alternative Compass apps downloaded from the Google play store (based on magnetic sensor of the smartphone) actually does work correctly
-the problem seems related to the /persist partition, and I don't know how to fix without flashing a new fastboot rom
If you've not unlocked bootloader and everything is official, then two reasons behind your problem. Faulty sensor because of some mechanical or water damage. Or you're sitting close to strong magnetic field.
Did your phone fall or had water damage? Does the compass still spin when you go outside? And also try calibrating it.
rms112 said:
If you've not unlocked bootloader and everything is official, then two reasons behind your problem. Faulty sensor because of some mechanical or water damage. Or you're sitting close to strong magnetic field.
Did your phone fall or had water damage? Does the compass still spin when you go outside? And also try calibrating it.
Click to expand...
Click to collapse
Thank you for your answer! I've factory reset my phone and problem still here: it seems that persist partition got damaged even on totally official and never unlocked phone, Always updated only when notification came (never forced OTA)!!! It happened when MIUI 11 switched from android 9 to 10, it's incredible. CIT Calibration of gyroscope fails. I'm totally disappointed and I found other people on mi forum Who had my same issue but of course none of them could solve the problem flawlessly without losing widevine L1
M.N.C. said:
Thank you for your answer! I've factory reset my phone and problem still here: it seems that persist partition got damaged even on totally official and never unlocked phone, Always updated only when notification came (never forced OTA)!!! It happened when MIUI 11 switched from android 9 to 10, it's incredible. CIT Calibration of gyroscope fails. I'm totally disappointed and I found other people on mi forum Who had my same issue but of course none of them could solve the problem flawlessly without losing widevine L1
Click to expand...
Click to collapse
Me too has the same problem in my Redmi K20pro. I cant use the compass app, which i needed at work site and now i use a normal compass

Categories

Resources