Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 02-19-2019, 04:35 PM   #1
dzhmartin
Junior Member
dzhmartin began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Feb 2019
Device: Kobo Clara HD
Detailed Instructions For Installing Patches?

I need to download the "Freedom to advanced fonts control" on my Clara HD, but I don't have any programming experience. Some people here pointed me to this post, which lists instructions for doing this: https://www.mobileread.com/forums/sh...d.php?t=313422

Is there a detailed more description on this forum of someone installing kobo patches? I wasn't sure what a few of these steps meant. For instance:

Quote:
4. Install the firmware on your kobo BEFORE proceeding with the next steps.
Does this mean copying over the file to my kobo directory?

Quote:
5. Enable patches in the files in the src folder (or use the overrides in kobopatch.yaml to keep your options separate).
Do I need to tamper with the files inside this folder?
Quote:
6. Run kobopatch.bat on Windows, or kobopatch.sh on Linux.
I have a Mac. Can I still do this?

Last edited by dzhmartin; 02-19-2019 at 04:55 PM.
dzhmartin is offline   Reply With Quote
Old 02-19-2019, 10:00 PM   #2
codychan
Connoisseur
codychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud of
 
Posts: 72
Karma: 27446
Join Date: Nov 2018
Device: Kobo Aura One, Kobo Forma
4. You have to install the proper kobo firmware for your kobo model before install the kobo patches, please note that the firmware must be the specific firmware for your kobo model, and the version number of the firmware must the same with the patch version number
Download firmware from https://pgaskin.net/KoboStuff/kobofirmware.html
5. you have to edit the files inside src folder, which will enable features inside patch, "Freedom to advanced fonts control" is one of the features, you have to read the files carefully and choose what feature you need, and enable them.
6. If you use Mac, use kobopatch.sh like Linux, I don't have Mac and never use patches inside my Linux, so I'm not sure whether you have to open the kobopatch.sh file inside a terminal or not.
codychan is offline   Reply With Quote
Old 02-19-2019, 11:21 PM   #3
dzhmartin
Junior Member
dzhmartin began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Feb 2019
Device: Kobo Clara HD
4. Okay: Download firmware and copy over to kobo. Got it.

5. All of the files inside src have a .yaml extension. Are .yaml files able to be opened and edited? Once I manage to do that, do I also need to move those individual files over to my kobo?

6. When I clicked the kobopatch.sh file, my mac wasn't able to open it, and I couldn't find any apps on my computer that could open it. Do I need special software to open this?
dzhmartin is offline   Reply With Quote
Old 02-19-2019, 11:41 PM   #4
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: 5,558
Karma: 25303977
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Aura One, Aura H2O, Aura HD, Nexus 7 HD, iPad Air, Tolino epos
Quote:
Originally Posted by dzhmartin View Post
6. When I clicked the kobopatch.sh file, my mac wasn't able to open it, and I couldn't find any apps on my computer that could open it. Do I need special software to open this?
Open a terminal window, cd to the directory where you have the kobopatch.sh file and enter .\kobopatch.sh. You may have to sudo as well -- I don't do Mac command line very often.

