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 01-21-2022, 01:45 AM   #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,791
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Instructions for patching firmware 4.31.19086

This patch thread is for firmware 4.31.19086 (2adb3f45adf02047d1d48fdb29f28ffbb7b7c172):

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.31.19086.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 01-21-2022, 01:45 AM   #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,791
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Changes to the kobopatch zip:
v74 (2022-01-21): Initial release for 4.31.19086.

Missing patches:
- None!

New patches in this version:
- jackie_w: KePub stylesheet additions - optimizeLegibility
geek1011 is offline   Reply With Quote
Advert
Old 01-21-2022, 02:09 AM   #3
Deobulakenyo
Guru
Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.
 
Posts: 705
Karma: 2153490
Join Date: Aug 2021
Location: Stupid Philippines
Device: Kobo Libra 2, Boyue Likebook P78
Forgive my laziness but can i use my kobopatch yaml from 4.30 fw and just use that to replace the one in this 4.31 patch files and generate a new koboroot.tgz?

Or is there any change within the seetings files that would break my intended plan?
Deobulakenyo is offline   Reply With Quote
Old 01-21-2022, 02:12 AM   #4
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,791
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by Deobulakenyo View Post
Forgive my laziness but can i use my kobopatch yaml from 4.30 fw and just use that to replace the one in this 4.31 patch files and generate a new koboroot.tgz?
Yes, and you just need to update the firmware version in the config.
geek1011 is offline   Reply With Quote
Old 01-21-2022, 06:46 AM   #5
Deobulakenyo
Guru
Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.
 
Posts: 705
Karma: 2153490
Join Date: Aug 2021
Location: Stupid Philippines
Device: Kobo Libra 2, Boyue Likebook P78
Quote:
Originally Posted by geek1011 View Post
Yes, and you just need to update the firmware version in the config.
as always, thank you very much for the updates.
Deobulakenyo is offline   Reply With Quote
Advert
Old 01-21-2022, 06:48 AM   #6
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
Quote:
Originally Posted by geek1011 View Post
Yes, and you just need to update the firmware version in the config.
That was so easy I'm actually going to do something I've not done in ages and read 2 books in Kobo stock as downloaded kepubs rather than epubs in KOReader. Thanks!
Uncle Robin is offline   Reply With Quote
Old 01-21-2022, 09:26 AM   #7
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,425
Karma: 136564696
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 Uncle Robin View Post
That was so easy I'm actually going to do something I've not done in ages and read 2 books in Kobo stock as downloaded kepubs rather than epubs in KOReader. Thanks!
Do you know if side-loaded fonts work? There was a report that they do not work. This is important to know before installing this firmware.
JSWolf is offline   Reply With Quote
Old 01-21-2022, 09:53 AM   #8
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,425
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
geek1011, thank you for the patches.
JSWolf is offline   Reply With Quote
Old 01-21-2022, 10:41 AM   #9
Barruel
Enthusiast
Barruel began at the beginning.
 
Posts: 47
Karma: 10
Join Date: Jan 2020
Device: 3 x Kobo Clara HD, Kindle Paperwhite 3 Manga Edition
Quote:
Originally Posted by geek1011 View Post
Changes to the kobopatch zip:
v74 (2022-01-21): Initial release for 4.31.19086.

Missing patches:
- None!

New patches in this version:
- jackie_w: KePub stylesheet additions - optimizeLegibility
As I understand it, the trio of patches "KePub stylesheet additions - text justify", "KePub stylesheet additions - optimizeSpeed" and "KePub stylesheet additions - optimizeLegibility" replace the old "KePub stylesheet additions patch".

Shouldn't that be explicitly stated? I'm thinking mainly in those using kobopatch.yaml to pick the patches and updating from older firmwares.I can see myself being fooled without that info.
Barruel is offline   Reply With Quote
Old 01-21-2022, 12:06 PM   #10
Barruel
Enthusiast
Barruel began at the beginning.
 
Posts: 47
Karma: 10
Join Date: Jan 2020
Device: 3 x Kobo Clara HD, Kindle Paperwhite 3 Manga Edition
Quote:
Originally Posted by JSWolf View Post
Do you know if side-loaded fonts work? There was a report that they do not work. This is important to know before installing this firmware.
They do work.
Barruel is offline   Reply With Quote
Old 01-21-2022, 12:14 PM   #11
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 Barruel View Post
As I understand it, the trio of patches "KePub stylesheet additions - text justify", "KePub stylesheet additions - optimizeSpeed" and "KePub stylesheet additions - optimizeLegibility" replace the old "KePub stylesheet additions patch".

