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: 2,113
Karma: 4144092
Join Date: Nov 2012
Location: New Zealand
Device: Kobo Glo, iPod Shuffle 4g
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, 300 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: 2,113
Karma: 4144092
Join Date: Nov 2012
Location: New Zealand
Device: Kobo Glo, iPod Shuffle 4g
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

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; 06-03-2015 at 10:47 PM. Reason: Added warning about `Block WiFi firmware upgrade` patch and factory reset
GeoffR is offline   Reply With Quote
 
Advertisement
Old 04-28-2015, 12:32 PM   #3
icallaci
Addict
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: 306
Karma: 636268
Join Date: Sep 2012
Device: Kobo Aura H20, Kobo Aura HD, Samsung Galaxy Note 2, iPad 3
Thank you!
icallaci is offline   Reply With Quote
Old 04-28-2015, 12:58 PM   #4
booklover6
Wizard
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: 4,736
Karma: 4087088
Join Date: May 2008
Location: PA (USA)
Device: Kindle Voyage, Kobo Glo & Glo HD, Fire HD 6
Thank you!
booklover6 is offline   Reply With Quote
Old 04-28-2015, 01:26 PM   #5
boriar
Zealot
boriar can differentiate black from dark navy blueboriar can differentiate black from dark navy blueboriar can differentiate black from dark navy blueboriar can differentiate black from dark navy blueboriar can differentiate black from dark navy blueboriar can differentiate black from dark navy blueboriar can differentiate black from dark navy blueboriar can differentiate black from dark navy blueboriar can differentiate black from dark navy blueboriar can differentiate black from dark navy blueboriar can differentiate black from dark navy blue
 
Posts: 116
Karma: 13124
Join Date: Jan 2015
Device: bq Avant XL, Kobo Aura H2O
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 offline   Reply With Quote
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,237
Karma: 5877770
Join Date: Nov 2010
Location: Ottawa, ON
Device: Kobo Glo, 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 can decode base 64 without using a pencil.Nick_1964 can decode base 64 without using a pencil.Nick_1964 can decode base 64 without using a pencil.Nick_1964 can decode base 64 without using a pencil.Nick_1964 can decode base 64 without using a pencil.Nick_1964 can decode base 64 without using a pencil.Nick_1964 can decode base 64 without using a pencil.Nick_1964 can decode base 64 without using a pencil.Nick_1964 can decode base 64 without using a pencil.Nick_1964 can decode base 64 without using a pencil.Nick_1964 can decode base 64 without using a pencil.
 
Nick_1964's Avatar
 
Posts: 622
Karma: 83446
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: 2,113
Karma: 4144092
Join Date: Nov 2012
Location: New Zealand
Device: Kobo Glo, iPod Shuffle 4g
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: 52
Karma: 233888
Join Date: Sep 2012
Location: Saarbruecken / DE
Device: Kobo Aura H2O, Kobo Glo
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: 358
Karma: 1118562
Join Date: Sep 2010
Location: Bedfordshire, UK
Device: Kobo H2O, iPhone 6 Plus, iPad Air
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: 16
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 seizes *every* day. In the original latin.indyglow seizes *every* day. In the original latin.indyglow seizes *every* day. In the original latin.indyglow seizes *every* day. In the original latin.indyglow seizes *every* day. In the original latin.indyglow seizes *every* day. In the original latin.indyglow seizes *every* day. In the original latin.indyglow seizes *every* day. In the original latin.indyglow seizes *every* day. In the original latin.indyglow seizes *every* day. In the original latin.indyglow seizes *every* day. In the original latin.
 
Posts: 69
Karma: 92747
Join Date: Oct 2012
Device: iPad Air, Kobo Aura HD
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: 321
Karma: 1383300
Join Date: Oct 2009
Device: Kindle PW1, Kobo Aura H2O
Thank you!
xtine is offline   Reply With Quote
Old 04-29-2015, 05:10 AM   #15
pickyaxe
Connoisseur
pickyaxe began at the beginning.
 
Posts: 55
Karma: 12
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 36 06-14-2015 07: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 10:34 AM.


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