Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 04-23-2022, 12:43 PM   #1
LivresInOz
LivresInOz
LivresInOz has become a pillar of the MobileRead communityLivresInOz has become a pillar of the MobileRead communityLivresInOz has become a pillar of the MobileRead communityLivresInOz has become a pillar of the MobileRead communityLivresInOz has become a pillar of the MobileRead communityLivresInOz has become a pillar of the MobileRead communityLivresInOz has become a pillar of the MobileRead communityLivresInOz has become a pillar of the MobileRead communityLivresInOz has become a pillar of the MobileRead communityLivresInOz has become a pillar of the MobileRead communityLivresInOz has become a pillar of the MobileRead community
 
LivresInOz's Avatar
 
Posts: 330
Karma: 15958
Join Date: May 2010
Device: Kobo: Forma + Libra|Galaxy: TAB A7 + Note 8 tablet|Boox: Note Air 2
Question The patch to force Kobo to ASK before updating firmware?

I saw in other threads there is a patch that makes the Kobo ASK you before updating the firmware.

Apparently it MIGHT be called libnickel.so.1.0.0.yaml

BUT, when I go to the only obvious site with a reference to this and ask for the file:
- there are several versions of that file
- when I click on a version, all I get is a bunch of text

Can someone pls tell me simply:
- how I can obtain and install the (or a) patch that will make the Kobo CONFIRM before updating firmware on sync?
- if there are any risks?


I would rather choose to go through the whole process of reinstalling KFMON, Koreader and Plato at a time of my own choosing!

(I've got a Forma currently on what seems to be the latest firmware: 4.32.19501 of 14 april 2022)
LivresInOz is offline   Reply With Quote
Old 04-23-2022, 01:04 PM   #2
LivresInOz
LivresInOz
LivresInOz has become a pillar of the MobileRead communityLivresInOz has become a pillar of the MobileRead communityLivresInOz has become a pillar of the MobileRead communityLivresInOz has become a pillar of the MobileRead communityLivresInOz has become a pillar of the MobileRead communityLivresInOz has become a pillar of the MobileRead communityLivresInOz has become a pillar of the MobileRead communityLivresInOz has become a pillar of the MobileRead communityLivresInOz has become a pillar of the MobileRead communityLivresInOz has become a pillar of the MobileRead communityLivresInOz has become a pillar of the MobileRead community
 
LivresInOz's Avatar
 
Posts: 330
Karma: 15958
Join Date: May 2010
Device: Kobo: Forma + Libra|Galaxy: TAB A7 + Note 8 tablet|Boox: Note Air 2
Okay, I found this guide, but don't understand the following:

Step:

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).

HOW?
If the process is complicated, I'd love to hear how to just make sure the patch that ensures you are asked about updating is activated.
If there are a few cool patches and it's not too hard, I'm happy to have the full options...


7. Install the patches by copying KoboRoot.tgz into the .kobo folder of your device
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. Safely remove your device once you are finished.

Is this created by the .bat file, because its not in the folder after extracting Kobopatch_4.32.1901.zip...

Last edited by LivresInOz; 04-23-2022 at 01:06 PM.
LivresInOz is offline   Reply With Quote
Advert
Old 04-23-2022, 01:07 PM   #3
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: 10,724
Karma: 226728044
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Quote:
Originally Posted by LivresInOz View Post
Okay, I found this guide, but don't understand the following:

Step:

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).

HOW?

7. Install the patches by copying KoboRoot.tgz into the .kobo folder of your device
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. Safely remove your device once you are finished.

Is this created by the .bat file, because its not in the folder after extracting Kobopatch_4.32.1901.zip...
Yes, KoboRoot.tgz is created after running the .bat file.

As to enabling, open the .yaml files in the .src folder with (for example) Notepad and change no to yes when you want to enable a patch. Then save and run the .bat file. Take care not to add or delete any spaces in those files.
Sirtel is online now   Reply With Quote
Old 04-24-2022, 11:06 PM   #4
Deobulakenyo
Guru
Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.
 
Posts: 705
Karma: 2153490
Join Date: Aug 2021
Location: Stupid Philippines
Device: Kobo Libra 2, Boyue Likebook P78
Quote:
Originally Posted by LivresInOz View Post
Okay, I found this guide, but don't understand the following:

Step:

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).

HOW?
If the process is complicated, I'd love to hear how to just make sure the patch that ensures you are asked about updating is activated.
If there are a few cool patches and it's not too hard, I'm happy to have the full options...


7. Install the patches by copying KoboRoot.tgz into the .kobo folder of your device
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. Safely remove your device once you are finished.

