Bug in nexus 5 accelerometer? - Nexus 5 Q&A, Help & Troubleshooting

Is there a bug in the nexus 5 accelerometer?
I've been trying various pedometer apps. None seem particularly accurate but what bothers me is how the built in accelerometer they are based on seems to abruptly stop working every now and then and the steps stop counting until I reboot. Happens simultaneously to all 2-3 apps I have installed which suggests the accelerometer is the common factor.
Is this a known bug? Is there a way to fix it or test it?

Try downloading a game that relies on the accelerometer and see how it works, is everything works fine in the game, then I'd say it's not because of your accelerometer. If it is the accelerometer, try recalibrating it. Old HTC phones had a built in tool for that iirc, but for now, there must be some apps on Play Store which are capable of doing just that.

You are not alone...My accelerometer cuts out in my sleep tracking app intermittently since the May update for 6.0.1 on a nexus 5.
maybeme2 said:
Is there a bug in the nexus 5 accelerometer?
I've been trying various pedometer apps. None seem particularly accurate but what bothers me is how the built in accelerometer they are based on seems to abruptly stop working every now and then and the steps stop counting until I reboot. Happens simultaneously to all 2-3 apps I have installed which suggests the accelerometer is the common factor.
Is this a known bug? Is there a way to fix it or test it?
Click to expand...
Click to collapse

Related

[Q] GPS won't lock if rear camera is in use, otherwise GPS works great

I've searched high and low, but haven't been able to find a solution to this issue, hopefully somebody here has a good answer for this one.
I'm trying to run Waze in the foreground and DailyRoads Voyager in the background while driving, but any time DRV is running, Waze can't get a GPS lock. If I shut down DRV, I get a GPS lock quickly and without issue. The issue doesn't appear to be app related, as I can generate the same symptoms using other camera apps and 'gps status'.
I've seen a few references on other forums where people with S3's are having the same issue, but I haven't found a resolution yet. I'm running the current OTA build, never rooted/tweaked.
Any ideas?
PDXKris said:
I've searched high and low, but haven't been able to find a solution to this issue, hopefully somebody here has a good answer for this one.
I'm trying to run Waze in the foreground and DailyRoads Voyager in the background while driving, but any time DRV is running, Waze can't get a GPS lock. If I shut down DRV, I get a GPS lock quickly and without issue. The issue doesn't appear to be app related, as I can generate the same symptoms using other camera apps and 'gps status'.
I've seen a few references on other forums where people with S3's are having the same issue, but I haven't found a resolution yet. I'm running the current OTA build, never rooted/tweaked.
Any ideas?
Click to expand...
Click to collapse
This is a seriously random suggestion, but did you try turning off geotagging in the main camera app?
aooga said:
This is a seriously random suggestion, but did you try turning off geotagging in the main camera app?
Click to expand...
Click to collapse
I just double-checked, and GPS tagging was already turned off in the stock camera app. Thanks for the idea though!
Can anybody else confirm if they see this behavior as well?
Since my first post I've tried rooted OTA, ran numerous CM10.1 builds (doing full wipes in between), leanKernel, testing along the way all without any real success. It seems a little hit and miss, on occasion (maybe 10% of the time) it seems to work, but in those times GPS still takes 5-10min to get a lock usually has less accuracy than when using GPS apps alone w/o the camera on.
When the camera isn't in use, I typically get a GPS lock in <30 sec (sometimes in just a few seconds).

[Q] Nexus 5 sensors stop working at random no output until restart