Shouldn't that be explicitly stated? I'm thinking mainly in those using kobopatch.yaml to pick the patches and updating from older firmwares.I can see myself being fooled without that info.
It is explicitly stated in libnickel.so.1.0.0.yaml
Quote:
# The next 2 patches are alternatives. Enable ONE ONLY.
# They have replaced the old patch named 'KePub stylesheet additions'
... but spot the careless error (by me). That should have been updated to "# The next 3 patches are alternatives ..." which I'll now correct. Edit: Done

Edit 2: I did post explicit details in this forum at the time the old single patch stopped working - see here.

Last edited by jackie_w; 01-21-2022 at 12:33 PM. Reason: Edit 2: Added link to original post from fw 4.28.17925
jackie_w is offline   Reply With Quote
Old 01-21-2022, 12:15 PM   #12
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 40,549
Karma: 157444380
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by JSWolf View Post
Do you know if side-loaded fonts work? There was a report that they do not work. This is important to know before installing this firmware.
I just tested the sideloaded fonts on my Sage and they all seem to work using my Font Tester epub file.
DNSB is offline   Reply With Quote
Old 01-21-2022, 01:45 PM   #13
xyclonei
Zealot
xyclonei put the bomp in the bomp-a-bomp-a-bomp.xyclonei put the bomp in the bomp-a-bomp-a-bomp.xyclonei put the bomp in the bomp-a-bomp-a-bomp.xyclonei put the bomp in the bomp-a-bomp-a-bomp.xyclonei put the bomp in the bomp-a-bomp-a-bomp.xyclonei put the bomp in the bomp-a-bomp-a-bomp.xyclonei put the bomp in the bomp-a-bomp-a-bomp.xyclonei put the bomp in the bomp-a-bomp-a-bomp.xyclonei put the bomp in the bomp-a-bomp-a-bomp.xyclonei put the bomp in the bomp-a-bomp-a-bomp.xyclonei put the bomp in the bomp-a-bomp-a-bomp.
 
xyclonei's Avatar
 
Posts: 107
Karma: 67444
Join Date: Dec 2018
Device: Kobo Clara HD
Thank you for the patches!

I've noticed that on this firmware, there is a larger gap on the footer than the header (attached).

I've applied the below patches, however I cannot figure out what's causing this. This was fine in the 4.30 firmware with the same parameters. Any idea what's causing this?

Code:
Custom header/footer captions	Font size : 22px; footer margin : 108px
Reduce new header/footer height	55px
Reduce top/bottom page spacer	16px
Remove footer (row3) and increase cover size on new home screen	22 to 16px
Attached Thumbnails
Click image for larger version

Name:	screen_001.png
Views:	735
Size:	217.0 KB
ID:	191758  
xyclonei is offline   Reply With Quote
Old 01-21-2022, 02:04 PM   #14
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 xyclonei View Post
Thank you for the patches!

I've noticed that on this firmware, there is a larger gap on the footer than the header (attached).
<snip>
Any idea what's causing this?
Probably just the particular circumstances of that particular page in that particular book.

The first line on the page always starts in the same place. The last line on the page lands wherever it lands depending what else came before it on that page. The reading app doesn't think it can fit any more whole lines on that page (using the book's current font-size and line spacing) and the scenebreak height will affect the position of the last line.

Last edited by jackie_w; 01-21-2022 at 02:08 PM.
jackie_w is offline   Reply With Quote
Old 01-22-2022, 07:57 AM   #15
Barruel
Enthusiast
Barruel began at the beginning.
 
Posts: 47
Karma: 10
Join Date: Jan 2020
Device: 3 x Kobo Clara HD, Kindle Paperwhite 3 Manga Edition
Quote:
Originally Posted by jackie_w View Post
It is explicitly stated in libnickel.so.1.0.0.yaml


... but spot the careless error (by me). That should have been updated to "# The next 3 patches are alternatives ..." which I'll now correct. Edit: Done

Edit 2: I did post explicit details in this forum at the time the old single patch stopped working - see here.
I've noticed that too. Thanks for fixing it.

Quote:
Originally Posted by DNSB View Post
I just tested the sideloaded fonts on my Sage and they all seem to work using my Font Tester epub file.
Can you share that epub? I'm playing with fonts a lot lately and would love that. I'm using a custom KOReader's font-test.html, but I must generate a new one when I add a new font, generate a kepub and edit it.

Last edited by Barruel; 01-22-2022 at 08:18 AM.
Barruel 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.15.0 GeoffR Kobo Developer's Corner 146 05-24-2016 07:10 AM
Instructions for patching firmware 3.17.0 GeoffR Kobo Developer's Corner 49 08-16-2015 06:20 AM
Instructions for patching firmware 3.11.0 GeoffR Kobo Developer's Corner 226 06-01-2015 06:32 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.1.1 GeoffR Kobo Developer's Corner 64 04-18-2014 02:23 PM


All times are GMT -4. The time now is 12:56 PM.


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