Is this created by the .bat file, because its not in the folder after extracting Kobopatch_4.32.1901.zip...
you do not need to unzip the update file. what you need is the zip file (i.e. kobo-update-4.32.19501.zip) inside the src folder.

after running the bat file, the KoboRoot.tgz will be generated inside the "out" folder. Copy that inside your .kobo folder of your device, then your device will update and thae patch/es you enabled will be implemented in your device.

If you need the koboroot.tgz only with certain patches, i can generate it for you. just tell me the device you have and the firware version and the patches you need. Or i can prepare the files, and then you can run the .bat to generate your own tgz file. This way you can also check the files and see what was changed so later you can do it on your own.

Last edited by Deobulakenyo; 04-24-2022 at 11:09 PM.
Deobulakenyo is offline   Reply With Quote
Old 04-25-2022, 01:16 AM   #5
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: 38,004
Karma: 150500002
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Deobulakenyo View Post
If you need the koboroot.tgz only with certain patches, i can generate it for you. just tell me the device you have and the firware version and the patches you need. Or i can prepare the files, and then you can run the .bat to generate your own tgz file. This way you can also check the files and see what was changed so later you can do it on your own.
For the most part, I prefer to use the overrides section of the kobopatch.yaml. By saving a copy of the overrides and doing the minor changes required when patches are added or removed, I don't have to edit the multiple .yaml files in the src folder. A sample overrides section that does only Unify font sizes and Disable orphans/widows is attached.

Code:
## You can put lines in the following section to override the enabled state of patches.
## The indentation matters! Each override should be indented by 4 spaces. Add to the 
## section below. This section can be copy and pasted into newer patch versions to
## keep your selections.
##
## Example of how it should look:
## overrides:
##   src/nickel.yaml:
##     Custom synopsis/details line spacing: yes
##     Whatever the yaml is called: no
##   src/libadobe.so.yaml:
##     You get the idea: yes

overrides: 
  src/libadobe.so.yaml:
    Remove PDF map widget shown during panning: no 
#    
  src/libnickel.so.1.0.0.yaml:
# PATCH GROUP - DON'T ENABLE MORE THAN 1 
    My 10 line spacing values: no 
    My 24 line spacing values: no 
# END GROUP 
    Custom left & right margins: no 
    Custom font sizes: no 
    ePub fixed top/bottom margins: no 
    ePub disable built-in body padding-bottom: no 
    Custom kepub default margins: no 
    Block WiFi firmware upgrade: no 
    Custom Sleep/Power-off timeouts: no 
    Set KePub hyphenation: no 
    Force user line spacing in KePubs: no 
    Force user line spacing in ePubs (part 1 of 2): no 
    Un-force font-family override p tags (std epubs): no 
    Force user font-family in ePubs (Part 1 of 2): no 
    ePub constant font sharpness: no 
    Un-Force user text-align in div,p tags in KePubs: no 
    Un-force link decoration in KePubs: no 
    Dictionary text font-family/font-size/line-height: no 
# PATCH GROUP - DON'T ENABLE MORE THAN 1 
    KePub stylesheet additions - text justify: no 
    KePub stylesheet additions - optimizeSpeed: no 
    KePub stylesheet additions - optimizeLegibility: no 
# END GROUP 
    Shorten dictionary entry not found message: no 
    Change Wikipedia search language: no 
    Cyrillic Keyboard (GloHD/ClaraHD/AuraOne/H2O2): no 
    Greek Keyboard (GloHD/ClaraHD/AuraOne/H2O2): no 
    Bulgarian Phonetic Keyboard (GloHD/ClaraHD/AuraOne/H2O2/Forma/Libra): no 
    Don't grab exclusive access to event0: no 
    Both page turn buttons go next: no 
    Both page turn sides go next: no 
    Increase page navigation history: no 
    Replace adobe page numbers toggle with invert screen: no 
    Always show confirmation dialog before upgrading: no 
    Allow USB storage even when device locked: no 
    Hide browser from beta features: no 
    Remove beta features not supported text: no 
    Disable all tutorial dialogs: no 
    Remove recommendations (row1col2) from home screen: no 
    Rename new home screen footer: no 
    Remove line from bottom tab bar: no 
    Change Browse Kobo home screen link target - Activity: no 
    Set visible SmartLink: no 
    Only show Pocket SmartLink: no 
    Only show stats SmartLink: no 
    Never show Kobo Plus, wishlist, and points SmartLinks: no 
    Allow showing info panel on random screensaver: no 
    Remove title from reading header/footer: no 
    Larger Sleep/Power-off timeouts: no 
    Allow rotation on all devices: no 
    Don't uppercase header/footer text: no 
    Custom header/footer page number text: no 
    Don't uppercase header/footer text and change page number text: no 
    Swap reading header/footer: no 
    Customize ComfortLight settings: no 
    FeatureSettings - BookSpecificStats: no 
    FeatureSettings - ShowFacebookShare: no 
    FeatureSettings - FullScreenBrowser: no 
    FeatureSettings - MyWords: no 
    FeatureSettings - ExportHighlights: no 
    DeveloperSettings - AutoUsbGadget: no 
    PowerSettings - UnlockEnabled: no 
    Unify font sizes: yes 
