Gravity sensor suddenly stopped working - Nexus 5 Q&A, Help & Troubleshooting

Hi, it appears that recently the gravity sensor in my Nexus 5 stopped working.
At least it is what it seems by using sensor testing apps. And this makes it impossible for the phone to get its orientation (compass is not working).
Screen rotation is still working fine though.
Here is what happened exactly: not long ago I was using Google Maps, but the phone was a bit sluggish so I decided to reboot it.
After rebooting I opened Google Maps again and immediately noticed that the orientation indicator was missing (the blue "beam"), while it was present before the reboot. But I didn't care about it, and just thought that the compass needed re-calibration.
After a few days the orientation indicator was still missing, and the phone never asked me to re-calibrate, as it used to do before instead.
Then one day I launched Google Sky Map, and noticed that the view does not rotate automatically.
So I fired up a sensor test app I had installed (asd.vector.sensor), and no data is displayed for the Gravity sensor. Also orientation is not displayed and the info says that the gravity sensor is used to compute orientation, too.
Other sensors are ok, and as I already wrote screen rotation still works great.
Any clues about this issue? Did anyone ever experience this?
I'm afraid a system restore would not help...
I'm using Resurrection Remix ROM, Android 6.0.1.
Thanks.

If the problem exists on a stock ROM, it could be a hardware fault.

audit13 said:
If the problem exists on a stock ROM, it could be a hardware fault.
Click to expand...
Click to collapse
Ok yes, but I still do not know if it exists on a stock ROM.
Taking it the other way around... Do you think there is real possibility that it is a software fault?
I mean: did it ever occur to anyone? Is there really any hope that resetting my phone to stock will fix this?
I HATE having to reset my phone...
Thank you.

I stopped using custom roms a while ago because of minor problems that would suddenly appear.
I don't think there is a way to really tell if it is software or hardware unless you reset or use a stock ROM.

audit13 said:
I stopped using custom roms a while ago because of minor problems that would suddenly appear..
Click to expand...
Click to collapse
Well, that's a little hope at least.
I will need to find some time to re-stock my Nexus and try.
Thanks .

Ok, I restored the phone to stock and all sensors work again now!
Thanks audit13 for pushing me in that direction .

That's great that it was a software bug in the custom ROM.
Now you get to hunt for a custom ROM that works with a minimal or zero number of issues

Related

[Q] Proximity Sensor Issue

My nexus s' proximity sensors have stopped working. I am rooted and running aokpcb rom, I'm wondering if this is a hardware problem or something with the rom? The screen won't turn off when answering / making a call when the phone is brought up to my ear. I also tried using the app prox pro, and that wouldn't work either. If anyone knows a fix or what the problem is, that would be great.
Backup your current ROM , wipe and install a Stock ROM.
Issue solved --> Rom Issue
Issue unsolved --> hardware issue
Thank you for your response. I tried your suggestion, and the problem wasnt fixed with wiping and installing a stock rom. But, with experimentation, I installed the app "Prox Pro" and whenever I would turn it on, it would execute the command that was specified for when the phone was "flat". So, when realising this, I am assuming that my phone developed some sort of calibration problem with the sensors. All in all, I am wondering if there is a way that I can re-calibrate my proximity sensor so that they work properly. Thank you.
Could that just be the default for the phone if it's not getting a reading?
I don't think its the default. The sensors always worked fine up until sometime last week.
I meant a default if there is no signal or an error, which is what it currently looks like.
Oh, okay, ya that could be it. Do you have any idea how to change it? I also realised that the light sensor isn't working either, when on auto brightness, the screen will always be dim, no matter how bright it is outside. If you, or anyone else has a solution, I will open up my phone and check to see if there are any connection issues or something like that .

[Q] Auto Rotate not working?