After you successfully run the kobopatch.sh, you should find a KoboRoot.tgz file in the out directory. Connect your Kobo and copy that file into the .kobo directory (you will have to enable showing hidden files/directories since the leading '.' makes it hidden for Unix derived file systems.

Last edited by DNSB; 02-19-2019 at 11:44 PM.
DNSB is offline   Reply With Quote
Old 02-20-2019, 08:12 AM   #5
dmapr
Evangelist
dmapr holds these truths to be self-evident.dmapr holds these truths to be self-evident.dmapr holds these truths to be self-evident.dmapr holds these truths to be self-evident.dmapr holds these truths to be self-evident.dmapr holds these truths to be self-evident.dmapr holds these truths to be self-evident.dmapr holds these truths to be self-evident.dmapr holds these truths to be self-evident.dmapr holds these truths to be self-evident.dmapr holds these truths to be self-evident.
 
Posts: 405
Karma: 126590
Join Date: Sep 2009
Device: Kobo Aura HD, Kobo Aura One
You don't have to go inside the src files and change the .yaml there. It is recommended that unless you're changing the content of the patch that you just enable them via overrides in the kobopatch.yaml at the top level. Find the section called overrides: and add Freedom to advanced fonts control: yes after src/libnickel.so.1.0.0.yaml: (note the indent).


Code:
overrides:
  src/nickel.yaml:
  src/libadobe.so.yaml:
  src/libnickel.so.1.0.0.yaml:
    Freedom to advanced fonts control: yes
  src/librmsdk.so.1.0.0.yaml:
Run kobopatch as DNSB explained (but use the forward slash in ./kobopatch.sh, backward slash is Windows) and watch for something like this to appear in the output:

Code:
Patching ./usr/local/Kobo/libnickel.so.1.0.0
  Applying overrides from config
    'Freedom to advanced fonts control' -> enabled:true
  [1/44] Skipping disabled patch `Set KePub hyphenation`
  [2/44] Skipping disabled patch `Keyboard template (GloHD/ClaraHD/AuraOne/H2O2)`
  [3/44] Skipping disabled patch `Custom font sizes`
  [4/44] Applying patch `Freedom to advanced fonts control`
…
dmapr is offline   Reply With Quote
Old 02-20-2019, 08:21 AM   #6
ReaLx3m
Connoisseur
ReaLx3m can tie a knot in a cherry stem with his or her tongueReaLx3m can tie a knot in a cherry stem with his or her tongueReaLx3m can tie a knot in a cherry stem with his or her tongueReaLx3m can tie a knot in a cherry stem with his or her tongueReaLx3m can tie a knot in a cherry stem with his or her tongueReaLx3m can tie a knot in a cherry stem with his or her tongueReaLx3m can tie a knot in a cherry stem with his or her tongueReaLx3m can tie a knot in a cherry stem with his or her tongueReaLx3m can tie a knot in a cherry stem with his or her tongueReaLx3m can tie a knot in a cherry stem with his or her tongueReaLx3m can tie a knot in a cherry stem with his or her tongue
 
Posts: 69
Karma: 22212
Join Date: Aug 2017
Device: Kobo Aura H2O
Quote:
Originally Posted by dzhmartin View Post
I need to download the "Freedom to advanced fonts control" on my Clara HD, but I don't have any programming experience. Some people here pointed me to this post, which lists instructions for doing this: https://www.mobileread.com/forums/sh...d.php?t=313422

Is there a detailed more description on this forum of someone installing kobo patches? I wasn't sure what a few of these steps meant. For instance:



Does this mean copying over the file to my kobo directory?



Do I need to tamper with the files inside this folder?


I have a Mac. Can I still do this?
This is the way i do it.While im on windows, the only difference should be the final step which DNSB explained to you

1.Download the firmware version your reader is on, from here .
Put the downloaded firmware file in /src.
If youre not on the latest version you can potentially upgrade the ereader to latest first if you prefer.

2.Open yaml files in /src folder with text editor (i prefer notepad++) and look for patches you like in libadobe/libnickel/librmdsk/nickel.yaml . Copy the name of the patch in kobopatch.yaml under the "overrides" line folowed by "yes".
My kobopatch.yaml file is in the attachment so you get the clear picture how it should look like.

3.Run kobopatch.bat (or in your case follow the instructions from @DNSB)

4.Copy "koboroot.tgz" from /out to you ereader in /.kobo . Safely eject the reader, and youre done.Takes about minute to finish after you ejected.

I think its simpler explained this way.

Edit:Step 4 in the original guide is unnecesary, unless you want to upgarde frimware to latest first.
Attached Files
File Type: zip kobopatch.yaml.zip (1.3 KB, 11 views)

Last edited by ReaLx3m; 02-20-2019 at 08:27 AM.
ReaLx3m is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Glo What hacks/patches etc do I need? catsknit Kobo Reader 23 04-02-2018 10:38 AM
Unofficial Sigil patches varlog Sigil 8 11-12-2014 06:14 PM
How to apply the enhancements/patches ? nubbol Calibre 2 09-04-2010 11:42 PM
iLiad installing multiple iPdf patches ragdoll iRex Developer's Corner 2 01-19-2008 01:31 PM


All times are GMT -4. The time now is 05:03 AM.


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