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 07-21-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.33.19759

This patch thread is for firmware 4.33.19759 (5240404f16e9ce22a98c6912c0fe22e22f41f0d9):

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.33.19759.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 07-21-2022, 09:04 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:
v79 (2022-09-20): Font patch updates (jackie_w).
v78 (2022-07-21): Initial release for 4.33.19759.

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

Last edited by geek1011; 09-20-2022 at 11:00 PM.
geek1011 is offline   Reply With Quote
Advert
Old 07-21-2022, 10:47 PM   #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
noob question: I can delete the patches that i do not use and just retain all that i do use in the nickel.yaml and libnickel.so.1.0.0.yaml, right?
Deobulakenyo is offline   Reply With Quote
Old 07-21-2022, 10:58 PM   #4
Skydog
Wizard
Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.
 
Skydog's Avatar
 
Posts: 2,286
Karma: 7409537
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Elipsa 2E, Sage, Libra Colour, Libra 2, Clara 2E, Oasis3, Voyage
Quote:
Originally Posted by Deobulakenyo View Post
noob question: I can delete the patches that i do not use and just retain all that i do use in the nickel.yaml and libnickel.so.1.0.0.yaml, right?
No need to do that. That's the purpose of the kobopatch.yaml file that you can customize with your preferences and can apply to other firmware upgrades/downgrades.
Skydog is offline   Reply With Quote
Old 07-21-2022, 11:01 PM   #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 Skydog View Post
No need to do that. That's the purpose of the kobopatch.yaml file that you can customize with your preferences and can apply to other firmware upgrades/downgrades.
I sometimes change/customize specific values in the patches that is why i was thinking of deleting patches that i do not use so when i need to go back and forth to the patches with values I need to test/tweak, I won't have to sort through everything everytime.

Last edited by Deobulakenyo; 07-21-2022 at 11:22 PM.
Deobulakenyo is offline   Reply With Quote
Advert
Old 07-21-2022, 11:06 PM   #6
Skydog
Wizard
Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.
 
Skydog's Avatar
 
Posts: 2,286
Karma: 7409537
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Elipsa 2E, Sage, Libra Colour, Libra 2, Clara 2E, Oasis3, Voyage
Quote:
Originally Posted by Deobulakenyo View Post
I sometimes changed/customize specific values in the patches that is why i was thinking of deleting patches that i do not use so when i need to go back and forth to the patches with values I need to test/tweak, I won't have to sort though everything everytime.
I, too, have some specific values customized but not enough of them to bother me. I understand your reason for the question though.
Skydog is offline   Reply With Quote
Old 07-22-2022, 05:54 AM   #7
asettico
Member
asettico began at the beginning.
 
asettico's Avatar
 
Posts: 14
Karma: 10
Join Date: May 2019
Device: Kobo Aura ONE
Quote:
Originally Posted by Deobulakenyo View Post
I sometimes change/customize specific values in the patches that is why i was thinking of deleting patches that i do not use so when i need to go back and forth to the patches with values I need to test/tweak, I won't have to sort through everything everytime.
I store my patch selections and values' customization in a .patch file I build running the command:
Code:
diff -ru "original patches folder" "my patches folder" > mycustom.patch
When new firmware and patches are released, I apply mycustom.patch to the new patch folder, fixing possible conflicts.

My 2 cents.
asettico is offline   Reply With Quote
Old 07-22-2022, 08:30 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,465
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Thanks for the quick firmware patches.
JSWolf is offline   Reply With Quote
Old 07-22-2022, 01:52 PM   #9
rtiangha
Evangelist
rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.
 
Posts: 495
Karma: 356531
Join Date: Jul 2016
Location: 'burta, Canada
Device: Kobo Glo HD
Quote:
Originally Posted by asettico View Post
I store my patch selections and values' customization in a .patch file I build running the command:
Code:
diff -ru "original patches folder" "my patches folder" > mycustom.patch
When new firmware and patches are released, I apply mycustom.patch to the new patch folder, fixing possible conflicts.

My 2 cents.
That is the most geeky way I've seen to manage this. Respect.

For those on Windows or who don't have access to the diff/patch commandline utilities, you can separate any patches where you need to edit values into their own file and maintain those; that way, when a new patch set comes out, you can copy over everything in the folder (except for kobopatch.yaml) without having to worry about your customizations getting overwritten. You may need to update your customized patches if things like offsets change later on, but that's usually rare, especially for patches that affect CSS.

To do this, first you need to map your overrides file to the binary being patched. For example, this is what I have near the top of kobopatch.yaml for customized libnickel patches:

