Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 11-10-2020, 09:51 PM   #1
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,792
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Instructions for patching firmware 4.25.15875

This patch thread is for firmware 4.25.15875 (7615d0aa087df5e3176b67363b51e37f9fe8a991):

Instructions for patching on Windows, Linux, or macOS with kobopatch:
  1. Download the Kobo firmware release
    You can find the download links here here.
  2. Download and extract the patch zip
    Download and unzip kobopatch_4.25.15875.zip from here.
  3. Copy the firmware file to the src folder
    Copy the original firmware you just downloaded into the kobopatch src folder.
  4. Install the firmware if needed
    Install the firmware on your kobo BEFORE proceeding with the next steps. You can do this by extracting the contents of the firmware zip into the .kobo folder and ejecting.
  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).
  6. Run kobopatch
    Double-click kobopatch.bat on Windows, or run ./kobopatch.sh on Linux or macOS. On macOS, you can drag it into the terminal and press enter (you may need to go to System Preferences - Security and Privacy - General to confirm that you actually want to run it).
  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. On Linux, you may have to press Ctrl+H to show the .kobo folder.
Download

Last edited by geek1011; 11-10-2020 at 11:09 PM.
geek1011 is offline   Reply With Quote
Old 11-10-2020, 09:51 PM   #2
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,792
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Changes to the kobopatch zip:
v70 (2021-02-16): Restore 'Increase page navigation history' (Semwize, geek1011).
v69 (2020-11-10): Initial release for 4.25.15875.

Missing patches:
- None!

New patches in this version:
- None yet.

Last edited by geek1011; 02-16-2021 at 05:06 PM. Reason: v70
geek1011 is offline   Reply With Quote
Advert
Old 11-10-2020, 09:52 PM   #3
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,792
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
reserved
geek1011 is offline   Reply With Quote
Old 11-10-2020, 10:18 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: 40,603
Karma: 157444382
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Code:
2. Download and extract the patch zip
    Download and unzip kobopatch_4.24.15676.zip from here.
The correct file downloads but the link is mis-named.

Edit:

Last edited by DNSB; 11-10-2020 at 11:16 PM.
DNSB is offline   Reply With Quote
Old 11-10-2020, 10:48 PM   #5
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,224
Karma: 16536676
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
kobopatch 'Dictionary text font-family/font-size/line-height'

Please note that Kobo made some more changes to the CSS styles for dictionary definitions, so this patch needed to be updated again. The version in the kobopatch_4.25.15875.zip download pack should work OK.

However, if you keep your pre-customised version in a separate file from libnickel.so.1.0.0.yaml then you'll need to update it to match.
jackie_w is offline   Reply With Quote
Advert
Old 11-11-2020, 02:51 AM   #6
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,393
Karma: 12408443
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Thank you!, I've already applied it and it works OK.
Terisa de morgan is offline   Reply With Quote
Old 11-30-2020, 09:13 AM   #7
LucyOne
Librocubicularist
LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.
 
LucyOne's Avatar
 
Posts: 617
Karma: 11908623
Join Date: Dec 2013
Location: Germany
Device: PocketBook InkPad 3 & Touch HD 3, Kobo Clara HD, Kindle Paperwhite 5
Which patches regulate the distance between the reading footer and the bottom progress line? I have a footer with reduced height and the chapter title is a bit too close to the progress line. Letters like y and g get cut off. Is there a way to have the chapter title placed a little higher?
LucyOne is offline   Reply With Quote
Old 11-30-2020, 05:20 PM   #8
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,224
Karma: 16536676
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Quote:
Originally Posted by LucyOne View Post
Which patches regulate the distance between the reading footer and the bottom progress line? I have a footer with reduced height and the chapter title is a bit too close to the progress line. Letters like y and g get cut off. Is there a way to have the chapter title placed a little higher?
Look at the help notes for Part 2b of patch Custom new header/footer font in nickel.yaml. You can see the effect in screenshots 3 & 4 in this old post.

Last edited by jackie_w; 11-30-2020 at 05:24 PM. Reason: Add link to screenshots
jackie_w is offline   Reply With Quote
Old 12-01-2020, 06:29 AM   #9
LucyOne
Librocubicularist
LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.
 
LucyOne's Avatar
 
Posts: 617
Karma: 11908623
Join Date: Dec 2013
Location: Germany
Device: PocketBook InkPad 3 & Touch HD 3, Kobo Clara HD, Kindle Paperwhite 5
Thank you, that's what I was looking for!
LucyOne is offline   Reply With Quote
Old 12-08-2020, 03:43 PM   #10
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: 76,492
Karma: 136564766
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
As you can see in this screen grab, the title is cut off and there is more room on the bottom line to allow the full title. Can a patch be created to allow the L/R margins to be decreased so we get more of the book's title in the footer? Thanks.

Click image for larger version

Name:	screen_002.png
Views:	935
Size:	149.2 KB
ID:	183863
JSWolf is offline   Reply With Quote
Old 12-08-2020, 04:46 PM   #11
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,224
Karma: 16536676
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Quote:
Originally Posted by JSWolf View Post
As you can see in this screen grab, the title is cut off and there is more room on the bottom line to allow the full title. Can a patch be created to allow the L/R margins to be decreased so we get more of the book's title in the footer? Thanks.
I don't see anything in nickel's existing CSS which affects the width allocated to the header/footer captions.

