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 08-05-2015, 04:42 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,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Instructions for patching firmware 3.16.10

Before starting:

1. Make sure your Kobo ereader is already running firmware version 3.16.10 (f9fa4bfb12). Note that this firmware version was only officially released for GloHD devices sold in Japan.

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

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

5. If there were no errors, copy the resulting KoboRoot.tgz from the 3.16.10_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.10_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_31610.zip (474.8 KB, 594 views)
GeoffR is offline   Reply With Quote
Old 08-05-2015, 04:48 AM   #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 more patches

Notes:

* I haven't tested these patches at all, because I haven't installed this firmware version on my Glo. You might want to wait until someone else has reported that they work before using them.

* The `Wi-Fi insomnia` patch is missing, the Wi-Fi watchdog functions have completely changed in this firmware version so a new patch will have to be worked out.


More patches:

Disable pinch-to-zoom font resizing (libnickel.so.1.0.0.patch):
Spoiler:
Code:
<Patch>
patch_name = `Disable pinch-to-zoom font resizing`
#
# 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 = 8C8120, 04 46 2D ED 04 8B, BD E8 F0 8F 00 46
</Patch>


A replacement hyphenation dictionary for the Dutch language.

`Default ePub monospace font`


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

Last edited by GeoffR; 08-09-2015 at 03:39 AM. Reason: Added link to `Default ePub monospace font` patch
GeoffR is offline   Reply With Quote
Old 08-05-2015, 04:59 AM   #3
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: 73,866
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Is there a way to patch the auto-rebooting so it doesn't happen?
JSWolf is offline   Reply With Quote
Old 08-05-2015, 06:52 AM   #4
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
Quote:
Originally Posted by JSWolf View Post
Is there a way to patch the auto-rebooting so it doesn't happen?
sed -i -e s/reboot/rebarf/g /usr/local/Kobo/sickel

https://www.mobileread.com/forums/sho...5&postcount=28

Last edited by frostschutz; 08-06-2015 at 02:48 AM.
frostschutz is offline   Reply With Quote
Old 08-05-2015, 02:07 PM   #5
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: 35,280
Karma: 145435140
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by GeoffR View Post
* I haven't tested these patches at all, because I haven't installed this firmware version on my Glo. You might want to wait until someone else has reported that they work before using them.
The patches I've enabled so far are working on my test Glo. Since I rarely read kepubs and there aren't any on the Glo at this time, the kepub patches have not been tested.
DNSB is offline   Reply With Quote
Old 08-05-2015, 10:43 PM   #6
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 JSWolf View Post
Is there a way to patch the auto-rebooting so it doesn't happen?
Quote:
Originally Posted by frostschutz View Post
sed -i -e s/reboot/rebarf/g /usr/local/Kobo/sickel
I'm not sure that will do what you want, I think it will just prevent the sickel executable from running altogether.

"reboot" is the name of a function dynamically linked from libc.so.6, so changing it in sickel should cause a relocation fault when sickel starts.
GeoffR is offline   Reply With Quote
Old 08-06-2015, 02:38 AM   #7
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
Quote:
Originally Posted by GeoffR View Post
"reboot" is the name of a function dynamically linked from libc.so.6, so changing it in sickel should cause a relocation fault when sickel starts.
Yes, that's what I assumed but - it actually runs, it runs, it pings, it works in every aspect, but when it actually triggers the reboot - it dies, with relocation fault, and nickel (if still alive) subsequently starts a new instance which is back in ping-mode.
frostschutz is offline   Reply With Quote
Old 08-06-2015, 02:32 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
Quote:
Originally Posted by GeoffR View Post
Notes:

More patches:

Disable pinch-to-zoom font resizing (libnickel.so.1.0.0.patch):
Spoiler:
Code:
<Patch>
patch_name = `Disable pinch-to-zoom font resizing`
#
# 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 = 8C8120, 04 46 2D ED 04 8B, BD E8 F0 8F 00 46
</Patch>

Thanks!
freekobo is offline   Reply With Quote
Old 08-07-2015, 04:27 AM   #9
the_Pan
Connoisseur
the_Pan is as sexy as a twisted cruller doughtnut.the_Pan is as sexy as a twisted cruller doughtnut.the_Pan is as sexy as a twisted cruller doughtnut.the_Pan is as sexy as a twisted cruller doughtnut.the_Pan is as sexy as a twisted cruller doughtnut.the_Pan is as sexy as a twisted cruller doughtnut.the_Pan is as sexy as a twisted cruller doughtnut.the_Pan is as sexy as a twisted cruller doughtnut.the_Pan is as sexy as a twisted cruller doughtnut.the_Pan is as sexy as a twisted cruller doughtnut.the_Pan is as sexy as a twisted cruller doughtnut.
 
Posts: 95
Karma: 15430
Join Date: Mar 2015
Device: Kobo Forma, Pocketbook Era
Question

is there a new version of the "Re-enable LeanAndMean touch gestures" patch for 3.16.10?
the_Pan is offline   Reply With Quote
Old 08-07-2015, 10:43 PM   #10
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 the_Pan View Post
is there a new version of the "Re-enable LeanAndMean touch gestures" patch for 3.16.10?
No, anything to do with LeanAndMean only applies to firmware 3.15.0. If you added the LeanAndMean=false feature setting to your config file in firmware 3.15.0 then it will probably still be there after you upgrade to a new firmware version, but it won't do anything.
GeoffR is offline   Reply With Quote
Old 08-08-2015, 06:31 AM   #11
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
Quote:
Originally Posted by GeoffR View Post
No, anything to do with LeanAndMean only applies to firmware 3.15.0. If you added the LeanAndMean=false feature setting to your config file in firmware 3.15.0 then it will probably still be there after you upgrade to a new firmware version, but it won't do anything.
I didn't removed it,and it is still there, together with the option ShouldDither=true , is support for this option also gone,or not needed anymore ??

Last edited by Nick_1964; 08-08-2015 at 08:03 AM.
Nick_1964 is offline   Reply With Quote
Old 08-09-2015, 12:37 AM   #12
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 Nick_1964 View Post
I didn't removed it,and it is still there, together with the option ShouldDither=true , is support for this option also gone,or not needed anymore ??
The ShouldDither feature setting disappeared after firmware 3.14.0. Since 3.15.0 there is a highQualityDithering reading setting (not feature setting), but I don't know if it does the same thing.
GeoffR is offline   Reply With Quote
Old 08-14-2015, 03:40 AM   #13
the_Pan
Connoisseur
the_Pan is as sexy as a twisted cruller doughtnut.the_Pan is as sexy as a twisted cruller doughtnut.the_Pan is as sexy as a twisted cruller doughtnut.the_Pan is as sexy as a twisted cruller doughtnut.the_Pan is as sexy as a twisted cruller doughtnut.the_Pan is as sexy as a twisted cruller doughtnut.the_Pan is as sexy as a twisted cruller doughtnut.the_Pan is as sexy as a twisted cruller doughtnut.the_Pan is as sexy as a twisted cruller doughtnut.the_Pan is as sexy as a twisted cruller doughtnut.the_Pan is as sexy as a twisted cruller doughtnut.
 
Posts: 95
Karma: 15430
Join Date: Mar 2015
Device: Kobo Forma, Pocketbook Era
Okay, thanks
the_Pan 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.8.0 GeoffR Kobo Developer's Corner 92 10-22-2014 07:22 AM


All times are GMT -4. The time now is 01:41 AM.


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