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 09-21-2023, 12:39 PM   #16
hatuluang
Enthusiast
hatuluang began at the beginning.
 
hatuluang's Avatar
 
Posts: 33
Karma: 10
Join Date: Jan 2023
Location: Indonesia
Device: Kobo Clara 2E
Quote:
Originally Posted by rogerinnyc View Post
Thanks for the patches, as always. Is anyone else having trouble with the Don't uppercase header/footer text patch? It's not working for me on my Libra 2, using the latest 4.38.21908. Oddly, when I open libnickel.so.1.0.0.yaml in Notepad++, the patch shows up, but unlike all the other patches, it is not bolded/colored. I don't know enough about coding or Notepad to know what that means, but it certainly seems consistent with the patch being buggy this time around? It has always worked for me across numerous software upgrades, but not this one.

Thanks for any enlightenment/assistance!
The related patch is working well on Kobo Clara 2E
hatuluang is offline   Reply With Quote
Old 09-21-2023, 12:50 PM   #17
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: 31,139
Karma: 136000011
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by rogerinnyc View Post
Oddly, when I open libnickel.so.1.0.0.yaml in Notepad++, the patch shows up, but unlike all the other patches, it is not bolded/colored. I don't know enough about coding or Notepad to know what that means, but it certainly seems consistent with the patch being buggy this time around? It has always worked for me across numerous software upgrades, but not this one.
When I open the .yaml file in Notepad++ with the language set to YAML, the patch shows colouring. See attached image. I've tested on a Sage and Clara HD and it does work.
Attached Thumbnails
Click image for larger version

Name:	dont_uppercase_header-footer_text.png
Views:	102
Size:	47.2 KB
ID:	203905  
DNSB is offline   Reply With Quote
Old 09-21-2023, 02:10 PM   #18
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: 72,494
Karma: 125182049
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 rogerinnyc View Post
Thanks for the patches, as always. Is anyone else having trouble with the Don't uppercase header/footer text patch? It's not working for me on my Libra 2, using the latest 4.38.21908. Oddly, when I open libnickel.so.1.0.0.yaml in Notepad++, the patch shows up, but unlike all the other patches, it is not bolded/colored. I don't know enough about coding or Notepad to know what that means, but it certainly seems consistent with the patch being buggy this time around? It has always worked for me across numerous software upgrades, but not this one.

Thanks for any enlightenment/assistance!
It's working for me. I don't change all the yes/no in the src .yaml files. I do it via the kobopatch.yaml file.

That way I don't have to change all the patches I want to yes and I can include some custom patches and the better hyphenation dictionary.

I've attached my kobopatch.yaml file so you can see what I've done.
Attached Files
File Type: zip kobopatch.yaml.zip (2.5 KB, 52 views)
JSWolf is offline   Reply With Quote
Old 09-21-2023, 02:49 PM   #19
rogerinnyc
Addict
rogerinnyc ought to be getting tired of karma fortunes by now.rogerinnyc ought to be getting tired of karma fortunes by now.rogerinnyc ought to be getting tired of karma fortunes by now.rogerinnyc ought to be getting tired of karma fortunes by now.rogerinnyc ought to be getting tired of karma fortunes by now.rogerinnyc ought to be getting tired of karma fortunes by now.rogerinnyc ought to be getting tired of karma fortunes by now.rogerinnyc ought to be getting tired of karma fortunes by now.rogerinnyc ought to be getting tired of karma fortunes by now.rogerinnyc ought to be getting tired of karma fortunes by now.rogerinnyc ought to be getting tired of karma fortunes by now.
 
Posts: 227
Karma: 944808
Join Date: Apr 2009
Device: Kobo Libra 2, Forma and Aura One; Kindle Voyage; Galaxy Note 10
Quote:
Originally Posted by DNSB View Post
When I open the .yaml file in Notepad++ with the language set to YAML, the patch shows colouring. See attached image. I've tested on a Sage and Clara HD and it does work.
Thanks, but your image is like mine. It's the Title of the patch that's not colored, whereas the titles of all the other patches are.

However, upon further inspection, it appears to be a problem with the kepub title I'm reading. The other books on my device show the lowercase header, so this is a problem presumably just with this particular file.

Appreciate the help.
rogerinnyc is offline   Reply With Quote
Old 09-21-2023, 03:42 PM   #20
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,137
Karma: 16059044
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Quote:
Originally Posted by rogerinnyc View Post
Is anyone else having trouble with the Don't uppercase header/footer text patch? It's not working for me on my Libra 2, using the latest 4.38.21908. Oddly, when I open libnickel.so.1.0.0.yaml in Notepad++, the patch shows up, but unlike all the other patches, it is not bolded/colored. <snip>
I think the oddity you're seeing with the appearance of this patch name in a .yaml in Notepad++ text editor is due to the presence of the apostrophe in "Don't"

It's always been this way when using Notepad++. I don't know whether other text editors handle it better.
jackie_w is offline   Reply With Quote
Old 09-21-2023, 05:10 PM   #21
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: 72,494
Karma: 125182049
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 jackie_w View Post
I think the oddity you're seeing with the appearance of this patch name in a .yaml in Notepad++ text editor is due to the presence of the apostrophe in "Don't"

It's always been this way when using Notepad++. I don't know whether other text editors handle it better.
Bingo! If you change Don't to Do not, it shows up correctly.
JSWolf is offline   Reply With Quote
Old 10-09-2023, 05:20 PM   #22
Djazzy
Member
Djazzy began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Oct 2023
Device: Kobo Libra 2
Hello from France,