I can see on my test KA1 that the whole footer caption block only takes up the central 8cm of the full screen width of 11.8cm. FWIW the header caption is similarly restricted. I don't know what the left/right unused blocks are supposed to be for. ETA: The left/right unused blocks are part of the page turning zones.

Unless geek1011 can suggest something better you could try one (or both) of the following:
  • Use patch Custom new header/footer font to reduce font-size a bit.
  • Stop prefixing the book's Title with its Series/Index. Presumably you're currently using a calibre metadata plugboard, but I'm not sure why you feel this is necessary with the current firmware.

Last edited by jackie_w; 12-09-2020 at 07:01 AM. Reason: corrections see posts #12/#13
jackie_w is offline   Reply With Quote
Old 12-08-2020, 09:19 PM   #12
Semwize
Guru
Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.
 
Posts: 891
Karma: 270670
Join Date: Jun 2016
Device: Kobo
Quote:
Originally Posted by JSWolf View Post
As you can see in this screen grab, the title is cut off and there is more room on the bottom line to allow the full title. Can a patch be created to allow the L/R margins to be decreased so we get more of the book's title in the footer?
try
Code:
Width allocated to the footer captions:
  - Enabled: yes
  - Description: |
  - FindZlib: "ReadingFooter"
  - ReplaceZlibGroup:
      Replacements:
        - Find:    "ReadingFooter[qApp_deviceIsDragon=true] {\n  qproperty-footerMargin: 170;\n}"
          Replace: "ReadingFooter[qApp_deviceIsDragon=true] {\n  qproperty-footerMargin: 70;\n}"
nickel.yaml
Semwize is offline   Reply With Quote
Old 12-09-2020, 06:59 AM   #13
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,224
Karma: 16536676
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
@JSWolf,

@Semwize is correct. I hadn't realised until now what 'ReadingFooter' property 'qproperty-footerMargin' was actually used for.

It's the width of the right & left corner tap zone blocks in the footer which can be used for turning pages. Whereas if you tap the caption area you bring up the scrubber.

The caption area is the area between these 2 corner zones so, by definition, you can increase the caption width by reducing the width of these corner zones. In theory you could even set them to zero to have the caption use the whole screen width, but I suspect that would mess up the header's top right corner tap zone used to create a dogear bookmark.

It's not necessary to create a new patch (unless you really want to). Instead you could add @Semwize's Find/Replace lines to either your customised Reduce new header/footer height or your customised Custom new header/footer font because both patches are targeting the same bit of nickel CSS (namely ReadingFooter.qss).

Last edited by jackie_w; 12-09-2020 at 10:35 AM.
jackie_w is offline   Reply With Quote
Old 12-09-2020, 07:12 AM   #14
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: 76,492
Karma: 136564766
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 Semwize View Post
try
Code:
Width allocated to the footer captions:
  - Enabled: yes
  - Description: |
  - FindZlib: "ReadingFooter"
  - ReplaceZlibGroup:
      Replacements:
        - Find:    "ReadingFooter[qApp_deviceIsDragon=true] {\n  qproperty-footerMargin: 170;\n}"
          Replace: "ReadingFooter[qApp_deviceIsDragon=true] {\n  qproperty-footerMargin: 70;\n}"
nickel.yaml
Thank you for the patch. I'll apply it later today.
JSWolf is offline   Reply With Quote
Old 12-09-2020, 07:12 AM   #15
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: 76,492
Karma: 136564766
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
@JSWolf,

@Semwize is correct. I hadn't realised until now what 'ReadingFooter' property 'qproperty-footerMargin' was actually used for.

It's the width of the right & left corner tap zone blocks in the footer which can be used for turning pages. Whereas if you tap the caption area you bring up the scrubber.

The caption area is the area between these 2 corner zones so, by definition, you can increase the caption width by reducing the width of these corner zones. In theory you could even set them to zero to have the caption use the whole screen width, but I suspect that would mess up the header's top right corner tap zone used to create a bookmark.

It's not necessary to create a new patch (unless you really want to). Instead you could add @Semwize's Find/Replace lines to either your customised Reduce new header/footer height or your customised Custom new header/footer font because both patches are targeting the same bit of nickel CSS (namely ReadingFooter.qss).
Thank you for having a look and for the advice here.
JSWolf is offline   Reply With Quote
Reply

Tags
kobopatch, patch, patch32lsb, patches, patching


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Instructions for patching firmware 3.15.0 GeoffR Kobo Developer's Corner 146 05-24-2016 07:10 AM
Instructions for patching firmware 3.17.3 GeoffR Kobo Developer's Corner 60 09-17-2015 06:35 PM
Instructions for patching firmware 3.11.0 GeoffR Kobo Developer's Corner 226 06-01-2015 06:32 AM
Instructions for patching firmware 3.12.0 GeoffR Kobo Developer's Corner 165 02-07-2015 10:22 AM
Instructions for patching firmware 3.8.0 GeoffR Kobo Developer's Corner 92 10-22-2014 08:22 AM


All times are GMT -4. The time now is 02:48 PM.


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