#    
  src/librmsdk.so.1.0.0.yaml: 
    Disable orphans/widows avoidance: yes 
    Default ePub serif font (Amasis): no 
    Default ePub sans-serif font (Gill Sans): no 
    Default ePub symbol font (Symbol): no 
    Force user line spacing in ePubs (Part 2 of 2): no 
    Force user font-family in ePubs (Part 2 of 2): no 
    Ignore ePub book Adobe XPGT stylesheet (page-template.xpgt): no 
    Ignore ePub book CSS and Adobe XPGT stylesheets: no 
    Ignore ePub TOC navpoints: no 
    Default ePub monospace font: no 
#    
  src/nickel.yaml: 
    Reduce top/bottom page spacer: no 
    Custom synopsis details line spacing: no 
    Custom synopsis font size: no 
    Increase home screen cover size: no 
    Dictionary pop-up - increase available text area: no 
    Increase Book Details synopsis area: no 
    Increase library cover size: no 
    Custom collection/author header title font: no 
    Reduce new header/footer height: no 
    Custom header/footer captions: no 
    Custom page navigation scrubber: no 
    Customise Header back button: no 
    Series list increase cover thumbnails: no 
    Increase headlines font: no 
    New home screen subtitle custom font: no 
    Remove footer (row3) and increase cover size on new home screen: no 
    Remove footer (row3) on new home screen: no 
    Show all games: no 
    Remove forgot pin button from lock screen: no 
    Increase size of kepub chapter progress chart: no 
    Change TOC level indentation: no

Last edited by DNSB; 04-25-2022 at 01:18 AM.
DNSB is offline   Reply With Quote
Advert
Old 04-25-2022, 01:26 AM   #6
Deobulakenyo
Guru
Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.
 
Posts: 705
Karma: 2153490
Join Date: Aug 2021
Location: Stupid Philippines
Device: Kobo Libra 2, Boyue Likebook P78
Quote:
Originally Posted by DNSB View Post
For the most part, I prefer to use the overrides section of the kobopatch.yaml. By saving a copy of the overrides and doing the minor changes required when patches are added or removed, I don't have to edit the multiple .yaml files in the src folder. A sample overrides section that does only Unify font sizes and Disable orphans/widows is attached.

Code:
## You can put lines in the following section to override the enabled state of patches.
## The indentation matters! Each override should be indented by 4 spaces. Add to the 
## section below. This section can be copy and pasted into newer patch versions to
## keep your selections.
##
## Example of how it should look:
## overrides:
##   src/nickel.yaml:
##     Custom synopsis/details line spacing: yes
##     Whatever the yaml is called: no
##   src/libadobe.so.yaml:
##     You get the idea: yes

overrides: 
  src/libadobe.so.yaml:
    Remove PDF map widget shown during panning: no 
#    
  src/libnickel.so.1.0.0.yaml:
# PATCH GROUP - DON'T ENABLE MORE THAN 1 
    My 10 line spacing values: no 
    My 24 line spacing values: no 
# END GROUP 
    Custom left & right margins: no 
    Custom font sizes: no 
    ePub fixed top/bottom margins: no 
    ePub disable built-in body padding-bottom: no 
    Custom kepub default margins: no 
    Block WiFi firmware upgrade: no 
    Custom Sleep/Power-off timeouts: no 
    Set KePub hyphenation: no 
    Force user line spacing in KePubs: no 
    Force user line spacing in ePubs (part 1 of 2): no 
    Un-force font-family override p tags (std epubs): no 
    Force user font-family in ePubs (Part 1 of 2): no 
    ePub constant font sharpness: no 
    Un-Force user text-align in div,p tags in KePubs: no 
    Un-force link decoration in KePubs: no 
    Dictionary text font-family/font-size/line-height: no 
# PATCH GROUP - DON'T ENABLE MORE THAN 1 
    KePub stylesheet additions - text justify: no 
    KePub stylesheet additions - optimizeSpeed: no 
    KePub stylesheet additions - optimizeLegibility: no 
