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 02-28-2025, 03:57 AM   #1
Waylander
Guru
Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.
 
Posts: 665
Karma: 2905052
Join Date: Oct 2013
Device: Kindle Paperwhite 5 16GB, Kindle Paperwhite 6, Kobo Clara,
Kobo Patch Problems

I'm having trouble patching my Clara BW. It's on firmware 4.41.23145, and I'm using the patch for 4.38.23171. I changed the firmware version in the lines near the top of kobopatch.yaml to the correct version, and followed the instructions for the rest of the process. However, when I come to dragging/dropping the kobopatch.sh into the Terminal app on my Mac, I get this after pressing enter:

/Users/Waylander/Downloads/kobopatch_4.38.23171/kobopatch.sh: line 9: ./bin/kobopatch-darwin-64bit: No such file or directory
iMac:~ waylander

I'm not sure what I'm doing wrong.
Waylander is offline   Reply With Quote
Old 02-28-2025, 11:16 AM   #2
fogice
Addict
fogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Time
 
Posts: 254
Karma: 49504
Join Date: May 2014
Device: Kobo Libra 2
Within the folder kobopatch_4.38.23171 should be a folder named bin, and in that should be the file kobopatch-darwin-64bit. Do you see that?

I also run on a Mac, and I find the instructions to patch confusing, so after much trial and error I have made my own instructions. Some of the instructions are specific as to how my Mac works; for instance, when a zip file is opened, the original zip file is moved to the recycle bin. Also, I keep a copy of settings files for my Kobo things in a folder in my Documents folder.
  1. Download the official firmware. The zip should be called something like kobo-update-1.2.3456.zip.
  2. Unzip the official firmware and copy it to .kobo
  3. Eject and unplug the Kobo and allow the firmware to install, then replug the Kobo.
  4. Download the Kobopatch zip for your firmware version. Unzip.
  5. Move the original zipped firmware from the recycle bin to the src folder of Kobopatch.
  6. Edit the kobopatch.yaml file in Documents to reference the firmware number.
  7. Copy the kobopatch.yaml file from Documents to the Kobopatch main folder.
  8. Open Terminal and drag kobopatch.sh to the Terminal to run it.
  9. 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. Eject and unplug the Kobo and allow the firmware to install.
fogice is offline   Reply With Quote
Advert
Old 02-28-2025, 11:18 AM   #3
fogice
Addict
fogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Time
 
Posts: 254
Karma: 49504
Join Date: May 2014
Device: Kobo Libra 2
Oh, I also see that I last used a version called UNTESTED_UNRELEASED_kobopatch_4.39.22801. I probably downloaded that from the main Kobopatch thread, and it has new offsets for some of the code that got moved around by Kobo.
fogice is offline   Reply With Quote
Old 03-01-2025, 10:32 AM   #4
Waylander
Guru
Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.
 
Posts: 665
Karma: 2905052
Join Date: Oct 2013
Device: Kindle Paperwhite 5 16GB, Kindle Paperwhite 6, Kobo Clara,
Quote:
Originally Posted by fogice View Post
Within the folder kobopatch_4.38.23171 should be a folder named bin, and in that should be the file kobopatch-darwin-64bit. Do you see that?

I also run on a Mac, and I find the instructions to patch confusing, so after much trial and error I have made my own instructions. Some of the instructions are specific as to how my Mac works; for instance, when a zip file is opened, the original zip file is moved to the recycle bin. Also, I keep a copy of settings files for my Kobo things in a folder in my Documents folder.
  1. Download the official firmware. The zip should be called something like kobo-update-1.2.3456.zip.
  2. Unzip the official firmware and copy it to .kobo
  3. Eject and unplug the Kobo and allow the firmware to install, then replug the Kobo.
  4. Download the Kobopatch zip for your firmware version. Unzip.
  5. Move the original zipped firmware from the recycle bin to the src folder of Kobopatch.
  6. Edit the kobopatch.yaml file in Documents to reference the firmware number.
  7. Copy the kobopatch.yaml file from Documents to the Kobopatch main folder.
  8. Open Terminal and drag kobopatch.sh to the Terminal to run it.
  9. 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. Eject and unplug the Kobo and allow the firmware to install.
I see the folder named bin, and within it is kobopatch-Linux-32bit and 64bit, but not the file you name. What do I do as there isn't a kobopatch-darwin-64bit file? Did I download the wrong file?

What do you mean "copy the kobopatch.yaml file from documents to the main Kobopatch main folder"? That file is already in the Kobopatch main folder. I've done everything as per the standard instructions, and basically your instructions, and got the result in the Terminal App that I posted above.

