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 06-11-2015, 09:52 AM   #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,677
Karma: 17448207
Join Date: Nov 2012
Location: New Ulster
Device: Kobo Glo
Instructions for patching firmware 3.16.0

Before starting:

1. Make sure your Kobo ereader is already running firmware version 3.16.0 (f56b42a2e1).

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_3160.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.16.0 for your device (See this thread) and copy it into the 3.16.0_source/ subdirectory. (Don't extract.)

3. Read and edit all the *.patch files in the 3.16.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.16.0.bat; For Linux/Mac open a terminal, change to the patch_kobo_3160/ directory, and run ./3.16.0.sh from the command line.

5. If there were no errors, copy the resulting KoboRoot.tgz from the 3.16.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.16.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_3160.zip (474.8 KB, 810 views)

Last edited by GeoffR; 06-26-2015 at 02:11 PM. Reason: Updated attachment to include missing `Enforce user line spacing in ePubs` patch
GeoffR is offline   Reply With Quote
Old 06-11-2015, 09:56 AM   #2
beedaddy
Connoisseur
beedaddy rocks like Gibraltar!beedaddy rocks like Gibraltar!beedaddy rocks like Gibraltar!beedaddy rocks like Gibraltar!beedaddy rocks like Gibraltar!beedaddy rocks like Gibraltar!beedaddy rocks like Gibraltar!beedaddy rocks like Gibraltar!beedaddy rocks like Gibraltar!beedaddy rocks like Gibraltar!beedaddy rocks like Gibraltar!
 
beedaddy's Avatar
 
Posts: 77
Karma: 100964
Join Date: Oct 2011
Location: Germany (south-west)
Device: tolino shine 3
Wow, this was really fast. Thanks, GeoffR!
beedaddy is offline   Reply With Quote
Advert
Old 06-11-2015, 10:00 AM   #3
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,677
Karma: 17448207
Join Date: Nov 2012
Location: New Ulster
Device: Kobo Glo
Notes and more patches

Notes:

* The `ePub unitless line height` patch is no longer needed as Kobo have fixed the problem in this firmware version.

* New `Fix kepub side bearing font cut-off bug` patch is sligtly different but should work just as well.

* The `Enforce user line spacing in ePubs` patch can no longer be used together with the `ePub fixed/adjustable top/bottom margins` patch.


More patches:

`Disable pinch-to-zoom font resizing` (For use on Aura)

A replacement hyphenation dictionary for the Dutch language.

`Default ePub monospace font`

`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.16.0 post them in this thread and I'll add them to this post.

Last edited by GeoffR; 10-17-2015 at 03:41 AM. Reason: Added link to `Force user line spacing in ePubs` patch
GeoffR is offline   Reply With Quote
Old 06-11-2015, 10:32 AM   #4
GERGE
Guru
GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.
 
Posts: 702
Karma: 5639562
Join Date: Jun 2010
Location: Turkey
Device: Kobo Glo HD & iPad Air 2
Thanks.
GERGE is offline   Reply With Quote
Old 06-11-2015, 11:40 AM   #5
Gabriel.Voyager
Enthusiast
Gabriel.Voyager began at the beginning.
 
Gabriel.Voyager's Avatar
 
Posts: 49
Karma: 10
Join Date: Jun 2015
Location: Turin, Italy
Device: Kindle Oasis 2, Kindle Voyage 3G, Kobo Aura H2O, iPad Mini Retina
Arigato!
Gabriel.Voyager is offline   Reply With Quote
Advert
Old 06-11-2015, 01:39 PM   #6
Ripplinger
350 Hoarder
Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.
 
Ripplinger's Avatar
 
Posts: 3,305
Karma: 5793015
Join Date: Dec 2010
Location: Midwest USA
Device: Sony PRS-350, Kobo Glo & Glo HD, PW2
Thanks much for the quick patch!

Edit: Did I miss the "Search in Library by default" section or was it removed?

Last edited by Ripplinger; 06-11-2015 at 01:43 PM.
Ripplinger is offline   Reply With Quote
Old 06-11-2015, 02:21 PM   #7
trekk
Addict
trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.
 
trekk's Avatar
 
Posts: 387
Karma: 642957
Join Date: Aug 2011
Device: KOA2, KOA, KA1 ...
Quote:
Originally Posted by Ripplinger View Post
Edit: Did I miss the "Search in Library by default" section or was it removed?
The answer is hidden in post number 3.
trekk is offline   Reply With Quote
Old 06-11-2015, 02:33 PM   #8
freekobo
Addict
freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.
 
freekobo's Avatar
 
Posts: 250
Karma: 2731310
Join Date: Jan 2013
Device: Kobo Aura
Can you post the disable pinch and zoom patch? Please and thank you
freekobo is offline   Reply With Quote
Old 06-11-2015, 03:10 PM   #9
Ripplinger
350 Hoarder
Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.
 
Ripplinger's Avatar
 
Posts: 3,305
Karma: 5793015
Join Date: Dec 2010
Location: Midwest USA
Device: Sony PRS-350, Kobo Glo & Glo HD, PW2
Quote:
Originally Posted by trekk View Post
The answer is hidden in post number 3.
Duh! Thanks. I just expected any extra info to be included in the original or at least 2nd post as if often done. Thanks.
Ripplinger is offline   Reply With Quote
Old 06-11-2015, 08:26 PM   #10
Cecell3000
Enthusiast
Cecell3000 ought to be getting tired of karma fortunes by now.Cecell3000 ought to be getting tired of karma fortunes by now.Cecell3000 ought to be getting tired of karma fortunes by now.Cecell3000 ought to be getting tired of karma fortunes by now.Cecell3000 ought to be getting tired of karma fortunes by now.Cecell3000 ought to be getting tired of karma fortunes by now.Cecell3000 ought to be getting tired of karma fortunes by now.Cecell3000 ought to be getting tired of karma fortunes by now.Cecell3000 ought to be getting tired of karma fortunes by now.Cecell3000 ought to be getting tired of karma fortunes by now.Cecell3000 ought to be getting tired of karma fortunes by now.
 
Posts: 46
Karma: 303048
Join Date: Feb 2013
Location: Brazil
Device: Kindle Paperwhite 3
Quote:
Originally Posted by freekobo View Post
Can you post the disable pinch and zoom patch? Please and thank you
Disable pinch-to-zoom font resizing: (paste into libnickel.so.1.0.0.patch)
Code:
<Patch>
patch_name = `Disable pinch-to-zoom font resizing`
# firmware:3.16.0
# Prevents the pinch gesture resizing the font when reading k/epubs (on Aura
# or other devices with a multitouch kernel). Pinch to zoom images still works.
#
patch_enable = `yes`
replace_bytes = 8C8198, 04 46 2D ED 04 8B, BD E8 F0 8F 00 46
</Patch>
Cecell3000 is offline   Reply With Quote
Old 06-11-2015, 09:12 PM   #11
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 15,710
Karma: 25902450
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo,Aura H2O,Glo HD,Aura ONE,Clara HD,Forma;tolino epos
Quote:
Originally Posted by Ripplinger View Post
Duh! Thanks. I just expected any extra info to be included in the original or at least 2nd post as if often done. Thanks.
I think beedaddy was to quick and posted while GeoffR was writing what he planned to be the second post.
davidfor is offline   Reply With Quote
Old 06-11-2015, 09:54 PM   #12
freekobo
Addict
freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.
 
freekobo's Avatar
 
Posts: 250
Karma: 2731310
Join Date: Jan 2013
Device: Kobo Aura
Quote:
Originally Posted by Cecell3000 View Post
Disable pinch-to-zoom font resizing: (paste into libnickel.so.1.0.0.patch).....
Tested and working.
Thanks!

Last edited by freekobo; 06-11-2015 at 10:10 PM.
freekobo is offline   Reply With Quote
Old 06-12-2015, 02:55 AM   #13
beedaddy
Connoisseur
beedaddy rocks like Gibraltar!beedaddy rocks like Gibraltar!beedaddy rocks like Gibraltar!beedaddy rocks like Gibraltar!beedaddy rocks like Gibraltar!beedaddy rocks like Gibraltar!beedaddy rocks like Gibraltar!beedaddy rocks like Gibraltar!beedaddy rocks like Gibraltar!beedaddy rocks like Gibraltar!beedaddy rocks like Gibraltar!
 
beedaddy's Avatar
 
Posts: 77
Karma: 100964
Join Date: Oct 2011
Location: Germany (south-west)
Device: tolino shine 3
Quote:
Originally Posted by davidfor View Post
I think beedaddy was to quick and posted while GeoffR was writing what he planned to be the second post.
Yes. Sorry about that.
beedaddy is offline   Reply With Quote
Old 06-13-2015, 07:48 AM   #14
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
Maybe I am missing something, but now epub seems so much slower then kepub, is there a way to remove (in Kepub) the upper line where the book title is showed and add that line to the reading part ?
In Epub I have the whole size of the screen with your patch and about 5 mm (Glo HD) to the page xx of xx txt.
In Kepub I have the same bottom margin,but the title of the book takes a little bit more of my screen, or do I miss a patch that is already there ??
Nick_1964 is offline   Reply With Quote
Old 06-13-2015, 10:51 PM   #15
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,677
Karma: 17448207
Join Date: Nov 2012
Location: New Ulster
Device: Kobo Glo
Quote:
Originally Posted by Nick_1964 View Post
Maybe I am missing something, but now epub seems so much slower then kepub, is there a way to remove (in Kepub) the upper line where the book title is showed and add that line to the reading part ?
In Epub I have the whole size of the screen with your patch and about 5 mm (Glo HD) to the page xx of xx txt.
In Kepub I have the same bottom margin,but the title of the book takes a little bit more of my screen, or do I miss a patch that is already there ??
There is no patch to remove the kepub header. There is an option showPageHeader=false that you can add to the [Reading] section of the device's configuration file to remove the title from the kepub header, but it will still leave a much bigger space at the top of the screen than in epubs.
GeoffR 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 10:59 AM
Instructions for patching firmware 3.15.0 GeoffR Kobo Developer's Corner 146 05-24-2016 07:10 AM
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.1 GeoffR Kobo Developer's Corner 56 03-20-2015 06:14 AM
Instructions for patching firmware 3.12.0 GeoffR Kobo Developer's Corner 165 02-07-2015 10:22 AM


All times are GMT -4. The time now is 11:56 AM.


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