View Single Post
Old 10-10-2023, 07:33 AM   #25
Djazzy
Member
Djazzy began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Oct 2023
Device: Kobo Libra 2
Quote:
Originally Posted by hatuluang View Post
5. Choose your patches from the files in the src folder
Enable patches in the files in the src folder (or use the overrides in kobopatch.yaml to keep your options separate).

Instead of putting "yes" to the related patch in the nickel.yaml on SRC folder, you can override it in kobopatch.yaml as following:

Code:
  
overrides:
  src/libadobe.so.yaml:
  src/libnickel.so.1.0.0.yaml:
  src/librmsdk.so.1.0.0.yaml:
  src/nickel.yaml:
    Remove footer (row3) on new home screen: yes


The screenshot of kobopatch.yaml attached

Hope it helps...

Thank you to you 2

it does not work :/

When I make the modification in the kobopatch.yaml I do not have any koboroot file in the out folder

and when I make the modification in the nickel.yaml folder I don't have a koboroot file either but I have a log.txt file with this written in it:


Code:
kobopatch 653070c
https://github.com/geek1011/kobopatch



KoboPatch::LoadConfig
reading config file from *os.File
unmarshaling yaml
  | {
  |     "Version": "4.38.21908",
  |     "In": "src/kobo-update-4.38.21908.zip",
  |     "Out": "out/KoboRoot.tgz",
  |     "Log": "out/log.txt",
  |     "PatchFormat": "kobopatch",
  |     "Patches": {
  |         "src/libadobe.so.yaml": "usr/local/Kobo/libadobe.so",
  |         "src/libnickel.so.1.0.0.yaml": "usr/local/Kobo/libnickel.so.1.0.0",
  |         "src/librmsdk.so.1.0.0.yaml": "usr/local/Kobo/librmsdk.so.1.0.0",
  |         "src/nickel.yaml": "usr/local/Kobo/nickel"
  |     },
  |     "Overrides": {
  |         "src/libadobe.so.yaml": null,
  |         "src/libnickel.so.1.0.0.yaml": null,
  |         "src/librmsdk.so.1.0.0.yaml": null,
  |         "src/nickel.yaml": null
  |     },
  |     "Lrelease": "",
  |     "Translations": null,
  |     "Files": null
  | }


KoboPatch::OutputInit


KoboPatch::ApplyPatches
    KoboPatch::openIn
        Opening firmware zip 'src/kobo-update-4.38.21908.zip'
        --> zip: not a valid zip file

Last edited by Djazzy; 10-10-2023 at 07:35 AM.
Djazzy is offline   Reply With Quote