View Single Post
Old 10-02-2023, 11:45 AM   #995
Florin
Junior Member
Florin began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Oct 2023
Device: Kobo Sage
Sorry for ressurecting an old topic, but I accidentally reset my kobo an would really want to get my reading hours stat back. From the info I've been able to dig out the only method that (once) worked was to use the kobopatch to make it so that every time you finished a book it added some amount of hours to total reading time.

Code:
Manipulate reading stats:
  - Enabled: yes
  - Description: Always add 10 hours to the reading time every time you close a book.
  # in EventEngine::endReadingSession(*Volume) when recording end of reading session stats, change QDateTime::secsTo calls to a fixed value
  - ReplaceBytes: {Offset: 0x4D53A0, FindBLX: 0x425270, ReplaceH: 4F F6 FF 70} # MOV  r0, #65535
  - ReplaceBytes: {Offset: 0x4D53C0, FindBLX: 0x425270, ReplaceH: 4F F6 FF 70} # MOV  r0, #65535
This doesn't work on current firmware version. Did a search for 0x425270 (4FF766EF) with no results in libnickel.so.1.0.0 file.

Is there a way to make this work on the 4.38 update? Or did they change something that makes this impossible to do anymore?
Florin is offline   Reply With Quote