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 03-24-2026, 12:19 PM   #31
Stefen
Junior Member
Stefen began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Mar 2026
Device: Kobo Libra Colour
Quote:
Originally Posted by JSWolf View Post
You've done it incorrectly. You have to put your yes in the kobopatch.yaml file. That has the list of all the patches where you put yes to the ones you want. The kobopatch.yaml file has overrides all of the yes you put in libnickel.so.1.0.0.yaml.
I figured I was doing something wrong. Thank you!

New problem I found but appears to be previously reported is `Hide browser from beta features` causes an error. I am not particularly familiar with this code, but how can I fix it? Here is the full error:

APPLY `Hide browser from beta features`
Error: could not apply patch "Hide browser from beta features": line 895: 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 "Hide browser from beta features": line 895: inst 3: ReplaceBytes: could not find specified bytes
Stefen is offline   Reply With Quote
Old 03-24-2026, 01:54 PM   #32
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: 82,602
Karma: 151278869
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 Stefen View Post
I figured I was doing something wrong. Thank you!

New problem I found but appears to be previously reported is `Hide browser from beta features` causes an error. I am not particularly familiar with this code, but how can I fix it? Here is the full error:

APPLY `Hide browser from beta features`
Error: could not apply patch "Hide browser from beta features": line 895: 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 "Hide browser from beta features": line 895: inst 3: ReplaceBytes: could not find specified bytes
That means that patch does not work. I'll make a note of it. Just change yes to no and apply the others.
JSWolf is online now   Reply With Quote
Advert
Old 03-24-2026, 04:01 PM   #33
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: 82,602
Karma: 151278869
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Update the patches to show that the Hide browser from beta features patch does not work.

Last edited by JSWolf; 03-24-2026 at 04:07 PM.
JSWolf is online now   Reply With Quote
Old 03-25-2026, 05:49 AM   #34
MrSilverstrike
Member
MrSilverstrike is as sexy as a twisted cruller doughtnut.MrSilverstrike is as sexy as a twisted cruller doughtnut.MrSilverstrike is as sexy as a twisted cruller doughtnut.MrSilverstrike is as sexy as a twisted cruller doughtnut.MrSilverstrike is as sexy as a twisted cruller doughtnut.MrSilverstrike is as sexy as a twisted cruller doughtnut.MrSilverstrike is as sexy as a twisted cruller doughtnut.MrSilverstrike is as sexy as a twisted cruller doughtnut.MrSilverstrike is as sexy as a twisted cruller doughtnut.MrSilverstrike is as sexy as a twisted cruller doughtnut.MrSilverstrike is as sexy as a twisted cruller doughtnut.
 
Posts: 10
Karma: 15376
Join Date: Apr 2024
Location: Belgium
Device: Kobo Libra Color, Kobo Clara Color
@JSWolf: Here's the full list of each patch that fails to apply if enabled (I've automated the check):

- Remove PDF map widget shown during panning
- Allow rotation on all devices
- Allow showing info panel on random screensaver
- Both page turn buttons go next
- Customize ComfortLight settings
- Hide browser from beta features
- My 24 line spacing values
- Replace adobe page numbers toggle with invert screen
- Set KePub hyphenation
- Default ePub sans-serif font (Gill Sans)
- Default ePub serif font (Amasis)

---

In the meantime, I've made some updates to the Web UI I mentioned earlier.

I think it's decently user friendly now, and much better than the initial prototype I shared. I plan on dedicating some time to further polishing this over the next couple of days; e.g. disabling patches that won't work and such, as I haven't really improved the patching user experience to where I'd like it to be.

(I have included an option to install NickelMenu and KOReader which is supported on most Kobo devices running FW 4.x, so that should also be helpful. I plan on adding an "only stock NickelMenu + KOReader" option too, but currently you can only install KOReader with the preset.)
MrSilverstrike is offline   Reply With Quote
Old 03-25-2026, 06:04 PM   #35
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: 82,602
Karma: 151278869
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 MrSilverstrike View Post
@JSWolf: Here's the full list of each patch that fails to apply if enabled (I've automated the check):

- Remove PDF map widget shown during panning
- Allow rotation on all devices
- Allow showing info panel on random screensaver
- Both page turn buttons go next
- Customize ComfortLight settings
- Hide browser from beta features
- My 24 line spacing values
- Replace adobe page numbers toggle with invert screen
- Set KePub hyphenation
- Default ePub sans-serif font (Gill Sans)
- Default ePub serif font (Amasis)

---

In the meantime, I've made some updates to the Web UI I mentioned earlier.

I think it's decently user friendly now, and much better than the initial prototype I shared. I plan on dedicating some time to further polishing this over the next couple of days; e.g. disabling patches that won't work and such, as I haven't really improved the patching user experience to where I'd like it to be.

(I have included an option to install NickelMenu and KOReader which is supported on most Kobo devices running FW 4.x, so that should also be helpful. I plan on adding an "only stock NickelMenu + KOReader" option too, but currently you can only install KOReader with the preset.)
Thank you for that. I'll update this thread tomorrow when I have time. Also, I can use this list to test the new Libra 2 firmware.
JSWolf is online now   Reply With Quote
Advert
Old Yesterday, 07:59 AM   #36
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: 82,602
Karma: 151278869
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Patches have been updated to mark which patches will not apply. This should be it.
JSWolf is online now   Reply With Quote
Old Yesterday, 06:46 PM   #37
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,314
Karma: 16800000
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by MrSilverstrike View Post
@JSWolf: Here's the full list of each patch that fails to apply if enabled (I've automated the check):