Hi all, I'm a little worried as I love my Nexus 5 coming from a Desire Z but I'd say from as little as 30 mins to up to 8 hours or so I have to reset my phone as all the sensors stop working. Installing a sensor monitoring app it says the output is blank on them all.
Screen rotation, compass, maps and the barometer all stop working.
Anyone else getting this?
I don't think its hardware as a reboot fixes it for a while.
Thanks
Edit:
It also seems to have resolved itself after a while, when I installed a step counting app I checked and the sensors and they were all working again.
A bit odd...
I am having the same problem. Which step counting app did you install to keep it working?
brandnamebob said:
I am having the same problem. Which step counting app did you install to keep it working?
Click to expand...
Click to collapse
Hi
It was an app called Moves - but it ate an absolute load of battery life so I uninstalled it rather quick, it was also pretty crap.
I have this issue very rarely now, I just wish I knew what the problem was caused by.
Have you in the past enabled the ART library?
LaurenceGough said:
Hi
It was an app called Moves - but it ate an absolute load of battery life so I uninstalled it rather quick, it was also pretty crap.
I have this issue very rarely now, I just wish I knew what the problem was caused by.
Have you in the past enabled the ART library?
Click to expand...
Click to collapse
I have not used the ART library yet.
The app I noticed the problem in is 'Reddit is Fun' but It is most likely a background app that is causing the issues.
I uninstalled a bunch of them, including Elixer and PressureNet, just to see if I continue to have the issue.
Ahh OK. I installed an app called barometer+ so I could make use of the pressure sensor. I think it has background logging as well. Perhaps it is this causing it.
I'm having the same issue. Right now I'm just restarting my phone whenever I notice it.
smalovic said:
I'm having the same issue. Right now I'm just restarting my phone whenever I notice it.
Click to expand...
Click to collapse
smalovic do you have any weather apps or pressure sensor apps (or anything like that)?
Have you tried the ART libary at all?
Thanks
LaurenceGough said:
smalovic do you have any weather apps or pressure sensor apps (or anything like that)?
Have you tried the ART libary at all?
Thanks
Click to expand...
Click to collapse
I have PressureNet installed. I switched to the ART library but I'm getting the same problem.
Hi all,
Same issue here. I'm using syspressure app for background pressure logging. I switched to a every 5 mins sample rate instead of 1. Now I will try to see if it's happening again.
Sent from my Nexus 5 using xda app-developers app
My Barometer+ app was set to hour updates...
I guess we can all relate to a pressure app, probably the cause...
Setting SyPressure sample rate to 5 minutes has done nothing.
After about 30 mins of standby all sensors stopped working again.
Now I have disabled the widget of SyPressure that means no background logging anymore.
I will update the status.
---------- Post added at 09:16 AM ---------- Previous post was at 08:54 AM ----------
UPDATE:
After about 30 mins of standby all sensors still WORKING.
Now I will try to wait much more than 30 minutes
I will update!!
UPDATE 2:
After more than 1 hour, sensors still OK!
I will try overnight and check it out.
Anyway also battery perfomence seems to be better, 1 hour ago charge was at 33% and now is still alt 33%
PS. Sorry for my english
I uninstalled PressureNet yesterday and left it overnight. Everything's still working this morning!
It must be some glitch with the barometer apps.
Same problem here. I also have sypressure on my phone. I've uninstalled sypressure a day ago, and for now everything work fine
I have the same infuriating issue.
My device: Nexus 5
Build: KRT16M
Unlocked, TWRP Recovery, Root, Chainfire's SuperSU
I also have "pressureNET" app installed for logging pressure readings.
After reboot all sensors work fine. Installed app "Sensor Sense" confirms this. Then randomly at some point in time, 2 or 5 or 8 hours later most sensors stop working and it is always the same ones.
Battery, Location, Light, and Proximity all continue to work fine indefinitely.
Pressure, Accelerometer, Gravity, Gyroscope, Linear Acceleration, Rotation, and Magnetic Field all fail and no apps can make a call on these sensors as part of their function.
This is most readily and frequently apparent in (i) the "Gallery" in which rotating the screen no longer results in auto-rotation of images, (ii) orientation of recorded images and videos with "Camera" in which the capture is locked into one orientation and videos shot in landscape (for example) end up with an on-their-side portrait orientation when viewed, and (iii) YouTube videos can no longer orientate when playing and the screen is changed to a different orientation e.g. load video in portrait mode, flip horizontal, and video no change or adaptation occurs, (iv) going into a PhotoSphere results in a black screen of nothing, (v) "Compass" doesn't work, (vi) "Skymap" doesn't work, etc. etc.
Would love to see a resolution to this issue; this is the first forum or instance of discussing the problem on the Web that I have found.
Robooting the device resets everything and all sensors (and apps) work fine as normal.
markbruce said:
My device: Nexus 5
Build: KRT16M
Unlocked, TWRP Recovery, Root, Chainfire's SuperSU
I also have "pressureNET" app installed for logging pressure readings.
After reboot all sensors work fine. Installed app "Sensor Sense" confirms this. Then randomly at some point in time, 2 or 5 or 8 hours later most sensors stop working and it is always the same ones.
Battery, Location, Light, and Proximity all continue to work fine indefinitely.
Pressure, Accelerometer, Gravity, Gyroscope, Linear Acceleration, Rotation, and Magnetic Field all fail and no apps can make a call on these sensors as part of their function.
This is most readily and frequently apparent in (i) the "Gallery" in which rotating the screen no longer results in auto-rotation of images, (ii) orientation of recorded images and videos with "Camera" in which the capture is locked into one orientation and videos shot in landscape (for example) end up with an on-their-side portrait orientation when viewed, and (iii) YouTube videos can no longer orientate when playing and the screen is changed to a different orientation e.g. load video in portrait mode, flip horizontal, and video no change or adaptation occurs, (iv) going into a PhotoSphere results in a black screen of nothing, (v) "Compass" doesn't work, (vi) "Skymap" doesn't work, etc. etc.
Would love to see a resolution to this issue; this is the first forum or instance of discussing the problem on the Web that I have found.
Click to expand...
Click to collapse
Uninstall pressureNET, reboot, and you should be all set.
Sent from my Nexus 5 using XDA Premium 4 mobile app
Resolved
I confirm that "pressureNET" was the app causing the other sensors to crash.
50 hours after uninstalling and rebooting there has been no recurrence of the problem; all sensors and the handset have worked flawlessly throughout.
markbruce said:
I confirm that "pressureNET" was the app causing the other sensors to crash.
50 hours after uninstalling and rebooting there has been no recurrence of the problem; all sensors and the handset have worked flawlessly throughout.
Click to expand...
Click to collapse
Reading the other replies, it seems as though any barometer app causes the issues.
Sent from my Nexus 5 using XDA Premium 4 mobile app
smalovic said:
Reading the other replies, it seems as though any barometer app causes the issues.
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Damn, I'm having the same issue intermittently. Might have to uninstall the app until they get this sorted out, which is a shame because the sample size for reading in my region is probably very small.
Looks like the pressureNET dev is working on a fix. He posted on Reddit: http://www.reddit.com/r/Android/comments/1qzg0n/nexus_5_sensor_issues_whats_going_on/
Sent from my Nexus 5 using XDA Premium 4 mobile app