# END GROUP 
    Shorten dictionary entry not found message: no 
    Change Wikipedia search language: no 
    Cyrillic Keyboard (GloHD/ClaraHD/AuraOne/H2O2): no 
    Greek Keyboard (GloHD/ClaraHD/AuraOne/H2O2): no 
    Bulgarian Phonetic Keyboard (GloHD/ClaraHD/AuraOne/H2O2/Forma/Libra): no 
    Don't grab exclusive access to event0: no 
    Both page turn buttons go next: no 
    Both page turn sides go next: no 
    Increase page navigation history: no 
    Replace adobe page numbers toggle with invert screen: no 
    Always show confirmation dialog before upgrading: no 
    Allow USB storage even when device locked: no 
    Hide browser from beta features: no 
    Remove beta features not supported text: no 
    Disable all tutorial dialogs: no 
    Remove recommendations (row1col2) from home screen: no 
    Rename new home screen footer: no 
    Remove line from bottom tab bar: no 
    Change Browse Kobo home screen link target - Activity: no 
    Set visible SmartLink: no 
    Only show Pocket SmartLink: no 
    Only show stats SmartLink: no 
    Never show Kobo Plus, wishlist, and points SmartLinks: no 
    Allow showing info panel on random screensaver: no 
    Remove title from reading header/footer: no 
    Larger Sleep/Power-off timeouts: no 
    Allow rotation on all devices: no 
    Don't uppercase header/footer text: no 
    Custom header/footer page number text: no 
    Don't uppercase header/footer text and change page number text: no 
    Swap reading header/footer: no 
    Customize ComfortLight settings: no 
    FeatureSettings - BookSpecificStats: no 
    FeatureSettings - ShowFacebookShare: no 
    FeatureSettings - FullScreenBrowser: no 
    FeatureSettings - MyWords: no 
    FeatureSettings - ExportHighlights: no 
    DeveloperSettings - AutoUsbGadget: no 
    PowerSettings - UnlockEnabled: no 
    Unify font sizes: yes 
#    
  src/librmsdk.so.1.0.0.yaml: 
    Disable orphans/widows avoidance: yes 
    Default ePub serif font (Amasis): no 
    Default ePub sans-serif font (Gill Sans): no 
    Default ePub symbol font (Symbol): no 
    Force user line spacing in ePubs (Part 2 of 2): no 
    Force user font-family in ePubs (Part 2 of 2): no 
    Ignore ePub book Adobe XPGT stylesheet (page-template.xpgt): no 
    Ignore ePub book CSS and Adobe XPGT stylesheets: no 
    Ignore ePub TOC navpoints: no 
    Default ePub monospace font: no 
#    
  src/nickel.yaml: 
    Reduce top/bottom page spacer: no 
    Custom synopsis details line spacing: no 
    Custom synopsis font size: no 
    Increase home screen cover size: no 
    Dictionary pop-up - increase available text area: no 
    Increase Book Details synopsis area: no 
    Increase library cover size: no 
    Custom collection/author header title font: no 
    Reduce new header/footer height: no 
    Custom header/footer captions: no 
    Custom page navigation scrubber: no 
    Customise Header back button: no 
    Series list increase cover thumbnails: no 
    Increase headlines font: no 
    New home screen subtitle custom font: no 
    Remove footer (row3) and increase cover size on new home screen: no 
    Remove footer (row3) on new home screen: no 
    Show all games: no 
    Remove forgot pin button from lock screen: no 
    Increase size of kepub chapter progress chart: no 
    Change TOC level indentation: no
This is a good approach. I am gonna adopt this.

What I do is just to list all patches I used and enabled by YES.

This is agood approach. List them all and then modify.

Last edited by Deobulakenyo; 04-25-2022 at 01:32 AM.
Deobulakenyo is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Patch Un-Force user font-family in KePubs fer1803 Kobo Developer's Corner 3 02-25-2020 03:59 PM
Is there any danger to updating a new Kobo Clara to latest firmware when prompted? hecq Kobo Developer's Corner 10 12-04-2019 08:19 PM
Force-updating books on a Kobo H2O from code ceridwen Development 4 07-21-2019 08:34 PM
Patch PNG images in Kobo firmware pipcat Kobo Developer's Corner 11 06-14-2016 05:57 PM
Touch Kobo touch firmware not updating since 2.5.2? YarnerT Kobo Reader 5 11-19-2013 01:01 PM


All times are GMT -4. The time now is 07:48 AM.


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