My Phone Time-Travelled Again. How? and Why?


Question

I have a Moto G XT1033 with ResurrectionRemix-M-5.6.8-20160502-falcon ROM.



Yesterday night after a low battery alert I had a Whatsapp unread notification from my friend. I opened the message and found that I had a unread message from him which I remembered reading in morning.



Then I observed that I was missing my conversation with him from that time onwards till I noticed this. I also observed that that all Personal/Group Chats were also missing the entire duration's chats.



I thought maybe Whatsapp had reverted to an Old Message backup. But then I found that Firefox was missing 12-15 hours worth of browsing history.



I had also observed that the SMS which I received from the bank in the evening had disappeared. As well Google Play Store re-updated two applications which it had already updated in the evening. I had also lost some Photographs which I took with my phone in the evening. Call History is also missing for the day.



Google Now showed it was last updated 20 Hours ago.



From all this it looks like my phone Time-Travelled from morning to night.



QUESTION: Aside from Time-Travelling. How is this even technically possible for the Entire phone to rollback its memory/state/data to some previous time.



I think I had noticed this behavior few months back also, when I lost some Whatsapp chats but that time I thought it must be a Whatsapp bug and did not investigate.



UPDATE1 (16th Jan 2017, 10:35PM IST): It happened again today (Now around 10:30 PM IST).



My phone automatically restarted. (As if it just time-travelled and entered current time).



Restart Vibration made me alert for expecting this scenario.
As soon as the phone started, I switched the phone to Airplane Mode to prevent Time-Line contamination



This Time I am observing the following:




  • Google Now Updated 8 hours ago.

  • Battery Graph is missing some time. (Time Jump?) But battery has decreased. Battery Graph is missing some timeTime Jump Started around 4PMenter image description here

  • Outlook is missing the Mails it received at around 9PM

  • Inbox is also missing Mails.

  • Call History looks good. Last call 8 Hours ago (2:10PM). Time Jump started around 4PM.

  • Whatsapp is missing chats which I received at around 6:30PM.
    Whatsapp showing already read messages as unread

  • Sync Timings
    enter image description hereenter image description hereenter image description hereenter image description hereenter image description here

  • Llama Event Logs
    enter image description hereenter image description here



If additional Info is required please inform. I will try to get it before I turn off Airplane Mode



Update2 (17th Jan 2017, 8:33PM IST): It Looks now phone has become a Serial Time Traveller.



It restarted just now and the battery graph is missing two blocks of time.
Whatsapp messages are missing as well.
enter image description hereenter image description hereenter image description here


Answer

I thought I was the only one facing this issue, and I didn't even know how to describe my problem back then. Looks like we're on the same boat.
Even I'm using the Moto G (XT1033), but on NXROM 10.2, and I started facing this issue around a year ago until last December. The phone randomly reboots when I'm using it, and as you had described, it went back in time, and all the messages, downloaded files, statictics for a period of time and other stuff just vanished.
I tried to Google this up, and here is my understanding (I may be wrong, so please correct me if so):



It turns out that this happens due to a kernel panic, and when the fsync function is not executed. fsync is responsible for writing the data from the buffers (all changes you make to data, like new messages, photos etc. is stored temporarily here) to the internal storage. When a kernel panic occurs, all the data in the buffer is not moved to the internal storage, but just vanishes. So all those changes you made just vanishes into thin air.



I was pretty frustrated about this, and then I stumbled upon LSpeed (available on Play Store). There was a battery profile which emphasises on conserving battery life. It disables kernel panic, and modifies a whole lot of other settings. Since I installed that, I've not faced this issue again. Try this out and do let me know how it works out for you.


Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes