FORUMS
Remove All Ads from XDA

Gravity sensor suddenly stopped working

6 posts
Thanks Meter: 0
 
By starless72, Junior Member on 9th August 2017, 11:36 AM
Post Reply Email Thread
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.
 
 
9th August 2017, 03:01 PM |#2  
audit13's Avatar
Senior Member
Flag Toronto
Thanks Meter: 4,583
 
More
If the problem exists on a stock ROM, it could be a hardware fault.
9th August 2017, 03:24 PM |#3  
OP Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by audit13

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

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.
9th August 2017, 03:26 PM |#4  
audit13's Avatar
Senior Member
Flag Toronto
Thanks Meter: 4,583
 
More
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.
The Following User Says Thank You to audit13 For This Useful Post: [ View ] Gift audit13 Ad-Free
10th August 2017, 09:26 AM |#5  
OP Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by audit13

I stopped using custom roms a while ago because of minor problems that would suddenly appear..

Well, that's a little hope at least.
I will need to find some time to re-stock my Nexus and try.
Thanks .
16th August 2017, 10:46 AM |#6  
OP Junior Member
Thanks Meter: 0
 
More
Thumbs up
Ok, I restored the phone to stock and all sensors work again now!
Thanks audit13 for pushing me in that direction .
16th August 2017, 10:06 PM |#7  
audit13's Avatar
Senior Member
Flag Toronto
Thanks Meter: 4,583
 
More
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
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