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 04-15-2022, 09:04 PM   #1
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,792
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Instructions for patching firmware 4.32.19501

This patch thread is for firmware 4.32.19501 (0e55e3f620acfc747cbfd7569a838263e72ce6ab):

Instructions for patching on Windows, Linux, or macOS with kobopatch:
  1. Download the Kobo firmware release
    You can find the download links here here.
  2. Download and extract the patch zip
    Download and unzip kobopatch_4.32.19501.zip from here.
  3. Copy the firmware file to the src folder
    Copy the original firmware you just downloaded into the kobopatch src folder.
  4. Install the firmware if needed
    Install the firmware on your kobo BEFORE proceeding with the next steps. You can do this by extracting the contents of the firmware zip into the .kobo folder and ejecting.
  5. Choose your patches from the files in the src folder
    Enable patches in the files in the src folder (or use the overrides in kobopatch.yaml to keep your options separate).
  6. Run kobopatch
    Double-click kobopatch.bat on Windows, or run ./kobopatch.sh on Linux or macOS. On macOS, you can drag it into the terminal and press enter (you may need to go to System Preferences - Security and Privacy - General to confirm that you actually want to run it).
  7. Install the patches by copying KoboRoot.tgz into the .kobo folder of your device
    If the patching succeeded, a file named KoboRoot.tgz will be created in the out folder. Copy it to the .kobo folder of your device. Safely remove your device once you are finished. On Linux, you may have to press Ctrl+H to show the .kobo folder.
Download
geek1011 is offline   Reply With Quote
Old 04-15-2022, 09:05 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,792
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Changes to the kobopatch zip:
v76 (2022-06-01): Backport new "KePub stylesheet additions - word-spacing" patch from 4.33.19608 (jackie_w), update "Dictionary text font-family/font-size/line-height" (jackie_w).
v75 (2022-04-15): Initial release for 4.32.19501.

Missing patches:
- GeoffR: KePub constant font sharpness
- GeoffR: Ignore .otf fonts

Removed patches in this version:
- geek1011: Enable advanced settings for all fonts (not necessary anymore)
- geek1011: Enable markup for sideloaded kepubs (not necessary anymore)

Other notes:
- The font-family customizations on jackie_w's nickel patches may not work.

Last edited by geek1011; 06-01-2022 at 08:36 PM. Reason: v76
geek1011 is offline   Reply With Quote
Advert
Old 04-15-2022, 10:36 PM   #3
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 11,519
Karma: 230505500
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Many thanks!
Sirtel is offline   Reply With Quote
Old 04-16-2022, 04:39 AM   #4
Ger Teunis
Junior Member
Ger Teunis began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Apr 2017
Device: Kobo Glo HD
Thanks!
Ger Teunis is offline   Reply With Quote
Old 04-16-2022, 04:54 AM   #5
Uncle Robin
Diligent dilettante
Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.
 
Uncle Robin's Avatar
 
Posts: 3,448
Karma: 49052774
Join Date: Sep 2019
Location: in my mind
Device: Kobo Sage; Kobo Libra H2O
Thanks! I'm tying a whole bunch of extra patches to see if my epub reading experience in Nickel will be more like that in KOReader.
Uncle Robin is offline   Reply With Quote
Advert
Old 04-16-2022, 04:58 AM   #6
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: 76,465
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Thank you!
JSWolf is offline   Reply With Quote
Old 04-16-2022, 05:54 AM   #7
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,393
Karma: 12408443
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Thank you very much! I'm going to wait a bit to see if reports are with 4.31, but I think I'll update to this.
Terisa de morgan is online now   Reply With Quote
Old 04-16-2022, 07:05 AM   #8
GlenRunciter
Enthusiast
GlenRunciter ought to be getting tired of karma fortunes by now.GlenRunciter ought to be getting tired of karma fortunes by now.GlenRunciter ought to be getting tired of karma fortunes by now.GlenRunciter ought to be getting tired of karma fortunes by now.GlenRunciter ought to be getting tired of karma fortunes by now.GlenRunciter ought to be getting tired of karma fortunes by now.GlenRunciter ought to be getting tired of karma fortunes by now.GlenRunciter ought to be getting tired of karma fortunes by now.GlenRunciter ought to be getting tired of karma fortunes by now.GlenRunciter ought to be getting tired of karma fortunes by now.GlenRunciter ought to be getting tired of karma fortunes by now.
 
GlenRunciter's Avatar
 
Posts: 36
Karma: 253826
Join Date: Apr 2015
Location: Stuttgart
Device: Kobo Sage
Thank you geek1011!
Everything went fine with the patch.
GlenRunciter is offline   Reply With Quote
Old 04-16-2022, 07:45 AM   #9
Number9
Dude
Number9 ought to be getting tired of karma fortunes by now.Number9 ought to be getting tired of karma fortunes by now.Number9 ought to be getting tired of karma fortunes by now.Number9 ought to be getting tired of karma fortunes by now.Number9 ought to be getting tired of karma fortunes by now.Number9 ought to be getting tired of karma fortunes by now.Number9 ought to be getting tired of karma fortunes by now.Number9 ought to be getting tired of karma fortunes by now.Number9 ought to be getting tired of karma fortunes by now.Number9 ought to be getting tired of karma fortunes by now.Number9 ought to be getting tired of karma fortunes by now.
 
Number9's Avatar
 
Posts: 196
Karma: 2184130
Join Date: Feb 2014
Location: Dobbstown
Device: Kobo Aura One; Kobo Aura H2o; Sony Reader PRS-T3
Thank you! Everything seems to be working like it should so far. 😊
Number9 is offline   Reply With Quote
Old 04-16-2022, 08:05 AM   #10
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,224
Karma: 16536676
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Quote:
Originally Posted by geek1011 View Post
Other notes:
- The font-family customizations on jackie_w's nickel patches may not work.
To add a bit more detail to @geek1011's comment ...

