Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jumps to 2 billion + steps #52

Closed
j710 opened this issue Sep 14, 2014 · 21 comments
Closed

Jumps to 2 billion + steps #52

j710 opened this issue Sep 14, 2014 · 21 comments
Labels

Comments

@j710
Copy link

j710 commented Sep 14, 2014

Recurring issue. Continues to occur even after clearing data and wipe and reinstall of the app. It will randomly jump to over 2 billion steps for the day after about 6 days of perfect and accurate operation. No correlation to activity (such as riding a bike or running). Only fix is to delete data in the app info. Possible that even backups are corrupted. Motorola droid maxx

@dotWee
Copy link
Contributor

dotWee commented Sep 14, 2014

Well, i think only the Nexus 5 is official supported, because of it's hardware-step counter.

@eholk
Copy link

eholk commented Sep 24, 2014

I've been seeing this issue on my Moto X as well, which is supposed to have a hardware-step counter. Restarting my phone will at least reset the count, and sometimes even saves my steps so far that day.

@j4velin
Copy link
Owner

j4velin commented Sep 24, 2014

Are you able to somehow reproduce the issue? Do you use any task killer or battery saver apps? Any root scripts to shutdown the device?

@j710
Copy link
Author

j710 commented Sep 25, 2014

I can't swear that the Droid Maxx has a step counter, though i could check if i knew where to look, but it's extremely accurate, so it's doing something right.

It has happened 3 times now, but i haven't seen a correlation to anything I'm doing physically (i.e. running). No task killer or battery savers, not rooted, stock ROM 4.4.4. I don't reboot for sometimes a couple weeks at a time.

@eholk
Copy link

eholk commented Sep 25, 2014

I don't use a task killer or battery saver app. I just updated to a new version of Pedometer yesterday, so I will keep you posted if I see it again. Sometimes the issue would appear every other day, other times it may take a week for it to appear.

Is there a way I can turn on logging in case the issue appears again?

@j4velin
Copy link
Owner

j4velin commented Sep 26, 2014

yes, install the debug version from here: http://www.j4velin.de/Pedometer-debug.apk

@j4velin j4velin added the bug label Sep 27, 2014
@nrichar2
Copy link

I'm having the same issue on my Moto X. I've been clearing my data to reset it, but after about 5 days or so it jumps up to around 2,147,450,000.

2014-10-15 20 57 34

@j4velin
Copy link
Owner

j4velin commented Oct 16, 2014

Still: Without a log from the debug version, there's really nothing I can do

@nrichar2
Copy link

I installed the debug version and have the log file now that it jumped up again.

I've uploaded it to: https://dl.dropboxusercontent.com/u/11412161/Pedometer.log

@j4velin
Copy link
Owner

j4velin commented Oct 21, 2014

Okay, seems like your sensor reported a reeeeeally big step value. I updated the debug version to ignore such values (as they're most probably not real values), could you test if that fixes the issue?

@nrichar2
Copy link

I updated and now it seems to be ignoring all values and the count stays at zero. I've uploaded the latest log file:
https://dl.dropboxusercontent.com/u/11412161/Pedometer.log

@j710
Copy link
Author

j710 commented Oct 22, 2014

installed latest debug version. It is registering steps. give me a few days to see if it jumps.

@j4velin
Copy link
Owner

j4velin commented Oct 23, 2014

@nrichar2 try rebooting your device once to check if the recalibrates the sensor

@nrichar2
Copy link

That worked, now it is tracking my steps again. Thanks for your help.

@nrichar2
Copy link

5 days later, its back to reading a total of 2,147,483,634 steps. I uploaded the latest log file here:
https://dl.dropboxusercontent.com/u/11412161/Pedometer.log

Hope that helps

@j4velin
Copy link
Owner

j4velin commented Oct 28, 2014

Unfortunately, the log stopped 4 days ago - did you maybe replace the debug version with the Play Store version?

@nrichar2
Copy link

Sorry, I didn't look at it before I posted. Not sure what happened, but I'll reinstall the debug and try again.

@j710
Copy link
Author

j710 commented Nov 7, 2014

little over 2 weeks on the latest debug version. Seems to be working great

@j710
Copy link
Author

j710 commented Nov 12, 2014

dbug version had a blowout today (Nov 11th). Log file caught it. Link below:
http://1drv.ms/1Er7g9q

@j4velin
Copy link
Owner

j4velin commented Nov 22, 2014

Well, there isn't much I can fix about this:

At 2:04 PM, your sensor reported 32k steps since the last reboot - that's probably correct.
26 minutes later, it reported that you made 2^64 steps since the last reboot....

I'll ignore those values in the UI in the next version

@j710
Copy link
Author

j710 commented Apr 19, 2015

Figured I'd follow up on this... Fresh install of stable version in early December. About 2 weeks in got the usual jump and I left it alone. after about 1-2 weeks it jumped again in the opposite direction by the same value (i believe). The totals and records remained whacked out, but there have been zero problems since.

@j710 j710 closed this as completed Apr 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants