Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 08-25-2018, 04:41 AM   #181
Dirk-71
Groupie
Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.
 
Posts: 160
Karma: 35462
Join Date: Dec 2016
Location: Germany
Device: Kobo: Clara BW, Libra 2, Aura One
nickel.yaml

Do not enable patch Remove recommendations (row1col2) from home screen when Remove footer (row3) and increase cover size on new home screen is enabled.
Otherwise you'll get an error during patching and it will fail.

Generally I miss these kind of hints in the patch descriptions.
Dirk-71 is offline   Reply With Quote
Old 08-25-2018, 04:50 AM   #182
forster01
Groupie
forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.
 
Posts: 197
Karma: 82624
Join Date: May 2013
Device: Kobo Forma, Kobo Aura One, Kobo Aura HD, Kindle, Amazon Fire HD
Quote:
Originally Posted by geek1011 View Post
Do you know which patch?
Apparently its 24 line spacing patch, as i patched only that one right now.
i renamed stack_00.log to stack_00.txt for a upload.

--EDIT-- on repatching i added all other patches i wanted, and set 24 line spacing patch to no and everything is fine now. (except 24 line spacing...)
Just note, that this happened on KA1 non limited on kobo removed 4.10 firmware.
Attached Files
File Type: txt log.txt (207.9 KB, 248 views)
File Type: txt stack_00.txt (15.5 KB, 262 views)

Last edited by forster01; 08-25-2018 at 05:15 AM.
forster01 is offline   Reply With Quote
Old 08-25-2018, 05:16 AM   #183
Dirk-71
Groupie
Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.
 
Posts: 160
Karma: 35462
Join Date: Dec 2016
Location: Germany
Device: Kobo: Clara BW, Libra 2, Aura One
Quote:
Originally Posted by forster01 View Post
Apparently its 24 line spacing patch, as i patched only that one right now.
..........
Yes, I can confirm it's 24 line spacing patch causing this issue. I encountered myself, I couldn't open any book. Instead the device rebooted any time I tried to open a book.
Dirk-71 is offline   Reply With Quote
Old 08-25-2018, 06:50 AM   #184
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
I don't know what is wrong with the `My 24 line spacing values` patch for 4.10.11591, it might be a while before I can work it out, so best just to use the `My 10 line spacing values` patch for now.

Is the `Brightness fine control` patch working? From what I can see, it shouldn't work.

There was a long-standing bug in the comments of the `ePub fixed top/bottom margins` patch, but it didn't affect the default patch, only those trying to customise the left/right and bottom margins would have come across it. Here is the corrected version:
Spoiler:
Code:
ePub fixed top/bottom margins:
  - Enabled: no
  - PatchGroup: ePub padding-bottom alternatives
  - Description:
      This patch sets the @page margin sizes in epubs to fixed custom values,
      overriding any @page margin set in the book's CSS stylesheet. (But beware
      that some books also set page margins in an XPGT stylesheet which are added
      to any CSS @page margins, and those will not be affected by this patch).
    #      padding-bottom: %1em !important;\n
    # --> }@page{margin:00px 00px 00px}body{
  - FindReplaceString:
      Find: "\x20padding-bottom: %1em !important;\n"
      Replace: "}@page{margin:00px 00px 00px}body{"
    # *** Replacement values start here, don't change anything above ***
  - ReplaceString: {Offset: 0x0E, Find: "00px", Replace: "25px"} # TOP MARGIN: Replacement value is the margin size (two digits) in pixels:
  - ReplaceString: {Offset: 0x18, Find: "00px", Replace: "00px"} # BOTTOM MARGIN: Replacement value is the margin size (two digits) in pixels:
    #
    # Minimum LEFT/RIGHT MARGIN: (This margin will overlap the left/right margin
    # set with the adjustment slider, not add to it.) Replacement value is margin
    # size (two digits) in pixels:
  - ReplaceString: {Offset: 0x13, Find: "00px", Replace: "00px"}
GeoffR is offline   Reply With Quote
Old 08-25-2018, 06:59 AM   #185
Dirk-71
Groupie
Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.
 
Posts: 160
Karma: 35462
Join Date: Dec 2016
Location: Germany
Device: Kobo: Clara BW, Libra 2, Aura One
Quote:
Originally Posted by GeoffR View Post