Kobo seems to have completely re-worked the way fonts are handled by the GUI. The outcome is that trying to customise font-family in the following 4 patches is now very limited:
  1. Dictionary text font-family/font-size/line-height (libnickel.so.1.0.0.yaml)
  2. Custom header/footer captions (nickel.yaml)
  3. Custom page navigation scrubber (nickel.yaml)
  4. Customise Header back button (nickel.yaml)

If you have been using any of the above patches to customise things other than font-family (e.g. font-size, line-height, ...) then those customisations should continue to work the same as they ever did.

Based on my limited testing, if your font-family customisation in patches 2,3 or 4 was to change
Georgia --> Avenir or
Avenir --> Georgia
then there is a fair chance that will still work as it did before v4.32.19501.

In patch 1, the only font-family customisation I could make work at all was to change
Georgia --> sans-serif
which I suspect is not particularly useful to most users.

Unrelated to the above 4 patches, a font-family GUI customisation which *does* still work (at least for now) is to completely replace the default system GUI fonts, Georgia and/or Avenir, with "better" fonts for your language. If you have the technical skills to already be doing this then everything should continue to work the same as it did before v4.32.19501.

I'll update this post if I discover anything new, related to font-family, that might be useful to others.

ETA: If you try to patch to a font-family other than Georgia/Avenir you won't get your chosen font after installation. Instead you'll get a fallback font (Kakugo, I think) which is one of the built-in CJK system fonts.

Last edited by jackie_w; 04-19-2022 at 04:02 PM. Reason: ETA
jackie_w is offline   Reply With Quote
Old 04-16-2022, 11:43 AM   #11
IanScuffling
Enthusiast
IanScuffling began at the beginning.
 
Posts: 47
Karma: 10
Join Date: Mar 2019
Location: Washington DC
Device: Kobo Aura HD
Thanks for the usual quick and amazing work! Many of us appreciate it greatly.
IanScuffling is offline   Reply With Quote
Old 04-16-2022, 12:14 PM   #12
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: 255
Karma: 391602
Join Date: Oct 2009
Location: Chicago, IL USA
Device: Sony PRS-350; Kobo Clara HD; Kobo Clara 2E; Kobo Clara BW
Update and patches are working well on Clara HD. Thank you so much!

Quote:
Originally Posted by jackie_w View Post
To add a bit more detail to @geek1011's comment ...

Kobo seems to have completely re-worked the way fonts are handled by the GUI. The outcome is that trying to customise font-family in the following 4 patches is now very limited:
  1. Dictionary text font-family/font-size/line-height (libnickel.so.1.0.0.yaml)
  2. Custom header/footer captions (nickel.yaml)
  3. Custom page navigation scrubber (nickel.yaml)
  4. Customise Header back button (nickel.yaml)

If you have been using any of the above patches to customise things other than font-family (e.g. font-size, line-height, ...) then those customisations should continue to work the same as they ever did.
@jackie_w

I was using number 2, part 3 to decrease the size of page-turn tap zones. This now causes patching to fail. Thought you would want to know.
Phil_C is offline   Reply With Quote
Old 04-16-2022, 12:58 PM   #13
KaizaCorp
Enthusiast
KaizaCorp began at the beginning.
 
KaizaCorp's Avatar
 
Posts: 27
Karma: 10
Join Date: Oct 2020
Location: Saskatoon, SK, Canada
Device: Kobo Clara HD
So excited for this patch along with the new firmware! Thank you.

It might be just me, but it seems like 'Reduce top/bottom page spacer' is leaving more space at the bottom than previously? Instead of text using the whole page, there appears to be a margin at the bottom still (similar to when the progress bar is enabled).

If I'm misremembering and this is working as intended, is there a way to completely remove that margin at the bottom? Perhaps by adjusting spacer height in the patch?

(I'm on Clara HD)

Thanks for your time.
KaizaCorp is offline   Reply With Quote
Old 04-16-2022, 12:58 PM   #14
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: 76,465
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
@jackie_w Thank you for the useful info. Your patches are quite useful.
JSWolf is offline   Reply With Quote
Old 04-16-2022, 02:21 PM   #15
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,224
Karma: 16536676
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Quote:
Originally Posted by Phil_C View Post
@jackie_w

I was using number 2, part 3 to decrease the size of page-turn tap zones. This now causes patching to fail. Thought you would want to know.
More detail, please. Do you mean running kobopatch.bat failed, or something else? If the former please post the error message you got when you ran kobopatch.bat. It should show at the end of the log from the failed run.

Alternatively please post a copy of your customised nickel.yaml file, so I can try it myself. Please note, you may need to rename it to nickel.yaml.txt before MR will allow you to add it as an attachment to your reply.
jackie_w is offline   Reply With Quote
Reply

Tags
kobopatch, patch, patch32lsb, patches, patching


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Instructions for patching firmware 3.18.0 GeoffR Kobo Developer's Corner 151 10-21-2016 07:15 AM
Instructions for patching firmware 3.17.3 GeoffR Kobo Developer's Corner 60 09-17-2015 06:35 PM
Instructions for patching firmware 3.16.10 GeoffR Kobo Developer's Corner 12 08-14-2015 04:40 AM
Instructions for patching firmware 3.12.0 GeoffR Kobo Developer's Corner 165 02-07-2015 10:22 AM
Instructions for patching firmware 3.3.x, 3.4.x, 3.5.x GeoffR Kobo Developer's Corner 285 08-27-2014 11:06 AM


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


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