Last edited by Waylander; 03-01-2025 at 10:35 AM.
Waylander is offline   Reply With Quote
Old 03-01-2025, 12:16 PM   #5
fogice
Addict
fogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Time
 
Posts: 254
Karma: 49504
Join Date: May 2014
Device: Kobo Libra 2
Quote:
Originally Posted by Waylander View Post
I see the folder named bin, and within it is kobopatch-Linux-32bit and 64bit, but not the file you name. What do I do as there isn't a kobopatch-darwin-64bit file? Did I download the wrong file?
It won't run on a Mac without the Darwin file. Something went wrong somewhere. Try this one, which I used to patch a Clara BW: https://www.mobileread.com/forums/sh...postcount=1155
Quote:
What do you mean "copy the kobopatch.yaml file from documents to the main Kobopatch main folder"? That file is already in the Kobopatch main folder. I've done everything as per the standard instructions, and basically your instructions, and got the result in the Terminal App that I posted above.
The kobopatch.yaml file is the easiest way to repeat the same patches when a new version is released. So, I would recommend editing that file (which is already in the main folder) and then saving it elsewhere (for me, ~/Documents/Ebook Hacks/Kobopatch). As I said, these are my personal steps.

Last edited by fogice; 03-01-2025 at 12:18 PM.
fogice is offline   Reply With Quote
Advert
Old 03-01-2025, 03:51 PM   #6
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: 46,190
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Waylander View Post
I see the folder named bin, and within it is kobopatch-Linux-32bit and 64bit, but not the file you name. What do I do as there isn't a kobopatch-darwin-64bit file? Did I download the wrong file?
Looking at the .zip file for the 4.38.23171 patch files, I see 5 files in the bin folder including the darwin file. I've attached a screenshot of what they look like.
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2025-03-01 125029.png
Views:	90
Size:	19.3 KB
ID:	214004  
DNSB is offline   Reply With Quote
Old 03-01-2025, 06:23 PM   #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: 79,750
Karma: 145864619
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 fogice View Post
It won't run on a Mac without the Darwin file. Something went wrong somewhere. Try this one, which I used to patch a Clara BW: https://www.mobileread.com/forums/sh...postcount=1155
I've started a thread that contains your ZIP for 4.39.22861 and mine for 4.38.23171.

https://www.mobileread.com/forums/sh....php?p=4494152

Last edited by JSWolf; 03-01-2025 at 06:34 PM.
JSWolf is offline   Reply With Quote
Old 03-01-2025, 06:35 PM   #8
Waylander
Guru
Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.
 
Posts: 665
Karma: 2905052
Join Date: Oct 2013
Device: Kindle Paperwhite 5 16GB, Kindle Paperwhite 6, Kobo Clara,
In the end I downloaded the patch for 4.38.21908, and the correct Darwin file was in it. I don't know what happened with the first one I downloaded; all I can say is that the correct Darwin file wasn't in the bin folder in the download. I know some of the patches don't work with the latest firmware, but they're not ones I want to use anyway, so it doesn't matter. With everything present and correct I was able to install the patch properly and it seems to have worked.
Waylander is offline   Reply With Quote
Old 04-04-2025, 10:40 AM   #9
MiuMiu
Enthusiast
MiuMiu began at the beginning.
 
Posts: 43
Karma: 10
Join Date: Dec 2014
Location: Slovenia
Device: Kobo Sage
In the end, I managed to update the thing, but it only worked in Windows (in Parallels), it created Koboroot.tgz.

However, the main reason I use this patch is because fonts cannot be changed/selected in some .epubs, so I patched the .yaml files for that... but it has no effect on Kobo, it does not work at all, even though it was installed.

In fact, after applying this patch, I cannot change any font in any book at all, nothing works now. It only shows default publisher's font. The update has installed and all, but it has completely messed up the fonts. This has not been the case with previous updates.

I even created a .fonts folder and sideloaded some new fonts - they do not show as an option.

Last edited by MiuMiu; 04-04-2025 at 12:54 PM.
MiuMiu is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Do you patch your Kobo? How many patches do you use? Sirtel Kobo Reader 108 10-25-2019 08:41 AM
Aura ONE Problem witk Kobo Patch BrixWonder Kobo Developer's Corner 10 03-11-2019 09:24 AM
Glo Can't patch Kobo Glo anymore Marcolp91 Kobo Reader 7 06-22-2018 04:26 PM
Kobo Patch GUI sherman Kobo Developer's Corner 8 01-06-2016 03:31 PM
Seriously thoughtful Problems with latest IE8 patch? HarryT Lounge 11 12-12-2009 04:34 PM


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


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