Hi all, I just noticed that my auto rotate isn't working anymore. I was using a custom rom, but reverted back to stock just to make sure everything would be alright, but it still isn't working on my stock rom. I downloaded "Phone Tester" from the app store, and when I check to see if it's working, it says that my device has no accelerator, compass, light sensor, etc...
What's going on here? It was working fine a couple of days ago.
Edit, when I go to the Phone Tester app, it says that I don't have:
- Accelerometer
- Compass
- Magnetic Field Sensor
- Proximity Sensor
- Light Sensor
- Gyroscope
- Pressure Sensor
- Humidity Sensor
bump
Having your same issue. It worked once when I flashed a new rom but then I rebooted and it stopped working. I went back to stock but that didn't help either.
neriamarillo said:
Having your same issue. It worked once when I flashed a new rom but then I rebooted and it stopped working. I went back to stock but that didn't help either.
Click to expand...
Click to collapse
If you flashed the factory image and it's still not working then it's most likely a hardware issue.
I remember soon after the N5 was launched there was a barometer app that was crashing all of the sensors. Maybe this is still an issue?
El Daddy said:
I remember soon after the N5 was launched there was a barometer app that was crashing all of the sensors. Maybe this is still an issue?
Click to expand...
Click to collapse
I have barometer installed and working since day 1 I bought the phone.. I would assume the OP problem is an isolated issue that somehow crashed all the sensors.
Most possibility is factory hardware defect.. or .. somehow the phone was at affected by strong magnatic/radiation field area that caused those sensors broken.
Having the same issue.
So I figured something out today. I flashed the stock image for 4.4, (not 4.4.2 like i had previously), and everything works perfectly fine! Now if I take the OTA for 4.4.2 it stops working once again. So now I have no idea what to do lol since I know its not necessarily a hardware issue but more of a software issue. Another thing is while on 4.4.2 if I open GPS Status & Toolbox app to check the GPS or sensors the phone soft reboots but the app never opens.
This is definitively a software issue somewhere. Its been working perfectly fine all day on stock 4.4
I will try and see if I can find what's changing or getting updated when you do the update to 4.4.2.

Screen rotation problems.

