View Single Post
Old 02-25-2014, 05:55 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,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Attached are kpg.conf (for kpg.exe/Windows) and patch32lsb.conf (for patch32lsb/Linux).

I have included all the patches I know of except for byblo's patches to force the use of user selected font and line spacing for epubs.

Edit: Automatic method added.


Instructions for patching from Linux


Before starting:

Make sure your Kobo ereader is running firmware version 3.2.0 (d0a9bf18ea). These patches work only for this specific firmware version and no other.


Automatic method:

Download make_patch_3_2_0.zip, extract, edit patch32lsb.conf to suit your preferences and device, run make, and copy the resulting KoboRoot.tgz to the .kobo directory of your device. See the enclosed README.txt for more detailed instructions. You will need to install make if your system doesn't come with it.


Manual method:

1. Download patch32lsb-v0.6.zip, extract patch32lsb.c, and compile with the following command (there should be no errors or warnings):
gcc -Wall -o patch32lsb patch32lsb.c

2. Download kobo-update-3.2.0.zip from http://download.kobobooks.com/firmwa...date-3.2.0.zip. Inside kobo-update-3.2.0.zip is a tar archive KoboRoot.tgz. Inside KoboRoot.tgz is a file usr/local/Kobo/libnickel.so.1.0.0. Extract libnickel.so.1.0.0 only (ignore the other files). You can use the following command to do this:
unzip -p kobo-update-3.2.0.zip KoboRoot.tgz | tar xz --strip-components=4 ./usr/local/Kobo/libnickel.so.1.0.0

3. Download patch32lsb_conf_3_2_0.zip attached and extract patch32lsb.conf.

4. Edit patch32lsb.conf to: enable the patches you want (set patch_enable = `yes`) and disable the patches you don't want (set patch_enable = `no`); change the replacement values for the patches to suit your preferences.

5. Put patch32lsb, libnickel.so.1.0.0, and patch32lsb.conf together in the current directory and run the following commands:
mkdir -p usr/local/Kobo
./patch32lsb -p patch32lsb.conf -i libnickel.so.1.0.0 -o usr/local/Kobo/libnickel.so.1.0.0
tar czf KoboRoot.tgz ./usr/local/Kobo/libnickel.so.1.0.0

6. If there are no problems then a file KoboRoot.tgz will be created. Copy this file to the .kobo directory on your ereader. Safely eject then unplug the ereader. Once unplugged the ereader will update and restart.
Attached Files
File Type: zip kpg_conf_3_2_0.zip (2.5 KB, 765 views)
File Type: zip patch32lsb_conf_3_2_0.zip (2.5 KB, 696 views)

Last edited by GeoffR; 03-08-2014 at 10:15 PM. Reason: Added automatic method
GeoffR is offline   Reply With Quote