Compass issues after upgrading to Lollipop

Hey guys,
New smartphone user here. I've had Nexus 5 for a few months now.
Lollipop is really well made and the new visuals are great. Everything seems to be working well so far, except for my compass. It does not work either in my Compass app or in Google Maps. I've seen a few threads where people lost some of their sensors, so I downloaded Sensor Box to see what it would find.
The magnetic sensor works properly, but there isn't a "compass" sensor in it. Are they different or is the compass position determined using the magnetic sensor? The GPS Essentials compass does work, but it feels very slow and it's all over the place.
Additionally, when I start my Compass app, it does not activate Location like GPS Essentials would, although, it fetches my current address properly on top of the compass itself. (see attachment)
Could it be just that the compass works in a different way in Lollipop and apps have to be updated for it? I'm completely lost. Any help would be appreciated, guys.
Cheers,
I am experiencing the same issue.
I'm also having this issue, only app I did get it to work with was Compass 360. But I really only would need it for Google Maps, so this is still very annoying.
Did anyone come up with a solution, or at least an explanation yet?
Or does anyone know where to file a bug report about such an issue?
Are you sure the APIs just didn't change with Lollipop? If one app works and not another, it may not be a Lollipop bug.
Kompass is dead on for me, no issues whatsoever. Try moving the phone in a horizontal figure 8 to calibrate the kompass and watch for electrical/magnetic interferences.

Gravity sensor suddenly stopped working

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

What do I do about a non-functioning gyroscope/accelerometer?

A while ago—and I didn't think I noticed it right away, so it's hard to say exactly when or if it was immediately after an Android update—my Pixel 4a's gyroscope and accelerometer stopped functioning. I installed the sensor logging app phyphox from F-Droid and it tells me my device doesn't appear to have a gyroscope or accelerometer, although other sensors like the light and proximity sensors work. I am running stock Android with the latest updates. The phone is otherwise functional, but the problems I've noticed are:
* AR/VR functionality doesn't work at all
* Location sensing is less accurate when stationary or at walking speeds
* I can't rotate the screen even with Auto Rotate enabled, except in apps like YouTube that enable manual rotation
* If I take photos or videos in landscape orientation I have to manually rotate them afterwards
I tried uninstalling some old apps and starting the phone in safe mode, but the problem of not being able to rotate the screen with Auto Rotate persisted. I then tried a factory reset; this didn't help either. Today I got the update from Android 11 to Android 12; the update went fine but I still have this problem on Android 12.
Has anyone solved this issue with the Pixel 4a? What should I try next?
Reflash to last working rom.
If that fails it likely a mobo failure.
Once I have a fast, stable OS that's fulfilling its mission I don't update. Updates aren't needed or even desirable most times* especially since Android R raised its ugly head.
Pie and Q are still the more desirable variants.
Since Q Android has been in a high G flat spin and all they do in response is mash the throttles into the full afterburner indents.
That won't get it... *splash*
Scoped storage splashed 2x
*if you the latest Android hype, yes; if you want the most functional and user friendly, no.
Choose wisely or your it's a lick on you.
lunasspecto said:
A while ago—and I didn't think I noticed it right away, so it's hard to say exactly when or if it was immediately after an Android update—my Pixel 4a's gyroscope and accelerometer stopped functioning. I installed the sensor logging app phyphox from F-Droid and it tells me my device doesn't appear to have a gyroscope or accelerometer, although other sensors like the light and proximity sensors work. I am running stock Android with the latest updates. The phone is otherwise functional, but the problems I've noticed are:
* AR/VR functionality doesn't work at all
* Location sensing is less accurate when stationary or at walking speeds
* I can't rotate the screen even with Auto Rotate enabled, except in apps like YouTube that enable manual rotation
* If I take photos or videos in landscape orientation I have to manually rotate them afterwards
I tried uninstalling some old apps and starting the phone in safe mode, but the problem of not being able to rotate the screen with Auto Rotate persisted. I then tried a factory reset; this didn't help either. Today I got the update from Android 11 to Android 12; the update went fine but I still have this problem on Android 12.
Has anyone solved this issue with the Pixel 4a? What should I try next?
Click to expand...
Click to collapse
I'm having the exact same problem..have you find any solution yet?
samrattt said:
I'm having the exact same problem..have you find any solution yet?
Click to expand...
Click to collapse
Nope. I haven't tried downgrading or flashing ROMs because I'm worried it will interfere with my employer's device policy that allows me to view my work email, calendar, etc on my phone, and also because I don't really have the time. So for now I'm just living with the issue.

Categories

Resources