Hi everybody I am a Skyrocket user. Some days ago I flashed stock android 2.3.5 on my phone via Odin, just to check some performance and old apps. A day later I flashed back JellyBean 4.1.2 stock but I noticed this problem. When I flip my phone to landscape, it rotates quickly and smooth like it always did. But when I flip back to portrait, it stucks in landscape for some seconds before rotating. This is a problem it doesn't always do, sometimes it rotates immediately like it should. I turn auto rotation off as I don't always need it but some apps like camera and youtube still autorotate. I thought it might be a problem with calibration but it didn't help. I'm on stock JellyBean, no rooted.
(If it helps: I was rooted after flashing the firmware and removed some system apps but only AT&T apps like code scanner,mog music etc, and I later unrooted the phone. Tried factory reset also re-flashed the firmware again to see if it might help with the problem but it didn't.)
kristikoroveshi said:
Hi everybody I am a Skyrocket user. Some days ago I flashed stock android 2.3.5 on my phone via Odin, just to check some performance and old apps. A day later I flashed back JellyBean 4.1.2 stock but I noticed this problem. When I flip my phone to landscape, it rotates quickly and smooth like it always did. But when I flip back to portrait, it stucks in landscape for some seconds before rotating. This is a problem it doesn't always do, sometimes it rotates immediately like it should. I turn auto rotation off as I don't always need it but some apps like camera and youtube still autorotate. I thought it might be a problem with calibration but it didn't help. I'm on stock JellyBean, no rooted.
(If it helps: I was rooted after flashing the firmware and removed some system apps but only AT&T apps like code scanner,mog music etc, and I later unrooted the phone. Tried factory reset also re-flashed the firmware again to see if it might help with the problem but it didn't.)
Click to expand...
Click to collapse
If you tried odin back to stock, and the problem is still there on complete stock then it's probably time for a new phone unfortunately.
a few tips:
1. make sure you check the MD5 to make sure those files downloaded ok and aren't corrupt.
2. make sure you cable is good & you're using a USB port on the back of your PC
3. Ebay phones. even sold as new might not be new even though they look new. Could be just brand new replacement parts and new packaging, etc.
4. Check Vincom's troubleshooting thread! read the stickies! if you haven't, maybe something you overlooked as well.
screen rotation problem solve easily this trick working on all phones.
Use Spirit level pro software to calibrate your phone. sceen rotation problem is horizontal calibration fault, you solve screen rotation problem eaisly to use this software. Download from play store and download from attachment. Try this..
kristikoroveshi said:
Hi everybody I am a Skyrocket user. Some days ago I flashed stock android 2.3.5 on my phone via Odin, just to check some performance and old apps. A day later I flashed back JellyBean 4.1.2 stock but I noticed this problem. When I flip my phone to landscape, it rotates quickly and smooth like it always did. But when I flip back to portrait, it stucks in landscape for some seconds before rotating. This is a problem it doesn't always do, sometimes it rotates immediately like it should. I turn auto rotation off as I don't always need it but some apps like camera and youtube still autorotate. I thought it might be a problem with calibration but it didn't help. I'm on stock JellyBean, no rooted.
(If it helps: I was rooted after flashing the firmware and removed some system apps but only AT&T apps like code scanner,mog music etc, and I later unrooted the phone. Tried factory reset also re-flashed the firmware again to see if it might help with the problem but it didn't.)
Click to expand...
Click to collapse
Tripan said:
Use Spirit level pro software to calibrate your phone. sceen rotation problem is horizontal calibration fault, you solve screen rotation problem eaisly to use this software. Download from play store and download from attachment. Try this..
Click to expand...
Click to collapse
Hi kristikoroveshi is your issue solved if not pm me i faced same issue

[Q] Nexus 5 sensor problems

Ok guys, I have a really big problem. I observed today that autorotation doesn't work. This all started (I think) after my phone has suffered a huge drop on the floor. Ok, you can say that that's the cause, but the strange part is that i checked the gyroscope and the accelerometer with sensor sense and other apps and it show that everthing is normal. It detects movements, rotation etc.
I changed the rom (from 4.4.2 stock rooted to CM 11 M5) and everything is the same. What should I do?
P. S. Also, my device isn't recongnized in windows anymore. I checked the MTP settings and still not working. And it can't be caused by drivers.
Just a guess but did you check the auto rotate is selected
Sent from my Nexus 5
dav8388 said:
Just a guess but did you check the auto rotate is selected
Sent from my Nexus 5
Click to expand...
Click to collapse
yes
sergiu_s said:
Ok guys, I have a really big problem. I observed today that autorotation doesn't work. This all started (I think) after my phone has suffered a huge drop on the floor. Ok, you can say that that's the cause, but the strange part is that i checked the gyroscope and the accelerometer with sensor sense and other apps and it show that everthing is normal. It detects movements, rotation etc.
I changed the rom (from 4.4.2 stock rooted to CM 11 M5) and everything is the same. What should I do?
P. S. Also, my device isn't recongnized in windows anymore. I checked the MTP settings and still not working. And it can't be caused by drivers.
Click to expand...
Click to collapse
Go Here: NEXUS 5 Sensors Fix
it works for everyone..:good:
DoxMAZz said:
Go Here: NEXUS 5 Sensors Fix
it works for everyone..:good:
Click to expand...
Click to collapse
nope, not for me..

[Q] Proximity sensor lag

Hey everyone.
Around 2 months ago proximity sensor in my nexus 5 lagged and stopped working. 'Proximity sensor finder' app says that it just stuck in one position continuously showing the same distance. The lag happened after regular What's App session, basically I noticed the problem when I called my friend shortly after. My first thought was to reboot the phone, but it didn't help, as well as full wipe and flash of a custom firmware didn't make it work. And I forgot to mention that the problem initially occurred on stock firmware. And I'm pretty sure that it's not broken or whatever, since when I checked it during a call it turns on and flashes, it can be easily seen through another smartphone's shooter.
So if you guys have any ideas how to fix this feel free to share, any help will be highly appreciated!
Flash latest factory image.
Flash the factory image once. If this doesn't help, there's an Xposed module that helps you disable the proximity sensor. Install it & then try toggling it & after a while, uninstall it & reboot. See if this works. I'm not sure though, just trying to help.
well, thanks for your suggestions, but nothing helped
I actually thought that messing with exposed module, as was advised, would help, but it didn't
sxeMonster said:
well, thanks for your suggestions, but nothing helped
I actually thought that messing with exposed module, as was advised, would help, but it didn't
Click to expand...
Click to collapse
RMA it.
Thread solved, seems like HW failure

Categories

Resources