View Single Post
Old 11-21-2020, 06:31 AM   #83
Mrs_Often
Wizard
Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.
 
Mrs_Often's Avatar
 
Posts: 1,768
Karma: 2694823
Join Date: Dec 2011
Location: The Netherlands
Device: Kobo Touch, Glo, Clara HD
Quote:
Originally Posted by hermil View Post
Hello everybody.

My Kobo Aura One runs the firmware 4.24.15676, and I’m trying to patch it.

I have followed the instructions on the first post of this thread, but nothing really seems to have happened in my Aura settings. I’m not sure about the instruction number 5: «Enable patches in the files in the src folder (or use the overrides in kobopatch.yaml to keep your options separate)»: what does that mean?

I guess something went wrong applying the varioius patches, since the Terminal window (I’m running Mac OS X) kept showing a list of “SKIP…”.

Can you help me please?
Hi and welcome to the forum!

Ah well there isn't really anything going wrong... the only thing is you didn't follow step 5, like you said. All the patches are switched off by default. Step 5 is telling you to enable the patches that you want. There are two ways of doing that:

1. Inside the kobopatch_4.24.15676 folder (which contains the .sh file that you ran in the Terminal) is another folder named 'src'. This contains four files with the .yaml extension. Each of those files has the patches in. You need to go through all of these patches and choose which you want to enable. (You can open the .yaml files in a basic text editor. TextEdit will do, but I use Wrangler [also Mac OS] as it highlights the code in a handy way.) For instance, in the libnickel.so.1.0.0.yaml file, the first patch is called My 10 line spacing values: and the next line says - Enabled: no. If you want to enable it, you change that next line to - Enabled: yes. Once you've done that to all the patches you want to enable, you save the file, and run the kobopatch.sh file in Terminal again.

If you choose option 1, you'll have to do the above all over again when you update your firmware and use the new patches...

2. To prevent having to do number 1 all over again when a new firmware version arrives, you can use a separate file to enable/disable all the patches you choose to use instead of editing the files inside the src folder (as explained in option 1 above). This will be lots of work now, but like I said, it will save you lots of time in the future. Next to the .sh file that you ran in the Terminal, there's a file called kobopatch.yaml. Open it in your basic text editor and you will see a few lines that say:
Code:
overrides:
  src/nickel.yaml:
  src/libadobe.so.yaml:
  src/libnickel.so.1.0.0.yaml:  
  src/librmsdk.so.1.0.0.yaml:
These refer to the files inside the src folder that you would edit if you'd follow number 1. You can enter line breaks, and add the titles of all the patches you want to enable, under the corresponding file name. Then add "yes" or "no" to enable/disable them. For instance:
Code:
overrides:
  src/nickel.yaml:
  src/libadobe.so.yaml:
  src/libnickel.so.1.0.0.yaml:  
    My 10 line spacing values: yes #add some text behind a hash to remind yourself what this is
  src/librmsdk.so.1.0.0.yaml:
Make sure there are 4 spaces before the line with the title of the patch (not a tab indent).

When you're done adding all the titles of the patches you want in the kobopatch.yaml file, save the file, and run the .sh file in Terminal like you did, and follow the rest of the steps in the first post.

I hope that clarifies! Good luck

Last edited by Mrs_Often; 11-21-2020 at 06:47 AM.
Mrs_Often is offline   Reply With Quote