... <snip> ...
- Default ePub sans-serif font (Gill Sans)
- Default ePub serif font (Amasis)
These 2 patches from librmsdk.so.1.0.0.yaml do not work because the list of fonts included in firmware 4.39 onwards changed. You should be able to use the following as replacement patches.

Default ePub sans-serif font (renamed from 'Default ePub sans-serif font (Gill Sans)')
Spoiler:
Code:
Default ePub sans-serif font:
  - Enabled: no
  - Description: |
      This patch changes the default ePub sans-serif font from 'Rakuten Sans' to 'Noto Sans'.
      If the book's stylesheet specifies the generic 'font-family:sans-serif;' then
        the ePub reader will try to use the built-in system font 'Rakuten Sans'.
      This patch allows you to change the default to a different sans-serif font
        (built-in or sideloaded).
      N.B. This patch does not affect kepubs.

    # fw 4.32.19501: The font-family name in Replace: must now be the WHOLE name
    #                not just the first few characters of the name.
    # fw 4.34.20097: Kobo removed the 'Gill Sans' font files from the firmware.
    #       You can still use the patch with one of your sideloaded sans-serif fonts.
    #
    # To use a different font, change "Noto%20Sans" in each Replace: string
    #   to another font name (14 characters max).
    # For example, change "Noto%20Sans" to "Trebuchet" to use a sideloaded Trebuchet font.
    # The 3-char string, %20, represents a single space in the font-family name.
    #
    # If your new font name is longer than 14 chars you would also need to:
    #   1. Use a font editor to shorten the internal font-family name to <=14 chars
    #   2. Rename the 4 font filenames to match the new shortened name
    #   3. Copy the 4 renamed font files into the Kobo sideloaded fonts folder
  - FindReplaceString: {Find: "/normal/Rakuten%20Sans", Replace: "/normal/Noto%20Sans"}
  - FindReplaceString: {Find: "/bold/Rakuten%20Sans", Replace: "/bold/Noto%20Sans"}
  - FindReplaceString: {Find: "/italic/Rakuten%20Sans", Replace: "/italic/Noto%20Sans"}
  - FindReplaceString: {Find: "/bolditalic/Rakuten%20Sans", Replace: "/bolditalic/Noto%20Sans"}


Default ePub serif font (renamed from 'Default ePub serif font (Amasis)')
Spoiler:
Code:
Default ePub serif font:
  - Enabled: no
  - Description: |
        This patch changes the default ePub serif font from 'Rakuten Serif' to Bitter.
        If the book's stylesheet specifies the generic 'font-family:serif;' then
            the ePub reader will try to use the built-in system font 'Rakuten Serif'.
            'Rakuten Serif' is also the font you see if you select 'Publisher Default' from
            the Kobo [Aa] menu and your epub has not specified any particular font.
        This patch allows you to change the default to a different serif font 
            (built-in or sideloaded).
        N.B. This patch does not affect kepubs.

    # fw 4.32.19501: The font-family name in Replace: must now be the WHOLE name
    #                not just the first few characters of the name.
    # fw 4.34.20097: Kobo removed the 'Amasis' font files from the firmware.
    #       You can still use the patch with one of your sideloaded serif fonts.
    # To use a different font, change "Bitter" in each replacement string
    #   to another font name (15 characters max).
    # For example, change "Bitter" to "Noto%20Serif" to use a sideloaded "Noto Serif" font.
    # The 3-char string, %20, represents a single space in the font-family name.
    #
    # If your new font name is longer than 15 chars you would also need to:
    #   1. Use a font editor to shorten the internal font-family name to <=15 chars
    #   2. Rename the 4 font filenames to match the new shortened name
    #   3. Copy the 4 renamed font files into the Kobo sideloaded fonts folder
  - FindReplaceString: {Find: "/normal/Rakuten%20Serif", Replace: "/normal/Bitter"}
  - FindReplaceString: {Find: "/bold/Rakuten%20Serif", Replace: "/bold/Bitter"}
  - FindReplaceString: {Find: "/italic/Rakuten%20Serif", Replace: "/italic/Bitter"}
  - FindReplaceString: {Find: "/bolditalic/Rakuten%20Serif", Replace: "/bolditalic/Bitter"}


@JSWolf, Please will you update post #1 to include these changes to librmsdk.so.1.0.0.yaml
jackie_w is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Firmware 4.45.23646 geek1011 Kobo Reader 13 03-14-2026 07:18 PM
Patches for Firmware 4.45.23640 JSWolf Kobo Developer's Corner 10 03-09-2026 03:01 PM
Index to the Metazoa firmware patches GeoffR Kobo Developer's Corner 284 01-11-2023 05:16 PM
How do I undo all the patches/restore firmware? readingtolearn Kobo Reader 3 12-27-2019 01:54 AM
Some patches for Clara firmware 4.8.11090 GeoffR Kobo Developer's Corner 1 06-19-2018 12:18 PM


All times are GMT -4. The time now is 06:45 AM.


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