Is the `Brightness fine control` patch working? From what I can see, it shouldn't work.


[/code][/spoiler]
It's not working. Enabling it doesn't seem to cause issues but it has no effect.
Dirk-71 is offline   Reply With Quote
Old 08-25-2018, 07:07 AM   #186
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by GeoffR View Post
I don't know what is wrong with the `My 24 line spacing values` patch for 4.10.11591, it might be a while before I can work it out, so best just to use the `My 10 line spacing values` patch for now.
As far as my KA1 (not Limited Ed) with 4.10.11591 is concerned, I have noticed no problems with the `My 24 line spacing values` patch. It's working as well as it always has. I've just opened several, previously unread, kepubs with no issues whatsoever.
jackie_w is offline   Reply With Quote
Old 08-25-2018, 08:41 AM   #187
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,805
Karma: 7423683
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
I have removed the 24 line spacing values patch for fw 4.10.11591 which GeoffR sent me. For those who are fine with the potential crashes on the Adobe epub reader, here it is:
Spoiler:
Code:
My 24 line spacing values:
  - Enabled: no
  - PatchGroup: Line spacing values alternatives
  - Description: |
      This patch changes the values on the line spacing adjustment slider,
      increasing the number of spacing options from 15 to 24, and allowing
      much narrower spacing values to be set.
    # save r5, initialise loop counter
  - ReplaceBytes: {Offset: 0x65A034, FindH: BC F5 84 EA 6D A3, ReplaceH: A9 46 00 25 ED 00}
    # loop to load 14 vals from new table
  - ReplaceBytes: {Offset: 0x65A03A, FindH: D3 E9 00 23 07 F1, ReplaceH: 20 46 04 A1 29 44}
  - ReplaceBytes: {Offset: 0x65A040, FindH: 80 01 20 46,       ReplaceH: BC F5 7E EA}
  - ReplaceBytes: {Offset: 0x65A044, FindH: 61 E9 1C 23 BC F5, ReplaceH: 08 35 70 2D F7 D1}
    # jump over new table
  - ReplaceBytes: {Offset: 0x65A04A, FindH: 7A EA 6A A3 D3 E9, ReplaceH: 7C E0 00 BF 00 BF}
    # new table: 14 8-aligned doubles
  - BaseAddress: 0x65A050
  - ReplaceBytes: {Offset: 0x00, FindH: 00 23 07 F1 80 01 20 46, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - ReplaceBytes: {Offset: 0x08, FindH: 61 E9 1A 23 BC F5 70 EA, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - ReplaceBytes: {Offset: 0x10, FindH: 67 A3 D3 E9 00 23 07 F1, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - ReplaceBytes: {Offset: 0x18, FindH: 80 01 20 46 61 E9 18 23, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - ReplaceBytes: {Offset: 0x20, FindH: BC F5 66 EA 43 F2 33 33, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - ReplaceBytes: {Offset: 0x28, FindH: 4F F0 33 32 C3 F6 F3 73, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - ReplaceBytes: {Offset: 0x30, FindH: 07 F1 80 01 20 46 61 E9, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - ReplaceBytes: {Offset: 0x38, FindH: 16 23 BC F5 5A EA 5E A3, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - ReplaceBytes: {Offset: 0x40, FindH: D3 E9 00 23 07 F1 80 01, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - ReplaceBytes: {Offset: 0x48, FindH: 20 46 61 E9 14 23 BC F5, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - ReplaceBytes: {Offset: 0x50, FindH: 50 EA 00 23 00 22 C3 F6, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - ReplaceBytes: {Offset: 0x58, FindH: F8 73 07 F1 80 01 20 46, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - ReplaceBytes: {Offset: 0x60, FindH: 61 E9 12 23 BC F5 44 EA, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - ReplaceBytes: {Offset: 0x68, FindH: 55 A3 D3 E9 00 23 07 F1, ReplaceH: 00 00 00 00 00 00 F0 3F}
  - BaseAddress: 0
    # initialise loop counter
  - ReplaceBytes: {Offset: 0x65A144, FindH: 00 23 00 22, ReplaceH: 00 BF 00 25}
    # loop to load 10 vals from old table
  - ReplaceBytes: {Offset: 0x65A148, FindH: C4 F2 08 03 07 F1, ReplaceH: 20 46 29 A1 29 44}
  - ReplaceBytes: {Offset: 0x65A14E, FindH: 80 01 20 46, ReplaceH: BC F5 F8 E9}
  - ReplaceBytes: {Offset: 0x65A152, FindH: 61 E9 02 23 BC F5, ReplaceH: 08 35 50 2D F7 D1}
    # restore r5
  - ReplaceBytes: {Offset: 0x65A158, FindH: F4 E9, ReplaceH: 4D 46}
    # continue at 65A15A
    #
    # Replacement value: the number of initial line spacing values to exclude from
    # the line spacing slider; minimum 0, maximum 13. E.g. 9 will result in a
    # slider with 15 positions, starting from the 10th replace_float value below.
  - ReplaceInt: {Offset: 0x65A036, Find: 0, Replace: 0}
    # 24 replacement line spacing values: change these replace_float values to suit
    # your device and preferences:
  - BaseAddress: 0x65A050
  - ReplaceFloat: {Offset: 0x00, Find: 1.0, Replace: 0.75}
  - ReplaceFloat: {Offset: 0x08, Find: 1.0, Replace: 0.78}
  - ReplaceFloat: {Offset: 0x10, Find: 1.0, Replace: 0.8}
  - ReplaceFloat: {Offset: 0x18, Find: 1.0, Replace: 0.82}
  - ReplaceFloat: {Offset: 0x20, Find: 1.0, Replace: 0.84}
  - ReplaceFloat: {Offset: 0x28, Find: 1.0, Replace: 0.86}
  - ReplaceFloat: {Offset: 0x30, Find: 1.0, Replace: 0.88}
  - ReplaceFloat: {Offset: 0x38, Find: 1.0, Replace: 0.9}
  - ReplaceFloat: {Offset: 0x40, Find: 1.0, Replace: 0.92}
  - ReplaceFloat: {Offset: 0x48, Find: 1.0, Replace: 0.94}
  - ReplaceFloat: {Offset: 0x50, Find: 1.0, Replace: 0.96}
  - ReplaceFloat: {Offset: 0x58, Find: 1.0, Replace: 0.98}
  - ReplaceFloat: {Offset: 0x60, Find: 1.0, Replace: 1.0}
  - ReplaceFloat: {Offset: 0x68, Find: 1.0, Replace: 1.02}
  - BaseAddress: 0x65A1F0
  - ReplaceFloat: {Offset: 0x00, Find: 1.05, Replace: 1.05}
  - ReplaceFloat: {Offset: 0x08, Find: 1.07, Replace: 1.07}
  - ReplaceFloat: {Offset: 0x10, Find: 1.1,  Replace: 1.1}
  - ReplaceFloat: {Offset: 0x18, Find: 1.35, Replace: 1.15}
  - ReplaceFloat: {Offset: 0x20, Find: 1.7,  Replace: 1.2}
  - ReplaceFloat: {Offset: 0x28, Find: 1.8,  Replace: 1.25}
  - ReplaceFloat: {Offset: 0x30, Find: 2.2,  Replace: 1.3}
  - ReplaceFloat: {Offset: 0x38, Find: 2.4,  Replace: 1.35}
  - ReplaceFloat: {Offset: 0x40, Find: 2.6,  Replace: 1.4}
  - ReplaceFloat: {Offset: 0x48, Find: 2.8,  Replace: 1.5}
    # The first 14 replace_float values above should allow the line spacing to be
    # adjusted in increments of one pixel when using a medium sized font on a high
    # resolution device. If you use a smaller font size and/or a lower resolution
    # device you might find that increasing the slider one step at a time doesn't
    # always result in a line spacing increase at each step. In that case, you
    # might want to use replacement values that are not quite so close together.
    #
    # For example: (I use these values on my 758x1024 Glo)
    #
    #  0.7 0.725 0.75 0.775 0.8 0.825 0.85 0.875 0.9 0.925 0.95 0.975 1.0 1.025 ...
    #
    # or: (these might better suit the 600x800 Touch)
    #
    #  0.6 0.633 0.667 0.7 0.733 0.767 0.8 0.833 0.867 9.0 9.33 9.67 1.0 1.025 ...

Last edited by geek1011; 08-25-2018 at 12:38 PM.
geek1011 is offline   Reply With Quote
Old 08-25-2018, 10:05 AM   #188
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,878
Karma: 146918083
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by jackie_w View Post
As far as my KA1 (not Limited Ed) with 4.10.11591 is concerned, I have noticed no problems with the `My 24 line spacing values` patch. It's working as well as it always has. I've just opened several, previously unread, kepubs with no issues whatsoever.
Please try an ePub eBooks. I think the problem is there someplace.
JSWolf is offline   Reply With Quote
Old 08-25-2018, 10:24 AM   #189
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by JSWolf View Post
Please try an ePub eBooks. I think the problem is there someplace.
I have also tried standard epubs. I only have 4 of them on my KA1 (3 of which are very small test epubs) but I tried all of them. I cannot reproduce any problem. I even tested the full-length standard epub with all 24 values for line spacing - still no problem.

I've just this minute transferred a brand new standard epub from calibre and opened it - still no problem.

I do realise this proves nothing as far as other people's experiences are concerned.

ETA: The only time I've ever experienced problems when opening a book is when I re-sent a book over the top of one already on the Kobo when I'd edited the new version and changed its TOC & internal structure. But I know this is known to cause problems and usually remember to physically delete the old before sending the new.

Last edited by jackie_w; 08-25-2018 at 10:29 AM. Reason: ETA
jackie_w is offline   Reply With Quote
Old 08-25-2018, 11:02 AM   #190
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by forster01 View Post
After applying new firmware on non limited KA1 everything was smooth, but after applying a patch i couldn't open any of my epubs cause on opening device rebooted every time.
After trying a few times i went for factory reset and apply 4.9.11311 firmware that worked ok. i applied only few patches. basic ones....

I uploaded a log...
There seems to be something odd in your log.txt, it looks like only half of the patch has been applied. Could someone check I am reading this right? Here is the section of the log.txt where the My 24 line spacing values patch is applied:
Spoiler:
Code:
          ResetBaseAddress()
          Enabled: true
          applying patch `My 24 line spacing values`
        looping over instructions
          skipping non-instruction Enabled(), PatchGroup() or Description()
          skipping non-instruction Enabled(), PatchGroup() or Description()
          skipping non-instruction Enabled(), PatchGroup() or Description()
          ReplaceBytes(6660148, []byte{0xbc, 0xf5, 0x84, 0xea, 0x6d, 0xa3}, []byte{0xa9, 0x46, 0x0, 0x25, 0xed, 0x0})
          ReplaceBytes(6660154, []byte{0xd3, 0xe9, 0x0, 0x23, 0x7, 0xf1}, []byte{0x20, 0x46, 0x4, 0xa1, 0x29, 0x44})
          ReplaceBytes(6660160, []byte{0x80, 0x1, 0x20, 0x46}, []byte{0xbc, 0xf5, 0x7e, 0xea})
          ReplaceBytes(6660164, []byte{0x61, 0xe9, 0x1c, 0x23, 0xbc, 0xf5}, []byte{0x8, 0x35, 0x70, 0x2d, 0xf7, 0xd1})
          ReplaceBytes(6660170, []byte{0x7a, 0xea, 0x6a, 0xa3, 0xd3, 0xe9}, []byte{0x7c, 0xe0, 0x0, 0xbf, 0x0, 0xbf})
          BaseAddress(6660176)
          ReplaceBytes(0, []byte{0x0, 0x23, 0x7, 0xf1, 0x80, 0x1, 0x20, 0x46}, []byte{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x3f})
          ReplaceBytes(8, []byte{0x61, 0xe9, 0x1a, 0x23, 0xbc, 0xf5, 0x70, 0xea}, []byte{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x3f})
          ReplaceBytes(16, []byte{0x67, 0xa3, 0xd3, 0xe9, 0x0, 0x23, 0x7, 0xf1}, []byte{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x3f})
          ReplaceBytes(24, []byte{0x80, 0x1, 0x20, 0x46, 0x61, 0xe9, 0x18, 0x23}, []byte{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x3f})
          ReplaceBytes(32, []byte{0xbc, 0xf5, 0x66, 0xea, 0x43, 0xf2, 0x33, 0x33}, []byte{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x3f})
          ReplaceBytes(40, []byte{0x4f, 0xf0, 0x33, 0x32, 0xc3, 0xf6, 0xf3, 0x73}, []byte{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x3f})
          ReplaceBytes(48, []byte{0x7, 0xf1, 0x80, 0x1, 0x20, 0x46, 0x61, 0xe9}, []byte{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x3f})
          ReplaceBytes(56, []byte{0x16, 0x23, 0xbc, 0xf5, 0x5a, 0xea, 0x5e, 0xa3}, []byte{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x3f})
          ReplaceBytes(64, []byte{0xd3, 0xe9, 0x0, 0x23, 0x7, 0xf1, 0x80, 0x1}, []byte{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x3f})
          ReplaceBytes(72, []byte{0x20, 0x46, 0x61, 0xe9, 0x14, 0x23, 0xbc, 0xf5}, []byte{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x3f})
          ReplaceBytes(80, []byte{0x50, 0xea, 0x0, 0x23, 0x0, 0x22, 0xc3, 0xf6}, []byte{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x3f})
          ReplaceBytes(88, []byte{0xf8, 0x73, 0x7, 0xf1, 0x80, 0x1, 0x20, 0x46}, []byte{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x3f})
          ReplaceBytes(96, []byte{0x61, 0xe9, 0x12, 0x23, 0xbc, 0xf5, 0x44, 0xea}, []byte{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x3f})
          ReplaceBytes(104, []byte{0x55, 0xa3, 0xd3, 0xe9, 0x0, 0x23, 0x7, 0xf1}, []byte{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x3f})
          BaseAddress(0)
          ReplaceBytes(6660420, []byte{0x0, 0x23, 0x0, 0x22}, []byte{0x0, 0xbf, 0x0, 0x25})
          ResetBaseAddress()
          Enabled: true
          applying patch `Custom left & right margins`

The last ReplaceBytes line is from only about half-way through the patch, there should be more to come.

Edit: For reference, the yaml is here.

Last edited by GeoffR; 08-25-2018 at 11:13 AM. Reason: added link to yaml
GeoffR is offline   Reply With Quote
Old 08-25-2018, 11:04 AM   #191
Dirk-71
Groupie
Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.
 
Posts: 160
Karma: 35462
Join Date: Dec 2016
Location: Germany
Device: Kobo: Clara BW, Libra 2, Aura One
I don't mind about the patching system. For me I have the same time to spend, doesn't matter whether it's the new or the old system.
Dirk-71 is offline   Reply With Quote
Old 08-25-2018, 11:21 AM   #192
forster01
Groupie
forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.
 
Posts: 197
Karma: 82624
Join Date: May 2013
Device: Kobo Forma, Kobo Aura One, Kobo Aura HD, Kindle, Amazon Fire HD
----delete----

Last edited by forster01; 08-25-2018 at 11:34 AM. Reason: delete
forster01 is offline   Reply With Quote
Old 08-25-2018, 11:32 AM   #193
forster01
Groupie
forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.
 
Posts: 197
Karma: 82624
Join Date: May 2013
Device: Kobo Forma, Kobo Aura One, Kobo Aura HD, Kindle, Amazon Fire HD
This is the code from yamil:
Quote:
My 24 line spacing values:
- Enabled: no
- PatchGroup: Line spacing values alternatives
- Description: |
This patch changes the values on the line spacing adjustment slider,
increasing the number of spacing options from 15 to 24, and allowing
much narrower spacing values to be set.
# save r5, initialise loop counter
- ReplaceBytes: {Offset: 0x65A034, FindH: BC F5 84 EA 6D A3, ReplaceH: A9 46 00 25 ED 00}
# loop to load 14 vals from new table
- ReplaceBytes: {Offset: 0x65A03A, FindH: D3 E9 00 23 07 F1, ReplaceH: 20 46 04 A1 29 44}
- ReplaceBytes: {Offset: 0x65A040, FindH: 80 01 20 46, ReplaceH: BC F5 7E EA}
- ReplaceBytes: {Offset: 0x65A044, FindH: 61 E9 1C 23 BC F5, ReplaceH: 08 35 70 2D F7 D1}
# jump over new table
- ReplaceBytes: {Offset: 0x65A04A, FindH: 7A EA 6A A3 D3 E9, ReplaceH: 7C E0 00 BF 00 BF}
# new table: 14 8-aligned doubles
- BaseAddress: 0x65A050
- ReplaceBytes: {Offset: 0x00, FindH: 00 23 07 F1 80 01 20 46, ReplaceH: 00 00 00 00 00 00 F0 3F}
- ReplaceBytes: {Offset: 0x08, FindH: 61 E9 1A 23 BC F5 70 EA, ReplaceH: 00 00 00 00 00 00 F0 3F}
- ReplaceBytes: {Offset: 0x10, FindH: 67 A3 D3 E9 00 23 07 F1, ReplaceH: 00 00 00 00 00 00 F0 3F}
- ReplaceBytes: {Offset: 0x18, FindH: 80 01 20 46 61 E9 18 23, ReplaceH: 00 00 00 00 00 00 F0 3F}
- ReplaceBytes: {Offset: 0x20, FindH: BC F5 66 EA 43 F2 33 33, ReplaceH: 00 00 00 00 00 00 F0 3F}
- ReplaceBytes: {Offset: 0x28, FindH: 4F F0 33 32 C3 F6 F3 73, ReplaceH: 00 00 00 00 00 00 F0 3F}
- ReplaceBytes: {Offset: 0x30, FindH: 07 F1 80 01 20 46 61 E9, ReplaceH: 00 00 00 00 00 00 F0 3F}
- ReplaceBytes: {Offset: 0x38, FindH: 16 23 BC F5 5A EA 5E A3, ReplaceH: 00 00 00 00 00 00 F0 3F}
- ReplaceBytes: {Offset: 0x40, FindH: D3 E9 00 23 07 F1 80 01, ReplaceH: 00 00 00 00 00 00 F0 3F}
- ReplaceBytes: {Offset: 0x48, FindH: 20 46 61 E9 14 23 BC F5, ReplaceH: 00 00 00 00 00 00 F0 3F}
- ReplaceBytes: {Offset: 0x50, FindH: 50 EA 00 23 00 22 C3 F6, ReplaceH: 00 00 00 00 00 00 F0 3F}
- ReplaceBytes: {Offset: 0x58, FindH: F8 73 07 F1 80 01 20 46, ReplaceH: 00 00 00 00 00 00 F0 3F}
- ReplaceBytes: {Offset: 0x60, FindH: 61 E9 12 23 BC F5 44 EA, ReplaceH: 00 00 00 00 00 00 F0 3F}
- ReplaceBytes: {Offset: 0x68, FindH: 55 A3 D3 E9 00 23 07 F1, ReplaceH: 00 00 00 00 00 00 F0 3F}
- BaseAddress: 0
# initialise loop counter
- ReplaceBytes: {Offset: 0x65A144, FindH: 00 23 00 22, ReplaceH: 00 BF 00 25}
# loop to load 10 vals from old table
I seems to me that we found a problem, as only half of the code was copied to yamil.... will try again
forster01 is offline   Reply With Quote
Old 08-25-2018, 11:33 AM   #194
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by forster01 View Post
look at the last log, when i only patched 24 lines patch.
Same problem with that log. What it looks like is maybe you copied-and-pasted the yaml patch from my post, but didn't scroll down far enough to copy the whole patch. This could be a bit of an issue with the yaml format because there is no end-of-patch marker, so if a bit is left off the end there is no error to tell you that the patch is incomplete.

Spoiler:
Code:
          ResetBaseAddress()
          Enabled: true
          applying patch `My 24 line spacing values`
        looping over instructions
          skipping non-instruction Enabled(), PatchGroup() or Description()
          skipping non-instruction Enabled(), PatchGroup() or Description()
          skipping non-instruction Enabled(), PatchGroup() or Description()
          ReplaceBytes(6660148, []byte{0xbc, 0xf5, 0x84, 0xea, 0x6d, 0xa3}, []byte{0xa9, 0x46, 0x0, 0x25, 0xed, 0x0})
          ReplaceBytes(6660154, []byte{0xd3, 0xe9, 0x0, 0x23, 0x7, 0xf1}, []byte{0x20, 0x46, 0x4, 0xa1, 0x29, 0x44})
          ReplaceBytes(6660160, []byte{0x80, 0x1, 0x20, 0x46}, []byte{0xbc, 0xf5, 0x7e, 0xea})
          ReplaceBytes(6660164, []byte{0x61, 0xe9, 0x1c, 0x23, 0xbc, 0xf5}, []byte{0x8, 0x35, 0x70, 0x2d, 0xf7, 0xd1})
          ReplaceBytes(6660170, []byte{0x7a, 0xea, 0x6a, 0xa3, 0xd3, 0xe9}, []byte{0x7c, 0xe0, 0x0, 0xbf, 0x0, 0xbf})
          BaseAddress(6660176)
          ReplaceBytes(0, []byte{0x0, 0x23, 0x7, 0xf1, 0x80, 0x1, 0x20, 0x46}, []byte{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x3f})
          ReplaceBytes(8, []byte{0x61, 0xe9, 0x1a, 0x23, 0xbc, 0xf5, 0x70, 0xea}, []byte{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x3f})
          ReplaceBytes(16, []byte{0x67, 0xa3, 0xd3, 0xe9, 0x0, 0x23, 0x7, 0xf1}, []byte{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x3f})
          ReplaceBytes(24, []byte{0x80, 0x1, 0x20, 0x46, 0x61, 0xe9, 0x18, 0x23}, []byte{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x3f})
          ReplaceBytes(32, []byte{0xbc, 0xf5, 0x66, 0xea, 0x43, 0xf2, 0x33, 0x33}, []byte{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x3f})
          ReplaceBytes(40, []byte{0x4f, 0xf0, 0x33, 0x32, 0xc3, 0xf6, 0xf3, 0x73}, []byte{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x3f})
          ReplaceBytes(48, []byte{0x7, 0xf1, 0x80, 0x1, 0x20, 0x46, 0x61, 0xe9}, []byte{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x3f})
          ReplaceBytes(56, []byte{0x16, 0x23, 0xbc, 0xf5, 0x5a, 0xea, 0x5e, 0xa3}, []byte{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x3f})
          ReplaceBytes(64, []byte{0xd3, 0xe9, 0x0, 0x23, 0x7, 0xf1, 0x80, 0x1}, []byte{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x3f})
          ReplaceBytes(72, []byte{0x20, 0x46, 0x61, 0xe9, 0x14, 0x23, 0xbc, 0xf5}, []byte{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x3f})
          ReplaceBytes(80, []byte{0x50, 0xea, 0x0, 0x23, 0x0, 0x22, 0xc3, 0xf6}, []byte{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x3f})
          ReplaceBytes(88, []byte{0xf8, 0x73, 0x7, 0xf1, 0x80, 0x1, 0x20, 0x46}, []byte{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x3f})
          ReplaceBytes(96, []byte{0x61, 0xe9, 0x12, 0x23, 0xbc, 0xf5, 0x44, 0xea}, []byte{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x3f})
          ReplaceBytes(104, []byte{0x55, 0xa3, 0xd3, 0xe9, 0x0, 0x23, 0x7, 0xf1}, []byte{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x3f})
          BaseAddress(0)
          ReplaceBytes(6660420, []byte{0x0, 0x23, 0x0, 0x22}, []byte{0x0, 0xbf, 0x0, 0x25})
          ResetBaseAddress()
          Enabled: false
          skipping patch `Force user font-family in ePubs (Part 1 of 2)`

Last edited by GeoffR; 08-25-2018 at 11:35 AM. Reason: ... that the patch is incomplete.
GeoffR is offline   Reply With Quote
Old 08-25-2018, 11:35 AM   #195
forster01
Groupie
forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.forster01 can do the Funky Gibbon.
 
Posts: 197
Karma: 82624
Join Date: May 2013
Device: Kobo Forma, Kobo Aura One, Kobo Aura HD, Kindle, Amazon Fire HD
I used geeks yamil, i didnt add or remove anything, seems to me that only a half of the patch was there...
forster01 is offline   Reply With Quote
Reply

Tags
kobo, kobopatch, patch, patch32lsb


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
kobopatch - A new (WIP) patching system geek1011 Kobo Developer's Corner 93 05-27-2018 03:04 PM
Patching H2O Maillemom Kobo Developer's Corner 8 10-19-2016 09:58 AM
Instructions for patching firmware 3.17.3 GeoffR Kobo Developer's Corner 60 09-17-2015 05:35 PM
Instructions for patching firmware 3.8.0 GeoffR Kobo Developer's Corner 92 10-22-2014 07:22 AM
how to clean more disk space in root file system to upgrade system chinaet iRex 1 12-18-2006 03:54 PM


All times are GMT -4. The time now is 10:33 AM.


MobileRead.com is a privately owned, operated and funded community.