View Single Post
Old 09-19-2019, 04:53 PM   #2
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,804
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Reserved for when I'm ready to post a few things.

---

Some random thoughts:
- The file import logic has changed a bit ... and now it will scan all dirs under .kobo except a whitelist ... so no more .kobo/addons @NiLuJe ... but it doesn't scan the trash folders. My hack is still needed to stop it scanning other dotfiles reliably, though. Update: there's a new FeatureSettings::ExcludeSyncFolders, and it seems like it takes a set of regexps that match with /mnt/*/ trimmed off the start. That might do what we want.
- This will make a mess of my usual format for the release notes of the patches (the work is now spread across 3 versions).
- Hindenburg is gone (I don't know what it did in the first place...)
- Kepub chapter counting stuff has been slightly changed
- Annotations and gestures have some minor internal refactors
- Kepub location tracking has changed slightly internally
- There are some minor fixes all around (as said in the release notes)
- Here is the result of testing the current patches with this version:
Spoiler:
Code:
Testing patches for 4.17.13694
kobopatch unknown
https://github.com/geek1011/kobopatch

Loading configuration from -
Reading input firmware testdata tarball

Patching libadobe.so
 ✕  Keep PDF pan position
 ✔  Remove PDF map widget shown during panning
 ✔  Remove PDF page turn arrows

Patching libnickel.so.1.0.0
 ✕  Allow showing info panel on random screensaver
 ✕  Always show confirmation dialog before upgrading
 ✕  Both page turn buttons go next
 ✕  Both page turn sides go next
 ✕  DeveloperSettings - AutoUsbGadget
 ✕  DeveloperSettings - ForceAllowLandscape
 ✕  Disable all tutorial dialogs
 ✕  FeatureSettings - BookSpecificStats
 ✕  FeatureSettings - ExportHighlights
 ✕  FeatureSettings - FullScreenBrowser
 ✕  FeatureSettings - MyWords
 ✕  FeatureSettings - ShowFacebookShare
 ✕  Hide browser from beta features
 ✕  Increase TOC level indentation
 ✕  Increase TOC level indentation and fix extra indentation bug
 ✕  Never show Kobo Plus, wishlist, and points SmartLinks
 ✕  Only show Pocket SmartLink
 ✕  Only show stats SmartLink
 ✕  PowerSettings - UnlockEnabled
 ✕  Remove beta features not supported text
 ✕  Remove recommendations (row1col2) from home screen
 ✕  Remove title from reading header/footer
 ✔  Rename new home screen footer
 ✕  Replace adobe page numbers toggle with invert screen
 ✕  Set visible SmartLink
 ✔  Allow searches on Extra dictionaries
 ✔  Block WiFi firmware upgrade
 ✔  Change dicthtml strings to micthtml
 ✕  Custom Sleep/Power-off timeouts
 ✕  Custom kepub default margins
 ✔  Custom left & right margins
 ✔  Force user font-family in ePubs (Part 1 of 2)
 ✔  Force user line spacing in KePubs
 ✔  Force user line spacing in ePubs (part 1 of 2)
 ✕  Freedom to advanced fonts control
 ✔  Ignore .otf fonts
 ✔  KePub constant font sharpness
 ✔  KePub stylesheet additions
 ✕  My 10 line spacing values
 ✕  Set KePub hyphenation
 ✕  Set font scale factor
 ✔  Un-Force user font-family in KePubs
 ✔  Un-Force user text-align in div,p tags in KePubs
 ✔  Un-force font-family override p tags (std epubs)
 ✔  Un-force link decoration in KePubs
 ✔  ePub constant font sharpness
 ✔  ePub disable built-in body padding-bottom
 ✔  ePub fixed top/bottom margins
 ✔  ePub uniform font scale
 ✔  Custom header/footer page number text
 ✔  Dictionary text font-family/font-size/line-height
 ✔  Dictionary, remove long winded closest match notification
 ✔  Wikipedia Search language

Patching librmsdk.so.1.0.0
 ✔  Default ePub monospace font (Courier)
 ✔  Default ePub sans-serif font (Gill Sans)
 ✔  Default ePub serif font (Amasis)
 ✔  Default ePub symbol font (Symbol)
 ✔  Disable orphans/widows avoidance
 ✔  Force user font-family in ePubs (Part 2 of 2)
 ✔  Force user line spacing in ePubs (Part 2 of 2)
 ✔  Ignore ePub TOC navpoints
 ✔  Ignore ePub book Adobe XPGT stylesheet (page-template.xpgt)
 ✔  Ignore ePub book CSS and Adobe XPGT stylesheets

Patching nickel
 ✔  Change pop-up footnote font-family
 ✔  Increase size of kepub chapter progress chart
 ✔  Remove forgot pin button from lock screen
 ✔  Show all games
 ✔  Custom synopsis details line spacing
 ✔  Custom synopsis font size
 ✔  Disable reading footer
 ✔  New home screen increasing cover size
 ✔  Reduce top/bottom page spacer
 ✔  Increase headlines font
 ✔  New home screen subtitle custom font
 ✔  Remove footer (row3) and increase cover size on new home screen
 ✔  Remove footer (row3) on new home screen
 ✔  Dictionary pop-up - increase available text area
 ✔  Increase Book Details synopsis area
 ✔  Increase library cover size

Errors:
  src/versions/4.17.13694/libadobe.so.yaml/geek1011.yaml: Keep PDF pan position: could not apply patch "Keep PDF pan position": line 22: inst 4: ReplaceBytesAtSymbol: ReplaceBytes: could not find specified bytes at offset
  src/versions/4.17.13694/libnickel.so.1.0.0.yaml/geek1011.yaml: Always show confirmation dialog before upgrading: could not apply patch "Always show confirmation dialog before upgrading": line 52: inst 3: ReplaceBytes: could not find specified bytes at offset
  src/versions/4.17.13694/libnickel.so.1.0.0.yaml/geek1011.yaml: Both page turn buttons go next: could not apply patch "Both page turn buttons go next": line 16: inst 3: ReplaceBytes: could not find specified bytes at offset
  src/versions/4.17.13694/libnickel.so.1.0.0.yaml/geek1011.yaml: FeatureSettings - BookSpecificStats: could not apply patch "FeatureSettings - BookSpecificStats": line 250: inst 3: ReplaceBytesAtSymbol: ReplaceBytes: could not find specified bytes
  src/versions/4.17.13694/libnickel.so.1.0.0.yaml/geek1011.yaml: Remove recommendations (row1col2) from home screen: could not apply patch "Remove recommendations (row1col2) from home screen": line 183: inst 3: ReplaceBytesNOP: could not find bytes
  src/versions/4.17.13694/libnickel.so.1.0.0.yaml/geek1011.yaml: PowerSettings - UnlockEnabled: could not apply patch "PowerSettings - UnlockEnabled": line 288: inst 3: ReplaceBytes: could not find specified bytes
  src/versions/4.17.13694/libnickel.so.1.0.0.yaml/geek1011.yaml: DeveloperSettings - ForceAllowLandscape: could not apply patch "DeveloperSettings - ForceAllowLandscape": line 283: inst 3: ReplaceBytes: could not find specified bytes
  src/versions/4.17.13694/libnickel.so.1.0.0.yaml/geek1011.yaml: Disable all tutorial dialogs: could not apply patch "Disable all tutorial dialogs": line 85: inst 3: ReplaceBytesAtSymbol: ReplaceBytes: could not find specified bytes
  src/versions/4.17.13694/libnickel.so.1.0.0.yaml/geek1011.yaml: FeatureSettings - ExportHighlights: could not apply patch "FeatureSettings - ExportHighlights": line 270: inst 3: ReplaceBytesAtSymbol: ReplaceBytes: could not find specified bytes
  src/versions/4.17.13694/libnickel.so.1.0.0.yaml/geek1011.yaml: Increase TOC level indentation and fix extra indentation bug: could not apply patch "Increase TOC level indentation and fix extra indentation bug": line 203: inst 5: ReplaceBytes: could not find specified bytes at offset
  src/versions/4.17.13694/libnickel.so.1.0.0.yaml/geek1011.yaml: Never show Kobo Plus, wishlist, and points SmartLinks: could not apply patch "Never show Kobo Plus, wishlist, and points SmartLinks": line 168: inst 4: ReplaceBytesNOP: could not find bytes
  src/versions/4.17.13694/libnickel.so.1.0.0.yaml/geek1011.yaml: Only show Pocket SmartLink: could not apply patch "Only show Pocket SmartLink": line 147: inst 4: ReplaceBytes: could not find specified bytes
  src/versions/4.17.13694/libnickel.so.1.0.0.yaml/geek1011.yaml: Set visible SmartLink: could not apply patch "Set visible SmartLink": line 135: inst 4: ReplaceBytes: could not find specified bytes
  src/versions/4.17.13694/libnickel.so.1.0.0.yaml/geek1011.yaml: DeveloperSettings - AutoUsbGadget: could not apply patch "DeveloperSettings - AutoUsbGadget": line 275: inst 3: ReplaceBytes: could not find specified bytes
  src/versions/4.17.13694/libnickel.so.1.0.0.yaml/geek1011.yaml: FeatureSettings - MyWords: could not apply patch "FeatureSettings - MyWords": line 265: inst 3: ReplaceBytesAtSymbol: ReplaceBytes: could not find specified bytes
  src/versions/4.17.13694/libnickel.so.1.0.0.yaml/geek1011.yaml: FeatureSettings - ShowFacebookShare: could not apply patch "FeatureSettings - ShowFacebookShare": line 255: inst 3: ReplaceBytesAtSymbol: ReplaceBytes: could not find specified bytes
  src/versions/4.17.13694/libnickel.so.1.0.0.yaml/geek1011.yaml: Hide browser from beta features: could not apply patch "Hide browser from beta features": line 61: inst 3: ReplaceBytesNOP: could not find bytes
  src/versions/4.17.13694/libnickel.so.1.0.0.yaml/geek1011.yaml: Remove beta features not supported text: could not apply patch "Remove beta features not supported text": line 71: inst 3: ReplaceBLX: could not find bytes
  src/versions/4.17.13694/libnickel.so.1.0.0.yaml/geek1011.yaml: Remove title from reading header/footer: could not apply patch "Remove title from reading header/footer": line 240: inst 3: ReplaceBytes: could not find specified bytes at offset
  src/versions/4.17.13694/libnickel.so.1.0.0.yaml/geek1011.yaml: Replace adobe page numbers toggle with invert screen: could not apply patch "Replace adobe page numbers toggle with invert screen": line 38: inst 3: ReplaceBLX: could not find bytes
  src/versions/4.17.13694/libnickel.so.1.0.0.yaml/geek1011.yaml: Allow showing info panel on random screensaver: could not apply patch "Allow showing info panel on random screensaver": line 221: inst 3: ReplaceBytesNOP: could not find bytes
  src/versions/4.17.13694/libnickel.so.1.0.0.yaml/geek1011.yaml: Both page turn sides go next: could not apply patch "Both page turn sides go next": line 23: inst 3: ReplaceBytesNOP: could not find bytes
  src/versions/4.17.13694/libnickel.so.1.0.0.yaml/geek1011.yaml: FeatureSettings - FullScreenBrowser: could not apply patch "FeatureSettings - FullScreenBrowser": line 260: inst 3: ReplaceBytesAtSymbol: ReplaceBytes: could not find specified bytes
  src/versions/4.17.13694/libnickel.so.1.0.0.yaml/geek1011.yaml: Increase TOC level indentation: could not apply patch "Increase TOC level indentation": line 192: inst 4: ReplaceBytes: could not find specified bytes at offset
  src/versions/4.17.13694/libnickel.so.1.0.0.yaml/geek1011.yaml: Only show stats SmartLink: could not apply patch "Only show stats SmartLink": line 158: inst 4: ReplaceBytes: could not find specified bytes
  src/versions/4.17.13694/libnickel.so.1.0.0.yaml/geoffr.yaml: My 10 line spacing values: could not apply patch "My 10 line spacing values": line 19: inst 4: ReplaceBytesNOP: could not find bytes
  src/versions/4.17.13694/libnickel.so.1.0.0.yaml/geoffr.yaml: Custom Sleep/Power-off timeouts: could not apply patch "Custom Sleep/Power-off timeouts": line 169: inst 11: ReplaceInt: could not find specified bytes at offset
  src/versions/4.17.13694/libnickel.so.1.0.0.yaml/geoffr.yaml: Custom kepub default margins: could not apply patch "Custom kepub default margins": line 128: inst 3: ReplaceInt: could not find specified bytes at offset
  src/versions/4.17.13694/libnickel.so.1.0.0.yaml/geoffr.yaml: Freedom to advanced fonts control: could not apply patch "Freedom to advanced fonts control": line 71: inst 3: ReplaceBytes: could not find specified bytes at offset
  src/versions/4.17.13694/libnickel.so.1.0.0.yaml/geoffr.yaml: Set KePub hyphenation: could not apply patch "Set KePub hyphenation": line 192: inst 3: ReplaceBytes: could not find specified bytes
  src/versions/4.17.13694/libnickel.so.1.0.0.yaml/geoffr.yaml: Set font scale factor: could not apply patch "Set font scale factor": line 418: inst 3: ReplaceInt: could not find specified bytes at offset
Test failed for 4.17.13694! Stopping.


- Kobo seems intent on officially implementing the functionality of many patches and mods recently ... at least 10 patches now have their features/fixes implemented, and now my mod has it's full feature set implemented too (they didn't just expand the dotfile blacklist; they added full regexp support and a config option) ... at least it's less work for me to do.

Sorry about the low-levelness of these notes, but I don't have time right now for much detail.

---

And, now, don't expect the patch release for either firmware until Sunday. I don't feel like redoing the patches the day after we finished updating them. At least the firmware will be similar.
Attached Files
File Type: pdf nickelfiles.pdf (169.6 KB, 420 views)
File Type: txt nickelfiles.txt (65.2 KB, 411 views)

Last edited by geek1011; 09-19-2019 at 05:59 PM.
geek1011 is offline   Reply With Quote