Code:
patches:
  src/libnickel.so.1.0.0.yaml: usr/local/Kobo/libnickel.so.1.0.0
  src/libnickel.so.1.0.0_custom.yaml: usr/local/Kobo/libnickel.so.1.0.0
I put all of the libnickel patches that I need to edit into src/libnickel.so.1.0.0_custom.yaml (you can name it whatever you want).

Let's say I want my own values for the Dictionary text font-family/font-size/line-height patch. I would copy/paste that patch from src/libnickel.so.1.0.0.yaml into src/libnickel.so.1.0.0_custom.yaml and make my edits. Then in my overrides section, I have this:

Code:
overrides:
  src/libnickel.so.1.0.0.yaml:
    Dictionary text font-family/font-size/line-height: no
  src/libnickel.so.1.0.0_custom.yaml:
    Dictionary text font-family/font-size/line-height: yes
This makes kobopatch use my customized version of the dictionary patch, rather than the default one. The first entry is optional since all the stock patches ship as 'no' for enabled by default, but I like setting it explicitly for completeness sake.

If my customized dictionary patch fails in future versions because something changed in the firmware, then all I need to do to update it is to copy over the updated stock patch and reapply my edits.

Many paths up the mountain, lol.
rtiangha is offline   Reply With Quote
Old 07-22-2022, 03:41 PM   #10
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
THX geek1011!
Everything runs smoothly after patching.
GlenRunciter is offline   Reply With Quote
Old 07-22-2022, 04:15 PM   #11
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
What I do is put comments in kobopatch.yaml so I know which patches I modify. Then I can compare just those patches from the previous patches and adjust these.

I put the comment in front of the patch.
Code:
## Customized
     Dictionary text font-family/font-size/line-height: yes
JSWolf is offline   Reply With Quote
Old 07-22-2022, 04:20 PM   #12
BiliBug
Connoisseur
BiliBug ought to be getting tired of karma fortunes by now.BiliBug ought to be getting tired of karma fortunes by now.BiliBug ought to be getting tired of karma fortunes by now.BiliBug ought to be getting tired of karma fortunes by now.BiliBug ought to be getting tired of karma fortunes by now.BiliBug ought to be getting tired of karma fortunes by now.BiliBug ought to be getting tired of karma fortunes by now.BiliBug ought to be getting tired of karma fortunes by now.BiliBug ought to be getting tired of karma fortunes by now.BiliBug ought to be getting tired of karma fortunes by now.BiliBug ought to be getting tired of karma fortunes by now.
 
Posts: 95
Karma: 354399
Join Date: Nov 2012
Location: Stockton, NJ
Device: Kobo Sage (Formerly KKB, PW1, PW3, KV, OA3)
Quote:
Originally Posted by JSWolf View Post
What I do is put comments in kobopatch.yaml so I know which patches I modify. Then I can compare just those patches from the previous patches and adjust these.

I put the comment in front of the patch.
Code:
## Customized
     Dictionary text font-family/font-size/line-height: yes
I do the same, though I actually note the custom changes made.

I've started migrating stuff to a custom yaml file. Much easier.
BiliBug is offline   Reply With Quote
Old 07-22-2022, 05:28 PM   #13
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
It seems there's an advertisement for KoboPlus in this firmware. Can a patch be created so this does not display? Thanks.
JSWolf is offline   Reply With Quote
Old 07-22-2022, 11:04 PM   #14
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by JSWolf View Post
It seems there's an advertisement for KoboPlus in this firmware. Can a patch be created so this does not display? Thanks.
Yes there is an popup for KoboPlus. And just like a lot of other popups, if you have seen it, then you won't see it again. If it worries you that much, find the entry in the config file that is set when it is shown, and add that yourself on other devices.
davidfor is offline   Reply With Quote
Old 07-23-2022, 12:42 AM   #15
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
Can this notification (see attached picture) be somehow controlled in a patch whereby one can fix it here in the stat as a shortcut to that; or in the other notification like one for pocket, etc?
Attached Thumbnails
Click image for larger version

Name:	IMG_20220723_114150.jpg
Views:	1882
Size:	567.6 KB
ID:	195240  
Deobulakenyo 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.17.0 GeoffR Kobo Developer's Corner 49 08-16-2015 06:20 AM
Instructions for patching firmware 3.16.10 GeoffR Kobo Developer's Corner 12 08-14-2015 04:40 AM
Instructions for patching firmware 3.16.0 GeoffR Kobo Developer's Corner 74 08-12-2015 03:12 PM


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


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