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 06-21-2026, 04:04 PM   #46
Phil_C
Addict
Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.
 
Phil_C's Avatar
 
Posts: 296
Karma: 391602
Join Date: Oct 2009
Location: Chicago, IL USA
Device: Sony PRS-350; Kobo Clara HD; Kobo Clara 2E; Kobo Clara BW
Quote:
Originally Posted by MrSilverstrike View Post
@Phil_C: I got this working. You can try out the feature on the preview at:
https://kp-dev.nicoverbruggen.be

It's accessible via the "Advanced" section below the patch selector.

You normally need to put in the destination path for the files manually, but fonts are automatically detected and the path is prefilled for an easy "sideload fonts to the system partition" experience.

(I've successfully used it to patch in some of my own fonts, which seems to work fine. If you want to undo it, removing these patched files still needs to happen via telnet or SSH, as you can only zero out patched files to "disable" them.)
This is looking really great. One more request and a question:

I have a hyphenation dictionary that is installed by the Files section of kobopatch.yaml (like the fonts). This sends the dict to usr/local/Kobo/hyphenDicts/. If this could be added to your Web flow, it would take care of my only remaining need.

I created the patch zip without connecting the Kobo, so it seems I would have to start from scratch if I want to do some new tweaking via the Web UI. True? But is it also true that if I connect the Kobo next time, my previous settings would be picked up from the .json that was copied to the device from the first effort?

Thanks for your work on this. It's super easy to use.

EDIT: Never mind! I did some more fiddling and answered my own questions. You mentioned that a path for additional files could be entered manually, but I missed it. I've experimented with multiple updates to one device and everything is working well. Another device will follow. Excellent!

Last edited by Phil_C; 06-21-2026 at 05:59 PM.
Phil_C is offline   Reply With Quote
Old 06-21-2026, 07:04 PM   #47
Phil_C
Addict
Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.
 
Phil_C's Avatar
 
Posts: 296
Karma: 391602
Join Date: Oct 2009
Location: Chicago, IL USA
Device: Sony PRS-350; Kobo Clara HD; Kobo Clara 2E; Kobo Clara BW
@MrSilverstrike

There is one patch missing for the Clara BW. It is a special patch created by @jackie_w because "Remove line from bottom tab bar" does not work on this model.

Code:
Remove line from bottom tab bar via CSS:
  - Enabled: no
  - Description: Removes the line from the top of the bottom tab bar
  - FindZlib: "#activeTabLine" # qss/MainNavButton.qss
  - ReplaceZlibGroup:
      Replacements:
        - {Find: "solid", Replace: "none"}
This works on the Clara BW. Not sure about other models. I hope you can add this to your Web UI.

EDIT: This patch goes in nickel.yaml or maybe your Nickel Custom, not libnickel.yaml.

Last edited by Phil_C; 06-21-2026 at 08:46 PM.
Phil_C is offline   Reply With Quote
Old 06-22-2026, 02:24 PM   #48
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: 83,900
Karma: 153649587
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
This already happens!

Currently, a manifest is stored in the (hidden) .kobopatch-webui folder at the root of the drive if you use "Connect to my Kobo" via USB and patch your device.

The manifest contains information about the patches you last chose, and you can "re-apply" the patches that you chose before if you attempt to go through the flow again.

The NickelMenu flow works the same way (it also generates a manifest) and there's a logs folder in there too for everyone who wants to see exactly what the webapp did to their device.
If this manifest is used for a new firmware and any of the patches no longer work, does the user get notified which patch(s) no longer work? Also, can the site be made to email users when any patch is found not to work and and are fixed to work?
JSWolf is offline   Reply With Quote
Old 06-23-2026, 02:53 PM   #49
MrSilverstrike
Enthusiast
MrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than mom
 
MrSilverstrike's Avatar
 
Posts: 30
Karma: 78007
Join Date: Apr 2024
Location: Belgium
Device: Kobo Libra Color, Kobo Clara Color
@Phil_C: Thanks, I'll make sure to add this later this week.

@JSWolf: The user can see which patches don't work due to the blacklist but the user isn't informed about broken patches. I think I can improve that, actually. A message after pressing "Restore patches" with an overview of which patches are known to fail (now) for the latest version might be useful. Currently the blacklist only applies to the latest firmware version, which is actually not communicated that well.

Sending email is something I generally don't do with my web apps for various reasons. Since everything is under version control, you can see whether something has changed in terms of compatibility by checking the blacklist history itself here: https://github.com/nicoverbruggen/ko...blacklist.json

If items are removed from the file, that means that patches have become compatible! The last time I updated the patches when you told me they'd been updated, and you can see that's what happened
MrSilverstrike is offline   Reply With Quote
Old 06-23-2026, 03:33 PM   #50
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: 83,900
Karma: 153649587
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
@Phil_C: Thanks, I'll make sure to add this later this week.

@JSWolf: The user can see which patches don't work due to the blacklist but the user isn't informed about broken patches. I think I can improve that, actually. A message after pressing "Restore patches" with an overview of which patches are known to fail (now) for the latest version might be useful. Currently the blacklist only applies to the latest firmware version, which is actually not communicated that well.

Sending email is something I generally don't do with my web apps for various reasons. Since everything is under version control, you can see whether something has changed in terms of compatibility by checking the blacklist history itself here: https://github.com/nicoverbruggen/ko...blacklist.json

If items are removed from the file, that means that patches have become compatible! The last time I updated the patches when you told me they'd been updated, and you can see that's what happened
I thought of one thing that can be done. When someone loads the manifest, it tells the user which patches no longer work and which now work if anything has changed.

Another thing is to have a section that show new/newly working and non-working patches.

Then you won't have to do any emailing.
JSWolf is offline   Reply With Quote
Old 06-24-2026, 03:05 AM   #51
MrSilverstrike
Enthusiast
MrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than mom
 
MrSilverstrike's Avatar
 
Posts: 30
Karma: 78007
Join Date: Apr 2024
Location: Belgium
Device: Kobo Libra Color, Kobo Clara Color
Quote:
Originally Posted by JSWolf View Post
I thought of one thing that can be done. When someone loads the manifest, it tells the user which patches no longer work and which now work if anything has changed.

Another thing is to have a section that show new/newly working and non-working patches.

Then you won't have to do any emailing.
These are good ideas, I'll see what I can do to add these.
MrSilverstrike is offline   Reply With Quote
Old 06-25-2026, 07:19 AM   #52
MrSilverstrike
Enthusiast
MrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than mom
 
MrSilverstrike's Avatar
 
Posts: 30
Karma: 78007
Join Date: Apr 2024
Location: Belgium
Device: Kobo Libra Color, Kobo Clara Color
I've made a few changes that are currently visible on the preview site.

Most notably: the list of patches is now reorganized and re-labeled for ease of use. Behind the scenes the same original patch set is used, so that hasn't changed.

I've also made sure each patch is attributed to its original author. I've also added the missing patch mentioned earlier in this thread by Phil_C for the 4.45 branch ("Remove line from bottom tab bar via CSS").

Below the list of patches, you can now:

- Revert to the previous display style. Useful if you're familiar with the patch set here on the MobileRead forums. I think the reorganized sections make more sense for casual, new users, though.
- There's a button to view a changelog ("Compatibility report") for the patches, which applies to the firmware version you selected.

When you restore patches from the manifest by connecting to a device that previously installed patches via the website, you will be presented with a modal dialog that tells you what patches work and what patches don't for the new firmware version.

Let me know what you think of these changes!
MrSilverstrike is offline   Reply With Quote
Old 06-25-2026, 11:33 AM   #53
rantanplan
Weirdo
rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.
 
Posts: 1,129
Karma: 12503116
Join Date: Nov 2019
Location: Wuppertal, Germany
Device: Kobo Sage, Kobo Libra 2, reMarkable PaperPro
Can you revert the default label back to "Tweaks" instead of a generic "Toggle"? It's great that I can tweak it, but "Toggle" just means that I have to edit it every time instead of having a sensible default.

Also, could you make the labels for the simplified tabs localized? I'm happy to provide the German translation for all labels.
rantanplan is offline   Reply With Quote
Old 06-25-2026, 12:10 PM   #54
Phil_C
Addict
Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.
 
Phil_C's Avatar
 
Posts: 296
Karma: 391602
Join Date: Oct 2009
Location: Chicago, IL USA
Device: Sony PRS-350; Kobo Clara HD; Kobo Clara 2E; Kobo Clara BW
The new changes look good!

Is there a way for the WebUI to remember/restore my previous additions in the Files section? Right now I have to navigate to the fonts and files I want to install each time I patch.
Phil_C is offline   Reply With Quote
Old 06-25-2026, 01:53 PM   #55
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: 83,900
Karma: 153649587
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 Phil_C View Post
The new changes look good!

Is there a way for the WebUI to remember/restore my previous additions in the Files section? Right now I have to navigate to the fonts and files I want to install each time I patch.
Once you have the fonts you want in the fonts directory, you don't need to reinstall them. They stay through firmware updates.
JSWolf is offline   Reply With Quote
Old 06-25-2026, 06:29 PM   #56
Phil_C
Addict
Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.
 
Phil_C's Avatar
 
Posts: 296
Karma: 391602
Join Date: Oct 2009
Location: Chicago, IL USA
Device: Sony PRS-350; Kobo Clara HD; Kobo Clara 2E; Kobo Clara BW
Quote:
Originally Posted by JSWolf View Post
Once you have the fonts you want in the fonts directory, you don't need to reinstall them. They stay through firmware updates.
The hyphenation dictionary, too?

Last edited by Phil_C; 06-25-2026 at 08:32 PM.
Phil_C is offline   Reply With Quote
Old Yesterday, 05:31 AM   #57
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: 83,900
Karma: 153649587
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 Phil_C View Post
The hyphenation dictionary, too?
The hyphenation dictionary you have to reinstall for every firmware update.
JSWolf is offline   Reply With Quote
Old Yesterday, 01:26 PM   #58
MrSilverstrike
Enthusiast
MrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than mom
 
MrSilverstrike's Avatar
 
Posts: 30
Karma: 78007
Join Date: Apr 2024
Location: Belgium
Device: Kobo Libra Color, Kobo Clara Color
Given that the hyphenation dictionary is something that you need to reinstall, I'll see what I can do to make the files also "restorable", i.e. restored when you use the web UI again.

I've noticed that, indeed, fonts remain installed. That's because the regular firmware doesn't have any files in the "update" file that will override the new fonts you install by sideloading them. The dictionaries, sadly, are overwritten.

So it would be nice to have it added. I'll see what I can do!

EDIT:

I've updated the preview. Two changes:

- @Phil_C: I've made the files restorable (for new patch attempts). Additional files are now archived alongside the manifest in the hidden folder, so they can be restored later. If you have a previous patch manifest, it's missing the files, so you'll have to try twice to see this in action.

- @rantanplan: The language of your device is also detected and respected if you choose the "Simplify tabs" option The NickelMenu entry is not affected, however. That remains in English and customizable. I'll stick with "Toggle", because that's the primary point of the menu for my preset, but you can always change it to match the rest!

Last edited by MrSilverstrike; Yesterday at 03:14 PM. Reason: Updated KoboPatch preview, added information
MrSilverstrike is offline   Reply With Quote
Old Yesterday, 02:55 PM   #59
Phil_C
Addict
Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.
 
Phil_C's Avatar
 
Posts: 296
Karma: 391602
Join Date: Oct 2009
Location: Chicago, IL USA
Device: Sony PRS-350; Kobo Clara HD; Kobo Clara 2E; Kobo Clara BW
Quote:
Originally Posted by MrSilverstrike View Post
The dictionaries, sadly, are overwritten.

So it would be nice to have it added. I'll see what I can do!
Thank you. Much appreciated.
Phil_C is offline   Reply With Quote
Old Yesterday, 04:30 PM   #60
MrSilverstrike
Enthusiast
MrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than momMrSilverstrike loves his/her reader more than mom
 
MrSilverstrike's Avatar
 
Posts: 30
Karma: 78007
Join Date: Apr 2024
Location: Belgium
Device: Kobo Libra Color, Kobo Clara Color
@Phil_C: I've updated the preview. Let me know if it works as you'd expect!
MrSilverstrike is offline   Reply With Quote
Reply

Tags
kobopatch, koreader, nickelmenu


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
kobopatch - An improved patching system geek1011 Kobo Developer's Corner 396 11-17-2025 03:42 PM
KOReader does not show in NickelMenu ah924 Kobo Reader 2 11-03-2024 02:46 AM
Screenshot via NickelMenu when using Browser? shyhermit Kobo Reader 1 05-17-2024 02:29 AM
Invoking KOReader's Dropbear SSH server from NickelMenu elinkser Kobo Developer's Corner 8 05-09-2023 06:36 PM
kobopatch - A new (WIP) patching system geek1011 Kobo Developer's Corner 93 05-27-2018 03:04 PM


All times are GMT -4. The time now is 02:15 AM.


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