07-21-2022, 09:04 PM | #1 |
Wizard
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:
|
07-21-2022, 09:04 PM | #2 |
Wizard
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. |
Advert | |
|
07-21-2022, 10:47 PM | #3 |
Guru
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?
|
07-21-2022, 10:58 PM | #4 |
Wizard
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
|
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.
|
07-21-2022, 11:01 PM | #5 |
Guru
Posts: 705
Karma: 2153490
Join Date: Aug 2021
Location: Stupid Philippines
Device: Kobo Libra 2, Boyue Likebook P78
|
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. |
Advert | |
|
07-21-2022, 11:06 PM | #6 | |
Wizard
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:
|
|
07-22-2022, 05:54 AM | #7 | |
Member
Posts: 14
Karma: 10
Join Date: May 2019
Device: Kobo Aura ONE
|
Quote:
Code:
diff -ru "original patches folder" "my patches folder" > mycustom.patch My 2 cents. |
|
07-22-2022, 08:30 AM | #8 |
Resident Curmudgeon
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.
|
07-22-2022, 01:52 PM | #9 | |
Evangelist
Posts: 495
Karma: 356531
Join Date: Jul 2016
Location: 'burta, Canada
Device: Kobo Glo HD
|
Quote:
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 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 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. |
|
07-22-2022, 03:41 PM | #10 |
Enthusiast
Posts: 36
Karma: 253826
Join Date: Apr 2015
Location: Stuttgart
Device: Kobo Sage
|
THX geek1011!
Everything runs smoothly after patching. |
07-22-2022, 04:15 PM | #11 |
Resident Curmudgeon
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 |
07-22-2022, 04:20 PM | #12 | |
Connoisseur
Posts: 95
Karma: 354399
Join Date: Nov 2012
Location: Stockton, NJ
Device: Kobo Sage (Formerly KKB, PW1, PW3, KV, OA3)
|
Quote:
I've started migrating stuff to a custom yaml file. Much easier. |
|
07-22-2022, 05:28 PM | #13 |
Resident Curmudgeon
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.
|
07-22-2022, 11:04 PM | #14 |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
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.
|
07-23-2022, 12:42 AM | #15 |
Guru
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?
|
Tags |
kobopatch, patch, patch32lsb, patches, patching |
|
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 |