first of all thank you very much for this patch, I am really the worst noob of noobs and therefore I am afraid of doing something that I will regret.
I think I have understood all the steps mentioned above to install the patch (my kobo having already been automatically updated, I suppose I do not need to do step 4)

all I want, since I don't use the kobo store or the internet, is to remove from the home page the message "find your next book on kobo plus....." and the message "read as much as you want with a kobo plus subscription" (I translate from French to English).

when I open the patches in the src folder. I don't know how to do it I'm afraid of breaking everything xD. Could a kind soul tell me with a screenshot what I need to modify? that's all I really care about, all the other fixes at the moment don't interest me.

I thank you and wish you a good week.
Djazzy is offline   Reply With Quote
Old 10-10-2023, 03:11 AM   #23
hatuluang
Enthusiast
hatuluang began at the beginning.
 
hatuluang's Avatar
 
Posts: 33
Karma: 10
Join Date: Jan 2023
Location: Indonesia
Device: Kobo Clara 2E
Quote:
Originally Posted by Djazzy View Post
Hello from France,

first of all thank you very much for this patch, I am really the worst noob of noobs and therefore I am afraid of doing something that I will regret.
I think I have understood all the steps mentioned above to install the patch (my kobo having already been automatically updated, I suppose I do not need to do step 4)

all I want, since I don't use the kobo store or the internet, is to remove from the home page the message "find your next book on kobo plus....." and the message "read as much as you want with a kobo plus subscription" (I translate from French to English).

when I open the patches in the src folder. I don't know how to do it I'm afraid of breaking everything xD. Could a kind soul tell me with a screenshot what I need to modify? that's all I really care about, all the other fixes at the moment don't interest me.

I thank you and wish you a good week.
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...
Attached Thumbnails
Click image for larger version

Name:	2023-10-10_150041 patch nickel remove footer  row 3.jpg
Views:	68
Size:	161.6 KB
ID:	204206  

Last edited by hatuluang; 10-10-2023 at 03:15 AM.
hatuluang is offline   Reply With Quote
Old 10-10-2023, 03:44 AM   #24
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 9,000
Karma: 219221630
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Quote:
Originally Posted by Djazzy View Post
when I open the patches in the src folder. I don't know how to do it I'm afraid of breaking everything xD. Could a kind soul tell me with a screenshot what I need to modify? that's all I really care about, all the other fixes at the moment don't interest me.
Open the patches in a notepad app and change no to yes for the ones you want. Don't forget to save.

Last edited by Sirtel; 10-10-2023 at 03:47 AM.
Sirtel is online now   Reply With Quote
Old 10-10-2023, 08:33 AM   #25
Djazzy
Member
Djazzy began at the beginning.
 
Posts: 11
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 08:35 AM.
Djazzy is offline   Reply With Quote
Old 10-10-2023, 10:16 AM   #26
hatuluang
Enthusiast
hatuluang began at the beginning.
 
hatuluang's Avatar
 
Posts: 33
Karma: 10
Join Date: Jan 2023
Location: Indonesia
Device: Kobo Clara 2E
Quote:
Originally Posted by Djazzy View Post
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
It means that your Kobo firmware file in the SRC folder is not a valid zip file.
Try to download it again and put it in the SRC folder as Instruction No.1 and No.3 on the first page of this thread.
Make sure that you download the Kobo firmware file according to your Kobo Model.

Attached is the image of the SRC folder with Kobo firmware.

Hope it works...
Attached Thumbnails
Click image for larger version

Name:	2023-10-10_212341 contents of src folder.jpg
Views:	47
Size:	46.8 KB
ID:	204209  
hatuluang is offline   Reply With Quote
Old 10-10-2023, 10:48 AM   #27
Djazzy
Member
Djazzy began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Oct 2023
Device: Kobo Libra 2
Quote:
Originally Posted by hatuluang View Post
It means that your Kobo firmware file in the SRC folder is not a valid zip file.
Try to download it again and put it in the SRC folder as Instruction No.1 and No.3 on the first page of this thread.
Make sure that you download the Kobo firmware file according to your Kobo Model.

Attached is the image of the SRC folder with Kobo firmware.

Hope it works...
Thanks a lot ! I downloaded the firmware again and this time the zip file was recognized and it works perfectly! thanks again for the screens and detailed explanations
Djazzy is offline   Reply With Quote
Old 10-10-2023, 10:54 AM   #28
hatuluang
Enthusiast
hatuluang began at the beginning.
 
hatuluang's Avatar
 
Posts: 33
Karma: 10
Join Date: Jan 2023
Location: Indonesia
Device: Kobo Clara 2E
Quote:
Originally Posted by Djazzy View Post
Thanks a lot ! I downloaded the firmware again and this time the zip file was recognized and it works perfectly! thanks again for the screens and detailed explanations
Glad to read it works. You're welcome.
hatuluang is offline   Reply With Quote
Reply

Tags
kobopatch, patch, patch32lsb, patches, patching

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
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.2.0 DNSB Kobo Developer's Corner 66 12-05-2014 08:28 AM
Instructions for patching firmware 3.8.0 GeoffR Kobo Developer's Corner 92 10-22-2014 08:22 AM
Instructions for patching firmware 3.1.1 GeoffR Kobo Developer's Corner 64 04-18-2014 02:23 PM


All times are GMT -4. The time now is 10:54 AM.


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