View Single Post
Old 06-10-2020, 04:15 AM   #504
Tammuz91
Member
Tammuz91 began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jun 2019
Device: Kobo Clara HD
Hello, does the "Manipulate reading stats" patch still work with new firmwares?

Code:
Manipulate reading stats:
  - Enabled: no
  - 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: 0x4D99A0, FindH: 4F F7 22 EB, ReplaceH: 48 F6 A0 40} # MOV  r0, 0x8ca0    ; 10 hours in seconds in hex
  - ReplaceBytes: {Offset: 0x4D99C0, FindH: 4F F7 12 EB, ReplaceH: 48 F6 A0 40} # MOV  r0, 0x8ca0    ; 10 hours in seconds in hex
I can't seem to make it work, maybe I am doing something wrong.

I get this error:

Quote:
Error: could not apply patch "Manipulate reading stats": line 31: inst 3: ReplaceBytes: could not find specified bytes
Error: could not apply patches: error applying patch file 'src/libnickel.so.1.0.0.yaml': could not apply patch "Manipulate reading stats": line 31: inst 3: ReplaceBytes: could not find specified bytes

Last edited by Tammuz91; 06-10-2020 at 04:18 AM.
Tammuz91 is offline   Reply With Quote