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 04-28-2015, 12:16 PM   #1
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Instructions for patching firmware 3.15.0

Before starting:

1. Make sure your Kobo ereader is already running firmware version 3.15.0 (d60578c5e1).

2. Check that your battery is well charged.

3. Note that in Windows 8 the instructions below might require the batch file to be run in admistrator mode.


Patching from Windows, Linux (i386/x86_64), or Mac (OS X 10.8-10.9, i386/x86_64):

1. Download and extract patch_kobo_3150.zip (attached). [WARNING: If using Windows, make sure the path to the extracted files does not contain any '&' characters.]

2. Download the Kobo firmware archive version 3.15.0 for your device (See this thread) into the 3.15.0_source/ subdirectory. (Don't extract.)

3. Read and edit all the *.patch files in the 3.15.0_source/ subdirectory in order to: choose which patches to enable (patch_enable=`yes`) or disable (patch_enable=`no`); and to change some of the replacement values to suit your device and preferences.

4. In Windows double-click 3.15.0.bat; For Linux/Mac open a terminal, change to the patch_kobo_3150/ directory, and run ./3.15.0.sh from the command line.

5. If there were no errors, copy the resulting KoboRoot.tgz from the 3.15.0_target/ subdirectory to the .kobo directory on your ereader.

6. Safely eject and unplug the device, which will then update and restart.


To return your ereader to its original unpatched state:

1. Edit all the 3.15.0_source/*.patch files to disable all patches (set patch_enable = `no` for every patch).

2. Repeat steps 4-6 of the procedure above.
Attached Files
File Type: zip patch_kobo_3150.zip (474.8 KB, 2120 views)

Last edited by GeoffR; 06-06-2015 at 06:22 AM. Reason: Fixed `Set kepub hyphenation` patch (2nd alternative) in patch_kobo_3150.zip
GeoffR is offline   Reply With Quote
Old 04-28-2015, 12:24 PM   #2
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Notes and other patches

Notes:

The Glo homescreen layout has changed slightly, a bit of extra space at the bottom of the screen in this version, I had to squish up the `Compact homescreen layout` patch for Glo and Aura even more to compensate. I don't know how good it will look on the Aura now.

WARNING: Don't enable the `Compact homescreen layout` patches on devices other than the Glo/Aura! These patches won't work properly on other devices, can cause the cover images used for the tiles to be resized and remain the wrong size even after the patch is removed.

WARNING: There has been a report that the `Block WiFi firmware upgrade` patch interferes with the Factory reset option invoked from the Settings > Device information menu, resulting in a boot loop. This problem could also happen if you Sign out of your Kobo account from the Settings > Accounts menu. To avoid this happening, remove the `Block WiFi firmware upgrade` patch before using these options.


Working around problems with reading kepubs in full-screen mode:

To enable the full-screen reading option, add the following to the device's configuration file ./kobo/Kobo/Kobo eReader.conf using a unix-aware text editor (don't use Windows' Notepad or Wordpad, use an editor such as Notepad++ instead.)
Code:
[FeatureSettings]
FullScreenReading=true
Then it will be possible to switch between normal and full-screen mode by ticking the new "Show header and footer" box in the Reading Settings menu.

Full-screen mode works well with epubs, but there are two problems that affect kepubs:

1. If the book's stylesheet has non-zero margin or padding on the body element, then the text can be shifted to the right resulting in text being cut off at the right hand side.

For sideloaded kepubs this should be able to be fixed by adding the following to the book's stylesheet, or to kobo_extra.css if that option is enabled in Calibre:
Code:
body { margin: 0 0 0 0 !important; padding: 0 0 0 0 !important; }
For kepubs synced from Kobo, enabling the `KePub zero body margin/padding` patch will modify the device's built-in KePub stylesheet instead.


2. For some fonts, characters with a large side-bearing value (such as Georgia f, J, etc.) get cut off if they appear at the end of a line.

For sideloaded kepubs created by recent versions of Calibre's KoboTouchExtended driver, this can be fixed by adding the following to the book's stylesheet or to kobo_extra.css:
Code:
div#book-columns { padding: 0.2em !important; }
For kepubs synced from Kobo or created with older versions of the KoboTouchExtended driver, enabling the `Fix kepub side bearing font cut-off bug` patch will add the appropriate padding to the device's built-in stylesheet instead.


Advanced font options for sideloaded fonts.

The `Freedom to advanced fonts control` patch enables the weight/sharpness adjustment menu for sideloaded fonts. It works for both OTF and TTF fonts in the KePub reader, but usually only for TTF fonts in the epub reader.

To enable kepub kerning for sideloaded fonts, the font must be in TTF format with "Old style kern" tables. You can generate these tables with Fontforge by converting the font to TTF with the "Old style kern" option ticked. See this thread.


Ghosting on older Pearl screen devices

If you are bothered by ghosting from menu selections and when highlighting or panning with this firmware version, you can try adding the following feature setting to the device configuration file:
Code:
[FeatureSettings]
LeanAndMean=false

More patches:

`Re-enable LeanAndMean touch gestures` if LeanAndMean feature has been disabled in the configuration file: post #31

`Disable pinch-to-zoom font resizing` for the Aura: post #111

`Force user line spacing in ePubs` (A stronger replacement for the `Enforce user line spacing in ePubs` patch.)


If you know of any other patches for firmware 3.15.0 post them in this thread and I'll add them to this post.

Last edited by GeoffR; 10-17-2015 at 01:32 AM. Reason: Added link to `Force user line spacing in ePubs` patch
GeoffR is offline   Reply With Quote
Advert
Old 04-28-2015, 12:32 PM   #3
icallaci
Guru
icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.
 
Posts: 766
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
Thank you!
icallaci is offline   Reply With Quote
Old 04-28-2015, 12:58 PM   #4
booklover6
Grand Sorcerer
booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.
 
booklover6's Avatar
 
Posts: 6,528
Karma: 14008730
Join Date: May 2008
Location: PA (USA)
Device: Kobo Clara, 2E, Libre, PW4, PW5, 2022 Kindle
Thank you!
booklover6 is offline   Reply With Quote
Old 04-28-2015, 01:26 PM   #5
boriar
Evangelist
boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.
 
boriar's Avatar
 
Posts: 407
Karma: 314204
Join Date: Jan 2015
Device: bq Avant XL, Kobo Aura H2O, Onyx Boox M96C Plus
Patchman attack again!!!
Many thanks for your patchs,geoffR!

Are some old patch "lost in translations" (mainly from 3.12/3.12.1's patchs)?
boriar is online now   Reply With Quote
Advert
Old 04-28-2015, 01:57 PM   #6
treadlightly
Wizard
treadlightly ought to be getting tired of karma fortunes by now.treadlightly ought to be getting tired of karma fortunes by now.treadlightly ought to be getting tired of karma fortunes by now.treadlightly ought to be getting tired of karma fortunes by now.treadlightly ought to be getting tired of karma fortunes by now.treadlightly ought to be getting tired of karma fortunes by now.treadlightly ought to be getting tired of karma fortunes by now.treadlightly ought to be getting tired of karma fortunes by now.treadlightly ought to be getting tired of karma fortunes by now.treadlightly ought to be getting tired of karma fortunes by now.treadlightly ought to be getting tired of karma fortunes by now.
 
treadlightly's Avatar
 
Posts: 1,370
Karma: 6957792
Join Date: Nov 2010
Location: Ottawa, ON
Device: Kobo H2O
Thank you GeoffR!

There was a wonderful post showing what the footer spacing values mapped to (complete with coloured lines). Does anyone have that post bookmarked? I can't find it.
treadlightly is offline   Reply With Quote
Old 04-28-2015, 02:02 PM   #7
Nick_1964
Bookworm
Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.
 
Nick_1964's Avatar
 
Posts: 975
Karma: 768585
Join Date: Aug 2010
Location: Netherlands
Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo
I gonna puzzle with it tomorrow, thank you !
Nick_1964 is offline   Reply With Quote
Old 04-28-2015, 02:09 PM   #8
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by boriar View Post
Are some old patch "lost in translations" (mainly from 3.12/3.12.1's patchs)?
The `Custom reading footer style` patch has changed a lot since 3.12.1, and I haven't updated the `Custom header style`patches since then.

I think the only other patch that is missing is the one to change the book titles from italic to normal. It is just proving very time consuming to update that patch, more than all the other patches put together, as there are so many other bits of CSS that look very similar.

If there is anything else I've missed then let me know.
GeoffR is offline   Reply With Quote
Old 04-28-2015, 02:46 PM   #9
Martina Schein
eBook-Reader-Fan
Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.
 
Martina Schein's Avatar
 
Posts: 175
Karma: 444178
Join Date: Sep 2012
Location: Saarbruecken / DE
Device: Kobo Aura H2O 2nd Edition
Thank you very much for the new patcher, GeoffR.
Martina Schein is offline   Reply With Quote
Old 04-28-2015, 03:03 PM   #10
Lyn2012
Addict
Lyn2012 ought to be getting tired of karma fortunes by now.Lyn2012 ought to be getting tired of karma fortunes by now.Lyn2012 ought to be getting tired of karma fortunes by now.Lyn2012 ought to be getting tired of karma fortunes by now.Lyn2012 ought to be getting tired of karma fortunes by now.Lyn2012 ought to be getting tired of karma fortunes by now.Lyn2012 ought to be getting tired of karma fortunes by now.Lyn2012 ought to be getting tired of karma fortunes by now.Lyn2012 ought to be getting tired of karma fortunes by now.Lyn2012 ought to be getting tired of karma fortunes by now.Lyn2012 ought to be getting tired of karma fortunes by now.
 
Lyn2012's Avatar
 
Posts: 382
Karma: 1118562
Join Date: Sep 2010
Location: Middlesex, UK
Device: Kobo Aura One, iPhone 8, iPad Pro
Thank you so much for updating these patches GeoffR.
Lyn2012 is offline   Reply With Quote
Old 04-28-2015, 08:04 PM   #11
truemarine
Member
truemarine has a complete set of Star Wars action figures.truemarine has a complete set of Star Wars action figures.truemarine has a complete set of Star Wars action figures.truemarine has a complete set of Star Wars action figures.
 
Posts: 20
Karma: 374
Join Date: Dec 2013
Device: K4B, Kobo Aura H2O
Thank you so much again GeoffR!
truemarine is offline   Reply With Quote
Old 04-29-2015, 03:58 AM   #12
micky75
Junior Member
micky75 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2014
Device: Kobo Aura
Thanks!

NOW I can update my H2O.
micky75 is offline   Reply With Quote
Old 04-29-2015, 04:01 AM   #13
indyglow
Connoisseur
indyglow is the One.indyglow is the One.indyglow is the One.indyglow is the One.indyglow is the One.indyglow is the One.indyglow is the One.indyglow is the One.indyglow is the One.indyglow is the One.indyglow is the One.
 
Posts: 77
Karma: 101837
Join Date: Oct 2012
Device: iPad Air, Kobo Forma, Kobo Aura HD (RIP)
Thank you so very much GeoffR for making these patches available.
indyglow is offline   Reply With Quote
Old 04-29-2015, 05:06 AM   #14
xtine
Addict
xtine ought to be getting tired of karma fortunes by now.xtine ought to be getting tired of karma fortunes by now.xtine ought to be getting tired of karma fortunes by now.xtine ought to be getting tired of karma fortunes by now.xtine ought to be getting tired of karma fortunes by now.xtine ought to be getting tired of karma fortunes by now.xtine ought to be getting tired of karma fortunes by now.xtine ought to be getting tired of karma fortunes by now.xtine ought to be getting tired of karma fortunes by now.xtine ought to be getting tired of karma fortunes by now.xtine ought to be getting tired of karma fortunes by now.
 
xtine's Avatar
 
Posts: 355
Karma: 1432252
Join Date: Oct 2009
Device: Kobo Forma
Thank you!
xtine is offline   Reply With Quote
Old 04-29-2015, 05:10 AM   #15
pickyaxe
Addict
pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.
 
Posts: 285
Karma: 3762916
Join Date: Nov 2011
Device: none
Thanks a lot.
pickyaxe is offline   Reply With Quote
Reply

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.13.1 GeoffR Kobo Developer's Corner 56 07-01-2016 09:59 AM
Instructions for patching firmware 3.11.0 GeoffR Kobo Developer's Corner 226 06-01-2015 05:32 AM
Instructions for patching firmware 3.12.1 GeoffR Kobo Developer's Corner 56 03-20-2015 05:14 AM
Instructions for patching firmware 3.12.0 GeoffR Kobo Developer's Corner 165 02-07-2015 09:22 AM
Instructions for patching firmware 3.2.0 DNSB Kobo Developer's Corner 66 12-05-2014 07:28 AM


All times are GMT -4. The time now is 03:53 AM.


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