![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,656
Karma: 6254413
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Instructions for patching firmware 4.28.18220
This patch thread is for firmware 4.28.18220 (23b2a16e39833c2e6743ba33655d4a9b474c86b9):
Instructions for patching on Windows, Linux, or macOS with kobopatch:
|
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,656
Karma: 6254413
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): Improved "Unify font sizes" values (sherman), minor improvements to patch comments and descriptions (jackie_w, nkakouros). v73 (2021-11-02): Backport "Unify font sizes" from 4.30.18838 (sherman), add note about "Replace adobe page numbers toggle with invert screen" in 4.28.18220+ (geek1011). v72 (2021-10-21): Initial release for 4.28.18220. Missing patches: - None! Removed patches in this version: - geek1011: ePub uniform font scale (this will need a complete rewrite for 18220+ since the logic has been completely reworked; also note that it may not be necessary on certain devices anymore; this patch has been at least partially replaced by `Unify font sizes`) - GeoffR: Set font scale factor (same reason) New patches in this version: - sherman: Unify font sizes (mostly replaces "ePub uniform font scale", fixes the font scaling in EPUBs to not be absurdly large on some devices and to be consistent with KEPUBs) (backported from 4.30.18838) Other notes: - I do not recommend mixing and matching kobo8 (Elipsa) and kobo3-7 firmware. There are non-insignificant differences in the rootfs which may cause issues. For example, Foxit is used for PDFs on the Elipsa, but it isn't included at all on non-kobo8 packages. Last edited by geek1011; 01-21-2022 at 09:03 PM. Reason: v74 |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Enthusiast
![]() Posts: 28
Karma: 10
Join Date: Jun 2019
Device: none
|
Sorry, but which patches exactly do I need to enable in order to remove the bottom/top margin in KePubs?
|
![]() |
![]() |
![]() |
#4 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 873
Karma: 252902
Join Date: Jun 2016
Device: Kobo
|
Quote:
https://pgaskin.net/kobopatch-patche...tch-13651.html |
|
![]() |
![]() |
![]() |
#5 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 639
Karma: 2345678
Join Date: Apr 2016
Device: KS
|
I am very sorry to ask this, as it all seems to be second nature to you. But what do I do when "if the patching succeeded" fails!? I have followed the steps over and over again and no tgz ever appears in my Out folder.
So, we have the instruction "if success ..." but there is no "if failure..." Am I to conclude that I am the only person ever to fail at doing this? Probably. ![]() 1. Download the firmware from https://pgaskin.net/KoboStuff/kobofirmware.html to the src folder. The zip should be called something like kobo-update-4.28.18220.zip. You may need to rename it. 2. Enable patches in the files in the src folder (or use the overrides in kobopatch.yaml). 3. Run kobopatch.bat on Windows, or kobopatch.sh on Linux. 4. If the patching succeeded, a file named KoboRoot.tgz will be created. Copy it to the .kobo folder of your device. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 639
Karma: 2345678
Join Date: Apr 2016
Device: KS
|
P.S. I have tried both on Windows (Parallels) and on Mac, several times each.
|
![]() |
![]() |
![]() |
#7 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 230
Karma: 27924
Join Date: Oct 2009
Location: Chicago, IL USA
Device: Sony PRS-350; Kobo Clara HD; Kobo Clara 2E
|
Many of us have failed in first attempts!
Did you enable patches in the four individual patch files or did you use the override file? If you used kobopatch.yaml, spacing is very important at the beginning of each line in the overrides section. Two spaces (no tabs) in front of the file names, then two more spaces of indent (four total) in sub lines with the patch names. The Out folder should contain a log which should give clues to what else might be happening. |
![]() |
![]() |
![]() |
#8 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 639
Karma: 2345678
Join Date: Apr 2016
Device: KS
|
Thanks Phil.
I enabled them in the individual files by changing 'no' to 'yes' for the ones I wanted to activate. So I only edited two of the four files as they were the ones that contained the patches I was interested in. There is no log in the Out folder, all that is in that folder is the txt file explaining what the Out folder is for. I’m obviously going badly wrong somewhere. Should I have deleted everything else from these files? I left everything as was, except for changing 'no' to 'yes' for the patches I wanted to activate. Maybe this is wrong? I’m sure it’s something that’s so obvious to you that you don’t even think about it, therefore no one has written it down in the instructions. Ah well, I just wanted to change the header and footer to not use ALL CAPS and a couple of other things, it’s not a big deal, just a nice to have. I used to use the old kindle hacks back in the day, so I thought I’d be able to handle using the patches, but it’s not happening for me. I do not need to reinstall the firmware on my kobo, do I? surely not, as it is on the same version as the patches are for. When I use Windows, I am editing the files using the old Notebook app. The .bat file runs but nothing happens. |
![]() |
![]() |
![]() |
#9 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 702
Karma: 2153490
Join Date: Aug 2021
Location: Stupid Philippines
Device: Kobo Libra 2, Boyue Likebook P78
|
Quote:
Do you have the 4.28.18220 update file when you run the bat? |
|
![]() |
![]() |
![]() |
#10 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 639
Karma: 2345678
Join Date: Apr 2016
Device: KS
|
Yes, I have it copied into the src folder. It is the zipped file, I think I tried it unzipped as well, but I can’t remember. I think I am doing the wrong thing at this part and it is causing the failure.
|
![]() |
![]() |
![]() |
#11 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 702
Karma: 2153490
Join Date: Aug 2021
Location: Stupid Philippines
Device: Kobo Libra 2, Boyue Likebook P78
|
Can you upload all the files you are using and maybe we can test it on our pc just to eliminate if it is your pcs that have problems.
I |
![]() |
![]() |
![]() |
#12 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 230
Karma: 27924
Join Date: Oct 2009
Location: Chicago, IL USA
Device: Sony PRS-350; Kobo Clara HD; Kobo Clara 2E
|
Quote:
I would delete everything from your patching folder and start from scratch. Take your time and follow each step listed in Post #1. I would also suggest using Notepad++ to edit the files. You could try using the overrides in kobopatch.yaml this time. But again be careful of spaces in each line. Hitting Return in Notepad++ for a new line might generate a Tab at the beginning of the new line. You want spaces, not tabs. There is an example of the format in the file. If there is no log generated, something is wrong or missing which is killing the program immediately. |
|
![]() |
![]() |
![]() |
#13 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 639
Karma: 2345678
Join Date: Apr 2016
Device: KS
|
Thanks so much everyone, I added a line to the .bat file based on a private message. I then ran this file again and it showed me what the problem was.
It was a MacBook/Parallels folder conflict. So I moved my patch folder to a new directory in the Windows C: drive, instead of my usual C: drive, reran the .bat file and the patches ran, and I now have succeeded in adding them to my Kobo. Thanks to all who helped! I will definitely find this easy to do in future. Now - can I change the font used in the book header/footer? ![]() |
![]() |
![]() |
![]() |
#14 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 873
Karma: 252902
Join Date: Jun 2016
Device: Kobo
|
You can, yes, but there you need to fix the patch a little bit.
Custom header/footer captions: uncomment Code:
#- {Find: "font-family: Avenir;", Replace: "font-family:Avenir;"} |
![]() |
![]() |
![]() |
#15 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 639
Karma: 2345678
Join Date: Apr 2016
Device: KS
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
Tags |
kobopatch, patch, patch32lsb, patches, patching |
Thread Tools | Search this Thread |
|
![]() |
||||
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.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 |